Page MenuHomePhabricator

Create a new Wikibase SpecialPage that redirects to a client page based on the ItemId and the global SiteId of the client
Closed, ResolvedPublic

Description

As [[d:Special:TitleByItem/enwiki/Q2013]], suggested by Micru.

[[d:User:Ricordisamoa/TitleByItem.js]] is a provisional JavaScript implementation.


Version: unspecified
Severity: normal
URL: https://www.wikidata.org/wiki/?oldid=124666417#Inverse_of_Special:ItemByTitle

Details

Reference
bz64776

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:09 AM
bzimport set Reference to bz64776.
bzimport added a subscriber: Unknown Object (MLST).

This is basically the opposite of Special:ItemByTitle (see https://www.wikidata.org/wiki/Special:ItemByTitle) which forwards you to a Wikidata Item based on the title of the client page and the global site-id of the client. E.g. https://www.wikidata.org/wiki/Special:ItemByTitle/enwiki/Douglas_Adams will forward you to https://www.wikidata.org/wiki/Q42.
What we need is a SpecialPage named TitleByItem which forwards the user to the Page (article) on the client based on the ID of the item and the global site-id of the client. E.g. https://www.wikidata.org/wiki/Special:TitleByItem/enwiki/Q42 should forward to https://en.wikipedia.org/wiki/Douglas_Adams.

Change 149877 had a related patch set uploaded by JanZerebecki:
Add title by item special page.

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

Change 149877 merged by jenkins-bot:
Add go to linked page special page.

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

Out of curiosity: why was 'GoToLinkedPage' chosen over 'TitleByItem'?

Out of curiosity: why was 'GoToLinkedPage' chosen over 'TitleByItem'?

Cannot answer exactly, but there was quite some discussion on the changeset. Personally I think GoToLinkedPage explains better what it is actually doing than TitleByItem.

Is there any other Special:Go* page in core or extensions? I only recall Special:Redirect* pages.