* (bug 9002) Provide a "view/restore deleted edits" link on Special:Upload
when a destination filename is provided that corresponds with previous
deleted files
-* (bug 11023) Don't register Special:Upload as a special page when uploads are
- disabled
* Make the "invalid special page" message clearer
== Bugfixes since 1.10 ==
'Watchlist' => array( 'SpecialPage', 'Watchlist' ),
'Recentchanges' => array( 'IncludableSpecialPage', 'Recentchanges' ),
+ 'Upload' => array( 'SpecialPage', 'Upload' ),
'Imagelist' => array( 'SpecialPage', 'Imagelist' ),
'Newimages' => array( 'IncludableSpecialPage', 'Newimages' ),
'Listusers' => array( 'SpecialPage', 'Listusers' ),
*/
static function initList() {
global $wgSpecialPages;
- global $wgDisableCounters, $wgDisableInternalSearch, $wgEmailAuthentication, $wgEnableUploads;
+ global $wgDisableCounters, $wgDisableInternalSearch, $wgEmailAuthentication;
if ( self::$mListInitialised ) {
return;
self::$mList['Confirmemail'] = 'EmailConfirmation';
}
- if( $wgEnableUploads ) {
- self::$mList['Upload'] = array( 'SpecialPage', 'Upload' );
- }
-
# Add extension special pages
self::$mList = array_merge( self::$mList, $wgSpecialPages );