Wikidata:Tools/Enhance user interface
Enhance user interface |
This is a list of user scripts that you can add to enhance the looks and features of Wikidata and make editing faster and more productive. Anyone is free to add their own script to this list. |
Before you install any of the scripts on this list, it is highly recommended you install User:So9q/ScriptInstaller.js so that you can easily install scripts by clicking an "Install" button on their source page. You can do so by adding this to your common.js:
mw.loader.load( '/www.wikidata.org/w/index.php?title=User%3ASo9q%2FScriptInstaller.js&action=raw&ctype=text%2Fjavascript' ); / [[User:So9q/ScriptInstaller.js]]
Userscripts to aid editing
Userscripts to add basic editing features that Wikibase lacks
- Magnus Manske wrote the original: User:Magnus Manske/duplicate item.js
- DarwIn's version does not copy aliases: User:DarwIn/duplicate item.js
- So9q added a confirmation dialog to avoid accidental duplication: User:So9q/duplicate item.js

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:So9q/duplicate_item.js&action=raw&ctype=text/javascript' ); / [[User:So9q/duplicate item.js]]




mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Lockal/EditSum.js&action=raw&ctype=text/javascript' ); / [[User:Lockal/EditSum.js]]





Userscripts for more convenient editing

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Efly/Gadget-CreateNewItem.js&action=raw&ctype=text/javascript' ); / [[User:Efly/Gadget-CreateNewItem.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Lectrician1/AddStatement.js&action=raw&ctype=text/javascript' ); / [[User:Lectrician1/AddStatement.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Joern/altLabels.js&action=raw&ctype=text/javascript' ); / [[User:Joern/altLabels.js]]



mw.loader.load( '/www.wikidata.org/w/index.php?title=User:So9q/CreateNewEntity.js&action=raw&ctype=text/javascript' ); / [[User:So9q/CreateNewEntity.js]]






mw.loader.load( '/www.wikidata.org/w/index.php?title=User:1Veertje/identifierInput.js&action=raw&ctype=text/javascript' ); / [[User:1Veertje/identifierInput.js]]

Suggests descriptions by extracting definitions from article introductions, aliases based on what's bolded in the article introduction, and labels from the article title, and provides a mask to compare existing values with the suggestions made and the article introductions, and to review and edit them all at once. When finished, optionally the next item with no label or description can be loaded automatically, allowing fast processing of many items.
See this page for a more detailed documentation.
mw.loader.load( '/www.wikidata.org/w/index.php?title=User:YMS/labelcollect.js&action=raw&ctype=text/javascript' ); / [[User:YMS/labelcollect.js]]



mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Bargioni/moreIdentifiers.js&action=raw&ctype=text/javascript' ); / [[User:Bargioni/moreIdentifiers.js]]
mul
language code.
mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Jon_Harald_S%C3%B8by/mulAdder.js&action=raw&ctype=text/javascript' ); / [[User:Jon Harald Søby/mulAdder.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Harmonia_Amanda/namescript.js&action=raw&ctype=text/javascript' ); / [[User:Harmonia Amanda/namescript.js]]


mw.loader.load( '/www.wikidata.org/w/index.php?title=User:MichaelSchoenitzer/quickpresets.js&action=raw&ctype=text/javascript' ); / [[User:MichaelSchoenitzer/quickpresets.js]]




mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Lucas_Werkmeister/SpeedPatrolling&action=raw&ctype=text/javascript' ); / [[User:Lucas_Werkmeister/SpeedPatrolling]]
But the main feature is that the user can input property-item pairs for repeated use. First, there is a flexible storage system, which uses cookies. After the start there is only one row for a property (p) and one for a value (q). By clicking p+ and q+ you can add as many rows as you need. If you write in a property, an item, or a short text (label) this will be saved in the cookies. That means, after checking a property-item pair, which transfers the inputs to the Wikidata datasource, you can go to the next item and what you typed into the storage system is still there and can be used again. The newest version of this tool has further an input for item descriptions. The second option is a file in the Wikidata userspace. Each user has a separate wikipage in its own userspace where they could write in some property-item pairs, which uses the tool to fill an additional selection. The address is User:your username/data. Take as example User:Goldzahn/data.
In this way data is stored until it is deleted, while the data stored in cookies last only as long as the browser is not closed.
mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Goldzahn/wikidata_useful.js&action=raw&ctype=text/javascript' ); / [[User:Goldzahn/wikidata useful.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Bargioni/UseAsRef.js&action=raw&ctype=text/javascript' ); / [[User:Bargioni/UseAsRef.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Data-Complete-Gadget/WikidataComplete.js&action=raw&ctype=text/javascript' ); / [[User:Data-Complete-Gadget/WikidataComplete.js]]


mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Magnus_Manske/wikidata_useful.js&action=raw&ctype=text/javascript' ); / [[User:Magnus Manske/wikidata_useful.js]]
mw.loader.load('/meta.wikimedia.org/w/index.php?title=User:Base/Scripts/HaveWikibaseLabelLowercased.js&action=raw&ctype=text/javascript');

mw.loader.load('/www.wikidata.org/w/index.php?title=User%3ALuca.favorido%2Flinkypop.js&action=raw&ctype=text%2Fjavascript'); / [[User:Luca.favorido/linkypop.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Zvpunry/CreateNewItem.js&action=raw&ctype=text/javascript' ); / [[User:Zvpunry/CreateNewItem.js]]
Userscripts to enhance the display of values



mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Egon_Willighagen/cdkdepict_gadget.js&action=raw&ctype=text/javascript' ); / [[User:Egon Willighagen/cdkdepict gadget.js]]


mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Teester/ClaimMaps.js&action=raw&ctype=text/javascript' ); / [[User:Teester/ClaimMaps.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Teester/DisplayColourSwatches.js&action=raw&ctype=text/javascript' ); / [[User:Teester/DisplayColourSwatches.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Ricordisamoa/DMYdates.js&action=raw&ctype=text/javascript' ); / [[User:Ricordisamoa/DMYdates.js]]

This helps you validate the accuracy of external identifiers, provides an interface to explore further document the data present in embeds, and makes editing fun!

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Lectrician1/embeds.js&action=raw&ctype=text/javascript' ); / [[User:Lectrician1/embeds.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Jon_Harald_S%C3%B8by/Panoviewer.js&action=raw&ctype=text/javascript' ); / [[User:Jon Harald Søby/Panoviewer.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Seb35/sortValues.js&action=raw&ctype=text/javascript' ); / [[User:Seb35/sortValues.js]]

Bamyers99_UnitsConverter_currency = 'EUR'; / AUD,BRL,CAD,CHF,CNY,DKK,EUR,GBP,INR,ISK,JPY,MXN,NOK,NZD,PLN,RUB,SEK,TRY,USD,ZAR
importScript("User:Bamyers99/UnitsConverter.js");

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Ricordisamoa/Wikispecies.js&action=raw&ctype=text/javascript' ); / [[User:Ricordisamoa/Wikispecies.js]]
Userscripts to link Wikidata frontends

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Ricordisamoa/GeneaWiki.js&action=raw&ctype=text/javascript' ); / [[User:Ricordisamoa/GeneaWiki.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:So9q/ordia-link.js&action=raw&ctype=text/javascript' ); / [[User:So9q/ordia-link.js]]


mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Fnielsen/scholia-link.js&action=raw&ctype=text/javascript' ); / [[User:Fnielsen/scholia-link.js]]
Userscripts for improving data quality


mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Teester/CheckShex.js&action=raw&ctype=text/javascript' ); / [[User:Teester/CheckShex.js]]

- Allows to visualise the parent classes tree thanks to the query service, allows to find the path between a class and one of its parent — useful if it seems that it’s an incorrect parent class, for example if all knives happens to be abstract object according to Wikidata)
- Provides the a link to report incorrect relationships to WikiProject Ontology for discussion with community on how to fix this.
- Detects loops in the superclass tree
- Detects if a class if a subclass is a subclass of disjoint classes, or if an instance is an instance of several classes.

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:TomT0m/classification.js&action=raw&ctype=text/javascript' ); / [[User:TomT0m/classification.js]]


mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Teester/ConstraintSummary.js&action=raw&ctype=text/javascript' ); / [[User:Teester/ConstraintSummary.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:JonnyJD/consistency_check.js&action=raw&ctype=text/javascript' ); / [[User:JonnyJD/consistency_check.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Frettie/consistency_check_add.js&action=raw&ctype=text/javascript' ); / [[User:Frettie/consistency check add.js]]


mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Teester/EntityShape.js&action=raw&ctype=text/javascript' ); / [[User:Teester/EntityShape.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Lectrician1/metaclass-check.js&action=raw&ctype=text/javascript' ); / [[User:Lectrician1/metaclass-check.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Guergana_Tzatchkova_(WMDE)/MismatchFinderWidget.js&action=raw&ctype=text/javascript' ); / [[User:Guergana Tzatchkova (WMDE)/MismatchFinderWidget.js]]



mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Vvekbv/recoin_id.js&action=raw&ctype=text/javascript' ); / [[User:Vvekbv/recoin_id.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Nw520/QualiRef.js&action=raw&ctype=text/javascript' ); / [[User:Nw520/QualiRef.js]]

mw.loader.load( '/www.wikidata.org/w/index.php?title=User:Ricordisamoa/WikidataTrust.js&action=raw&ctype=text/javascript' ); / [[User:Ricordisamoa/WikidataTrust.js]]