User:Masssly/common.js

From Wikidata
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
importScript( 'User:Soulkeeper/statementSort.js' ); // [[User:Soulkeeper/statementSort.js]]
importScript( 'User:Magnus Manske/import statements.js' ); // [[User:Magnus Manske/import statements.js]]
importScript( 'User:Magnus Manske/missing props.js' );
importScript( 'User:Ricordisamoa/InterwikiList.js' );
importScript( 'User:Bene*/userwarn.js' );
mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Aude/CiteTool.js&action=raw&ctype=text/javascript' );
// [[User:Aude/CiteTool.js]]

mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Tohaomg/rearrange values.js&action=raw&ctype=text/javascript' );
//Gadget for changing order of values in Wikidata https://www.mediawiki.org/wiki/Wikimedia_Hackathon_2020/Remote_Hackathon/Showcase#WikidataOrderOfValues

importScript('User:Frettie/consistency check add.js'); //check consistency and add missing relations of a Wikidata object like father/son...

//Move claims 2 - this is now a legacy version and a gadget now exists
//mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Melderick/moveClaims2.js&action=raw&ctype=text/javascript' );
// [[User:Melderick/moveClaims2.js]]

//Copy the Qid with one clickimportScript( 'User:Magnus_Manske/author_sort.js' ); // [[User:Magnus Manske/author_sort.js]]
importScript('User:Abbe98/copy-qid.js');

//nameGuzzler - This script allows you to insert the same label or aliases in many languages at once.
importScript( 'User:Jitrixis/nameGuzzler.js' );

//user script highlights the entities in the content of a Schema and shows information when hovering the link
importScript('User:Zvpunry/EntitySchemaHighlighter.js');

//Uuserscript for looking up fatcat! DOIs. It adds a link to the fatcat! database in the Tools' section on items.
importScript('User:So9q/fatcat-link.js');

//see the quality score near the header on each Item
importScript('User:EpochFail/ArticleQuality.js');

// This script runs on the delete page and on the page information page. It checks whether an item is in use in a variety
// of places to help you avoid deleting items which are actually being used somewhere. 
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/ItemUsage.js&action=raw&ctype=text/javascript");

//This script loads mix'match (https://tools.wmflabs.org/mix-n-match) entries associated with this item.
importScript( 'User:Magnus_Manske/mixnmatch_gadget.js' );

//Wikidata Lexeme Forms - automatically add links to this tool on Lexeme pages, in case the Lexeme’s Forms are incomplete
mw.loader.load('ext.gadget.lexeme-forms');

//This tool allows you to delete the data of an item
importScript( 'MediaWiki:Gadget-dataDrainer.js' );

importScript("User:Ricordisamoa/WikidataTrust.js");
//IdentifierInput script///////////////////////////////////////
importScript('User:1Veertje/identifierInput.js');

//End IdentifierInput script///////////////////////////////////////
importScript( 'User:Magnus_Manske/sdc_tool.js' );

// more Identifiers: import missing identifiers from VIAF, if any
importScript( 'User:Bargioni/moreIdentifiers_defaultconf.js' );
importScript( 'User:Bargioni/moreIdentifiers.js' );

//This adds Wiktionary interwiki links in the sidebar on lexeme pages. It links to pages corresponding to the first lemma and puts the lexeme language's Wiktionary first, followed by languages in the user's Babel box.
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/LexemeInterwikiLinks.js&action=raw&ctype=text/javascript");

//This adds links on the search results page to create new lexemes using the Lexeme Forms tool (Wikidata:Wikidata Lexeme Forms). It uses the languages in your Babel box to decide which templates to list.
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/LexemeForms-SearchPage.js&action=raw&ctype=text/javascript");

//Automatically suggest properties when adding references
importScript( 'User:Matěj Suchánek/referenceSuggestions.js' );

//Add a 'Lookup model item' button to the instance of (P31) statement on every item.
importScript( 'User:Husky/modelitem-lookup.js' );

//This replaces the image in P4640 with an iframe showing the contents of panoviewer.toolforge.org.
mw.loader.load("ext.gadget.Panoviewer");

