Wikidata:Tools/Enhance user interface

From Wikidata
Jump to navigation Jump to search
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.

Userscripts to aid editing

Userscripts to add basic editing features that Wikibase lacks

Duplicate Item (Q108311191)

Adds a link to copy an item under the tools menu to the left. DarwIn made a fork that does not copy aliases: User:DarwIn/duplicate item.js and So9q improved it further with a working ok/cancel dialog to avoid accidental duplication: User:So9q/duplicate_item.js

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AMagnus_Manske%2Fduplicate_item.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Magnus_Manske/duplicate_item.js]]
by Magnus_Manske (source)
DuplicateReferences (Q97500668)
DuplicateReferences

Adds a link to copy references and add them to other statements on the same item.

Gadget
This script is a gadget. You can enable it in your preferences.
by Bene* (source)
EditSum
EditSum

Temporarily intercepts all edit requests (including statement deletions) for items, properties and lexemes and prompts for edit summary, which will be appended to auto-generated one. Useful for providing an explanation for non-trivial edits.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ALockal%2FEditSum.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Lockal/EditSum.js]]
by Lockal (source)
Move (Q108311250)
Move

Adds a move tool to the sitelink edit toolbar to move one or all sitelinks to another item.

Gadget
This script is a gadget. You can enable it in your preferences.
by Bene* (source)
Move claims (Q110793966)

Adds a "move" button to statements, for moving or copying them to another item, lexeme or property, or changing the property in the same item.

Gadget
This script is a gadget. You can enable it in your preferences.
by Matěj Suchánek (source)
RearrangeValues

Allows user to easily change order of values for any statement, e.g. change random order to a chronological order.

Gadget
This script is a gadget. You can enable it in your preferences.
by Tohaomg (source)

Userscripts for more convenient editing

AddNewItem
AddNewItem

Add a "create new item" link in the dropdown menu for when you want to add an item to a property, but the item does not exist. (phab:T107693). Improved version from So9q that supports lexemes and the main search box also (still in beta).

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AEfly%2FGadget-CreateNewItem.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Efly/Gadget-CreateNewItem.js]]
by Efly (source)
AltLabels (Q108311046)

If you're viewing an item for which there's no label in your current language this will insert the 3 most common labels across other languages below the input box. A simple click on one of them will approve & submit it for the current user language.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AJoern%2FaltLabels.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Joern/altLabels.js]]
by Joern (source)
autoEdit (Q21073497)
autoEdit

This script automatically adds all labels with the help of the interwiki links and adds descriptions from an editable list. To use it, click on Automatic addition in Tools.

Gadget
This script is a gadget. You can enable it in your preferences.
by Jitrixis (source)
CC Lit Box (Q109012674)

Automately create class numbers for literary authors and works using the Colon Classification bibliographic scheme based on properties available into Wikidata items. No need to know Colon Classification.

by Bargioni and Carlobia
CiteTool
CiteTool

Add sources more easily by using Citoid. If you provide a URL one click on 'autofill' will add all the information about this source (Title, access date, language, etc) automatically.

by Aude
Create New Entity
Create New Entity

Add a "create new item" link in the dropdown menu for when you want to add an item to a property, but the item does not exist. (phab:T107693). Also works for lexemes and features a popup to select languages.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ASo9q%2FCreateNewEntity.js&action=raw&ctype=text%2Fjavascript' ); // [[User:So9q/CreateNewEntity.js]]
by Efly and So9q (source)
CurrentDate

Whenever you add a retrieved (P813) property to a reference or somewhere else, this user script automatically pre-fills the input field with the current date.

Gadget
This script is a gadget. You can enable it in your preferences.
by TMg (source)
Draggable sitelinks (Q108311160)
Draggable sitelinks

Drag sitelinks onto claims to make "imported from" references.

Gadget
This script is a gadget. You can enable it in your preferences.
by Inductiveload (source)
DragNDrop (Q108311175)

Add statements and references from Wikidata or Wikipedia by dragging and dropping them.

Gadget
This script is a gadget. You can enable it in your preferences.
by Magnus Manske (source)
Find redirects for aliases (Q97500659)

