Index: trunk/phase3/includes/Article.php |
— | — | @@ -246,7 +246,7 @@ |
247 | 247 | * Load the revision (including cur_text) into this object |
248 | 248 | */ |
249 | 249 | function loadContent( $noredir = false ) { |
250 | | - global $wgOut, $wgRequest, $wgDisableHardRedirects; |
| 250 | + global $wgOut, $wgRequest; |
251 | 251 | |
252 | 252 | if ( $this->mContentLoaded ) return; |
253 | 253 | |
— | — | @@ -386,6 +386,7 @@ |
387 | 387 | # Gotta hand redirects to special pages differently: |
388 | 388 | # Fill the HTTP response "Location" header and ignore |
389 | 389 | # the rest of the page we're on. |
| 390 | + global $wgDisableHardRedirects; |
390 | 391 | if( $globalTitle && !$wgDisableHardRedirects ) { |
391 | 392 | global $wgOut; |
392 | 393 | if ( $rt->getInterwiki() != '' && $rt->isLocal() ) { |