//Simple gadget to add a link to Wiki Art Depiction Explorer in the Tools section on items.
importScript( 'User:Fuzheado/wade-sidebar.js' );

//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.
importScript("User:Bamyers99/UnitsConverter.js");

//This tool will allow you to translate a description to your default language.
importScript( 'User:Bargioni/descTranslator.js' );

//Adds 'autofill' link to the references interface if a reference uses one of the following properties
importScript( 'User:Aude/citoid.js' );

//...
importScript( 'User:Bene*/usage.js' );

//...
importScript( 'User:Matěj Suchánek/markDisambigs.js' );

//Gadget which creates a quick filter to find statements by their labels on item pages.
importScript( 'User:Bene*/statementfilter.js' );

//The script enables creating, viewing, and updating completeness statements
importScript( 'User:Fadirra/coolwd.js' );

// [[User:Frettie/consistency check add.js]]
//A tool to check consistencies of statements and to add missing inverse properties.
mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Frettie/consistency_check_add.js&action=raw&ctype=text/javascript' );

//...
importScript( 'User:Bene*/maps.js' );

//Generates a list of "old" interwiki links from an item, to be quickly copied.
mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Ricordisamoa/InterwikiList.js&action=raw&ctype=text/javascript' ); // [[User:Ricordisamoa/InterwikiList.js]]

//Tool to report an interwiki conflict at Wikidata:Interwiki conflicts.
mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Bene*/iwconflict.js&action=raw&ctype=text/javascript' );
// [[User:Bene*/iwconflict.js]]

//...
importScript( 'User:Abbe98/osm.js' );

// Enable the script with the following code in your common.js
importScript( 'User:MichaelSchoenitzer/CiteTool.js' );

//Simplifies marking items as duplicates and requesting articles to merge
mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Matěj_Suchánek/markasduplicate.js&action=raw&ctype=text/javascript' );

// copy of the transliteration gadget
mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Mzajac/Gadget-SimpleTransliterate.js&action=raw&ctype=text/javascript' );
// [[User:Mzajac/Gadget-SimpleTransliterate.js]]

// This script adds a link in the header for forms on lexeme pages which opens a dialog for adding IPA statements to forms which don't have any yet.
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/LexemeAddIPA.js&action=raw&ctype=text/javascript");

//Adds a section to the sidebar with links for creating new lexemes
importScript( 'User:So9q/AddNewLexemeMenu.js' );

//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.
importScript( 'User:So9q/Gadget-CreateNewEntity.js' );

//Adds a section to the sidebar with links for creating new lexemes
importScript( 'User:So9q/AddNewLexemeMenu.js' );

//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.
importScript('User:So9q/CreateNewEntity.js');

//adds a link to the Ranker tool next to every property on an entity page.
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/Ranker.js&action=raw&ctype=text/javascript");

//Simple script to add a link to Ordia in the Tools section on items.
importScript('User:So9q/ordia-link.js' );

//automatically suggests the existing senses/forms when using demonstrates sense/form
importScript('User:Nikki/LexemeEntitySuggester.js' );

// [[User:Matěj Suchánek/checkSitelinks.js]] - Adds an icon to sitelinks that link to a disambiguation or a redirect.
mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Matěj_Suchánek/checkSitelinks.js&action=raw&ctype=text/javascript' );

//This script adds a small link before property labels and statement values
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/AnchorLinks.js&action=raw&ctype=text/javascript");

//Used to make interesting SVG-based syntactic dependency graphs generated with {{Syndepgraph}} appear.
importScript('User:Mahir256/syndepgraph.js');

// This script runs on the delete page and on the page information page. It checks whether an item is in use in a variety of places to help you avoid deleting items which are actually being used somewhere.
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/ItemUsage.js&action=raw&ctype=text/javascript");

//This script is derived from User:DarwIn/duplicate_item.js. It can duplicate the current item, minus sitelinks and descriptions (not allowed by Wikidata)
importScript( 'User:DarwIn/duplicate_item.js' );

