Page MenuHomePhabricator

CitoidDataModule depends on request data
Closed, ResolvedPublic0 Estimated 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().

Event Timeline

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.