Adds a "Find redirects" button in a submenu next to the "Watch" button that, when clicked, displays a list of Wikipedia redirects and allows the user to select some of them to add as aliases.

Gadget
This script is a gadget. You can enable it in your preferences.
by Yair rand (source)
identifierInput.js

When adding an identifier property it tries to strip that identifier out of the full URL

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3A1Veertje%2FidentifierInput.js&action=raw&ctype=text%2Fjavascript' ); // [[User:1Veertje/identifierInput.js]]
by 1Veertje (source)
Label Collector (Q108311207)
Label Collector

A script to semi-automatically import labels, descriptions and aliases for multiple languages based on the articles in Wikipedia and other Wikimedia projects.

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.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AYMS%2Flabelcollect.js&action=raw&ctype=text%2Fjavascript' ); // [[User:YMS/labelcollect.js]]
by YMS (source)
LabelLister (Q87070602)

This script shows a list of all labels in all languages that are supported in the specific item. And edit label without having to change your main language.

Gadget
This script is a gadget. You can enable it in your preferences.
by Jitrixis (source)
Merge (Q108311238)

Adds a "Merge it with ..." button in a submenu next to the "Watch" button. When clicked, it allows to merge items and automatically turn the merged item into a redirect.

Gadget
This script is a gadget. You can enable it in your preferences.
by Ebrahim (source)
moreIdentifiers (Q106876944)

Allows you to add authority control IDs from VIAF (VIAF ID (P214)) with few edits. It is thought to be customizeable. Detailed instruction in User:Bargioni/moreIdentifiers

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ABargioni%2FmoreIdentifiers.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Bargioni/moreIdentifiers.js]]
by Bargioni (source)
namescript

Fill in labels, descriptions and aliases of name items. See Wikidata:Namescript for more information.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AHarmonia_Amanda%2Fnamescript.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Harmonia Amanda/namescript.js]]
by Lucas Werkmeister and Harmonia Amanda (source)
quickpresets
quickpresets

quickpresets is a User script, that allows you to add common statements with only one click. It is meant to be customizable. You can configure it to present you the presets you use most often with as little clicks as possible. For example if you often edit items of persons it can present you gender, citizenship, occupation, etc. Look at the script-site to learn how to customize.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AMichaelSchoenitzer%2Fquickpresets.js&action=raw&ctype=text%2Fjavascript' ); // [[User:MichaelSchoenitzer/quickpresets.js]]
by MichaelSchoenitzer (source)
SlurpInterwiki (Q97500656)
SlurpInterwiki

This script imports automatically all interwiki-links from one Wikipedia article. The gadget then can be launched by clicking on the "Import interwiki" link in the toolbox. After that a dialog appears where a language for import can be selected.

Gadget
This script is a gadget. You can enable it in your preferences.
by Tpt (source)
SpeedPatrolling
SpeedPatrolling

Tool to patrol and rollback unpatrolled recent changes on Wikidata, especially on mobile devices.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ALucas_Werkmeister%2FSpeedPatrolling&action=raw&ctype=text%2Fjavascript' ); // [[User:Lucas_Werkmeister/SpeedPatrolling]]
by Lucas Werkmeister (source)
The Brown Tool

Adds a movable box to the right side of the page. There are some predefined property-items (man, woman, some occupations), which get activated by clicking on them.

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.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AGoldzahn%2Fwikidata_useful.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Goldzahn/wikidata useful.js]]
by Goldzahn (source)
UseAsRef

Allows you to add references to statements using external IDs as sources. Detailed instruction in User:Bargioni/UseAsRef.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ABargioni%2FUseAsRef.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Bargioni/UseAsRef.js]]
by Bargioni (source)
WikidataComplete
WikidataComplete

Adds a UI element in Wikidata that proposes statements to be inserted into Wikidata. The statements are currently extracted from Wikipedia by a machine-learning algorithm. Approved statements are added to Wikidata. This YouTube video briefly describes the tool.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AData-Complete-Gadget%2FWikidataComplete.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Data-Complete-Gadget/WikidataComplete.js]]
by Data-Complete-Gadget (source)
Wikidata useful
Wikidata useful

