Page MenuHomePhabricator

[Task] Don't load full entity in WikibaseLuaBinding::getSiteLinkPageName
Closed, ResolvedPublic

Description

getSiteLinkPageName should not need to load the full entity. We can use SiteLinkLookup here. (yes, that has the issue that we still do not badges in the SiteLink objects here -- which we really should fix!) But if all we want is page name, then SiteLinkLookup would work and would be less evil than loading the entity.

see T108841 where it has become an issue in the database logs. mw.wikibase.sitelink is used a lot on Russian Wikipedia.

Event Timeline

aude raised the priority of this task from to High.
aude updated the task description. (Show Details)
aude subscribed.
aude renamed this task from Don't load full entity in WikibaseLuaBinding::getSiteLinkPageName [Task] to [Task] Don't load full entity in WikibaseLuaBinding::getSiteLinkPageName.Aug 13 2015, 10:58 AM
aude set Security to None.

Change 231533 had a related patch set uploaded (by Daniel Kinzler):
Use SiteLinkLookup in WikibaseLuaBindings for getSiteLinkPageName

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

Change 231533 merged by jenkins-bot:
Use SiteLinkLookup in WikibaseLuaBindings for getSiteLinkPageName

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

daniel claimed this task.
daniel subscribed.

merged