Apply live hack from Wikimedia code base -- remove unused commented-out checker patte...
[lhc/web/wiklou.git] / includes / QueryPage.php
index 9e71c93..06710b6 100644 (file)
@@ -25,6 +25,7 @@ $wgQueryPages = array(
        array( 'MostcategoriesPage',            'Mostcategories'                ),
        array( 'MostimagesPage',                'Mostimages'                    ),
        array( 'MostlinkedCategoriesPage',      'Mostlinkedcategories'          ),
+       array( 'SpecialMostlinkedtemplates',    'Mostlinkedtemplates'                   ),
        array( 'MostlinkedPage',                'Mostlinked'                    ),
        array( 'MostrevisionsPage',             'Mostrevisions'                 ),
        array( 'FewestrevisionsPage',           'Fewestrevisions'               ),
@@ -33,6 +34,7 @@ $wgQueryPages = array(
        array( 'UncategorizedCategoriesPage',   'Uncategorizedcategories'       ),
        array( 'UncategorizedPagesPage',        'Uncategorizedpages'            ),
        array( 'UncategorizedImagesPage',       'Uncategorizedimages'                   ),
+       array( 'UncategorizedTemplatesPage',    'Uncategorizedtemplates'                ),
        array( 'UnusedCategoriesPage',          'Unusedcategories'              ),
        array( 'UnusedimagesPage',              'Unusedimages'                  ),
        array( 'WantedCategoriesPage',          'Wantedcategories'              ),
@@ -401,7 +403,7 @@ class QueryPage {
                                                ? ' class="not-patrolled"'
                                                : '';
                                        $html[] = $this->listoutput
-                                               ? $format
+                                               ? $line
                                                : "<li{$attr}>{$line}</li>\n";
                                }
                        }
@@ -415,7 +417,7 @@ class QueryPage {
                                                ? ' class="not-patrolled"'
                                                : '';
                                        $html[] = $this->listoutput
-                                               ? $format
+                                               ? $line
                                                : "<li{$attr}>{$line}</li>\n";
                                }
                        }
@@ -529,4 +531,4 @@ class QueryPage {
        }
 }
 
-?>
+