Adds a box of quick "add statement" links to the right side of the page. Entity and phylogeny types, countries (location and citizenship). Also, tries to load and display a blurb from en or de Wikipedia.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AMagnus_Manske%2Fwikidata_useful.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Magnus Manske/wikidata_useful.js]]
by Magnus Manske (source)


Userscripts to enhance the display of values

AuthorityControl

For items with 'Authority Control' properties, set the corresponding codes as links to the online Authority Control tool. Moreover, if the user clicks 'edit', the link disappears instantly. Check it out with Barack Obama (Q76)!

Gadget
This script is a gadget. You can enable it in your preferences.
by Ricordisamoa (source)
CDKDepict Gadget
CDKDepict Gadget

This gadget displays SMILES, CXSMILES, and SMARTS renderings for chemical compounds, and chemical compound classes, where the item contains statements for canonical SMILES (P233) and isomeric SMILES (P2017), CXSMILES (P10718), and SMARTS notation (P8533). Check it out with acetic acid (Q47512) (SMILES) or PG-D-Ala (R1,R2) (Q46328873) (CXSMILES).

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AEgon_Willighagen%2Fcdkdepict_gadget.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Egon Willighagen/cdkdepict gadget.js]]
by Egon Willighagen (source)
ClaimMaps
ClaimMaps

Adds maps to OpenStreetMap relation ID (P402) or geoshape (P3896) statements

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ATeester%2FClaimMaps.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Teester/ClaimMaps.js]]
by Teester (source)
DisplayColourSwatches

Adds a colour swatch to statements using sRGB color hex triplet (P465). Additionally, a colour swatch will be displayed on color (P462), flower color (P2827) or official color (P6364) and the statement's item has a sRGB color hex triplet (P465).

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ATeester%2FDisplayColourSwatches.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Teester/DisplayColourSwatches.js]]
by Teester (source)
DMY dates

Makes all dates in claims appear as "dd month-name-in-your-language yyyy". Requires the "date" option to be set to "dmy".

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ARicordisamoa%2FDMYdates.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Ricordisamoa/DMYdates.js]]
by Ricordisamoa (source)
embeds.js
embeds.js

This script shows embeds on external ID statements such as YouTube videos, Spotify playlists, Twitter tweets, Genius lyrics, and more!
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!

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ALectrician1%2Fembeds.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Lectrician1/embeds.js]]
by Lectrician1 (source)
musica.js
musica.js

This script shows the cover art of music albums items that have a MusicBrainz release group ID (P436) or MusicBrainz release ID (P5813) statement next to the title of the item.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ALectrician1%2Fmusica.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Lectrician1/musica.js]]
by Lectrician1 (source)
Panoviewer
This video shows the tool in action in the item Piz Lunghin (Q675985).

Inserts an iframe from the Panoviewer tool for photosphere image (P4640) statements.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AJon_Harald_S%C3%B8by%2FPanoviewer.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Jon Harald Søby/Panoviewer.js]]
by Jon Harald Søby and Nikki (source)
Sort values

This script sorts the values of the property software version identifier (P348) in the classical order for software versions. If you want other properties be sorted, ask me, I can generalise the scripts for other properties and other orders (alphabetical, etc.). You can see an example on Ubuntu (Q381).

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ASeb35%2FsortValues.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Seb35/sortValues.js]]
by Seb35 (source)
Units converter

Converts from 20 currencies to a selected currency. Converts metric units (mass, dimensions, area, temperature, speed) to/from United States units. The currency amounts are inflation adjusted if data is available.

Userscript
Add the following to your common.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");
by Bamyers99 (source)
Wikispecies

It provides a link to Wikispecies for elements with taxon name (P225), and an image for IUCN conservation status (P141).

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ARicordisamoa%2FWikispecies.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Ricordisamoa/Wikispecies.js]]
by Ricordisamoa (source)

Userscripts to link Wikidata frontends

GeneaWiki

For people with kinship relations, adds a link to GeneaWiki for viewing a family tree.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ARicordisamoa%2FGeneaWiki.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Ricordisamoa/GeneaWiki.js]]
by Ricordisamoa (source)
Ordia link

