r100420 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100419‎ | r100420 | r100421 >
Date:14:06, 21 October 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Followup r100345 - protect part of the code with configuration variable
Modified paths:
  • /trunk/extensions/Translate/MessageCollection.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageCollection.php
@@ -532,7 +532,8 @@
533533 * @param $dbtype One of DB_* constants.
534534 */
535535 protected function loadReviewInfo( array $keys, $dbtype = DB_SLAVE ) {
536 - if ( $this->dbReviewData !== null ) {
 536+ global $wgTranslateMessageReview;
 537+ if ( $this->dbReviewData !== null || !$wgTranslateMessageReview ) {
537538 return;
538539 }
539540

Follow-up revisions

RevisionCommit summaryAuthorDate
r100586Revert r100431 - redundant with r100420nikerabbit09:06, 24 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100345Translation review interface...nikerabbit13:58, 20 October 2011

Status & tagging log