r73935 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73934‎ | r73935 | r73936 >
Date:07:46, 29 September 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Remove code that created groups for non-translatable wiki pages
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageGroups.php
@@ -969,15 +969,6 @@
970970 } else {
971971 return $wgTranslateCC[$id];
972972 }
973 - } elseif ( strpos( $id, 'page|' ) === 0 ) {
974 - list( , $title ) = explode( '|', $id, 2 );
975 -
976 - // Check first if it valid page title at all.
977 - if ( !Title::newFromText( $title ) ) {
978 - return null;
979 - }
980 -
981 - return new WikiPageMessageGroup( $id, $title );
982973 } else {
983974 return null;
984975 }

Status & tagging log