Page MenuHomePhabricator

content/EntityHandler.php:getFromId()
Closed, ResolvedPublic

Description

pass the audience explicitly, so it's obvious you're grabbing the public version


Version: unspecified
Severity: normal
Whiteboard: storypoints: 1

Details

Reference
bz40553

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:45 AM
bzimport set Reference to bz40553.
bzimport added a subscriber: Unknown Object (MLST).

In addition to audience the user must also be passed. This is necessary in all places where content is fetched and an audience other than \Revision::FOR_PUBLIC is used.

As far as I can see this is not completly done yet.

Verified in Wikidata demo time for sprint 18