r97477 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97476‎ | r97477 | r97478 >
Date:12:18, 19 September 2011
Author:nikerabbit
Status:deferred
Tags:
Comment:
Fixing a PHP notice that was caused by over eager filtering of redirects. So lets just load the content even if it is a redirect.
PHP Notice: Undefined index: Wm-license-attribution-with-author-text/zh in /www/w/extensions/Translate/specials/SpecialTranslations.php on line 239
Modified paths:
  • /trunk/extensions/Translate/TranslateUtils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/TranslateUtils.php
@@ -80,7 +80,6 @@
8181 $rows = $dbr->select( array( 'page', 'revision', 'text' ),
8282 array( 'page_title', 'old_text', 'old_flags', 'rev_user_text' ),
8383 array(
84 - 'page_is_redirect' => 0,
8584 'page_namespace' => $namespace,
8685 'page_latest=rev_id',
8786 'rev_text_id=old_id',

Status & tagging log