From: Ævar Arnfjörð Bjarmason Date: Wed, 19 Oct 2005 01:39:12 +0000 (+0000) Subject: * Added the querypages to $wgQueryPages that were missing X-Git-Tag: 1.6.0~1396 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=de33ce98597f4fed13600bff5572a43cc078647b;p=lhc%2Fweb%2Fwiklou.git * Added the querypages to $wgQueryPages that were missing --- diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 60bbd57ff4..7dc4740a79 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -16,28 +16,36 @@ global $wgQueryPages; // not redundant $wgQueryPages = array( // QueryPage subclass Special page name Limit (false for none, none for the default) //---------------------------------------------------------------------------- - array( 'AncientPagesPage', 'Ancientpages' ), - array( 'BrokenRedirectsPage', 'BrokenRedirects' ), - array( 'DeadendPagesPage', 'Deadendpages' ), - array( 'DisambiguationsPage', 'Disambiguations' ), - array( 'DoubleRedirectsPage', 'DoubleRedirects' ), - array( 'ListUsersPage', 'Listusers' ), - array( 'LonelyPagesPage', 'Lonelypages' ), - array( 'LongPagesPage', 'Longpages' ), - array( 'NewPagesPage', 'Newpages' ), - array( 'ShortPagesPage', 'Shortpages' ), - array( 'UncategorizedCategoriesPage','Uncategorizedcategories'), - array( 'UncategorizedPagesPage', 'Uncategorizedpages'), - array( 'UnusedimagesPage', 'Unusedimages' ), - array( 'WantedPagesPage', 'Wantedpages' ), - array( 'MostlinkedPage', 'Mostlinked' ), + array( 'AncientPagesPage', 'Ancientpages' ), + array( 'BrokenRedirectsPage', 'BrokenRedirects' ), + array( 'CategoriesPage', 'Categories' ), + array( 'DeadendPagesPage', 'Deadendpages' ), + array( 'DisambiguationsPage', 'Disambiguations' ), + array( 'DoubleRedirectsPage', 'DoubleRedirects' ), + array( 'ListUsersPage', 'Listusers' ), + array( 'LonelyPagesPage', 'Lonelypages' ), + array( 'LongPagesPage', 'Longpages' ), + array( 'MostcategoriesPage', 'Mostcategories' ), + array( 'MostimagesPage', 'Mostimages' ), + array( 'MostlinkedPage', 'Mostlinked' ), + array( 'MostrevisionsPage', 'Mostrevisions' ), + array( 'NewPagesPage', 'Newpages' ), + array( 'ShortPagesPage', 'Shortpages' ), + array( 'UncategorizedCategoriesPage', 'Uncategorizedcategories' ), + array( 'UncategorizedPagesPage', 'Uncategorizedpages' ), + array( 'UnusedCategoriesPage', 'Unusedcategories' ), + array( 'UnusedimagesPage', 'Unusedimages' ), + array( 'WantedPagesPage', 'Wantedpages' ), ); wfRunHooks( 'wgQueryPages', array( &$wgQueryPages ) ); global $wgDisableCounters; -if( !$wgDisableCounters ) { - $wgQueryPages[] = array( 'PopularPagesPage', 'Popularpages' ); -} +if ( !$wgDisableCounters ) + $wgQueryPages[] = array( 'PopularPagesPage', 'Popularpages' ); +global $wgEnableUnwatchedpages; +if ( $wgEnableUnwatchedpages ) + $wgQueryPages[] = array( 'UnwatchedPagesPage', 'Unwatchedpages' ); + /** * This is a class for doing query pages; since they're almost all the same,