r70580 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70579‎ | r70580 | r70581 >
Date:18:49, 6 August 2010
Author:reedy
Status:ok
Tags:
Comment:
Kill wfLoadExtensionMessages( 'CodeReview' );
Modified paths:
  • /trunk/extensions/CodeReview/backend/CodeRevision.php (modified) (history)
  • /trunk/extensions/CodeReview/ui/SpecialCode.php (modified) (history)
  • /trunk/extensions/CodeReview/ui/SpecialRepoAdmin.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/backend/CodeRevision.php
@@ -324,7 +324,7 @@
325325 // Get repo and build comment title (for url)
326326 $title = SpecialPage::getTitleFor( 'Code', $this->mRepo->getName() . '/' . $this->mId );
327327 $url = $title->getFullUrl();
328 - wfLoadExtensionMessages( 'CodeReview' );
 328+
329329 foreach ( $res as $row ) {
330330 $user = $this->mRepo->authorWikiUser( $row->cr_author );
331331 // User must exist on wiki and have a valid email addy
Index: trunk/extensions/CodeReview/ui/SpecialCode.php
@@ -9,8 +9,6 @@
1010 function execute( $subpage ) {
1111 global $wgOut, $wgRequest, $wgUser, $wgExtensionAssetsPath, $wgCodeReviewStyleVersion;
1212
13 - wfLoadExtensionMessages( 'CodeReview' );
14 -
1513 if ( !$this->userCanExecute( $wgUser ) ) {
1614 $this->displayRestrictionError();
1715 return;
Index: trunk/extensions/CodeReview/ui/SpecialRepoAdmin.php
@@ -9,7 +9,6 @@
1010 function execute( $subpage ) {
1111 global $wgRequest, $wgUser;
1212
13 - wfLoadExtensionMessages( 'CodeReview' );
1413 $this->setHeaders();
1514
1615 if ( !$this->userCanExecute( $wgUser ) ) {

Status & tagging log