Adds a link to [ordia.toolforge.org] which is a tool to visualize and search for existing lexemes as well as aid in creating new lexemes.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ASo9q%2Fordia-link.js&action=raw&ctype=text%2Fjavascript' ); // [[User:So9q/ordia-link.js]]
by So9q (source)
Reasonator

Adds a link in your toolbox to view the current item in Reasonator.

Gadget
This script is a gadget. You can enable it in your preferences.
by Multichill (source)
Scholia link

Adds a Scholia link on items in the Tools section on items.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AFnielsen%2Fscholia-link.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Fnielsen/scholia-link.js]]
by Fnielsen (source)

Other userscripts

Ancestry viewer

This tool adds a sidebar link to show an ancestry/pedigree chart of the person you are currently viewing and to be able to navigate around their relations. A pedigree chart is different from a family tree, it only shows the father and mother of each person up through the generations, but if you click on the person in the chart it will load spouses and other children to allow you to jump to that person and view their ancestry instead.

Userscript
Add the following to your common.js
mw.loader.load('//www.wikidata.org/w/index.php?title=User:Ch1902/ancestry.js&action=raw&ctype=text/javascript');

To customise the options use this instead:

ancestry_opts = {
   lang: 'en',  // display language falls back to en
   levels: 4,  // number of generations to show, minimum 2, maximum 6
   boxsize: 165,  // width of person cells
   truncate: 22  // truncate names longer than this
};
mw.loader.load('//www.wikidata.org/w/index.php?title=User:Ch1902/ancestry.js&action=raw&ctype=text/javascript');
by Ch1902 (source)
CheckShex (Q105044837)
CheckShex

Allows you to check whether an item conforms to a shex entitySchema (e.g. E10 for a human (Q5))). An input field is also added to entitySchema pages (e.g. E10) to allow you to enter an item to check (e.g. Douglas Adams (Q42))).

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ATeester%2FCheckShex.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Teester/CheckShex.js]]
by Teester (source)
Classification.js

Information about the classes to which the item belongs (instance of (P31)), and/or all the parent classes of a class (subclass of (P279)). 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.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ATomT0m%2Fclassification.js&action=raw&ctype=text%2Fjavascript' ); // [[User:TomT0m/classification.js]]
by TomT0m (source)
Commons Depicts

This script adds a link to https://tools.wmflabs.org/depicts in the sidebar to view depictions (depicts (P180)) of Wikidata items on Wikimedia Commons.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AStevenliuyi%2Fdepicts.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Stevenliuyi/depicts.js]]
by Stevenliuyi (source)
Compact items
Compact items

This stylesheet reduces the use of vertical space on the screen by compacting statements as much as possible and changing action links to just icons.

Gadget
This script is a gadget. You can enable it in your preferences.
by Jon Harald Søby (source)
Constraint Summary
Constraint Summary

This script adds status indicators to Wikidata items summarizing the item's constraint violations and warnings. Mousing over the indicators shows a breakdown of violation and warning types. Clicking on the indicator brings you to the item's Special:ConstraintReport page.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ATeester%2FConstraintSummary.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Teester/ConstraintSummary.js]]
by Teester (source)
Consistency check

A tool to check consistencies of statements, that is, if B is "child" of A, then A should be "father" or "mother" of B.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AJonnyJD%2Fconsistency_check.js&action=raw&ctype=text%2Fjavascript' ); // [[User:JonnyJD/consistency_check.js]]
by Magnus Manskeforked byJonnyJD (source)
Consistency check add

A tool to check consistencies of statements and to add missing inverse properties.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AFrettie%2Fconsistency_check_add.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Frettie/consistency check add.js]]
by Frettie (source)
DeletionHelper

It works only in Wikidata:Requests for deletions, on items that haven't been deleted yet.

  • it highlights empty ones;
  • for non-empty ones, it shows how many sitelinks are already present;
  • displays a link (next to edit) to tag the current RfD as done.

Gadget
This script is a gadget. You can enable it in your preferences.
by Ricordisamoa (source)
DiffLists.js
DiffLists.js

