Merge "Switch some HTMLForms in special pages to OOUI"
[lhc/web/wiklou.git] / includes / specials / SpecialBlock.php
index 323575a..b4d4220 100644 (file)
@@ -394,8 +394,8 @@ class SpecialBlock extends FormSpecialPage {
 
                # Link to edit the block dropdown reasons, if applicable
                if ( $user->isAllowed( 'editinterface' ) ) {
-                       $links[] = Linker::link(
-                               Title::makeTitle( NS_MEDIAWIKI, 'Ipbreason-dropdown' ),
+                       $links[] = Linker::linkKnown(
+                               $this->msg( 'ipbreason-dropdown' )->inContentLanguage()->getTitle(),
                                $this->msg( 'ipb-edit-dropdown' )->escaped(),
                                array(),
                                array( 'action' => 'edit' )