r99393 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99392‎ | r99393 | r99394 >
Date:08:13, 10 October 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Should pass the id, not object to set default value
Modified paths:
  • /trunk/extensions/Translate/specials/SpecialTranslate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/specials/SpecialTranslate.php
@@ -195,7 +195,7 @@
196196
197197 // These are used, in the $$g black magic below. Do not remove!
198198 $task = $this->taskSelector();
199 - $group = TranslateUtils::groupSelector( $this->group )->getHTML();
 199+ $group = TranslateUtils::groupSelector( $this->group->getId() )->getHTML();
200200 $language = $this->languageSelector();
201201 $limit = $this->limitSelector();
202202

Follow-up revisions

RevisionCommit summaryAuthorDate
r99397And don't cause fatals for invalid groups - r99393nikerabbit10:41, 10 October 2011

Status & tagging log