//This script adds a link to WCQS under P5137 statements on senses
importScript( 'User:So9q/DepictsThisSense.js' );

//what lexemes link here
importScript( 'User:So9q/what lexemes link here.js' );

//That makes it easy to copy lexemes0 (LID)s 
importScript( 'User:So9q/copy-lid.js' );

//makes it easier to see/copy-paste Q/P-ids
mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Inductiveload/scripts/ShowQsAndPs.js&action=raw&ctype=text/javascript' );

//once installed, pressing ? will display a cheat sheet covering all the shortcuts
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/KeyShortcuts.js&action=raw&ctype=text/javascript");

//expand/collapse all statements on the page (so you get to see references) by pressing the + character. Useful for smaller items with not that many statements, deadly for large ones
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/ExpandReferences.js&action=raw&ctype=text/javascript");

//Wikidata2ical provides an ical file for each wikidata entity that has start time (P580) and end time (P582)
mw.loader.load( '//www.wikidata.org/w/index.php?title=User:Shisma/wikidata2ical.js&action=raw&ctype=text/javascript' );

//WikidataComplete is a gadget which shows the missing properties and provides meaningful suggestions to complete for an entity. The gadget extracts facts from text and offers users for validation.
mw.loader.load('//www.wikidata.org/w/index.php?title=User:Dhairya3124/WikidataComplete.js&action=raw&ctype=text/javascript');

//UseAsRef is a User script written in collaboration with User:Epìdosis (A). It allows you to add references to statements on the basis of external IDs
importScript( 'User:Bargioni/UseAsRef.js' );

//shows a note on the Item you are viewing in case there are unreviewed mismatches for it in the Mismatch Store
importScript('User:Guergana Tzatchkova (WMDE)/MismatchFinderWidget.js')

//This script shows translations for a lexeme. The translations are inferred from statements on senses, such as P5137 (item for this sense).
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/LexemeTranslations.js&action=raw&ctype=text/javascript");

//Show entity schema on items
importScript('User:Teester/EntityShape.js')

//Citoid integration hack
importScript('User:Samwilson/CiteTool.js');

//This script adds a button when editing labels to change the text to lowercase.
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/LowercaseLabels.js&action=raw&ctype=text/javascript");

//userscript that adds emoji flags before items for flags supported by either Noto Color Emoji or BabelStone Flags.
importScript('User:Nikki/flag-emoji.css');

//Show chronological data on discographies
importScript('User:Lectrician1/discographies.js');

//can add values to properties that already exist on an item and new statements
importScript('User:Lectrician1/AddStatement.js');

//you can use this gadget on any sites to ...Revert edits. (fluff), Report IP address or account to SRG. (arv), Request for speedy deletion and report pages to GS/R. (Note: Not all wikis use <nowiki>{{delete}}</nowiki> as speedy deletion template. Report bugs here.) (speedy)
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Xiplus/TwinkleGlobal/load.js&action=raw&ctype=text/javascript');

//Notability gadget - Attempts (in a conservative, mechanical way) to assess whether an item (apparently) meets our notability criteria. The interesting part of the script is the SPARQL query, which you can play with here
importScript('User:Bovlb/notability.js');

//WD-FIST checks Wikipedia pages for available images if the item doesn't have one (automatically or manually via sidebar link)
importScript('User:Magnus_Manske/wdfist.js');

//script to deal with "author name string" (P2093). (will automatically run on any item with P2093)
importScript( 'User:Magnus_Manske/author_strings.js' );

// links Labels to Lexemes.
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/LinkLabelsToLexemes.js&action=raw&ctype=text/javascript");

//Copy DagChar
importScript('User:Masssly/copy-DagChar.js');
//importScript('User:Masssly/copy-DagChar2.js');

//This script adds an icon for a popup after an item that runs a query to show wich properties most often use the item as a value.
importScript( 'User:Ainali/common-properties.js' );

// Shows what properies this qualifier is a required and allowed qualifier on at the bottom of the qualifier page
importScript('User:Lectrician1/qualifier-constraint-usage.js');

