User:Evad37/WikidataWatchlistLabels
Appearance
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.
- Wikipedia:Wikidata (Q183) ... ... ... (Created claim: Property:P463: Q1928989)
appears to be an edit to the item for 'Wikipedia:Wikidata'. With this script installed, it will be expanded to
- Wikipedia:Wikidata (Germany (Q183)) ... ... ... (Created claim: member of (P463): Treaty on Open Skies (Q1928989))
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}}
Or to install on all Wikimedia wikis, add:
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Evad37/WikidataWatchlistLabels.js&action=raw&ctype=text/javascript"); // [[w:User:Evad37/WikidataWatchlistLabels.js]]