Last modified: 2014-08-09 15:54:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T71094, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69094 - Special:AdvancedTranslate gets internal error
Special:AdvancedTranslate gets internal error
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Niklas Laxström
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-04 08:24 UTC by Lokal_Profil
Modified: 2014-08-09 15:54 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Lokal_Profil 2014-08-04 08:24:13 UTC
SpecialAdvancedTranslate (on translatewiki) fails to load as it cannot process the language code. 

For e.g. https://translatewiki.net/w/i.php?language=sv&module=namespace&title=Special%3AAdvancedTranslate the following backtrace is returned:

#0 /www/translatewiki.net/w/languages/Language.php(4215): Language::getFileName(string, string, string)
#1 /www/translatewiki.net/w/extensions/Translate/ffs/MediaWikiComplexMessages.php(740): Language::getMessagesFileName(string)
#2 /www/translatewiki.net/w/extensions/Translate/specials/SpecialMagic.php(173): NamespaceCM->__construct(string)
#3 /www/translatewiki.net/w/includes/specialpage/SpecialPage.php(382): SpecialMagic->execute(NULL)
#4 /www/translatewiki.net/w/includes/specialpage/SpecialPageFactory.php(516): SpecialPage->run(NULL)
#5 /www/translatewiki.net/w/includes/MediaWiki.php(294): SpecialPageFactory::executePath(Title, RequestContext)
#6 /www/translatewiki.net/w/includes/MediaWiki.php(609): MediaWiki->performRequest()
#7 /www/translatewiki.net/w/includes/MediaWiki.php(458): MediaWiki->main()
#8 /www/translatewiki.net/w/index.php(46): MediaWiki->run()
#9 {main}

Reported on: https://translatewiki.net/wiki/Thread:Support/Special:AdvancedTranslate_not_opening_up_for_mr_language
Comment 1 Niklas Laxström 2014-08-04 08:46:35 UTC
I already made patch for this: https://gerrit.wikimedia.org/r/#/c/151275/
It's waiting for review.
Comment 2 Gerrit Notification Bot 2014-08-04 08:46:57 UTC
Change 151275 had a related patch set uploaded by Nikerabbit:
Even CODE is no longer a valid language code.

https://gerrit.wikimedia.org/r/151275
Comment 3 Gerrit Notification Bot 2014-08-04 09:09:43 UTC
Change 151275 merged by jenkins-bot:
Even CODE is no longer a valid language code.

https://gerrit.wikimedia.org/r/151275
Comment 4 Lokal_Profil 2014-08-06 11:39:32 UTC
Looks as though MediaWiki Core messages are no longer being loaded into AdvancedTranslate
Comment 5 Niklas Laxström 2014-08-07 09:54:26 UTC
Sigh looks like I broke it in different way. Looking into it.
Comment 6 Gerrit Notification Bot 2014-08-09 12:43:22 UTC
Change 153063 had a related patch set uploaded by Nikerabbit:
Fix the fix for Special:Magic

https://gerrit.wikimedia.org/r/153063
Comment 7 Gerrit Notification Bot 2014-08-09 13:10:05 UTC
Change 153063 merged by jenkins-bot:
Fix the fix for Special:Magic

https://gerrit.wikimedia.org/r/153063

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links