This is the documentation page for Module:Wiki99

Module:Wiki99 takes user input of Wikidata items and outputs a table which shows whether a Wikipedia article exists for that item in a list of selected languages. The intended use of this table is community organization for improving and developing lists of about 99 topics in the Wiki99 outreach model.

Internationalization

edit

This module generates a table supporting internationalization. Its labels can be translated on Template:Wiki99/i18n.

Usage

edit

Setup the table according to this template (by default, this tests and shows an extensive set of languages). "Q" numbers are Wikidata identifiers. Search for any topic in Wikidata to get its identifier.

{{#invoke:Wiki99|table
|Q2|Q405|Q525|Q283|Q309|Q5|Q3196|Q1|Q3|Q4|Q527|Q450|Q8
}}
 
Wikipedia articles
 en aa ab abs ace ady aeb afak alnalt am ami an anganp ar arn arq ary arz as ase astatj av avkawa ay az azb ba ban barbbc bccbcibcl be be-
tar
ask
 bg bgnbho bi bjnblk bm bn bobpybqi brbrhbrx bsbtmbto bug bxr ca cbk-x-zamcdo ce ceb chcho chr chy ckb cocps cr crh cs csbcu cv cy dadag dedin diq dsbdtpdty dv dz ee egl el eo es et eu ext fafatff fifit fj fofon fr frc frp frr fur fy gagaa gaggan gcf gcr gd gil glgld glk gnFile:Goa government banner.pnggomgor got gpe grc gsw gugucgurguw gv ha hak haw he hi hifhilho hrhrx hsbhsn ht hu hy hywhz ia id ie igii ikilo inh io is it iu ja jam jbo jut jv jv-x-bms ka kaa kab kbd kbpkcg kea kgkhw kikiukjkjp kk kl km kn ko koi kr krckrikrj krlks kshksw ku kum kv kw ky la lad lb lbe lez lfn lg li lij liv lki lld lmo ln lo lozlrc lt ltg lusluz lv lzh lzz madmai mdf mgmh mhr mi min mk ml mn mni mnw mos mrmrhmrj ms mt mus mwl my myv mzn na nahnan napFile:Taranto City Flag.jpgnap
-x-
tar
a
 nb nd nds nds-nl ne newng nia niu nlnmz nnnod novnqo nrfnso nv ny nynnys ocojb olo om or os papag pam pap pcdpcm pdc pdt pflpi pih pl pmspnb pntprg ps ptpwn ququg rcf rgnrif rmrmcrmy rn rorsk ru rue rupruq rwryu sasahsat sc scn sco sdsdcsdh seseises sg sgs shshi shnshy si sim
ple
sjdsje sk skr slsli smsma smn sms sn so sq sr srnsro ss st stqsty su svsw syc szlszy ta taotay tcytdd tetet tg th ti tk tltly tn to tpi trtrutrvts tttum tw ty tyvtzm udm ug uk ur uz vai ve vec vep vi vls vmfvmw vo vot vro wawalwar wls wo wuuxac xal xh xmfxsyyiyoyoiyrkyrlyua yue za zeazgh zh zuΣ 
Wikidata item
st. 
c:
1Earth301Q28010
2Moon 273Q405567
3Sun290Q525386
4water262Q283547
5history233Q309161
6human216Q5323
7fire198Q3196154
8Universe183Q1264
9life167Q3183
10death169Q4263
11sky142Q52784
12mind137Q45082
13happiness117Q8121
Σautolist map134151221231186131010121358388131211510121312131236551311131253111341110101841383613461212135134104284127121313131310131313875124107111210121013513513110844510114131311134111213712138713111011131281311812612511378421338131345951151111135948105119712107135139258103681313107512413612126971374121181211413135472621357661389525626137134131331256113131094710115121011531213741113134134312121313326121313810713661321113391252551328133735713131371213588111361328111381312461392,688avg.:  6 \ 207
(48 %)
38955

Selection of languages to test and display

edit

You can pass langs=simple to get a reduced list with the most common languages:

