Page MenuHomePhabricator

CitoidDataModule depends on request data
Closed, ResolvedPublic0 Estimated Story Points


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

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

Jdforrester-WMF set the point value for this task to 0.