User:WiseWoman/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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/*** Test Namescript ***/
/*** Usage: Create an empty item or only the transliteration in your language as label for your language
 *          Then add the following properties: P31 with one of these values:
 *               family name, female given name, male given name, unisex given name
 *          then P1705 with the string *in the original language*
 *          then P282 with "Latin script", "Cyrillic script", "Kanji", etc
 *          then charge again the page
 *          and the script should add a button under the P31 to complete 
 *               automatically all labels/descriptions/aliases
 *          and for people who speak several languages, or have several official names, <
 *               you add all names in P735/P734
 * 
 * It works for Latin script, Kanji, Greek, Georgian, Armenian, Hebrew, Arabic, Cyrillic.
 * 
 * Made by Harmonia_Amanda
 ***/ 
importScript ( 'User:Harmonia_Amanda/namescript.js' );