X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2FProtectionForm.php;h=69b64dd62bd5915295af258782d63127d0014d68;hb=f63e30ae50fe9ea91cc609d6352d0069f375bb78;hp=c546de75f39ad388c49b2a91d8769a154191d229;hpb=786a37c5778e2fc69b48010236199621449ebba0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ProtectionForm.php b/includes/ProtectionForm.php index c546de75f3..69b64dd62b 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, + $context->msg( 'protect-dropdown' )->inContentLanguage()->getTitle(), $context->msg( 'protect-edit-reasonlist' )->escaped(), array(), array( 'action' => 'edit' )