Replaces autogenerated summaries in watchlists, recent changes, related changes, history pages, and contributions pages with concise versions of the changes to the page. Also allows filtering to only show certain types of changes.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AYair_rand%2FDiffLists.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Yair rand/DiffLists.js]]
by Yair rand (source)
EnumItems
EnumItems

This script adds one or two tabs next to the watchlist star tabs, to jump to the previous or the next item, respectively. Works only in Vector skin.

Gadget
This script is a gadget. You can enable it in your preferences.
by Arkanosis (source)
EntityShape (Q105038291)
EntityShape

Allows you to check whether an item conforms to a shex entitySchema (e.g. E10 for a human (Q5) and displays whether each property and statement in an entity conforms to that entityschema. Only works for relatively straightforward schemas at the moment.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ATeester%2FEntityShape.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Teester/EntityShape.js]]
by Teester (source)
ExLudo.js
ExLudo.js

Enhances video-game related item pages:

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AJean-Fr%C3%A9d%C3%A9ric%2FExLudo.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Jean-Frédéric/ExLudo.js]]
by Jean-Frédéric (source)
HoverDiff
HoverDiff

Hover over the diff link in watchlists or the cur or prev link on a page history to get a popup in the style of Wikipedia's preview popups showing the changes without having to visit the link. The popup tries to parse the wikitext in the diff, but the nature of diffs mean that in some cases (particularly when tables or multi-line templates are used), raw wikitext may be shown. This user script also works on Wikipedia sites.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ATeester%2FHoverDiff.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Teester/HoverDiff.js]]
by Teester (source)
Improved search
Improved search

This script shows a small link right to the search field which provides a search form to search items directly by its sitelink. Works only in Vector or Monobook skins.

Gadget
This script is a gadget. You can enable it in your preferences.
by Bene* (source)
InterwikiList

Generates a list of "old" interwiki links from an item, to be quickly copied.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ARicordisamoa%2FInterwikiList.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Ricordisamoa/InterwikiList.js]]
by Ricordisamoa (source)
iwconflict.js

Tool to report an interwiki conflict at Wikidata:Interwiki conflicts.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ABene%2A%2Fiwconflict.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Bene*/iwconflict.js]]
by Bene* (source)
KeyShortcuts

Provides a few keyboard shortcuts: press L or D to start editing an entity's label or description respectively, S, J, or I to scroll to the statements, identifiers, or sitelinks sections respectively, A to start adding a new statement.

Gadget
This script is a gadget. You can enable it in your preferences.
by Ricordisamoa (source)
Linkify descriptions

Some entities (especially properties) mention other entities in the description. This script makes these render as if they had been linked with the {{Q|...}} or {{P|...}} templates. Works in descriptions and in Wikidata usage instructions (P2559) statements.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AJon_Harald_S%C3%B8by%2FlinkItemsInDescriptions.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Jon Harald Søby/linkItemsInDescriptions.js]]
by Jon Harald Søby (source)
Main language first
Main language first

This script highlights the language used at the moment, and shows it on the top. It is also possible to do this for a list of languages.

Gadget
This script is a gadget. You can enable it in your preferences.
(source)
markAdmins

This script tags admins, bureaucrats, CheckUsers, oversighters and stewards with (A), (B), (CU), (OS) or (S), respectively.

Gadget
This script is a gadget. You can enable it in your preferences.
by NordNordWest (source)
MismatchFinderWidget

This script displays an alert at the top of the Item pages on wikidata.org and a link to the Mismatch Finder tool to learn more about the potential mismatches.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AGuergana_Tzatchkova_%28WMDE%29%2FMismatchFinderWidget.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Guergana Tzatchkova (WMDE)/MismatchFinderWidget.js]]
by Guergana Tzatchkova (WMDE) (source)
overpass
The map shows up at the bottom of the Wikidata page, near Wikipedia links

Embeds a map displaying features tagged with the current item in OpenStreetMap. Powered by overpass turbo.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AMxn%2Foverpass.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Mxn/overpass.js]]
by mxn (source)
personal_sort_identifiers