{{#invoke:Wiki99|table
|Q2|Q405|Q525|Q283|Q309|Q5|Q3196|Q1|Q3|Q4|Q527|Q450|Q8
|langs = simple
}}
 
Wikipedia articles
 en sim
ple
 af am an ar as ast av ay az ba be bg bm bn bo br bs ca ce ch ckb co cs cv cy da de dv dz ee el eo es et eu ext faff fi fj fo fr fy ga gd gl gn gsw gu gv ha hak he hi hr ht hu hy ia id ie ig io is it iu ja jv ka kg kk kl km kn koks ku kw ky la lb lg li ln lo lt lv mg mk ml mn mr ms mt mynan nb ne nl nn ny oc om or os papi plpnb ps pt qu rm rn ro ru rw sa sc sd se sh si sk sl sn so sq sr st su svsw ta te tg th ti tk tl trts tt tw ug uk ur uz vi vo wawar wo wuu xhyiyo yue za zh zuΣ 
Wikidata item
st. 
c:
1Earth156Q28010
2Moon 153Q405567
3Sun153Q525386
4water153Q283547
5history147Q309161
6human139Q5323
7fire128Q3196154
8Universe126Q1264
9life125Q3183
10death122Q4263
11sky108Q52784
12mind101Q45082
13happiness99Q8121
Σautolist map13131212111312138813111313513111312131011381312121313412121313131310133138712111210131310851011131313111213121387111312813121241338131391111111395111071313101313101213612131212131321376613213131313125113134751151311131312121313212131313131113391213813771313131381113613813813121391,710avg.:  10 \ 132
(81 %)
38955

You can also specify which languages are to be presented in the table by inputting their codes in the langs parameter (its value is actually a set of valid BCP 47 language tags). Language tags are encoded from Basic Latin/ASCII only, have non-significant lettercase, and must start by at 2 or 3 letters, normally from ISO 639-1, or ISO 639-2/T, or ISO 639-3 otherwise (a few legacy language tags for variants may start by a few more letters); language tags are made of subtags, each comprising 1 to 8 characters, separated by a single hyphen or underscore; subtags can only contain letters, or possibly digits (only in trailing subtags for a few variants): any other character (including controls, whitespaces, symbols, or punctuation signs) is treated as a separator between language codes.

Language are then listed as columns in the table in the specified order (but after the user language and its fallbacks that are always listed first, even if they are not requested), and should occur only once in the list:

{{#invoke:Wiki99|table
|Q2|Q405|Q525|Q283|Q309|Q5|Q3196|Q1|Q3|Q4|Q527|Q450|Q8
|langs = am,ar,be,bn,cs,da,de,el,en,es,et,fa,fi,fr,he,hi,hr,hu,hy,id,is,it,ja,ka,kk,km,ko,lo,lt,lv,mn,nb,ne,nl,pl,pt,ru,si,sk,sq,sr,sv,th,tk,tr,uk,uz,vi,zh
}}
 
Wikipedia articles
 en am ar be bn cs da de el es et fa fi fr he hi hr hu hy id is it ja ka kk km ko lo lt lv mn nb ne nl pl pt ru si sk sq sr sv th tk tr uk uz vi zhΣ 
Wikidata item
st. 
c:
1Earth49Q28010
2Moon 49Q405567
3Sun48Q525386
4water48Q283547
5history49Q309161
6human47Q5323
7fire47Q3196154
8Universe47Q1264
9life48Q3183
10death47Q4263
11sky43Q52784
12mind42Q45082
13happiness45Q8121
Σautolist map13121313131313131213131313121313131213131312131213813713131012121313131311131313131391313131313609avg.:  12 \ 47
(96 %)
38955

Optional parameters for showing additional result columns

edit