//This script makes it easier to add/edit labels to an item in a language other than the ones shown by default
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/AddTermboxLanguage.js&action=raw&ctype=text/javascript");

//Simple script to add a link to Ordia in the Tools section on items.
importScript('User:So9q/openalex-search-link-on-lexemes.js');

// This script adds colour swatches under colour statements.
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/DisplayColourSwatches.js&action=raw&ctype=text/javascript");

//makes statements boxes for a particular property scrollable if it is too tall
importScript( 'User:BrokenSegue/shorten.js');

//userscript that shows the labels of entities in your notifications
importScript( 'User:Zvpunry/WikibaseEcho.js');

//This is some CSS to add colour to the editing icons.
mw.loader.load("/w/index.php?title=User:Nikki/colour_icons.css&action=raw&ctype=text/css");

//will add a link to the navbar for items that have a Wikidata mapping on the OSM side.
importScript('User:Bovlb/osm.js');

// displays presence/absence of specific properties (configurable) after the Statements heading. Clicking a property name will jump to that properties section. For absent property, clicking property name will jump to the end of the page. (2023-07-10)
importScript("User:Bamyers99/HasProperty.js");

// Is a script that adds a link to automatically lower the first letter of an item's description in the user's language.
importScript('User:Ricordisamoa/LowercaseDescription.js');

// [[d:User:Luca.favorido/linkypop.js|User:Luca.favorido/linkypop.js]] is a script that can be used to search an identifier on an external site. It provides a button to search for an identifier as soon as you type it in the property input field. For example, if you type “ORCID”, an icon with a lens will appear, and when you click it, a new tab will open with the ORCID site looking for the name of the researcher. You can then copy the URL and paste it to Wikidata.
mw.loader.load('//www.wikidata.org/w/index.php?title=User:Luca.favorido/lookup_test.js&action=raw&ctype=text/javascript');

//Description: Adds a button on items to show what senses are linked to it. 
importScript("User:Lectrician1/SenseForThisItem.js");

//This script displays a symbol after external identifiers which contain checksums, to indicate whether the checksum in the identifier is correct.
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Nikki/ChecksumCheck.js&action=raw&ctype=text/javascript");

//* [[d:User:Magnus Manske/annas archive.js|User:Magnus Manske/annas archive.js]] is a userscript that automatic links to Anna's Archive from Wikidata items for books and research articles, for title, DOI, ISBN, etc. so that people can easily get access to them.
importScript( 'User:Magnus_Manske/annas_archive.js' );

//User:Magnus Manske/author sort.js is a user script to automatically sort the authors of a paper in the order they appear on the paper, ie. by sorting author (P50) and author name string (P2093) statements by series ordinal (P1545). Example: One Hundred and Seventeen Clades of Euagarics (Q28209168). (2023-10-30)
importScript( 'User:Magnus_Manske/author_sort.js' ); // [[User:Magnus Manske/author_sort.js]]

//https://en.wikipedia.org/wiki/MediaWiki:Wdsearch-autodesc.js
//This script display automated item descriptions in search results on Wikidata.org.
mw.loader.load("//en.wikipedia.org/w/index.php?title=MediaWiki:Wdsearch-autodesc.js&action=raw&ctype=text/javascript");

//UpDown is a small user-script for faster navigation
importScript( 'User:MichaelSchoenitzer/updown.js' );

//Script to copy senses from one lexeme to another.
// If you don't want to add translation statements when using this script, add the following line before you include the script:
// window.copysenses_excludetranslations = true;
importScript( 'User:Jon Harald Søby/copySenses.js' );

//this userscript changes the appearance of Recent Changes, Watchlist, Contributions, History pages, and Related Changes. It also adds filter options.
importScript( 'User:Jon Harald Søby/copySenses.js' );

//Simple script to add a link to Wikidata Topic Curator in the Tools section on items.
importScript( 'User:So9q/wikidata-topic-curator-link.js' );

//Adds a link to Tools to duplicate whole Items
importScript( 'User:Magnus_Manske/duplicate_item.js' );

//?safemode=1