$wgGroupPermissions['sysop']['upload'] = true;
$wgGroupPermissions['sysop']['reupload'] = true;
$wgGroupPermissions['sysop']['reupload-shared'] = true;
+$wgGroupPermissions['sysop']['unwatchedpages'] = true;
$wgGroupPermissions['bureaucrat']['userrights'] = true;
/** Filter for Special:Randompage. Part of a WHERE clause */
$wgExtraRandompageSQL = false;
-/**
- * Enable the Special:Unwatchedpages special page, turned off by default since
- * most would consider this privelaged information as it could be used as a
- * list of pages to vandalize.
- */
-$wgEnableUnwatchedpages = false;
-
-/**
- * Users must have this permission to view Special:Unwatchedpages, e.g.
- * 'protect' for only allowing >sysops. '' for none
- */
-$wgUnwatchedPagesPermission = '';
-
/** Allow the "info" action, very inefficient at the moment */
$wgAllowPageInfo = false;
array( 'UnusedimagesPage', 'Unusedimages' ),
array( 'WantedCategoriesPage', 'Wantedcategories' ),
array( 'WantedPagesPage', 'Wantedpages' ),
+ array( 'UnwatchedPagesPage', 'Unwatchedpages' ),
);
wfRunHooks( 'wgQueryPages', array( &$wgQueryPages ) );
global $wgDisableCounters;
if ( !$wgDisableCounters )
$wgQueryPages[] = array( 'PopularPagesPage', 'Popularpages' );
-global $wgEnableUnwatchedpages;
-if ( $wgEnableUnwatchedpages )
- $wgQueryPages[] = array( 'UnwatchedPagesPage', 'Unwatchedpages' );
/**
'Unlockdb' => new SpecialPage( 'Unlockdb', 'siteadmin' ),
'Userrights' => new SpecialPage( 'Userrights', 'userrights' ),
'MIMEsearch' => new SpecialPage( 'MIMEsearch' ),
+ 'Unwatchedpages' => new SpecialPage( 'Unwatchedpages', 'unwatchedpages' )
);
if ( $wgUseValidation )
$wgSpecialPages['Confirmemail'] = new UnlistedSpecialPage( 'Confirmemail' );
}
-if ( $wgEnableUnwatchedpages )
- $wgSpecialPages['Unwatchedpages'] = new SpecialPage( 'Unwatchedpages' );
-
/**
* Parent special page class, also static functions for handling the special
* page list