The WikibaseClient action=query&prop=pageterms API currently has special behavior on Repo wikis, where it returns the terms of the entity page instead of the terms of the entity linked to that page. We will introduce a new WikibaseRepo API module for this purpose, action=query&prop=entityterms, and then (after following the notification policy of the stable interface policy) remove that special behavior from the pageterms API.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Remove repo hack from pageterms API | mediawiki/extensions/Wikibase | master | +11 -30 | |
Add entityterms Repo API | mediawiki/extensions/Wikibase | master | +747 -136 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Lucas_Werkmeister_WMDE | T255880 Remove uses of PHP classes from Wikibase Repo in Client and Lib | |||
Resolved | Lucas_Werkmeister_WMDE | T255882 Don’t use WikibaseRepo when initializing Client pageterms API | |||
Resolved | Lucas_Werkmeister_WMDE | T257658 Introduce new Repo entityterms API and remove hack from Client pageterms API |
Event Timeline
Change 611282 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Add entityterms Repo API
Change 611282 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add entityterms Repo API
Change 612549 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] Remove repo hack from pageterms API
Stalled until wmf.2 has been branched (since we effectively announced the pageterms change would be deployed with wmf.3).
Change 612549 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Remove repo hack from pageterms API
Working as intended on Wikidata – pageterms of Wikidata:Project chat now returns “Project:Village pump”, entityterms of Q42 returns “Douglas Adams”.