X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialRedirect.php;h=1d1df6a043266d58918b242832af39b2521e0df4;hb=95d108845fe6545ebb52c8cc274ac76c444dde19;hp=12959a3e6a716eaaac45e50977e37b39dbd12262;hpb=133d9872aa1dd5d5aab3b5ff84d5e2656ed89c13;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialRedirect.php b/includes/specials/SpecialRedirect.php index 12959a3e6a..1d1df6a043 100644 --- a/includes/specials/SpecialRedirect.php +++ b/includes/specials/SpecialRedirect.php @@ -182,7 +182,7 @@ class SpecialRedirect extends FormSpecialPage { '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 @@ -352,6 +352,10 @@ class SpecialRedirect extends FormSpecialPage { $form->setMethod( 'get' ); } + protected function getDisplayFormat() { + return 'ooui'; + } + /** * Return an array of subpages that this special page will accept. *