User:Tomodachi94/quickpresets settings.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.
/* Configuration for quickpresets, see https://www.wikidata.org/wiki/User:MichaelSchoenitzer/quickpresets for more information */
quick_props = [
   {
   	  /* Properties for identifiers */
      qid: 19847637,
      name: "Property for an identifier",
      defaults: [
         {
            name: "Constraints",
            pid: 2302,
            values: [
               {name: "Single value", qid: 19474404},
               {name: "Distinct value", qid: 21502410},
            ]
         },
         {
            name: "Common regular expressions",
            pid: 27,
            values: [
               {name: "Integers only", string: '\d+'},
            ]
         },
         {
            name: "Implied notability",
            pid: 31,
            values: [
               {name: "Implied", qid: 62589316},
               {name: "Not implied", qid: 62589320},
            ]
         },
         {
         	name: "Expected completedness",
         	pid: 2429,
         	values: [
         		{name: "Always incomplete", qid: 21873886},
         		{name: "Eventually complete", qid: 21874050},
         		{name: "Is complete", qid: 21874050},
         		{name: "Is complete, but new values could be added", qid: 47169297},
         		{name: "Is complete for existing Wikidata items only", qid: 60447462},
         	]
         },
      ]
   },
];