Jump to content

User:Evad37/WikidataWatchlistLabels

From Wikipedia, the free encyclopedia

WikidataWatchlistLabels (source) adds labels to P-numbers and Q-numbers (properties and items) for Wikidata edits.

For example, "Created claim: instance of (P31): bus station (Q494829)" instead of "Created claim: Property:P31: Q494829".

It also lets you know when the Wikidata edit was not the item for the listed page, but to another item used on that page. E.g.

appears to be an edit to the item for 'Wikipedia:Wikidata'. With this script installed, it will be expanded to

showing the edit is to the item for a different page, in this case Germany.

Installation

[edit]

To install the script, add:

{{subst:lusc|User:Evad37/WikidataWatchlistLabels.js}}

to Special:MyPage/common.js.

Or to install on all Wikimedia wikis, add:

mw.loader.load("//wiki.riteme.site/w/index.php?title=User:Evad37/WikidataWatchlistLabels.js&action=raw&ctype=text/javascript"); // [[w:User:Evad37/WikidataWatchlistLabels.js]]

to meta:Special:MyPage/global.js.