Handle nested li in ol or ul. That happens when someone use something like:
[lhc/web/wiklou.git] / includes / Categoryfinder.php
index b1e48df..a8cdf3c 100644 (file)
@@ -21,8 +21,6 @@ Example use :
 */
 
 
-if( !defined( 'MEDIAWIKI' ) ) die( -1 );
-
 class Categoryfinder {
 
        var $articles = array () ; # The original article IDs passed to the seed function
@@ -42,8 +40,10 @@ class Categoryfinder {
 
        /**
         * Initializes the instance. Do this prior to calling run().
-        @param $article_ids Array of article IDs
-       */
+        * @param $article_ids Array of article IDs
+        * @param $categories FIXME
+        * @param $mode String: FIXME, default 'AND'.
+        */
        function seed ( $article_ids , $categories , $mode = "AND" ) {
                $this->articles = $article_ids ;
                $this->next = $article_ids ;
@@ -188,4 +188,4 @@ class Categoryfinder {
 
 } # END OF CLASS "Categoryfinder"
 
-?>
\ No newline at end of file
+?>