| Index: trunk/phase3/includes/DefaultSettings.php |
| — | — | @@ -802,6 +802,7 @@ |
| 803 | 803 | $wgGroupPermissions['sysop']['upload'] = true; |
| 804 | 804 | $wgGroupPermissions['sysop']['reupload'] = true; |
| 805 | 805 | $wgGroupPermissions['sysop']['reupload-shared'] = true; |
| | 806 | +$wgGroupPermissions['sysop']['unwatchedpages'] = true; |
| 806 | 807 | |
| 807 | 808 | $wgGroupPermissions['bureaucrat']['userrights'] = true; |
| 808 | 809 | |
| — | — | @@ -1388,19 +1389,6 @@ |
| 1389 | 1390 | /** Filter for Special:Randompage. Part of a WHERE clause */ |
| 1390 | 1391 | $wgExtraRandompageSQL = false; |
| 1391 | 1392 | |
| 1392 | | -/** |
| 1393 | | - * Enable the Special:Unwatchedpages special page, turned off by default since |
| 1394 | | - * most would consider this privelaged information as it could be used as a |
| 1395 | | - * list of pages to vandalize. |
| 1396 | | - */ |
| 1397 | | -$wgEnableUnwatchedpages = false; |
| 1398 | | - |
| 1399 | | -/** |
| 1400 | | - * Users must have this permission to view Special:Unwatchedpages, e.g. |
| 1401 | | - * 'protect' for only allowing >sysops. '' for none |
| 1402 | | - */ |
| 1403 | | -$wgUnwatchedPagesPermission = ''; |
| 1404 | | - |
| 1405 | 1393 | /** Allow the "info" action, very inefficient at the moment */ |
| 1406 | 1394 | $wgAllowPageInfo = false; |
| 1407 | 1395 | |
| Index: trunk/phase3/includes/QueryPage.php |
| — | — | @@ -38,15 +38,13 @@ |
| 39 | 39 | array( 'UnusedimagesPage', 'Unusedimages' ), |
| 40 | 40 | array( 'WantedCategoriesPage', 'Wantedcategories' ), |
| 41 | 41 | array( 'WantedPagesPage', 'Wantedpages' ), |
| | 42 | + array( 'UnwatchedPagesPage', 'Unwatchedpages' ), |
| 42 | 43 | ); |
| 43 | 44 | wfRunHooks( 'wgQueryPages', array( &$wgQueryPages ) ); |
| 44 | 45 | |
| 45 | 46 | global $wgDisableCounters; |
| 46 | 47 | if ( !$wgDisableCounters ) |
| 47 | 48 | $wgQueryPages[] = array( 'PopularPagesPage', 'Popularpages' ); |
| 48 | | -global $wgEnableUnwatchedpages; |
| 49 | | -if ( $wgEnableUnwatchedpages ) |
| 50 | | - $wgQueryPages[] = array( 'UnwatchedPagesPage', 'Unwatchedpages' ); |
| 51 | 49 | |
| 52 | 50 | |
| 53 | 51 | /** |
| Index: trunk/phase3/includes/SpecialPage.php |
| — | — | @@ -76,6 +76,7 @@ |
| 77 | 77 | 'Unlockdb' => new SpecialPage( 'Unlockdb', 'siteadmin' ), |
| 78 | 78 | 'Userrights' => new SpecialPage( 'Userrights', 'userrights' ), |
| 79 | 79 | 'MIMEsearch' => new SpecialPage( 'MIMEsearch' ), |
| | 80 | + 'Unwatchedpages' => new SpecialPage( 'Unwatchedpages', 'unwatchedpages' ) |
| 80 | 81 | ); |
| 81 | 82 | |
| 82 | 83 | if ( $wgUseValidation ) |
| — | — | @@ -93,9 +94,6 @@ |
| 94 | 95 | $wgSpecialPages['Confirmemail'] = new UnlistedSpecialPage( 'Confirmemail' ); |
| 95 | 96 | } |
| 96 | 97 | |
| 97 | | -if ( $wgEnableUnwatchedpages ) |
| 98 | | - $wgSpecialPages['Unwatchedpages'] = new SpecialPage( 'Unwatchedpages' ); |
| 99 | | - |
| 100 | 98 | /** |
| 101 | 99 | * Parent special page class, also static functions for handling the special |
| 102 | 100 | * page list |