personal sort identifiers is a user script, that allows you to order identifiers as you prefer. It is meant to be customizable. The default order is by ascending P number, however you can set a personalized order (example).

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ABargioni%2Fpersonal_sort_identifiers.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Bargioni/personal_sort_identifiers.js]]
by Bargioni (source)
Preview
Preview

Shows a "preview" button next to each linked article to get a preview of the article right next to the table.

Gadget
This script is a gadget. You can enable it in your preferences.
by Bene* (source)
QualiRef

Counts the number of references that support a qualifier using supports qualifier (P10551).

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ANw520%2FQualiRef.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Nw520/QualiRef.js]]
by Nw520 (source)
Recoin
Recoin

This script adds a status indicator and an expandable list of important absent properties to Wikidata. More details are on the tool's page.

Gadget
This script is a gadget. You can enable it in your preferences.
by Vvekbv (source)
Recoin_ID

This script is a derivative from Recoin and adds a expandable lists of important absent IDs to Wikidata. More details are on the tool's page.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AVvekbv%2Frecoin_id.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Vvekbv/recoin_id.js]]
by Ls1g (source)
related items

Adds at the end of all item pages a new button to display inverse statements

Gadget
This script is a gadget. You can enable it in your preferences.
by Pasleim (source)
RequestDeletion
RequestDeletion

This script adds a small link to the top of the page of each item with a link for quickly requesting a deletion at Wikidata:Requests for deletion.

Gadget
This script is a gadget. You can enable it in your preferences.
by Bene* (source)
Script installer

This script enables you to easily install and uninstall scripts by visiting the page of the script.

Userscript
Please write the following line into 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]]
by So9q and Erutuon and Equazcion (source)
Taxobox
Taxobox

Shows the taxobox for each item which has taxon name (P225).

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ASuccu%2Ftaxobox.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Succu/taxobox.js]]
by Succu (source)
UpDown
UpDown

User-script for faster navigation:

  • Press the key t or the ☰-icon on the bottom-right to toggle a sticky menu that allows you to jump to a statement
  • If there are a lot of values for one property it will add arrows that allow you to jump to the first/last value.
  • With the keys j and k you can jump to the next/previous statement.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AMichaelSchoenitzer%2Fupdown.js&action=raw&ctype=text%2Fjavascript' ); // [[User:MichaelSchoenitzer/updown.js]]
by MichaelSchoenitzer (source)
userwarn

Tool to add warn templates to users' talk pages

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ABene%2A%2Fuserwarn.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Bene*/userwarn.js]]
by Bene* (source)
WikiBridge

WikiBridge is a user script, that allows you to visualize in a box under labels, descriptions and aliases the incipit of the Wikipedia articles in the same languages of the labels, descriptions and aliases you visualize; it can be useful in order to enhance the descriptions in these languages on Wikidata. The script is meant to be customizable, so you should add in your common.js also the default configuration, or create a configuration on your own:

importScript( 'User:Bargioni/WikiBridge_conf.js' );
importScript( 'User:Bargioni/WikiBridge.js' );

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ABargioni%2FWikiBridge.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Bargioni/WikiBridge.js]]
by Bargioni (source)
wikidata2ical
wikidata2ical

A simple script that adds a 📆 icon to each Wikidata entity that has both start time (P580) and end time (P582) properties. Clicking the icon will download an iCal file, assuming it is an event. Also adds an iCal to each date property.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3AShisma%2Fwikidata2ical.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Shisma/wikidata2ical.js]]
by Shisma (source)
WikidataTrust
WikidataTrust

Inspired by the original WikiTrust, it's a fairly simple algorithm which loops into all revisions of the current entity and attributes changes of claims, sitelinks, labels and descriptions to the users who made them. It is still in beta, but should work fine.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ARicordisamoa%2FWikidataTrust.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Ricordisamoa/WikidataTrust.js]]
by Ricordisamoa (source)

Userscripts specific to lexemes

hyphenation-point.js

Replaces "|" with "‧" when entering hyphenation (P5279) on lexeme forms.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ALucas_Werkmeister%2Fhyphenation-point.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Lucas Werkmeister/hyphenation-point.js]]
by Lucas Werkmeister (source)
Merriam Webster Iframe

