Module:UKB/doc

MyWikiBiz, Author Your Legacy — Monday November 25, 2024
< Module:UKB
Revision as of 07:43, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This is the documentation page for Module:UKB


Functionality for {{UKB criterion}}

Code Result
{{#invoke:UKB|criterion|new}} created during the contest
{{#invoke:UKB|criterion|new|redirects=true}} created during the contest (including redirects)
{{#invoke:UKB|criterion|existing}} created before the contest started (existing pages)
{{#invoke:UKB|criterion|bytes|1000}} expanded with at least 1000 bytes
{{#invoke:UKB|criterion|namespaces|0|10}} is a/an article or template
{{#invoke:UKB|criterion|namespaces|0|10|site=www.wikidata.org}} is a/an article or template at www.wikidata.org
{{#invoke:UKB|criterion|namespaces|0}} is a/an article
{{#invoke:UKB|criterion|backlinks|List of Presidents of Egypt}} linked to from List of Presidents of Egypt
{{#invoke:UKB|criterion|forwardlinks|Bergen}} that links to Bergen
{{#invoke:UKB|criterion|templates|Copy edit}} having the template {{Copy edit}}
{{#invoke:UKB|criterion|templates|Citation needed|Unreferenced}} having at least one of the templates {{Citation needed}} or {{Unreferenced}}
{{#invoke:UKB|criterion|categories|Iceland}} in the category Iceland
{{#invoke:UKB|criterion|categories|Iceland|nn:Island|se:Islánda}} in at least one of the categories Iceland, Island or Islánda
{{#invoke:UKB|criterion|categories|Apes|ignore=Humans,Hominidaes in fiction}} in the category Apes
{{#invoke:UKB|criterion|pages|Iceland|Greenland}} Iceland or Greenland
{{#invoke:UKB|criterion|sparql|query=?item wdt:P31 wd:Q146. }} have a Wikidata item matching this SPARQL query
{{#invoke:UKB|criterion|sparql|query=?item wdt:P31 wd:Q146. |description=about cats }} about cats (Wikidata query)

If the generated text isn't suitable, it can be overriden using Template:Para:

Code Result
{{#invoke:UKB|criterion|namespaces|0|10|description=in the main namespace}} in the main namespace


Functionality for {{UKB points}}

Code Result
{{#invoke:UKB|rule|new|20}} 20 points awarded for creating a new page (not redirect)
{{#invoke:UKB|rule|redirect|1}} 1 points awarded for creating a new redirect
{{#invoke:UKB|rule|qualified|2}} 2 points awarded for every qualified page
{{#invoke:UKB|rule|edit|1}} 1 points awarded for every edit
{{#invoke:UKB|rule|byte|0.1}} 0.1 points awarded for every byte added
{{#invoke:UKB|rule|byte|1|max=100}} 1 points awarded for every byte added, but max 100 points per page
{{#invoke:UKB|rule|bytebonus|20|3000}} 20 bonus points when more than 3000 byte were added to a page
{{#invoke:UKB|rule|word|3}} 3 points awarded for every word added to the article body (excluding templates, tables etc.)
{{#invoke:UKB|rule|word|3|max=100}} 3 points awarded for every word added to the article body (excluding templates, tables etc.), but max 100 points per page
{{#invoke:UKB|rule|wordbonus|20|3000}} 20 bonus points when %(action)s more than 3000 words were added to a page
{{#invoke:UKB|rule|image|3}} 3 points awarded for every media file added
{{#invoke:UKB|rule|image|3|max=100}} 3 points awarded for every media file added, but max 100 points per page
{{#invoke:UKB|rule|image|3|max=100|ownimage=10}} 3 points awarded for every media file added (10 for self-uploaded), but max 100 points per page
{{#invoke:UKB|rule|image|3|max=100|ownimage=10|initialimagelimit=0}} 3 points awarded for every media file added to pages that had no more than 0 from before (10 for self-uploaded), but max 100 points per page
{{#invoke:UKB|rule|ref|3|1}} 3 points awarded for every source added and 1 points for every reference to an existing source
{{#invoke:UKB|rule|ref|3|1|max=100}} 3 points awarded for every source added and 1 points for every reference to an existing source, but max 100 points per page
{{#invoke:UKB|rule|templateremoval|10|Citation needed|Unreferenced}} 10 points awarded for removal of {{Citation needed}} or {{Unreferenced}}
{{#invoke:UKB|rule|exlink|3}} 3 points awarded for every external link added
{{#invoke:UKB|rule|exlink|2|max=10}} 2 points awarded for every external link added, but max 10 points per page
{{#invoke:UKB|rule|wikidata|2|properties=P18,P2096}} 2 points awarded for addition of P18 or P2096 to items not already having such a statement
{{#invoke:UKB|rule|wikidata|2|properties=P569|require_reference=yes}} 2 points awarded for addition of P569 to items not already having such a statement (only referenced)
{{#invoke:UKB|rule|wikidata|2|max=10|properties=P569|all=yes}} 2 points awarded for every P569 added, but max 10 points per page
{{#invoke:UKB|rule|wikidata|2|labels=nb,nn,se}} 2 points awarded for addition of Wikidata label (nb, nn or se) to items not already having such a statement
{{#invoke:UKB|rule|wikidata|2|aliases=nb,nn,se}} 2 points awarded for addition of Wikidata alias (nb, nn or se) to items not already having such a statement
{{#invoke:UKB|rule|wikidata|2|descriptions=nb,nn,se}} 2 points awarded for addition of Wikidata description (nb, nn or se) to items not already having such a statement