Page MenuHomePhabricator

CitoidDataModule depends on request data
Closed, ResolvedPublic0 Estimate Story Points

Description

The load.php endpoint is not supposed to depend on session data, however CitoidDataModule depends on the language of $wgUser.

Chances are you can fix this easily by applying ->inContentLanguage() or ->inLanguage( $context->getLanguage() ) to the Message object before calling ->plain().

Details

Related Gerrit Patches:
mediawiki/extensions/Citoid : masterUse inLanguage() in CitoidDataModule

Event Timeline

Anomie created this task.Feb 23 2016, 8:14 PM

Change 272920 had a related patch set uploaded (by BryanDavis):
Use inContentLanguage() in CitoidDataModule

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

Change 272920 merged by jenkins-bot:
Use inLanguage() in CitoidDataModule

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

Jdforrester-WMF set the point value for this task to 0.
Restricted Application added a project: User-bd808. · View Herald TranscriptFeb 24 2016, 2:28 AM
bd808 moved this task from To Do to Done on the User-bd808 board.Mar 10 2016, 4:26 PM
bd808 moved this task from Done to Archive on the User-bd808 board.Mar 14 2016, 5:55 PM