dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
installer: Stop offering MyISAM option for new installs and fix bogus method calls
[lhc/web/wiklou.git]
/
includes
/
MediaWiki.php
diff --git
a/includes/MediaWiki.php
b/includes/MediaWiki.php
index
3934cd2
..
69f23c1
100644
(file)
--- a/
includes/MediaWiki.php
+++ b/
includes/MediaWiki.php
@@
-260,16
+260,8
@@
class MediaWiki {
) {
list( , $subpage ) = $spFactory->resolveAlias( $title->getDBkey() );
$target = $specialPage->getRedirect( $subpage );
) {
list( , $subpage ) = $spFactory->resolveAlias( $title->getDBkey() );
$target = $specialPage->getRedirect( $subpage );
- //
T
arget can also be true. We let that case fall through to normal processing.
+ //
t
arget can also be true. We let that case fall through to normal processing.
if ( $target instanceof Title ) {
if ( $target instanceof Title ) {
- if ( $target->isExternal() ) {
- // Handle interwiki redirects
- $target = SpecialPage::getTitleFor(
- 'GoToInterwiki',
- $target->getPrefixedDBkey()
- );
- }
-
$query = $specialPage->getRedirectQuery( $subpage ) ?: [];
$request = new DerivativeRequest( $this->context->getRequest(), $query );
$request->setRequestURL( $this->context->getRequest()->getRequestURL() );
$query = $specialPage->getRedirectQuery( $subpage ) ?: [];
$request = new DerivativeRequest( $this->context->getRequest(), $query );
$request->setRequestURL( $this->context->getRequest()->getRequestURL() );