Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -84,6 +84,7 @@ |
85 | 85 | 'Watchlist' => array( 'SpecialPage', 'Watchlist' ), |
86 | 86 | |
87 | 87 | 'Recentchanges' => array( 'IncludableSpecialPage', 'Recentchanges' ), |
| 88 | + 'Upload' => array( 'SpecialPage', 'Upload' ), |
88 | 89 | 'Imagelist' => array( 'SpecialPage', 'Imagelist' ), |
89 | 90 | 'Newimages' => array( 'IncludableSpecialPage', 'Newimages' ), |
90 | 91 | 'Listusers' => array( 'SpecialPage', 'Listusers' ), |
— | — | @@ -159,7 +160,7 @@ |
160 | 161 | */ |
161 | 162 | static function initList() { |
162 | 163 | global $wgSpecialPages; |
163 | | - global $wgDisableCounters, $wgDisableInternalSearch, $wgEmailAuthentication, $wgEnableUploads; |
| 164 | + global $wgDisableCounters, $wgDisableInternalSearch, $wgEmailAuthentication; |
164 | 165 | |
165 | 166 | if ( self::$mListInitialised ) { |
166 | 167 | return; |
— | — | @@ -181,10 +182,6 @@ |
182 | 183 | self::$mList['Confirmemail'] = 'EmailConfirmation'; |
183 | 184 | } |
184 | 185 | |
185 | | - if( $wgEnableUploads ) { |
186 | | - self::$mList['Upload'] = array( 'SpecialPage', 'Upload' ); |
187 | | - } |
188 | | - |
189 | 186 | # Add extension special pages |
190 | 187 | self::$mList = array_merge( self::$mList, $wgSpecialPages ); |
191 | 188 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -185,8 +185,6 @@ |
186 | 186 | * (bug 9002) Provide a "view/restore deleted edits" link on Special:Upload |
187 | 187 | when a destination filename is provided that corresponds with previous |
188 | 188 | deleted files |
189 | | -* (bug 11023) Don't register Special:Upload as a special page when uploads are |
190 | | - disabled |
191 | 189 | * Make the "invalid special page" message clearer |
192 | 190 | |
193 | 191 | == Bugfixes since 1.10 == |