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
Merge "add IGNORE INDEX option to mysql database handler"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialRedirect.php
diff --git
a/includes/specials/SpecialRedirect.php
b/includes/specials/SpecialRedirect.php
index
c0ed4c9
..
1d1df6a
100644
(file)
--- a/
includes/specials/SpecialRedirect.php
+++ b/
includes/specials/SpecialRedirect.php
@@
-182,7
+182,7
@@
class SpecialRedirect extends FormSpecialPage {
'log_user_text',
];
'log_user_text',
];
- $dbr = wfGetDB( DB_
SLAVE
);
+ $dbr = wfGetDB( DB_
REPLICA
);
// Gets the nested SQL statement which
// returns timestamp of the log with the given log ID
// Gets the nested SQL statement which
// returns timestamp of the log with the given log ID
@@
-272,7
+272,6
@@
class SpecialRedirect extends FormSpecialPage {
$url = $this->dispatchLog();
break;
default:
$url = $this->dispatchLog();
break;
default:
- $this->getOutput()->setStatusCode( 404 );
$url = null;
break;
}
$url = null;
break;
}
@@
-353,6
+352,10
@@
class SpecialRedirect extends FormSpecialPage {
$form->setMethod( 'get' );
}
$form->setMethod( 'get' );
}
+ protected function getDisplayFormat() {
+ return 'ooui';
+ }
+
/**
* Return an array of subpages that this special page will accept.
*
/**
* Return an array of subpages that this special page will accept.
*