Last modified: 2013-10-31 22:06:30 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 T57664, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55664 - Preserve user language when calling API
Preserve user language when calling API
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
GuidedTour (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Rainer Rillke @commons.wikimedia
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-12 23:26 UTC by Matthew Flaschen
Modified: 2013-10-31 22:06 UTC (History)
5 users (show)

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


Attachments

Description Matthew Flaschen 2013-10-12 23:26:19 UTC
The API accepts a uselang parameter (https://www.mediawiki.org/wiki/API:Parse#Parameters_2), but we are not passing it.

This would allow using template-based i18n, until on-wiki i18n is fully supported (e.g. with Gadgets 2.0).  This is particularly important for wiki multi-language wikis such as Commons, which have existing i18n platforms such as https://commons.wikimedia.org/wiki/Template:LangSwitch (among others).  See Rillke's comments at https://www.mediawiki.org/wiki/Thread:Extension_talk:GuidedTour/Navigate_to_the_next_step_using_a_custom_function_and_i18n
Comment 1 Gerrit Notification Bot 2013-10-13 09:18:16 UTC
Change 89499 had a related patch set uploaded by Rillke:
Parse pages and text in context of user language

https://gerrit.wikimedia.org/r/89499
Comment 2 Rainer Rillke @commons.wikimedia 2013-10-13 09:45:11 UTC
Feel free to abandon this change if you have other plans :) Saw this too late.
Comment 3 Gerrit Notification Bot 2013-10-31 22:02:48 UTC
Change 89499 merged by jenkins-bot:
Parse pages and text in context of user language

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

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


Navigation
Links