Module:Wiki99

Module documentation

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.

InternationalizationEdit

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

UsageEdit

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
enaaababsaceadyaebafakalnaltamamiananganpararnarqaryarzasaseastatjavavkawaayazazbbabanbarbbcbccbcibclbebe-
tar
ask
bgbgnbhobibjnblkbmbnbobpybqibrbrhbrxbsbtmbtobugbxrcacbk-x-zamcdocecebchchochrchyckbcocpscrcrhcscsbcucvcydadagdedindiqdsbdtpdtydvdzeeegleleoeseteuextfafatfffifitfjfofonfrfrcfrpfrrfurfygagaagaggangcfgcrgdgilglgldglkgngomgorgotgpegrcgswgugucgurguwgvhahakhawhehihifhilhohrhrxhsbhsnhthuhyhywhziaidieigiiikiloinhioisitiujajamjbojutjvjv-x-bmskakaakabkbdkbpkcgkeakgkhwkikiukjkjpkkklkmknkokoikrkrckrikrjkrlkskshkswkukumkvkwkylaladlblbelezlfnlglilijlivlkilldlmolnlolozlrcltltglusluzlvlzhlzzmadmaimdfmgmhmhrmiminmkmlmnmnimnwmosmrmrhmrjmsmtmusmwlmymyvmznnanahnannapnap
-x-
tar
a
nbndndsnds-nlnenewngnianiunlnmznnnodnovnqonrfnsonvnynynnysocojboloomorospapagpampappcdpcmpdcpdtpflpipihplpmspnbpntprgpsptpwnququgrcfrgnrifrmrmcrmyrnrorskruruerupruqrwryusasahsatscscnscosdsdcsdhseseisessgsgsshshishnshysisim
ple
sjdsjeskskrslslismsmasmnsmssnsosqsrsrnsrossststqstysusvswsycszlszytataotaytcytddtetettgthtitktltlytntotpitrtrutrvtstttumtwtytyvtzmudmugukuruzvaivevecvepvivlsvmfvmwvovotvrowawalwarwlswowuuxacxalxhxmfxsyyiyoyoiyrkyrlyuayuezazeazghzhzuΣ
Wikidata item
st.
c:
1Earth293Q27810
2Moon269Q405497
3sun284Q525386
4water256Q283467
5history232Q309161
6human211Q5313
7fire189Q3196154
8universe177Q1213
9life161Q3152
10death161Q4263
11sky132Q52784
12mind131Q45071
13happiness116Q891
Σautolist1342412321231171310101213573681312115101113121311362513111312311134111010484138361346111213413494843271213131313101331387134971012101281351353118459114131310134111213712138613111011131291311812612511375421338131345951151111135948951197101071351393571035713131075124136121266410137412771211413135472621352661318955626137134131331256113131093710115121010531113631113134134312121313326121313810613561321113381125413181337356131313711135871113613289137131241392,612avg.:  6 \ 201
(47 %)
35952

Selection of languages to test and displayEdit

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
ensim
ple
afamanarasastavayazbabebgbmbnbobrbscacechckbcocscvcydadedvdzeeeleoeseteuextfafffifjfofrfygagdglgngswgugvhahakhehihrhthuhyiaidieigioisitiujajvkakgkkklkmknkokskukwkylalblglilnloltlvmgmkmlmnmrmsmtmynannbnenlnnnyocomorospapiplpnbpsptqurmrnrorurwsascsdseshsiskslsnsosqsrstsusvswtatetgthtitktltrtstttwugukuruzvivowawarwowuuxhyiyoyuezazhzuΣ
Wikidata item
st.
c:
1Earth156Q27810
2Moon154Q405497
3sun154Q525386
4water152Q283467
5history147Q309161
6human140Q5313
7fire126Q3196154
8universe123Q1213
9life123Q3152
10death119Q4263
11sky106Q52784
12mind101Q45071
13happiness99Q891
Σautolist131312121113121378131113135131113121310413813111213134321213131313101331387131012813131185911131313111213121386111312913121241338131391111111395111071313101313101213612131212131321326613213131313125113133751051311131312121313212131313131113381113813761313131381113613813713121391,700avg.:  10 \ 131
(80 %)
35952

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
enamarbebncsdadeelesetfafifrhehihrhuhyidisitjakakkkmkololtlvmnnbnenlplptrusisksqsrsvthtktrukuzvizhΣ
Wikidata item
st.
c:
1Earth49Q27810
2Moon49Q405497
3sun48Q525386
4water48Q283467
5history49Q309161
6human48Q5313
7fire47Q3196154
8universe47Q1213
9life48Q3152
10death46Q4263
11sky43Q52784
12mind42Q45071
13happiness45Q891
Σautolist13121313131313131213131313131313131213131312131213813713131012121313131311131313131381313131313609avg.:  12 \ 47
(96 %)
35952

Optional parameters for showing additional result columnsEdit

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
enamarbebncsdadeelesetfafifrhehihrhuhyidisitjakakkkmkololtlvmnnbnenlplptrusisksqsrsvthtktrukvizhΣ
Wikidata item
st.
c:
1Earth48Q27810
2Moon48Q405497
3sun47Q525386
4water47Q283467
5history48Q309161
6human47Q5313
7fire46Q3196154
8universe46Q1213
9life47Q3152
10death45Q4263
11sky42Q52784
12mind41Q45071
13happiness44Q891
Σautolist gallery131213131313131312131313131313131312131313121312138137131310121213131313111313131313813131313596avg.:  12 \ 46
(96 %)
35952
  • 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 WikidataenamarbebncsdadeelesetfafifrhehihrhuhyidisitjakakkkmkololtlvmnnbnenlplptrusisksqsrsvthtktrukuzvizhΣ
Wikidata item
st.
c:
1Earththird planet from the Sun in the Solar System49Q27810
2MoonEarth's only natural satellite49Q405497
3sunstar at the centre of our Solar System48Q525386
4waterchemical compound with raw molecular formula H₂O; main constituent of the fluids of most living organisms