r107300 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107299‎ | r107300 | r107301 >
Date:23:14, 25 December 2011
Author:nikerabbit
Status:ok (Comments)
Tags:
Comment:
Rm obsolete code
Modified paths:
  • /trunk/extensions/Translate/specials/SpecialTranslations.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/specials/SpecialTranslations.php
@@ -243,12 +243,7 @@
244244 $out .= Xml::closeElement( 'table' );
245245 $wgOut->addHTML( $out );
246246
247 - $vars = array(
248 - 'trlKeys' => $ajaxPageList,
249 - 'trlMsgNoNext' => wfMsg( 'translate-js-nonext' ),
250 - 'trlMsgSaveFailed' => wfMsg( 'translate-js-save-failed' ),
251 - );
252 -
 247+ $vars = array( 'trlKeys' => $ajaxPageList );
253248 $wgOut->addScript( Skin::makeVariablesScript( $vars ) );
254249 }
255250

Comments

#Comment by Santhosh.thottingal (talk | contribs)   07:01, 26 December 2011

Does that mean that we need to remove entries from Translate.php and Translate.i18n.php

#Comment by Santhosh.thottingal (talk | contribs)   07:03, 26 December 2011

Never mind, I saw that it is used in resources/ext.translate.quickedit.js

Status & tagging log