You can also set the following options to add columns that will be shown on each row before the list of tested languages:

  • image = y (or any non-empty value) for showing an examplar image for the topic, found in some properties of the Wikidata item.
{{#invoke:Wiki99|table
|Q2|Q405|Q525|Q283|Q309|Q5|Q3196|Q1|Q3|Q4|Q527|Q450|Q8
|image = y
|langs = am,ar,be,bn,cs,da,de,el,en,es,et,fa,fi,fr,he,hi,hr,hu,hy,id,is,it,ja,ka,kk,km,ko,lo,lt,lv,mn,nb,ne,nl,pl,pt,ru,si,sk,sq,sr,sv,th,tk,tr,uk,uz,vi,zh
}}
Image 
Wikipedia articles
 en am ar be bn cs da de el es et fa fi fr he hi hr hu hy id is it ja ka kk km ko lo lt lv mn nb ne nl pl pt ru si sk sq sr sv th tk tr uk vi zhΣ 
Wikidata item
st. 
c:
1 Earth48Q28010
2 Moon 48Q405567
3 Sun47Q525386
4 water47Q283547
5 history48Q309161
6 human46Q5323
7 fire46Q3196154
8 Universe46Q1264
9 life47Q3183
10 death46Q4263
11 sky42Q52784
12 mind41Q45082
13 happiness44Q8121
Σautolist map/gallery131213131313131312131313131213131312131313121312138137131310121213131313111313131313913131313596avg.:  12 \ 46
(96 %)
38955
  • description = y (or any non-empty value) for showing the description label of the item in Wikidata after the name of the item, also allowing to disambiguate its default label.
{{#invoke:Wiki99|table
|Q2|Q405|Q525|Q283|Q309|Q5|Q3196|Q1|Q3|Q4|Q527|Q8|Q450
|description = y
|langs = am,ar,be,bn,cs,da,de,el,en,es,et,fa,fi,fr,he,hi,hr,hu,hy,id,is,it,ja,ka,kk,km,ko,lo,lt,lv,mn,nb,ne,nl,pl,pt,ru,si,sk,sq,sr,sv,th,tk,tr,uk,uz,vi,zh
}}
 
Wikipedia articles
Description on Wikidata en am ar be bn cs da de el es et fa fi fr he hi hr hu hy id is it ja ka kk km ko lo lt lv mn nb ne nl pl pt ru si sk sq sr sv th tk tr uk uz vi zhΣ 
Wikidata item
st. 
c:
1Earththird planet from the Sun in the Solar System49Q28010
2Moon Earth's only natural satellite49Q405567
3Sunstar at the centre of the Solar System48Q525386
4waterchemical compound with raw molecular formula H₂O; main constituent of the fluids of most living organisms48Q283547
5historypast events and their tracks or records49Q309161
6humanany member of Homo sapiens, unique extant species of the genus Homo, from embryo to adult47Q5323
7firerapid oxidation of a material; phenomenon that emits light and heat47Q3196154
8Universetotality consisting of space, time, matter and energy47Q1264
9lifematter capable of extracting energy from the environment for replication48Q3183
10deathpermanent cessation of vital functions47Q4263
11skyeverything that is above the surface of the Earth43Q52784
12mindcombination of cognitive faculties that provides consciousness, thinking, reasoning, perception, and judgement in humans and potentially other life forms42Q45082
13happinessmental or emotional state of well-being characterized by pleasant emotions45Q8121
Σautolist map13121313131313131213131313121313131213131312131213813713131012121313131311131313131391313131313609avg.:  12 \ 47
(96 %)
38955

Credit

edit

As of January 2022 the original or at least the oldest version I found is Module:WikimediaCEETable, made in 2016 by User:Voll for Wikimedia Central and Eastern Europe and which Special:WhatLinksHere/Module:WikimediaCEETable reports is used on 304 pages. It is hard for me to tell how many of those 304 pages have repeated tables, but I think about 50 of those 300 pages have original content based on checking a few. Other projects using derivative versions of this table tool are Module:WikiDonneLang from WikiDonne, which Special:WhatLinksHere/Module:WikiDonneLang reports is being used for about 10 projects. The other is Module:WikimediaCH2020 from Wikimedia CH, which Special:WhatLinksHere/Module:WikimediaCH2020 reports is being used in 6 projects.

Bluerasberry (talk) 20:01, 12 June 2022 (UTC)