r81747 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81746‎ | r81747 | r81748 >
Date:15:19, 8 February 2011
Author:ialex
Status:ok
Tags:
Comment:
We have OutputPage::showPermissionsErrorPage() for that
Modified paths:
  • /trunk/phase3/includes/ProtectionForm.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ProtectionForm.php
@@ -232,7 +232,7 @@
233233 if( wfReadOnly() ) {
234234 $wgOut->readOnlyPage();
235235 } elseif( $this->mPermErrors ) {
236 - $wgOut->addWikiText( $wgOut->formatPermissionsErrorMessage( $this->mPermErrors ) );
 236+ $wgOut->showPermissionsErrorPage( $this->mPermErrors );
237237 }
238238 } else {
239239 $wgOut->addWikiMsg( 'protect-text', $this->mTitle->getPrefixedText() );

Status & tagging log