}
$out .= Xml::closeElement( 'fieldset' );
+ if ( $wgUser->isAllowed( 'editinterface' ) ) {
+ $linkTitle = Title::makeTitleSafe( NS_MEDIAWIKI, 'protect-dropdown' );
+ $link = $wgUser->getSkin()->Link ( $linkTitle, wfMsgHtml( 'protect-edit-reasonlist' ) );
+ $out .= '<p class="mw-protect-editreasons">' . $link . '</p>';
+ }
+
if ( !$this->disabled ) {
$out .= Xml::closeElement( 'form' ) .
$this->buildCleanupScript();