X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FProtectionForm.php;h=1443d1ca69d1a315b1aeae9d28958d30c4ff0be2;hb=dae916558f37103317e1bd31b9ee7d3ca6299826;hp=c546de75f39ad388c49b2a91d8769a154191d229;hpb=9e18610457ce599db51d3b14af83c31053ea0ace;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index c546de75f3..1443d1ca69 100644 --- a/includes/ProtectionForm.php +++ b/includes/ProtectionForm.php @@ -541,9 +541,8 @@ class ProtectionForm { $out .= Xml::closeElement( 'fieldset' ); if ( $user->isAllowed( 'editinterface' ) ) { - $title = Title::makeTitle( NS_MEDIAWIKI, 'Protect-dropdown' ); - $link = Linker::link( - $title, + $link = Linker::linkKnown( + $context->msg( 'protect-dropdown' )->inContentLanguage()->getTitle(), $context->msg( 'protect-edit-reasonlist' )->escaped(), array(), array( 'action' => 'edit' )