r24540 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24539‎ | r24540 | r24541 >
Date:12:36, 2 August 2007
Author:werdna
Status:old
Tags:
Comment:
Remove partial patch mixed in with last commit
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -1006,23 +1006,6 @@
10071007 }
10081008 return false;
10091009 }
1010 -
1011 - public function getUserPermissionsErrorPage( $action, $user, $doExpensiveQueries = true )
1012 - {
1013 - $errors = $this->getUserPermissionsErrors( $action, $user, $doExpensiveQueries );
1014 - $text = '';
1015 -
1016 - $text .= $wgParser->parse( wfMsg('permissionserrorstext') );
1017 - $this->addHtml( '<ul class="permissions-errors">' . "\n" );
1018 -
1019 - foreach( $errors as $error )
1020 - {
1021 - $this->addHtml( '<li>' );
1022 - $this->addWikiText( call_user_func_array( 'wfMsg', $error ) );
1023 - $this->addHtml( '</li>');
1024 - }
1025 - $this->addHtml( '</ul>' );
1026 - }
10271010
10281011 /**
10291012 * Can $wgUser perform $action on this page?

Follow-up revisions

RevisionCommit summaryAuthorDate
r24631Merged revisions 24480-24600 via svnmerge from...david18:39, 6 August 2007

Status & tagging log