Looks up the current lemma in Merriam Websters online dictionary and displays the result in an iframe. Based on User:Jon Harald Søby/ordbokIframe.css

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ASo9q%2Fmerriam-webster.js&action=raw&ctype=text%2Fjavascript' ); // [[User:So9q/merriam-webster.js]]
by So9q (source)
SenseForThisItem
SenseForThisItem

Adds a button on items to show what senses are linked to it.

Userscript
Please write the following line into your common.js:
mw.loader.load( '//www.wikidata.org/w/index.php?title=User%3ALectrician1%2FSenseForThisItem.js&action=raw&ctype=text%2Fjavascript' ); // [[User:Lectrician1/SenseForThisItem.js]]
by Lectrician1 (source)

Userscripts for other websites

Commons cat → Wikidata lookup
Commons cat → Wikidata lookup

This script adds a small box on a Commons category page, if there is a corresponding article-like item on Wikidata with a Commons category (P373) pointing to the Commons category page

Please add the following to your common.js on Commons:
importScript('User:Jheald/wdcat.js');
by TheDJ
Display the link to Wikiversity in the title of Wikipedia
Display the link to Wikiversity in the title of Wikipedia

Insert a link to Wikiversity in the title of Wikipedia.

Userscript
Please add the following to your common.js on Wikipedia or to your global.js:
// [[d:User:Karima Rafes/DisplayCodeWikidata.js]]
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Karima Rafes/LinkUniversity.js&action=raw&ctype=text/javascript");
by Karima Rafes (source)
Display Wikidata Info on sister projects

This script adds a small box under a Wikipedia article's title displaying a label (which links to Wikidata's entry), description, and aliases, or a small "Wikidata item not found." linking to CreateItem if Wikidata does have a item for it yet. There is also a fork which de-links the QID part, for easier copypasting.

Userscript
Please add the following to your common.js on Wikipedia or to your global.js:
// [[d:User:Yair rand/WikidataInfo.js]]
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");
by Yair rand (source)
ExtraInterwiki (Q111666470)
ExtraInterwiki

Works on an article page on a wikipedia or another project. It finds items which are related to the topic of the page, but which have no article on the wiki.

As your wiki does not have articles about that topic, you never will see language links to jump to them. This gadget is here to solve that issue.

The extra language links are found by looking the statement main value in the item of your article. Optionally if there are not too much of them, items with statements our article's topic is the main value are also added.

Please add the following to your global.js (or your common.js on a specific project):
 mw.loader.load("//fr.wikipedia.org/w/index.php?title=User:TomT0m/extraInterwiki.js&action=raw&ctype=text/javascript");
 // [[w:fr:Utilisateur:TomT0m/extraInterwiki.js]], more language links with no articles on the language

For French wikipedia use only, add the following to your common.js there:

importScript('Utilisateur:TomT0m/extraInterwiki.js'); // [[Utilisateur:TomT0m/extraInterwiki.js]] des liens de langues supplémentaires pour les éléments qui n'ont pas d'article
by TomT0m
WikidataWatchlistLabels

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.

Please add the following to your global.js (or your common.js on a specific project):
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Evad37/WikidataWatchlistLabels.js&action=raw&ctype=text/javascript"); // [[w:User:Evad37/WikidataWatchlistLabels.js]]

For English Wikipedia use only, add the following to your common.js there:

importScript('User:Evad37/WikidataWatchlistLabels.js'); // [[User:Evad37/WikidataWatchlistLabels]]
by Evad37

Browser extensions for other websites

Entity Explosion (Q98398855)

Chrome browser extension that allows you to discover links and information about a topic you are browsing on other sites. Data live from Wikidata.

On-wiki documentation and discussion page: Wikidata:Entity Explosion

Examples from video demonstration:

by 99of9
Wikidata for Web (Q99894727)

Browser extension for Mozilla Firefox and Chromium (Google Chrome and Microsoft Edge) that displays Data from Wikidata on various websites and also allows extraction of data from these websites.

by Shisma

See also