Index: trunk/phase3/includes/ProtectionForm.php |
— | — | @@ -232,7 +232,7 @@ |
233 | 233 | if( wfReadOnly() ) { |
234 | 234 | $wgOut->readOnlyPage(); |
235 | 235 | } elseif( $this->mPermErrors ) { |
236 | | - $wgOut->addWikiText( $wgOut->formatPermissionsErrorMessage( $this->mPermErrors ) ); |
| 236 | + $wgOut->showPermissionsErrorPage( $this->mPermErrors ); |
237 | 237 | } |
238 | 238 | } else { |
239 | 239 | $wgOut->addWikiMsg( 'protect-text', $this->mTitle->getPrefixedText() ); |