وِکیٖپیٖڈیا
kswiki
https://ks.wikipedia.org/wiki/%D8%A7%D9%8E%DB%81%D9%8E%D9%85_%D8%B5%D9%8E%D9%81%DB%81%D9%95
MediaWiki 1.39.0-wmf.23
first-letter
میڈیا
خاص
کَتھ
رُکُن
رُکُن کَتھ
وِکیٖپیٖڈیا
وِکیٖپیٖڈیا کَتھ
فَیِل
فَیِل کَتھ
میٖڈیاوِکی
میٖڈیاوِکی کَتھ
فرما
فرما کَتھ
مَدَتھ
مَدَتھ کَتھ
زٲژ
زٲژ کَتھ
TimedText
TimedText talk
Module
Module talk
Gadget
Gadget talk
Gadget definition
Gadget definition talk
شيخ عبدالله
0
1023
62243
57357
2022-08-09T13:17:54Z
511KeV
8268
/* حَوالہٕ */اض
wikitext
text/x-wiki
{{1}}
{{P1|شيخ عبدالله}}
{{P2|[[शेख़ अब्दुल्लाह]]}}
{{2}}
{{Infobox officeholder
|name = شیخ عبداللہ
|native_name = شیخ عبداللہ
|image = Sheikh Abdullah 1988 stamp of India.jpg
|caption = شیخ عبداللہ ہِندوستانچہِ ڈاک ٹِکٹہِ پؠٹھ ۱۹۸۸
|party = [[جمّو کشمیر نیشنَل کانفرنَس]]
|birth_date = ۰۵ دَسَمبَر ۱۹۰۵<ref name=EB>Hoiberg, Dale H. (2010) p 22-23</ref>
|birth_place = سُوُر، جۆم تہٕ کٔشیٖر، بَرطٲنوی ہِندوستان
|death_date = ۰۸ سَتَمبَر ۱۹۸۲ (۷۶ ؤری وٲنٛس)<ref name=EB/>
|death_place = [[سِریٖنَگَر]]، [[جۆم تہٕ کٔشیٖر]] <ref>{{Cite web|url=https://www.nytimes.com/1982/09/09/obituaries/mohammad-abdullah-dies-led-india-s-state-of-kashmir.html|title=MOHAMMAD ABDULLAH DIES; LED INDIA'S STATE OF KASHMIR (Published 1982)|date=9 September 1982|via=NYTimes.com}}</ref>
|spouse = بیگَم اکبَر جہان عبداللہ
|children = [[فاروق عبداللہ]]، سوریا عبداللہ علی، [[شیخ مصطفیٰ کمال]]، خالِدہ شاہ
|alma_mater = [[اِسلامیا کالیج لاہور]]<br />[[علی گھڈ مُسلِم یۆنوَرسِٹی]]<ref name="Tikoo2012">{{cite book|author=Tej K. Tikoo|title=Kashmir: Its Aborigines and Their Exodus|url=https://books.google.com/books?id=kRFvWyqGNzEC&pg=PA185|access-date=26 February 2013|date=19 July 2012|publisher=Lancer Publishers|isbn=978-1-935501-34-3|pages=185–}}</ref>
}}
'''شيخ عبداللہ''' (۱۹۰۵-۱۹۸۲) اوس کٲشُر سِیاسَت دان تہٕ رِیاسَتھ جۆم تہٕ کٔشیٖر ہُنٛد گۄڈٕنِیُک مُنتخٕب ؤزیٖرِ اَعظَم۔ ایٚمو چھُ کٔشیٖر ہٕنٛز سِیاستَس مَنٛز اَکھ اَہَم کِردار ادا کورمُت<ref>https://eparlib.nic.in/bitstream/123456789/58676/1/Eminent_Parliamentarians_Series_Sheikh_Mohammad_Abdullah.pdf</ref>۔ شیخ عبداللہ چھُ آل جمو کشمیر مُسلم کانفرنسُک بٲنی یۆس زنہٕ ازٕ نیشنَل کانفرنَس کہِ ناوٕ سٟتؠ زانہٕ چھُ یِوان۔ ایٚمو کٕر مہاراجا ہری سِنٛگنہِ حکمرٲنی مُخٲلفت تہٕ کشیٖرِ خدمختار مُلکھ بناونَس پؠٹھ دیُتُکھ زور<ref>Guha, Ramachandra. "Opening a window in Kashmir." Economic and Political Weekly (2004): 3905-3913.</ref>۔
==حَوالہٕ==
{{حَوالہٕ}}
{{نامُکَمَل مَضموٗن}}
[[زٲژ:کٲشِرؠ لوٗکھ]]
[[زٲژ:کٲشِرؠ سِیاسَتھ دان]]
33ro5oj51ikg7kujmn5jzskb5pxoz74
ٹیلِفون
0
3316
62264
60347
2022-08-09T14:58:50Z
511KeV
8268
تر
wikitext
text/x-wiki
{{Databox}}
'''ٹیلیفون''' یا '''ٹیلِفون''' چھِ اَکھ [[مِشیٖن]] یَمہِ سٟتؠ [[اِنسان]] سوند مَش تارو ذریعہ دور بیقس اِنسانَس خَبر واتا چھِ۔ یَتھ عام زَبانہٕ مَنٛز چھِ فون کَرُن ونا۔ ٹیلِفون چھُ آواز بِجلی مَنٛز تَبدیٖل کٔرِتھ تارو مٔنز پَکناوَن تہٕ بیٚیِس ٹیلِفونَس تام واتان، سُہ چھُ اَتھ آوازِ مَنٛز واپس تَبدیٖل کَران تہٕ اَکھ اِنسان چھُ پٲغام ہیکان رٕتِٹھ۔ اَز چھِ اَتھ فون وَنان.<ref>{{ویب حَوالہٕ|title=phone {{!}} Etymology, origin and meaning of phone by etymonline|url=https://www.etymonline.com/word/phone|access-date=2022-05-07|website=www.etymonline.com|language=en}}</ref>
== حَوالہٕ ==
{{حَوالہٕ}}
{{نامُکَمَل مَضموٗن}}
[[زٲژ:مِشیٖن]]
eh270gt4gu2yuf5ebk2xhvd2rp1vguc
آصف علی زرداری
0
3933
62259
62086
2022-08-09T14:41:03Z
511KeV
8268
Add
wikitext
text/x-wiki
{{databox}}
[[فَیِل:Asif Ali Zardari - 2009.jpg|thumb]]
'''آصف علی زرداری''' صَدٕر جمہوٗرِیت [[پاکستان]] (٩ [[سیٚپٹَمبَر]] ٢٠٠٨ - ٨ [[سیٚپٹَمبَر]] ٢٠١٣)<ref>{{ویب حَوالہٕ|date=2012-07-29|title=PRESIDENT OF PAKISTAN|url=http://www.presidentofpakistan.gov.pk/index.php?lang=en&opc=2&sel=2|access-date=2022-08-07|website=web.archive.org|archive-date=2012-07-29|archive-url=https://web.archive.org/web/20120729041135/http://www.presidentofpakistan.gov.pk/index.php?lang=en&opc=2&sel=2|url-status=bot: unknown}}</ref>
==حَوالہٕ==
{{نامُکَمَل مَضموٗن}}
{{Uncategorized stub|date=اَپریل 2022}}
69n698i1a7zcms2ci6ahsiydoacht2t
62260
62259
2022-08-09T14:45:03Z
511KeV
8268
Rem
wikitext
text/x-wiki
{{databox}}
'''آصف علی زرداری''' صَدٕر جمہوٗرِیت [[پاکستان]] (٩ [[سیٚپٹَمبَر]] ٢٠٠٨ - ٨ [[سیٚپٹَمبَر]] ٢٠١٣)<ref>{{ویب حَوالہٕ|date=2012-07-29|title=PRESIDENT OF PAKISTAN|url=http://www.presidentofpakistan.gov.pk/index.php?lang=en&opc=2&sel=2|access-date=2022-08-07|website=web.archive.org|archive-date=2012-07-29|archive-url=https://web.archive.org/web/20120729041135/http://www.presidentofpakistan.gov.pk/index.php?lang=en&opc=2&sel=2|url-status=bot: unknown}}</ref>
==حَوالہٕ==
{{نامُکَمَل مَضموٗن}}
{{Uncategorized stub|date=اَپریل 2022}}
jqhn60vqwbbsq67gt4hzx923fj2geaf
کٲشِرؠ لوٗکھ
0
4765
62239
62228
2022-08-09T13:13:35Z
511KeV
8268
Reverted edits by [[Special:Contributions/Haputq|Haputq]] ([[User talk:Haputq|talk]]) to last revision by [[User:223.239.24.176|223.239.24.176]]
wikitext
text/x-wiki
{|class="infobox bordered" align=left style="width: 22em; font-size: 95%; text-align: right;" cellpadding="3"
! colspan="2" style="text-align: center; font-size: larger; background-color: #b08261; color: #fee8ab;" | کٲشُر لُکھ
|-
| colspan="2" style="text-align: center;" |
{{image array|perrow=3|width=80|height=80
| image1 = Jawaharlal Nehru.jpg
| caption1 = [[جَواہَر لال نِہروٗ]]<ref>{{cite web|last1=Nehru|first1=Jawaharlal Nehru|title=Pandit Jawaharlal Nehru|url=http://www.geni.com/people/Pandit-Jawaharlal-Nehru/6000000003923543660|website=GENI|accessdate=13 July 2014}}</ref>
| image2 = Molviabdullah2.jpg
| caption2 =[[شيخ عبدالله]]
| image3 = Iqbal.jpg
| caption3 = [[مُحَمَّد اِقبال]]
| image4 = Kailash kher saali khushi.jpg
| caption4 = [[کیلاش کھیر]]
| image5 = DNWALLI.jpg
| caption5 = [[دیٖنا ناتھ وَلی]]
| image6 = Farah_Pandith_speaks_to_press_2011-01-28.jpg
| caption6 = [[فَرَح پنٛڈِت]]
| image8 = Anupam_Kher.jpg
| caption8 = [[انوپم کھیر]]
| image9 = Mahjoor 2013 stamp of India 2.jpg
| caption9 = [[پیٖرزادہ غُلام اَحمَد مَہجوٗر]]
| image10 = Farooq_Abdullah_addressing_at_the_presentation_ceremony_of_the_Cash_Prizes_to_the_best_performing_Regional_Rural_Banks_and_Certificates_for_extending_loans_for_SPV_home_lighting_systems_during_2009-10,_in_New_Delhi (cropped).jpg
| caption10 = [[فاروق عبدالله]]
| image11 = Suresh_Raina_grace_the_%27Salaam_Sachin%27_conclave.jpg
| caption11 = [[سُریٖشرائنا]]
| image12 = Trilok Gurtu WarszawaSep2007.jpg
| caption12 = [[ترٖلوك گُلتوُ]]
| image13 = Kunal Khemu Promotions of 'Go Goa Gone' in association with Volkswagen 07.jpg
| caption13 = [[كُنال كھيموُ]]
| image14 = Salman_Rushdie_2014.jpg
| caption14 = [[سَلَمان رشدي]]
| image15 = KatrinaKaif.jpg
| caption15 = [[کَٹریٖنا کیف]]
| image16 = Vijaya Lakshmi Pandit.jpg
| caption16 = [[وِجَے لَکشمی پَنٛڈِت]]
| image17 = Sheikh_Asif.png
| caption17= [[شیخ آصِف]]
| image18 = Syed Areej.jpg
| caption18= [[سید اریٖج]]
}}
|-
! style="background-color: #fee8ab;" | آبٲدی:
| <ref>http://www.thehindu.com/todays-paper/tp-national/tp-newdelhi/protest-against-biased-reporting-on-human-rights-in-kashmir/article1179114.ece {{Webarchive|url=https://web.archive.org/web/20160303155730/http://www.thehindu.com/todays-paper/tp-national/tp-newdelhi/protest-against-biased-reporting-on-human-rights-in-kashmir/article1179114.ece |date=2016-03-03 }}</ref> style="background-color: #fff6d9;" | 6,797,587 (2011 مَنٛز)
|-
! style="background-color: #fee8ab;" | مُلُک:
| style="background-color: #fff6d9;" | [[بًارت]]، [[پاکستان]]
|-
! style="background-color: #fee8ab;" | زَبان:
| style="background-color: #fff6d9;" | [[کٲشُر زَبان]]
|-
! style="background-color: #fee8ab;" | مَزہَب:
| style="background-color: #fff6d9;" | [[اِسلام]] [[شیعہ]] تہ [[سنی]]، [[ہِندوُ مَت]]
|-
! style="background-color: #fee8ab;" | وَنُن:
| style="background-color: #fff6d9;" | [[کٔشِیریس مُسلِم]]، [[کٔشِیریس مُسلِم]]
|}
کٲشِرؠ لُکھ چھِ [[کٔشیٖر]]ِ مَنٛز روزَن وٲلؠ نَتہٕ کٔشیٖرِ پؠٹھٕ آمٕتؠ لوٗکھ۔
==حَوالہٕ==
{{حَوالہٕ}}
{{نامُکَمَل مَضموٗن}}
[[زٲژ:کٔشیٖر]]
[[زٲژ:کٲشِرؠ لوٗکھ]]
tdu58yds0qbhg35k2vdr27omb824y3r
62240
62239
2022-08-09T13:14:19Z
511KeV
8268
[[Special:Contributions/223.239.24.176|223.239.24.176]] ([[User talk:223.239.24.176|کَتھ]]) سٕنٛدِ طَرفہٕ کَرنہٕ آمٕژ 61778 تَبدیٖلی آی رَد کَرنہٕ
wikitext
text/x-wiki
{|class="infobox bordered" align=left style="width: 22em; font-size: 95%; text-align: right;" cellpadding="3"
! colspan="2" style="text-align: center; font-size: larger; background-color: #b08261; color: #fee8ab;" | کٲشُر لُکھ
|-
| colspan="2" style="text-align: center;" |
{{image array|perrow=3|width=80|height=80
| image1 = Jawaharlal Nehru.jpg
| caption1 = [[جَواہَر لال نِہروٗ]]<ref>{{cite web|last1=Nehru|first1=Jawaharlal Nehru|title=Pandit Jawaharlal Nehru|url=http://www.geni.com/people/Pandit-Jawaharlal-Nehru/6000000003923543660|website=GENI|accessdate=13 July 2014}}</ref>
| image2 = Molviabdullah2.jpg
| caption2 =[[شيخ عبدالله]]
| image3 = Iqbal.jpg
| caption3 = [[مُحَمَّد اِقبال]]
| image4 = Kailash kher saali khushi.jpg
| caption4 = [[کیلاش کھیر]]
| image5 = DNWALLI.jpg
| caption5 = [[دیٖنا ناتھ وَلی]]
| image6 = Farah_Pandith_speaks_to_press_2011-01-28.jpg
| caption6 = [[فَرَح پنٛڈِت]]
| image8 = Anupam_Kher.jpg
| caption8 = [[انوپم کھیر]]
| image9 = Mahjoor 2013 stamp of India 2.jpg
| caption9 = [[پیٖرزادہ غُلام اَحمَد مَہجوٗر]]
| image10 = Farooq_Abdullah_addressing_at_the_presentation_ceremony_of_the_Cash_Prizes_to_the_best_performing_Regional_Rural_Banks_and_Certificates_for_extending_loans_for_SPV_home_lighting_systems_during_2009-10,_in_New_Delhi (cropped).jpg
| caption10 = [[فاروق عبدالله]]
| image11 = Suresh_Raina_grace_the_%27Salaam_Sachin%27_conclave.jpg
| caption11 = [[سُریٖشرائنا]]
| image12 = Trilok Gurtu WarszawaSep2007.jpg
| caption12 = [[ترٖلوك گُلتوُ]]
| image13 = Kunal Khemu Promotions of 'Go Goa Gone' in association with Volkswagen 07.jpg
| caption13 = [[كُنال كھيموُ]]
| image14 = Salman_Rushdie_2014.jpg
| caption14 = [[سَلَمان رشدي]]
| image15 = KatrinaKaif.jpg
| caption15 = [[کَٹریٖنا کیف]]
| image16 = Vijaya Lakshmi Pandit.jpg
| caption16 = [[وِجَے لَکشمی پَنٛڈِت]]
| image17 = .jpg
| caption17= [[شیخ آصِف]]
| image18 = Syed Areej.jpg
| caption18= [[سید اریٖج]]
}}
|-
! style="background-color: #fee8ab;" | آبٲدی:
| <ref>http://www.thehindu.com/todays-paper/tp-national/tp-newdelhi/protest-against-biased-reporting-on-human-rights-in-kashmir/article1179114.ece {{Webarchive|url=https://web.archive.org/web/20160303155730/http://www.thehindu.com/todays-paper/tp-national/tp-newdelhi/protest-against-biased-reporting-on-human-rights-in-kashmir/article1179114.ece |date=2016-03-03 }}</ref> style="background-color: #fff6d9;" | 6,797,587 (2011 مَنٛز)
|-
! style="background-color: #fee8ab;" | مُلُک:
| style="background-color: #fff6d9;" | [[بًارت]]، [[پاکستان]]
|-
! style="background-color: #fee8ab;" | زَبان:
| style="background-color: #fff6d9;" | [[کٲشُر زَبان]]
|-
! style="background-color: #fee8ab;" | مَزہَب:
| style="background-color: #fff6d9;" | [[اِسلام]] [[شیعہ]] تہ [[سنی]]، [[ہِندوُ مَت]]
|-
! style="background-color: #fee8ab;" | وَنُن:
| style="background-color: #fff6d9;" | [[کٔشِیریس مُسلِم]]، [[کٔشِیریس مُسلِم]]
|}
کٲشِرؠ لُکھ چھِ [[کٔشیٖر]]ِ مَنٛز روزَن وٲلؠ نَتہٕ کٔشیٖرِ پؠٹھٕ آمٕتؠ لوٗکھ۔
==حَوالہٕ==
{{حَوالہٕ}}
{{نامُکَمَل مَضموٗن}}
[[زٲژ:کٔشیٖر]]
[[زٲژ:کٲشِرؠ لوٗکھ]]
j9kvc5q1olke5e6pj9wimd90ogxa64d
62241
62240
2022-08-09T13:15:58Z
511KeV
8268
غٲر موجود
wikitext
text/x-wiki
{|class="infobox bordered" align=left style="width: 22em; font-size: 95%; text-align: right;" cellpadding="3"
! colspan="2" style="text-align: center; font-size: larger; background-color: #b08261; color: #fee8ab;" | کٲشُر لُکھ
|-
| colspan="2" style="text-align: center;" |
{{image array|perrow=3|width=80|height=80
| image1 = Jawaharlal Nehru.jpg
| caption1 = [[جَواہَر لال نِہروٗ]]<ref>{{cite web|last1=Nehru|first1=Jawaharlal Nehru|title=Pandit Jawaharlal Nehru|url=http://www.geni.com/people/Pandit-Jawaharlal-Nehru/6000000003923543660|website=GENI|accessdate=13 July 2014}}</ref>
| image2 = Molviabdullah2.jpg
| caption2 =[[شيخ عبدالله]]
| image3 = Iqbal.jpg
| caption3 = [[مُحَمَّد اِقبال]]
| image4 = Kailash kher saali khushi.jpg
| caption4 = [[کیلاش کھیر]]
| image5 = DNWALLI.jpg
| caption5 = [[دیٖنا ناتھ وَلی]]
| image6 = Farah_Pandith_speaks_to_press_2011-01-28.jpg
| caption6 = [[فَرَح پنٛڈِت]]
| image8 = Anupam_Kher.jpg
| caption8 = [[انوپم کھیر]]
| image9 = Mahjoor 2013 stamp of India 2.jpg
| caption9 = [[پیٖرزادہ غُلام اَحمَد مَہجوٗر]]
| image10 = Farooq_Abdullah_addressing_at_the_presentation_ceremony_of_the_Cash_Prizes_to_the_best_performing_Regional_Rural_Banks_and_Certificates_for_extending_loans_for_SPV_home_lighting_systems_during_2009-10,_in_New_Delhi (cropped).jpg
| caption10 = [[فاروق عبدالله]]
| image11 = Suresh_Raina_grace_the_%27Salaam_Sachin%27_conclave.jpg
| caption11 = [[سُریٖشرائنا]]
| image12 = Trilok Gurtu WarszawaSep2007.jpg
| caption12 = [[ترٖلوك گُلتوُ]]
| image13 = Kunal Khemu Promotions of 'Go Goa Gone' in association with Volkswagen 07.jpg
| caption13 = [[كُنال كھيموُ]]
| image14 = Salman_Rushdie_2014.jpg
| caption14 = [[سَلَمان رشدي]]
| image15 = KatrinaKaif.jpg
| caption15 = [[کَٹریٖنا کیف]]
| image16 = Vijaya Lakshmi Pandit.jpg
| caption16 = [[وِجَے لَکشمی پَنٛڈِت]]
| image17 = .jpg
| image18 = Syed Areej.jpg
| caption18= [[سید اریٖج]]
}}
|-
! style="background-color: #fee8ab;" | آبٲدی:
| <ref>http://www.thehindu.com/todays-paper/tp-national/tp-newdelhi/protest-against-biased-reporting-on-human-rights-in-kashmir/article1179114.ece {{Webarchive|url=https://web.archive.org/web/20160303155730/http://www.thehindu.com/todays-paper/tp-national/tp-newdelhi/protest-against-biased-reporting-on-human-rights-in-kashmir/article1179114.ece |date=2016-03-03 }}</ref> style="background-color: #fff6d9;" | 6,797,587 (2011 مَنٛز)
|-
! style="background-color: #fee8ab;" | مُلُک:
| style="background-color: #fff6d9;" | [[بًارت]]، [[پاکستان]]
|-
! style="background-color: #fee8ab;" | زَبان:
| style="background-color: #fff6d9;" | [[کٲشُر زَبان]]
|-
! style="background-color: #fee8ab;" | مَزہَب:
| style="background-color: #fff6d9;" | [[اِسلام]] [[شیعہ]] تہ [[سنی]]، [[ہِندوُ مَت]]
|-
! style="background-color: #fee8ab;" | وَنُن:
| style="background-color: #fff6d9;" | [[کٔشِیریس مُسلِم]]، [[کٔشِیریس مُسلِم]]
|}
کٲشِرؠ لُکھ چھِ [[کٔشیٖر]]ِ مَنٛز روزَن وٲلؠ نَتہٕ کٔشیٖرِ پؠٹھٕ آمٕتؠ لوٗکھ۔
==حَوالہٕ==
{{حَوالہٕ}}
{{نامُکَمَل مَضموٗن}}
[[زٲژ:کٔشیٖر]]
[[زٲژ:کٲشِرؠ لوٗکھ]]
rdzfny9oi86frohu3fg5v5z4lkd3fty
62242
62241
2022-08-09T13:16:24Z
511KeV
8268
ہٹا
wikitext
text/x-wiki
{|class="infobox bordered" align=left style="width: 22em; font-size: 95%; text-align: right;" cellpadding="3"
! colspan="2" style="text-align: center; font-size: larger; background-color: #b08261; color: #fee8ab;" | کٲشُر لُکھ
|-
| colspan="2" style="text-align: center;" |
{{image array|perrow=3|width=80|height=80
| image1 = Jawaharlal Nehru.jpg
| caption1 = [[جَواہَر لال نِہروٗ]]<ref>{{cite web|last1=Nehru|first1=Jawaharlal Nehru|title=Pandit Jawaharlal Nehru|url=http://www.geni.com/people/Pandit-Jawaharlal-Nehru/6000000003923543660|website=GENI|accessdate=13 July 2014}}</ref>
| image2 = Molviabdullah2.jpg
| caption2 =[[شيخ عبدالله]]
| image3 = Iqbal.jpg
| caption3 = [[مُحَمَّد اِقبال]]
| image4 = Kailash kher saali khushi.jpg
| caption4 = [[کیلاش کھیر]]
| image5 = DNWALLI.jpg
| caption5 = [[دیٖنا ناتھ وَلی]]
| image6 = Farah_Pandith_speaks_to_press_2011-01-28.jpg
| caption6 = [[فَرَح پنٛڈِت]]
| image8 = Anupam_Kher.jpg
| caption8 = [[انوپم کھیر]]
| image9 = Mahjoor 2013 stamp of India 2.jpg
| caption9 = [[پیٖرزادہ غُلام اَحمَد مَہجوٗر]]
| image10 = Farooq_Abdullah_addressing_at_the_presentation_ceremony_of_the_Cash_Prizes_to_the_best_performing_Regional_Rural_Banks_and_Certificates_for_extending_loans_for_SPV_home_lighting_systems_during_2009-10,_in_New_Delhi (cropped).jpg
| caption10 = [[فاروق عبدالله]]
| image11 = Suresh_Raina_grace_the_%27Salaam_Sachin%27_conclave.jpg
| caption11 = [[سُریٖشرائنا]]
| image12 = Trilok Gurtu WarszawaSep2007.jpg
| caption12 = [[ترٖلوك گُلتوُ]]
| image13 = Kunal Khemu Promotions of 'Go Goa Gone' in association with Volkswagen 07.jpg
| caption13 = [[كُنال كھيموُ]]
| image14 = Salman_Rushdie_2014.jpg
| caption14 = [[سَلَمان رشدي]]
| image15 = KatrinaKaif.jpg
| caption15 = [[کَٹریٖنا کیف]]
| image16 = Vijaya Lakshmi Pandit.jpg
| caption16 = [[وِجَے لَکشمی پَنٛڈِت]]
| image18 = Syed Areej.jpg
| caption18= [[سید اریٖج]]
}}
|-
! style="background-color: #fee8ab;" | آبٲدی:
| <ref>http://www.thehindu.com/todays-paper/tp-national/tp-newdelhi/protest-against-biased-reporting-on-human-rights-in-kashmir/article1179114.ece {{Webarchive|url=https://web.archive.org/web/20160303155730/http://www.thehindu.com/todays-paper/tp-national/tp-newdelhi/protest-against-biased-reporting-on-human-rights-in-kashmir/article1179114.ece |date=2016-03-03 }}</ref> style="background-color: #fff6d9;" | 6,797,587 (2011 مَنٛز)
|-
! style="background-color: #fee8ab;" | مُلُک:
| style="background-color: #fff6d9;" | [[بًارت]]، [[پاکستان]]
|-
! style="background-color: #fee8ab;" | زَبان:
| style="background-color: #fff6d9;" | [[کٲشُر زَبان]]
|-
! style="background-color: #fee8ab;" | مَزہَب:
| style="background-color: #fff6d9;" | [[اِسلام]] [[شیعہ]] تہ [[سنی]]، [[ہِندوُ مَت]]
|-
! style="background-color: #fee8ab;" | وَنُن:
| style="background-color: #fff6d9;" | [[کٔشِیریس مُسلِم]]، [[کٔشِیریس مُسلِم]]
|}
کٲشِرؠ لُکھ چھِ [[کٔشیٖر]]ِ مَنٛز روزَن وٲلؠ نَتہٕ کٔشیٖرِ پؠٹھٕ آمٕتؠ لوٗکھ۔
==حَوالہٕ==
{{حَوالہٕ}}
{{نامُکَمَل مَضموٗن}}
[[زٲژ:کٔشیٖر]]
[[زٲژ:کٲشِرؠ لوٗکھ]]
jxj30lndo7tnmtt3p4jmkskbo8zdee7
62244
62242
2022-08-09T13:24:16Z
511KeV
8268
ہٹاوَن
wikitext
text/x-wiki
{{Databox}}
کٲشِرؠ لُکھ چھِ [[کٔشیٖر]]ِ مَنٛز روزَن وٲلؠ نَتہٕ کٔشیٖرِ پؠٹھٕ آمٕتؠ لوٗکھ۔
==حَوالہٕ==
{{حَوالہٕ}}
{{نامُکَمَل مَضموٗن}}
[[زٲژ:کٔشیٖر]]
[[زٲژ:کٲشِرؠ لوٗکھ]]
6dqpoot7os5via99or9ijh3jtl6cdv2
اِبراہیم اِسماعیل چُنٛدریٖگَر
0
4789
62267
60404
2022-08-09T15:53:13Z
511KeV
8268
اض
wikitext
text/x-wiki
{{databox}}
'''ابراہیم اسماعیل چندریگر''' چھُ اَکھ [[پاکِستان|پٲکِستٲنؠ]] ؤزیٖرِ اَعظَم۔
{{نامُکَمَل مَضموٗن}}
[[زٲژ:سٲبِقہٕ پٲکِستٲنؠ ؤزیٖرِ اَعظَم]]
[[زٲژ:پٲکِستانٕکؠ ؤزیٖرِ اَعظَم]]
[[زٲژ:پٲکِستٲنؠ لوٗکھ]]
rtfo569ow4idq4e7m1g19b1fc02818b
ہیکَر
0
4998
62234
54011
2022-08-09T12:18:28Z
511KeV
8268
wikitext
text/x-wiki
{{Databox}}
'''ہؠکِنٛگ''' چھہ [[کمپیوٹر]] مُتعلِق اکھہ تکنیک۔ یہِ تکنیک چھہ کینہہ مُلُک مَنٛز غیر قونونی۔
{{نامُکَمَل مَضموٗن}}
[[زٲژ:کَمپیوٗٹَر]]
c6qm4pv035nok1ygxei1a01gzs7u30x
شہادَت
0
5001
62233
57070
2022-08-09T12:06:46Z
511KeV
8268
Add
wikitext
text/x-wiki
{{Databox}}
[[فَیِل:Shahadah.ogg|210px|thumb|شہادَت]]
[[فَیِل:Arabic Calligraphy at Wazir Khan Mosque2.jpg|thumb]]
'''شہادَت''' چھہ [[اِسلام|اِسلامَس]] مٗنٛز ایمان کہ عہد تہ اکھہ ستون۔
{| style="border-top:1px solid green; border-right:1px solid green; border-bottom:2px solid green; border-left:1px solid green;" cellpadding="5" cellspacing="0"
| style="border-bottom:1px solid red; border-left:1px solid green;" | عربی (Arabic)
| style="border-bottom:1px solid green; border-left:1px solid green;" |لا
| style="border-bottom:1px solid green; border-left:1px solid green;" |الہ
| style="border-bottom:1px solid green; border-left:1px solid green;" |الا
| style="border-bottom:1px solid green; border-left:1px solid green;" |اللہ
| style="border-bottom:1px solid green; border-left:1px solid green;" |محمد
| style="border-bottom:1px solid green; border-left:1px solid green;" |رسول
| style="border-bottom:1px solid green;" |اللہ
|-
| style="border-bottom:1px solid red; border-left:1px solid green;" |کأشر (Kashmiri)
| style="border-bottom:1px solid green; border-left:1px solid green;" |نہَ
| style="border-bottom:1px solid green; border-left:1px solid green;" |معبود (کانٛہہ)
| style="border-bottom:1px solid green; border-left:1px solid green;" |ماسِواے
| style="border-bottom:1px solid green; border-left:1px solid green;" |[[اللہ]]
| style="border-bottom:1px solid green; border-left:1px solid green;" |محمد ص
| style="border-bottom:1px solid green; border-left:1px solid green;" |پیغمبر
| style="border-bottom:1px solid green;" |اللہ (چھہ)
|-
| style="border-bottom:1px solid red; border-left:1px solid green;" |انگریزی لفظی (English)
| style="border-bottom:1px solid green; border-left:1px solid green;" | No
| style="border-bottom:1px solid green; border-left:1px solid green;" |god
| style="border-bottom:1px solid green; border-left:1px solid green;" |but
| style="border-bottom:1px solid green; border-left:1px solid green;" |God
| style="border-bottom:1px solid green; border-left:1px solid green;" |Muhammad
| style="border-bottom:1px solid green; border-left:1px solid green;" |messenger
| style="border-bottom:1px solid green;" |God
|-
| style="border-left:1px solid green;" background:#ffffff;" | انگریزی عبارتی (English)
| colspan="7" style="background:#ffffff;" | <font face="arial">There is no god but God; Muhammad is the messenger of God</font>
|-
|}
[[زٲژ:اِسلام]]
0u1u1flg44dcd91z5deuf3ae29riyjc
نؠماز
0
5002
62235
53233
2022-08-09T12:23:04Z
511KeV
8268
Add
wikitext
text/x-wiki
{{Databox}}
'''نؠماز''' (عربی : ''صلاة'') چھہ [[اِسلام]] مَنٛز اکھہ ستون۔
{{نامُکَمَل مَضموٗن}}
[[زٲژ:اِسلام]]
7n54s19vqbuwk4z9ss1olac5kfvqn7e
وِکیٖپیٖڈیا:چوک
4
5904
62237
62114
2022-08-09T13:08:49Z
511KeV
8268
Manual archiving
wikitext
text/x-wiki
__NEWSECTIONLINK__
__NOTOC__
<div style="border:1px #FFFFFF solid; overflow:auto;">
<h2 style="display: block; margin: 0; border: 0; padding: .4em .5em .2em; background-color: #d1e4ff; font-weight: bold; text-align: center;">
کٲشرِ وِکیٖپیٖڈیا چوکِ پؠٹھ خٲر مَقدَم۔
</h2> <!-- 3 line spacing of h2 is important for subsection edit links to work correctly, PLEASE DO NOT FIX -->
<div style="margin-top:2em; border:1px #FFFFFF solid; text-align:center;">
<h2 style="display: block; margin: 0; border: 0; padding: .4em .5em .2em; background-color: #d1e4ff; font-weight: bold;">
کَتھ بات
</h2> <!-- 3 line spacing of h2 is important for subsection edit links to work correctly, PLEASE DO NOT FIX -->
{| class="wikitable" style="margin-center:auto; margin-right:auto; margin-bottom:0;"
| style="width:20%; vertical-align:top; padding-top: .5em;" |[[File:WP teahouse logo.png|link=Wikipedia:Teahouse|center|x45px]]<big>'''[[Wikipedia: چائے جائے|چائے جائے]]'''</big><br />اکھ مِلَن سار جاے ییٚتِؠتھ تُہؠ ہیکو پَنٕنؠ سَوال پرٕژِھت
|}
{{اؠسَمبَلی|plain=yes|grey=yes|other=no|icon-size=x45px}}</div>
<div style="margin-top:2em; border:1px #FFFFFF solid; text-align:center;">
<h2 style="display: block; margin: 0 0 .75em; border: 0; padding: .4em .5em .2em; background-color: #d1e4ff; font-weight: bold;">
نٕو عَوامی پٲغام
</h2> <!-- 3 line spacing of h2 is important for subsection edit links to work correctly, PLEASE DO NOT FIX -->
<div style="margin-top:.01em; border:1px #FFFFFF solid; text-align:center;">
<h2 style="display: block; margin: 0 0 .75em; border: 0; padding: .4em .5em .2em; background-color: #d1e48f; font-weight: small;">
<center/>{{Auto-archive|archive_after_last_comment=7d|archive_to_subpage=مَحفوٗظ خانہٕ %2}}<center>
</h2> <!-- 3 line spacing of h2 is important for subsection edit links to work correctly, PLEASE DO NOT FIX -->
== Propose statements for the 2022 Election Compass ==
:''[[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Announcement/Propose statements for the 2022 Election Compass| You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Announcement/Propose statements for the 2022 Election Compass|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation elections/2022/Announcement/Propose statements for the 2022 Election Compass}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hi all,
Community members in the [[m:Special:MyLanguage/Wikimedia Foundation elections/2022|2022 Board of Trustees election]] are invited to [[m:Special:MyLanguage/Wikimedia_Foundation_elections/2022/Community_Voting/Election_Compass|propose statements to use in the Election Compass.]]
An Election Compass is a tool to help voters select the candidates that best align with their beliefs and views. The community members will propose statements for the candidates to answer using a Lickert scale (agree/neutral/disagree). The candidates’ answers to the statements will be loaded into the Election Compass tool. Voters will use the tool by entering in their answer to the statements (agree/disagree/neutral). The results will show the candidates that best align with the voter’s beliefs and views.
;Here is the timeline for the Election Compass:
* July 8 - 20: Community members propose statements for the Election Compass
* July 21 - 22: Elections Committee reviews statements for clarity and removes off-topic statements
* July 23 - August 1: Volunteers vote on the statements
* August 2 - 4: Elections Committee selects the top 15 statements
* August 5 - 12: candidates align themselves with the statements
* August 15: The Election Compass opens for voters to use to help guide their voting decision
The Elections Committee will select the top 15 statements at the beginning of August. The Elections Committee will oversee the process, supported by the Movement Strategy and Governance team. MSG will check that the questions are clear, there are no duplicates, no typos, and so on.
Best,
Movement Strategy and Governance
''This message was sent on behalf of the Board Selection Task Force and the Elections Committee''<br /><section end="announcement-content" />
[[User:MNadzikiewicz (WMF)|MNadzikiewicz (WMF)]] ([[User talk:MNadzikiewicz (WMF)|talk]]) 11:34, 14 جُلے 2022 (UTC)
<!-- Message sent by User:MNadzikiewicz (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery&oldid=23215441 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Movement Strategy and Governance News – Issue 7</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="msg-newsletter"/>
<div style = "line-height: 1.2">
<span style="font-size:200%;">'''Movement Strategy and Governance News'''</span><br>
<span style="font-size:120%; color:#404040;">'''Issue 7, July-September 2022'''</span><span style="font-size:120%; float:right;">[[m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/7|'''Read the full newsletter''']]</span>
----
Welcome to the 7th issue of Movement Strategy and Governance News! The newsletter distributes relevant news and events about the implementation of Wikimedia's [[:m:Special:MyLanguage/Movement Strategy/Initiatives|Movement Strategy recommendations]], other relevant topics regarding Movement governance, as well as different projects and activities supported by the Movement Strategy and Governance (MSG) team of the Wikimedia Foundation.
The MSG Newsletter is delivered quarterly, while the more frequent [[:m:Special:MyLanguage/Movement Strategy/Updates|Movement Strategy Weekly]] will be delivered weekly. Please remember to subscribe [[m:Special:MyLanguage/Global message delivery/Targets/MSG Newsletter Subscription|here]] if you would like to receive future issues of this newsletter.
</div><div style="margin-top:3px; padding:10px 10px 10px 20px; background:#fffff; border:2px solid #808080; border-radius:4px; font-size:100%;">
* '''Movement sustainability''': Wikimedia Foundation's annual sustainability report has been published. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/7#A1|continue reading]])
* '''Improving user experience''': recent improvements on the desktop interface for Wikimedia projects. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/7#A2|continue reading]])
* '''Safety and inclusion''': updates on the revision process of the Universal Code of Conduct Enforcement Guidelines. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/7#A3|continue reading]])
* '''Equity in decisionmaking''': reports from Hubs pilots conversations, recent progress from the Movement Charter Drafting Committee, and a new white paper for futures of participation in the Wikimedia movement. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/7#A4|continue reading]])
* '''Stakeholders coordination''': launch of a helpdesk for Affiliates and volunteer communities working on content partnership. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/7#A5|continue reading]])
* '''Leadership development''': updates on leadership projects by Wikimedia movement organizers in Brazil and Cape Verde. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/7#A6|continue reading]])
* '''Internal knowledge management''': launch of a new portal for technical documentation and community resources. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/7#A7|continue reading]])
* '''Innovate in free knowledge''': high-quality audiovisual resources for scientific experiments and a new toolkit to record oral transcripts. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/7#A8|continue reading]])
* '''Evaluate, iterate, and adapt''': results from the Equity Landscape project pilot ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/7#A9|continue reading]])
* '''Other news and updates''': a new forum to discuss Movement Strategy implementation, upcoming Wikimedia Foundation Board of Trustees election, a new podcast to discuss Movement Strategy, and change of personnel for the Foundation's Movement Strategy and Governance team. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/7#A10|continue reading]])
</div><section end="msg-newsletter"/>
</div>
Thank you for reading! [[User:RamzyM (WMF)|RamzyM (WMF)]] 01:37, 18 جُلے 2022 (UTC)
<!-- Message sent by User:RamzyM (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery&oldid=23529147 -->
== Announcing the six candidates for the 2022 Board of Trustees election ==
<section begin="announcement-content"/>
:''[[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Announcement/Announcing the six candidates for the 2022 Board of Trustees election| You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Announcement/Announcing the six candidates for the 2022 Board of Trustees election|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation elections/2022/Announcement/Announcing the six candidates for the 2022 Board of Trustees election}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hi everyone,
'''The Affiliate voting process has concluded.''' Representatives from each Affiliate organization learned about the candidates by reading candidates’ statements, reviewing candidates’ answers to questions, and considering the candidates’ ratings provided by the Analysis Committee. The selected 2022 Board of Trustees candidates are:
* Tobechukwu Precious Friday ([[:m:User:Tochiprecious|Tochiprecious]])
* Farah Jack Mustaklem ([[:m:User:Fjmustak|Fjmustak]])
* Shani Evenstein Sigalov ([[:m:User:Esh77|Esh77]])
* Kunal Mehta ([[:m:User:Legoktm|Legoktm]])
* Michał Buczyński ([[:m:User:Aegis Maelstrom|Aegis Maelstrom]])
* Mike Peel ([[:m:User:Mike Peel|Mike Peel]])
You may see more information about the [[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Results|Results]] and [[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Stats|Statistics]] of this Board election.
Please take a moment to appreciate the Affiliate Representatives and Analysis Committee members for taking part in this process and helping to grow the Board of Trustees in capacity and diversity. These hours of volunteer work connect us across understanding and perspective. Thank you for your participation.
Thank you to the community members who put themselves forward as candidates for the Board of Trustees. Considering joining the Board of Trustees is no small decision. The time and dedication candidates have shown to this point speaks to their commitment to this movement. Congratulations to those candidates who have been selected. A great amount of appreciation and gratitude for those candidates not selected. Please continue to share your leadership with Wikimedia.
Thank you to those who followed the Affiliate process for this Board election. You may review the results of the Affiliate selection process.
'''The next part of the Board election process is the community voting period.''' [[m:Special:MyLanguage/Wikimedia Foundation elections/2022#Timeline|You may view the Board election timeline here]]. To prepare for the community voting period, there are several things community members can engage with in the following ways:
* [[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Candidates|Read candidates’ statements]] and read the candidates’ answers to the questions posed by the Affiliate Representatives.
* [[m:Special:MyLanguage/Wikimedia_Foundation_elections/2022/Community_Voting/Questions_for_Candidates|Propose and select the 6 questions for candidates to answer during their video Q&A]].
* See the [[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Candidates|Analysis Committee’s ratings of candidates on each candidate’s statement]].
* [[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Community Voting/Election Compass|Propose statements for the Election Compass]] voters can use to find which candidates best fit their principles.
* Encourage others in your community to take part in the election.
Best,
Movement Strategy and Governance
''This message was sent on behalf of the Board Selection Task Force and the Elections Committee''
</div><section end="announcement-content"/>
[[User:MNadzikiewicz (WMF)|MNadzikiewicz (WMF)]] 14:03, 27 جُلے 2022 (UTC)
<!-- Message sent by User:MNadzikiewicz (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery&oldid=23530132 -->
== Vote for Election Compass Statements ==
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Announcement/Vote for Election Compass Statements| You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation elections/2022/Announcement/Vote for Election Compass Statements|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation elections/2022/Announcement/Vote for Election Compass Statements}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hi all,
Volunteers in the [[m:Special:MyLanguage/Wikimedia Foundation elections/2022|2022 Board of Trustees election]] are invited to [[m:Special:MyLanguage/Wikimedia_Foundation_elections/2022/Community_Voting/Election_Compass/Statements|vote for statements to use in the Election Compass]]. You can vote for the statements you would like to see included in the Election Compass on Meta-wiki.
An Election Compass is a tool to help voters select the candidates that best align with their beliefs and views. The community members will propose statements for the candidates to answer using a Lickert scale (agree/neutral/disagree). The candidates’ answers to the statements will be loaded into the Election Compass tool. Voters will use the tool by entering in their answer to the statements (agree/disagree/neutral). The results will show the candidates that best align with the voter’s beliefs and views.
Here is the timeline for the Election Compass:
*<s>July 8 - 20: Volunteers propose statements for the Election Compass</s>
*<s>July 21 - 22: Elections Committee reviews statements for clarity and removes off-topic statements</s>
*July 23 - August 1: Volunteers vote on the statements
*August 2 - 4: Elections Committee selects the top 15 statements
*August 5 - 12: candidates align themselves with the statements
*August 15: The Election Compass opens for voters to use to help guide their voting decision
The Elections Committee will select the top 15 statements at the beginning of August
Best,
Movement Strategy and Governance
''This message was sent on behalf of the Board Selection Task Force and the Elections Committee''
</div><section end="announcement-content" />
[[User:MNadzikiewicz (WMF)|MNadzikiewicz (WMF)]] 21:01, 27 جُلے 2022 (UTC)
<!-- Message sent by User:MNadzikiewicz (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery&oldid=23530132 -->
ewy0tcgnb5nsqvmelzm1w5yacgyb968
سید جواد نقوی
0
6332
62276
53676
2022-08-10T06:09:09Z
Suhayl091
9370
created space between two words
wikitext
text/x-wiki
[[فَیِل:Syed Jawad Naqvi.jpg|thumb|آغا سید جواد نقوی]]
'''علامہ سید جواد نقوی''' چھےٚ اَکھ [[پٲکِستان|پاکستانی]] [[اصولی (اہل تشیع)|اصولی]] [[شیعہ]] عالمہ دین تہ فلاسفر۔ تم چھ 1952عیسویس مَنٛز ضلع ہری پور، خیبر پختونخوا، پاکستانکس ایکس گامس ٹھپرہ سیداں مَنٛز زامتی۔
==جواد نقوی صابنی خدمات==
یم اسلام نابچ اشاعت چھےٚ کران۔ یم چھ بانی تہ سربراہ جامع عروة الوثقی تہ جامع ام الکتاب۔ [[راہ اسلام تنظیمہ]] چھ یمن ''''''خطیب انقلاب'''''' لقب دوتموت۔ تم چھےٚ پنیو تقریرو ذریہ شیعہ سنی اتحاد، ولایت فقیہ تہ اسلامی انقلاب عام کران۔ تم چھ ماہنامہ [[مشرب ناب|مشرب نامکی]] مدیر تہ۔ <ref>https://www.islamimarkaz.com {{Webarchive|url=https://web.archive.org/web/20160917160913/http://www.islamimarkaz.com/ |date=2016-09-17 }}</ref>
==امہ سنز مشہور کتابہ==
سید جواد نقوی صابن چھےٚ واریاہ کتابہ اردو تہ انگریزی پاٹھی لیشمژ۔
* '''حسین علیہ السلام وارث انبیاء'''
* '''وحدت امت کا فراموش رکن'''
* '''حماسہ حسینی ع'''
* '''اقدار عاشورہ'''
* '''سر مشق فاطمیؑ '''
* '''فتنہ آخر زمان'''
* '''قرآن فہمی'''
* '''مقصد قیام امام حسینؑ'''
* '''خصائص حسینیؑ'''
* '''کوفہ اور کوفی'''
* '''رسوماتی حسینیت و مکتبی حسینیت'''
==امہ سنز باقے کتابہ==
* فلسفہ عزاداری
*فلسفہ تحریک کربلا
* حسین چراغ ہدایت
* پیغام عاشورہ
* حرارت القلوب
* کرامت و شرف حسینی
* عہد الہی و میثاق ربوبی
* عاشورہ از نظر خمینی
* حالت امت بعد از پیغمبر
* کربلا کی عبرتیں
* کردار زینبی
* لوگ دنیا کے بندے
* وحدت پیغام کربلا
* ہم حسین و غم حسین
* اسلامی بیداری و پیغام عاشورہ
* عقیدت و حقیقت عزاداری
* مفہوم لبیک یا حسین
* غم حسین
* کربلا عقیدت سے حقیقت تک
* کربلا منشور دفاع حق
* کربلا حقیقی و کربلا خیالی
* کل یوم عاشورا کل ارض کربلا
* مجلس عزا اہمیت و مقصد
* عزاداری عالمی تحریک بیداری
* کربلا قرآن کی تفسیر
* عزاداری عشق حسینی
* تحریک امام حسین از مدینہ تا کربلا
* سیاست کوفی و امامت حسینی
* امت کی تاریخی موت
* فلسفہ قیام امام حسین
* مکتب عاشورہ کی نگاہ میں نفرت آنگیز نظریے و راستے
* اسرار شب عاشور
* اقتدار پرستی در مقابل اقدار پرستی
* یزید کی بیعت کا انکار
* کربلا کے قرآنی اصول
* تفسیر زیارت عاشورہ
* قیام امام حسین کا مکی مرحلہ (1,2,3,4)
* امر بالمعروف نظام اصلاح امت
* کربلا میں خواص کا کردار
* قافلہ حجاز میں اک حسین بھی نہیں
* عاشورہ با عنوان مکتب
* کربلا حق و باطل میں جدائی کا راستہ
* امت کی امامت فراموشی اور کربلا میں احیا امامت
* حامیان دین و حاملان دین
* اہل بصرہ کے نام خط
* اہل کوفہ کے نام خط
* شعار حسینی
* کربلا آگاہانہ و اختیاری رستہ
* دشمن شناسی از نظر قرآن و عاشورہ
* عاشورہ نہضت قیام و بیداری
* کربلا اتمام حجت
* کربلا ہر دور کی مشکل کا حل
* دنیا پرستی اور اس کے نتائج
* سر کربلا از نظر علامہ اقبال
* خواص کا کردار قیام امام حسین کا مکی مرحلہ
* خوشنودی خلق معصیت خالق
* قیام امام حسین میں بنی ہاشم کا کردار<ref>Raheislam monthly magazine vol. 26 page 42</ref>
==حوالہ==
{{Uncategorized|date=اَگست ٢٠٢١}}
8gqfvadu908ijouxj6o0ogb69aowdqs
شیخ عباس قمی
0
6359
62278
59957
2022-08-10T07:36:19Z
511KeV
8268
Add
wikitext
text/x-wiki
{{Databox}}
'''شیخ عباس قمی''' یا '''محمد عباس قمی''' (پیدائش: 1875ء— وفات: 21 جنوری 1941ء) چھِ [[شیعہ|شیعین]] ہندی معروف عالم دین تہ مَشہوٗر محدث۔ یمن اوس اصلی نام محمد عباس قمی۔ مگر شہرت لبخ عباس قمی ناوِ کنی۔ شیخ عباس قمی زاے قمس مَنٛز تہ کورکھ 21 جنوری 1941عیسویس مَنٛز نجف اشرفس مَنٛز وفات۔ <ref name="Rahnema2015">{{cite book|author=Professor Ali Rahnema|title=Shi'i Reformation in Iran: The Life and Theology of Shari’at Sangelaji|url=https://books.google.com/books?id=hObBCAAAQBAJ&pg=PA126|date=28 May 2015|publisher=Ashgate Publishing, Ltd.|isbn=978-1-4724-3416-6|page=126}}</ref><ref name="ii" />
==علمی کارنامہِ==
یم آسی واریاہ نیک تہ عبادتھ گزار۔ لوکن ہنزی خدمتھ تہ آسی کران روزان۔ کتابہ تہ آسی لیکھان روزان۔ اہنز [[ژودہ معصوم|معصومین علیہم السلامن]] ہنزی منقول دعاہن ہنز مَشہوٗر کتاب چھےٚ [[مفاتیح الجنان]]۔ یہِ کتاب چھےٚ پرتھ [[شیعہ]] گھرس مَنٛز آسان۔
== امہ سنز کتابہ ==
یمو چھےٚ واریاہ تقریبا 51 کتابہ لیچھمژ، اَمہِ سنزی مَشہوٗر کتابہ چھےٚ یم:
* منتہی الآمال فی تواریخ النبی و الآل (کتاب)
* [[مفاتیح الجنان]]
* [[منازل الاخرة]]
* نفس المہموم
* سفینة البحار
==حوالہ==
[[زٲژ:لوٗکھ]]
[[زٲژ:1875 پٲدٲیِش]]
ip0pnqzwq386253kgfjhzsyjz1t6lqg
وِکیٖپیٖڈیا:چوک/مَحفوٗظ خانہٕ 2
4
6501
62238
56451
2022-08-09T13:10:17Z
511KeV
8268
Archived
wikitext
text/x-wiki
{{Aan}}
== Page Previews (Hovercards) update ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
Hello,
A quick update on the progress of enabling [[mw:Hovercards|Page Previews]] (previously named Hovercards) on this project. Page Previews provide a preview of any linked article, giving readers a quick understanding of a related article without leaving the current page. As mentioned in December we're preparing to remove the feature from Beta and make it the default behavior for logged-out users. We have recently made a large update to the code which fixes most outstanding bugs.
Due to some issues with our instrumentation, we delayed our deployment by a few months. We are finally ready to deploy the feature. Page Previews will be off by default and available in the user preferences page for logged-in users the week of July 24th. The feature will be on by default for current beta users and logged-out users. If you would like to preview the feature, you can enable it as a [[Special:Preferences#mw-prefsection-betafeatures|beta feature]]. For more information see [[mw:Hovercards|Page Previews]]. Questions can be left [[mw:Talk:Beta_Features/Hovercards|on the talk page]] in your preferred language.
Thank you again.
</div>[[m:User:CKoerner (WMF)|CKoerner (WMF)]] ([[m:User talk:CKoerner (WMF)|talk]]) ٢٢:٣٢, ٢٠ جولائی ٢٠١٧ (UTC)
<!-- Message sent by User:CKoerner (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:CKoerner_(WMF)/Enable_Hovercards/Reminder/Distribution_list&oldid=17019707 -->
{{Clear}}
== Improved search in deleted pages archive ==
{{int:please-translate}}
During Wikimedia Hackathon 2016, the [[mw:Wikimedia_Discovery|Discovery]] team [https://phabricator.wikimedia.org/T109561 worked] on one of the items on the 2015 community wishlist, namely [[m:2015_Community_Wishlist_Survey/Search#Provide_a_means_of_searching_for_deleted_pages|enabling searching the archive of deleted pages]]. This feature is now ready for production deployment, and will be enabled on all wikis, except Wikidata.
Right now, the feature is behind a feature flag - to use it on your wiki, please go to the <code>Special:Undelete</code> page, and add <code>&fuzzy=1</code> to the URL, like this: https://test.wikipedia.org/w/index.php?title=Special%3AUndelete&fuzzy=1. Then search for the pages you're interested in. There should be more results than before, due to using ElasticSearch indexing (via the CirrusSearch extension).
We plan to enable this improved search by default on all wikis soon (around August 1, 2017). If you have any objections to this - please raise them with the Discovery team via [http://mailto:discovery@lists.wikimedia.org email] or on this announcement's discussion page. Like most Mediawiki configuration parameters, the functionality can be configured per wiki.
Once the improved search becomes the default, you can still access the old mode using <code>&fuzzy=0</code> in the URL, like this: https://test.wikipedia.org/w/index.php?title=Special%3AUndelete&fuzzy=0
Please note that since Special:Undelete is an admin-only feature, this search capability is also only accessible to wiki admins.
{{Int:Feedback-thanks-title}} [[m:User:CKoerner (WMF)|CKoerner (WMF)]] ([[m:User talk:CKoerner (WMF)|talk]]) ١٨:٤٠, ٢٥ جولائی ٢٠١٧ (UTC)
<!-- Message sent by User:CKoerner (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:CKoerner_(WMF)/Archive_search_announce/Distribution_list&oldid=17036927 -->
{{Clear}}
== RfC regarding "Interlinking of accounts involved with paid editing to decrease impersonation" ==
There is currently a RfC open on Meta regarding "[https://meta.wikimedia.org/wiki/Requests_for_comment/Interlinking_of_accounts_involved_with_paid_editing_to_decrease_impersonation requiring those involved with paid editing on Wikipedia to link on their user page to all other active accounts through which they advertise paid Wikipedia editing business.]"
Note this is to apply to Wikipedia and not necessarily other sister projects, this is only to apply to websites where people are specifically advertising that they will edit Wikipedia for pay and not any other personal, professional, or social media accounts a person may have.
[https://meta.wikimedia.org/wiki/Requests_for_comment/Interlinking_of_accounts_involved_with_paid_editing_to_decrease_impersonation Please comment on meta]. Thanks. Send on behalf of [[User:Doc James]].
[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|talk]]) ٢١:٠٦, ١٧ سیٚپٹَمبَر ٢٠١٧ (UTC)
<!-- Message sent by User:Doc James@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery/Wikipedias&oldid=17234819 -->
{{Clear}}
== Discussion on synced reading lists ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
'''Discussion on synced reading lists'''
Hello,
[[File:Illustration of Reading List feature on Android Wikipedia App (not logged in).png|thumb]] The Reading Infrastructure team at the Wikimedia Foundation is developing a cross-platform reading list service for the mobile Wikipedia app. Reading lists are like bookmark folders in your web browser. They allow readers using the Wikipedia app to bookmark pages into folders to read later. This includes reading offline. Reading lists do not create or alter content in any way.
To create Reading Lists, app users will register an account and marked pages will be tied to that account. Reading List account preferences sync between devices. You can read the same pages on different mobile platforms (tablets, phones). This is the first time we are syncing preference data between devices in such a way. We want to hear and address concerns about privacy and data security. We also want to explain why the current watchlist system is not being adapted for this purpose.
=== Background ===
In 2016 the Android team replaced the simple Saved Pages feature with Reading Lists. Reading Lists allow users to bookmark pages into folders and for reading offline. The intent of this feature was to allow "syncing" of these lists for users with many devices. Due to overlap with the Gather feature and related community concerns, this part was put on hold.
The Android team has identified this lack of synching as a major area of complaint from users. They expect lists to sync. The iOS team has held off implementing Reading Lists, as syncing was seen as a "must have" for this feature. A recent [https://phabricator.wikimedia.org/T164990 technical RfC] has allowed these user stories and needs to be unblocked. Initially for Android, then iOS, and with web to potentially follow.
Reading lists are private, stored as part of a user's account, not as a public wiki page. There is no sharing or publishing ability for reading lists. No planned work to make these public. The target audience are people that read Wikipedia and want to bookmark and organize that content in the app. There is a potential for the feature to be available on the web in the future.
=== Why not watchlists ===
Watchlists offer similar functionality to Reading Lists. The Reading Infrastructure team evaluated watchlist infrastructure before exploring other options. In general, the needs of watchlists differ from Reading Lists in a few key ways:
* Reading lists focus on Reading articles, not the monitoring of changes.
* Watchlists are focused on monitoring changes of pages/revisions.
** The Watchlist infrastructure is key to our contributor community for monitoring content changes manually and through the use of automated tools (bots). Because of these needs, expanding the scope of Watchlists to reading purposes will only make the project harder to maintain and add more constraints.
* By keeping the projects separate it is easier to scale resources. We can serve these two different audiences and prioritize the work accordingly. Reading Lists are, by their nature, less critical to the health of Wikipedia/MediaWiki.
* Multi-project support. Reading Lists are by design cross-wiki/project. Watchlists are tied to specific wikis. While there have been many discussion for making them cross-wiki, resolution is not in the near term.
[[mw:Wikimedia Apps/Synced Reading Lists|More information can be found on MediaWiki.org]] where feedback and ideas are welcome.
Thank you
</div> [[m:User:CKoerner (WMF)|CKoerner (WMF)]] ([[m:User talk:CKoerner (WMF)|talk]]) ٢٠:٣٥, ٢٠ سیٚپٹَمبَر ٢٠١٧ (UTC)
<!-- Message sent by User:CKoerner (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery/Wikipedia&oldid=16981815 -->
{{Clear}}
== Changes to the global ban policy ==
<div lang="en" dir="ltr" class="mw-content-ltr">Hello. Some changes to the [[m:Global bans|community global ban policy]] have been proposed. Your comments are welcome at [[:m:Requests for comment/Improvement of global ban policy]]. Please translate this message to your language, if needed. Cordially. [[:m:User:Matiia|Matiia]] ([[:m:User talk:Matiia|Matiia]]) ٠٠:٣٤, ١٢ نَوَمبَر ٢٠١٧ (UTC)</div>
<!-- Message sent by User:Matiia@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=17241561 -->
{{Clear}}
== New print to pdf feature for mobile web readers ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
'''New print to pdf feature for mobile web readers'''
The Readers web team will be deploying a new feature this week to make it [[mw:Reading/Web/Projects/Mobile_PDFs|easier to download PDF versions of articles on the mobile website]].
Providing better offline functionality was one of the highlighted areas from [[m:New_Readers/Offline|the research done by the New Readers team in Mexico, Nigeria, and India]]. The teams created a prototype for mobile PDFs which was evaluated by user research and community feedback. The [[m:New_Readers/Offline#Concept_testing_for_mobile_web|prototype evaluation]] received positive feedback and results, so development continued.
For the initial deployment, the feature will be available to Google Chrome browsers on Android. Support for other mobile browsers to come in the future. For Chrome, the feature will use the native Android print functionality. Users can choose to download a webpage as a PDF. [[mw:Reading/Web/Projects/Print_Styles#Mobile_Printing|Mobile print styles]] will be used for these PDFs to ensure optimal readability for smaller screens.
The feature is available starting Wednesday, Nov 15. For more information, see [[mw:Reading/Web/Projects/Mobile_PDFs|the project page on MediaWiki.org]].
{{Int:Feedback-thanks-title}}
</div> [[m:User:CKoerner (WMF)|CKoerner (WMF)]] ([[m:User talk:CKoerner (WMF)|talk]]) ٢٢:٠٧, ٢٠ نَوَمبَر ٢٠١٧ (UTC)
<!-- Message sent by User:CKoerner (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:CKoerner_(WMF)/Mobile_PDF_distribution_list&oldid=17448927 -->
{{Clear}}
== Call for Wikimania 2018 Scholarships ==
Hi all,
We wanted to inform you that scholarship applications for [[:wm2018:Wikimania 2018|Wikimania 2018]] which is being held in Cape Town, South Africa on July 18–22, 2018 are now being accepted. '''Applications are open until Monday, 22 January 2018 23:59 UTC.'''
Applicants will be able to apply for a partial or full scholarship. A full scholarship will cover the cost of an individual's round-trip travel, shared accommodation, and conference registration fees as arranged by the Wikimedia Foundation. A partial scholarship will cover conference registration fees and shared accommodation. Applicants will be rated using a pre-determined selection process and selection criteria established by the Scholarship Committee and the Wikimedia Foundation, who will determine which applications are successful. To learn more about Wikimania 2018 scholarships, please visit: [[:wm2018:Scholarships]].
To apply for a scholarship, fill out the multi-language application form on: '''https://scholarships.wikimedia.org/apply'''
It is highly recommended that applicants review all the material on the Scholarships page and [[:wm2018:Scholarships/FAQ|the associated FAQ]] before submitting an application. If you have any questions, please contact: wikimania-scholarships at wikimedia.org or leave a message at: [[:wm2018:Talk:Scholarships]]. Please help us spread the word and translate pages!
Best regards, [[:m:User:Slashme|David Richfield]] and [[:m:DerHexer|Martin Rulsch]] for the [[:wm2018:Scholarship Committee|Scholarship Committee]] ١٩:٢٤, ٢٠ ڈیٚسَمبَر ٢٠١٧ (UTC)
<!-- Message sent by User:DerHexer@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_Wikipedia_delivery&oldid=17300722 -->
{{Clear}}
== User group for Military Historians ==
Greetings,
"Military history" is one of the most important subjects when speak of sum of all human knowledge. To support contributors interested in the area over various language Wikipedias, we intend to form a user group. It also provides a platform to share the best practices between military historians, and various military related projects on Wikipedias. An initial discussion was has been done between the coordinators and members of WikiProject Military History on English Wikipedia. Now this discussion has been taken to Meta-Wiki. Contributors intrested in the area of military history are requested to share their feedback and give suggestions at [[:m:Talk:Discussion to incubate a user group for Wikipedia Military Historians|Talk:Discussion to incubate a user group for Wikipedia Military Historians]].
[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|talk]]) ١٠:٤٦, ٢١ ڈیٚسَمبَر ٢٠١٧ (UTC)
<!-- Message sent by User:Krishna Chaitanya Velaga@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_Wikipedia_delivery&oldid=17565441 -->
{{Clear}}
== Editing News #1—2018 ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
''[[m:VisualEditor/Newsletter/2018/February|Read this in another language]] • [[m:VisualEditor/Newsletter|Subscription list for this multilingual newsletter]]''
<div style="float:right;width:270px;margin-left:1em;border-style:solid;border-width:1px;padding:1em;">
[[File:VisualEditor-logo.svg|200px|center]]
'''Did you know?'''<div class="thumbcaption" style="font-size: 90%;">
Did you know that you can now use the [[mw:Special:MyLanguage/VisualEditor/Diffs|visual diff tool]] on any page?
[[File:Wikitext diff paragraph move correcting vandalism 2018.png|alt=Screenshot showing some changes, in the two-column wikitext diff display|center|frameless|250px]]
Sometimes, it is hard to see important changes in a wikitext diff. This screenshot of a wikitext diff (click to enlarge) shows that the paragraphs have been rearranged, but it does not highlight the removal of a word or the addition of a new sentence.
If you [[Special:Preferences#mw-prefsection-betafeatures|enable the Beta Feature]] for "{{Int:visualeditor-preference-visualdiffpage-label}}", you will have a new option. It will give you a new box at the top of every diff page. This box will let you choose either diff system on any edit.
[[File:VisualEditor visual diff tool - toggle button.png|alt=Toggle button showing visual and wikitext options; visual option is selected|center|frameless|200px]]
Click the toggle button to switch between visual and wikitext diffs.
In the visual diff, additions, removals, new links, and formatting changes will be highlighted. Other changes, such as changing the size of an image, are described in notes on the side.
[[File:Visual diff paragraph move correcting vandalism 2018.png|alt=Screenshot showing the same changes to an article. Most changes are highlighted with text formatting.|center|frameless|250px]]
This screenshot shows the same edit as the wikitext diff. The visual diff highlights the removal of one word and the addition of a new sentence.
You can read and help translate [[mw:Special:MyLanguage/Help:VisualEditor/User guide|the user guide]], which has more information about how to use the visual editor.
</div></div>
Since [[m:VisualEditor/Newsletter/2017/May|the last newsletter]], the [[mw:Editing|Editing Team]] has spent most of their time supporting [[mw:2017 wikitext editor|the 2017 wikitext editor mode]], which is available inside the visual editor as a Beta Feature, and improving [[mw:VisualEditor/Diffs|the visual diff tool]]. Their work board is available [[phab:project/view/3236/|in Phabricator]]. You can find links to the work finished each week at [[mw:VisualEditor/Weekly triage meetings]]. Their [[mw:Editing team/Current priorities|current priorities]] are fixing bugs, supporting the 2017 wikitext editor, and improving the visual diff tool.
===Recent changes===
*The '''[[mw:2017 wikitext editor|2017 wikitext editor]]''' is [[Special:Preferences#mw-prefsection-betafeatures|available as a Beta Feature]] on desktop devices. It has the same toolbar as the visual editor and can use the citoid service and other modern tools. The team have been comparing the performance of different editing environments. They have studied how long it takes to open the page and start typing. The study uses data for more than one million edits during December and January. Some changes have been made to improve the speed of the 2017 wikitext editor and the visual editor. Recently, the 2017 wikitext editor opened fastest for most edits, and the 2010 WikiEditor was fastest for some edits. More information will be posted at [[mw:Contributors/Projects/Editing performance]].
*The '''[[mw:VisualEditor/Diffs|visual diff tool]]''' was developed for the visual editor. It is now available to all users of the visual editor and the 2017 wikitext editor. When you review your changes, you can toggle between wikitext and visual diffs. You can also [[Special:Preferences#mw-prefsection-betafeatures|enable the new Beta Feature]] for "Visual diffs". The Beta Feature lets you use the visual diff tool to view other people's edits on page histories and [[Special:RecentChanges]]. [https://phabricator.wikimedia.org/T167508]
*[[mw:Special:MyLanguage/Extension:CodeMirror|'''Wikitext syntax highlighting''']] is available as a Beta Feature for both [[mw:2017 wikitext editor|the 2017 wikitext editor]] and the 2010 wikitext editor. [https://phabricator.wikimedia.org/T101246]
*The [[mw:Citoid|citoid service]] automatically translates URLs, DOIs, ISBNs, and PubMed id numbers into wikitext citation templates. It is very popular and useful to editors, although it can be a bit tricky to set up. <mark>Your wiki can have this service. Please [[mw:Special:MyLanguage/Citoid/Enabling Citoid on your wiki|read the instructions]]. You can [[phab:T127354|ask the team to help you enable citoid at your wiki]]</mark>.
===Let's work together===
*The team will talk about editing tools at an upcoming [[m:Wikimedia Foundation metrics and activities meetings|Wikimedia Foundation metrics and activities meeting]].
*Wikibooks, Wikiversity, and other communities may have the visual editor made available by default to contributors. If your community wants this, then please contact [[mw:User talk:Deskana (WMF)|Dan Garry]].
*The <code><nowiki><references /></nowiki></code> block can [[mw:Special:MyLanguage/Contributors/Projects/Columns for references|automatically display long lists of references in columns]] on wide screens. This makes footnotes easier to read. You can [https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?projects=Cite,VisualEditor,Wikimedia-Site-requests&title=Convert%20reference%20lists%20over%20to%20`responsive`%20on%20XXwiki&priority=10&parent=159895 '''request multi-column support'''] for your wiki. [https://phabricator.wikimedia.org/T33597]
*If you aren't reading this in your preferred language, then please help us with translations! Subscribe to the [[mail:translators-l|Translators mailing list]] or [https://meta.wikimedia.org/w/index.php?title=User_talk:Elitre_(WMF)&action=edit§ion=new contact us] directly. We will notify you when the next issue is ready for translation. {{Int:Feedback-thanks-title}}
—[[mw:User:Elitre (WMF)|Elitre (WMF)]]
</div> ٢٠:٥٦, ٢ مارچ ٢٠١٨ (UTC)
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=VisualEditor/Newsletter/Wikis_with_VE&oldid=17790200 -->
{{Clear}}
== Galicia 15 - 15 Challenge ==
<center>[[File:Mapa de Galiza con bandeira.svg|100px]]</center>
'''[[:w:en:Wikipedia:Galicia 15 - 15 Challenge|Wikipedia:Galicia 15 - 15 Challenge]]''' is a public writing competition which will improve improve and translate this list of 15 really important articles into as many languages as possible. Everybody can help in any language to collaborate on writing and/or translating articles related to Galicia. To participate you just need to sign up [[:en:Wikipedia:Galicia 15 - 15 Challenge/Participants|here]]. Thank you very much.--[[رُکُن:Breogan2008|Breogan2008]] ([[رُکُن بَحَژ:Breogan2008|talk]]) ١٤:١٥, ١٢ مارچ ٢٠١٨ (UTC)
{{Clear}}
== Time to bring embedded maps (‘mapframe’) to most Wikipedias ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
'''Time to bring embedded maps (‘mapframe’) to most Wikipedias'''
{{int:please-translate}}
[[mw:Special:MyLanguage/Help:Extension:Kartographer|Mapframe]] is a feature that enables users to easily display interactive maps right on wiki pages. Currently, most Wikipedias don’t have mapframe. But [[mw:Special:MyLanguage/Maps#Milestones_and_Updates|fifteen Wikipedias]], along with all the other Wikimedia projects, are using mapframe today to display maps on thousands of pages.
A little background: over the last few months, the Foundation’s [[mw:Collaboration|Collaboration team]] has been working to improve the stability and user experience of the maps service. In addition, a question about long-term support for the maps service was recently settled, and a small team has been assigned for routine maintenance. Given these developments, bringing the benefits of mapframe to Wikipedias that lack the feature seems both safe and supportable. [[phab:T191583|Nine Wikipedias]] that use a stricter version of Flagged Revisions will not get mapframe in this release.
Maps are a valuable form of visual data that can improve readers’ understanding across a wide range of topics. If you know of any reasons why mapframe shouldn’t be implemented on your Wikipedia, let us know [[mw:Talk:Map_improvements_2018|on the project talk page]]. Unless we hear from you, we plan to release mapframe to most Wikipedias in May, 2018. So, if you foresee an issue, please let us hear from you. Otherwise, happy mapping!
</div> [[m:User:CKoerner (WMF)|CKoerner (WMF)]] ([[m:User talk:CKoerner (WMF)|talk]]) ٢١:٣٨, ٢٤ اپریٖل ٢٠١٨ (UTC)
<!-- Message sent by User:CKoerner (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:JMatazzoni_(WMF)/mapframe-to-all-wikipedias-notice/distribution_list&oldid=17969222 -->
{{Clear}}
== AdvancedSearch ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
From May 8, [[mw:Special:MyLanguage/Help:Extension:AdvancedSearch|AdvancedSearch]] will be available as a [[mw:Special:MyLanguage/Beta Features|beta feature]] in your wiki. The feature enhances the [[Special:Search|search page]] through an advanced parameters form and aims to make [[m:WMDE_Technical_Wishes/AdvancedSearch/Functional_scope|existing search options]] more visible and accessible for everyone. AdvancedSearch is a project by [[m:WMDE Technical Wishes/AdvancedSearch|WMDE Technical Wishes]]. Everyone is invited to test the feature and we hope that it will serve you well in your work! </div> [[m:User:Birgit Müller (WMDE)|Birgit Müller (WMDE)]] ١٤:٥٣, ٧ مٔی ٢٠١٨ (UTC)
<!-- Message sent by User:Birgit Müller (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=WMDE_Technical_Wishes/Technical_Wishes_News_list_2&oldid=17995461 -->
{{Clear}}
== New Wikipedia Library Accounts Available Now (May 2018) ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Hello Wikimedians!
[[File:Wikipedia_Library_owl.svg|thumb|upright|The TWL OWL says sign up today!]]
[[m:The Wikipedia Library|The Wikipedia Library]] is announcing signups today for free, full-access, accounts to research and tools as part of our [[m:The_Wikipedia_Library/Journals|Publisher Donation Program]]. You can sign up for new accounts and research materials on the [https://wikipedialibrary.wmflabs.org/ Library Card platform]:
* '''[https://wikipedialibrary.wmflabs.org/partners/69/ Rock's Backpages]''' – Music articles and interviews from the 1950s onwards - 50 accounts
* '''[https://wikipedialibrary.wmflabs.org/partners/68/ Invaluable]''' – Database of more than 50 million auctions and over 500,000 artists - 15 accounts
* '''[https://wikipedialibrary.wmflabs.org/partners/70/ Termsoup]''' – Translation tool
'''Expansions'''
* '''[https://wikipedialibrary.wmflabs.org/partners/43/ Fold3]''' – Available content has more than doubled, now including new military collections from the UK, Australia, and New Zealand.
* '''[https://wikipedialibrary.wmflabs.org/partners/52/ Oxford University Press]''' – The Scholarship collection now includes [http://www.e-enlightenment.com/ Electronic Enlightenment]
* '''[https://wikipedialibrary.wmflabs.org/partners/60/ Alexander Street Press]''' – [https://alexanderstreet.com/products/women-and-social-movements-library Women and Social Movements Library] now available
* '''[https://wikipedialibrary.wmflabs.org/partners/58/ Cambridge University Press]''' – [http://orlando.cambridge.org/ Orlando Collection] now available
Many other partnerships with accounts available are listed on [https://wikipedialibrary.wmflabs.org/partners/ our partners page], including [https://wikipedialibrary.wmflabs.org/partners/47/ Baylor University Press], [https://wikipedialibrary.wmflabs.org/partners/41/ Loeb Classical Library], [https://wikipedialibrary.wmflabs.org/partners/46/ Cairn], [https://wikipedialibrary.wmflabs.org/partners/55/ Gale] and [https://wikipedialibrary.wmflabs.org/partners/61/ Bloomsbury].
Do better research and help expand the use of high quality references across Wikipedia projects: sign up today!
<br>--[[w:en:Wikipedia:TWL/Coordinators|The Wikipedia Library Team]] ١٨:٠٣, ٣٠ مٔی ٢٠١٨ (UTC)
:''You can host and coordinate signups for a Wikipedia Library branch in your own language. Please contact [[m:User:Ocaasi_(WMF)|Ocaasi (WMF)]].''<br>
:<small>This message was delivered via the [https://meta.wikimedia.org/wiki/MassMessage#Global_message_delivery Global Mass Message] tool to [https://meta.wikimedia.org/wiki/Global_message_delivery/Targets/Wikipedia_Library The Wikipedia Library Global Delivery List].</small>
</div>
<!-- Message sent by User:Samwalton9@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/Wikipedia_Library&oldid=18064061 -->
{{Clear}}
== Update on page issues on mobile web ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
'''Update on page issues on mobile web'''
{{int:please-translate}}
Hi everyone. The [[mw:Reading/Web/Team|Readers web team]] has recently begun working on exposing issue templates on the mobile website. Currently, details about issues with page content are generally hidden on the mobile website. This leaves readers unaware of the reliability of the pages they are reading. The goal of this project is to improve awareness of particular issues within an article on the mobile web. We will do this by changing the visual styling of page issues.
So far, we have [[mw:Reading/Web/Projects/Mobile Page Issues|drafted a proposal on the design and implementation]] of the project. We were also able to run [[mw:Reading/Web/Projects/Mobile Page Issues/Research Results|user testing on the proposed designs]]. The tests so far have positive results. Here is a quick summary of what we learned:
* The new treatment increases awareness of page issues among participants. This is true particularly when they are in a more evaluative/critical mode.
* Page issues make sense to readers and they understand how they work
* Readers care about page issues and consider them important
* Readers had overwhelmingly positive sentiments towards Wikipedia associated with learning about page issues
Our next step would be to start implementing these changes. We wanted to reach out to you for any concerns, thoughts, and suggestions you might have before beginning development. Please [[mw:Reading/Web/Projects/Mobile Page Issues|visit the project page]] where we have more information and mockups of how this may look. Please [[mw:Talk:Reading/Web/Projects/Mobile Page Issues|leave feedback on the talk page]].
</div> [[m:User:CKoerner (WMF)|CKoerner (WMF)]] ([[m:User talk:CKoerner (WMF)|talk]]) ٢٠:٥٨, ١٢ جوٗن ٢٠١٨ (UTC)
<!-- Message sent by User:CKoerner (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:CKoerner_(WMF)/Sandbox&oldid=18120916 -->
== Global preferences are available ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
Global preferences are now available, you can set them by visiting your new [[Special:GlobalPreferences|global preferences page]]. Visit [[mw:Help:Extension:GlobalPreferences|mediawiki.org for information on how to use them]] and [[mw:Help talk:Extension:GlobalPreferences|leave feedback]]. -- [[User:Keegan (WMF)|Keegan (WMF)]] ([[m:User talk:Keegan (WMF)|talk]])
</div> ١٩:١٩, ١٠ جولائی ٢٠١٨ (UTC)
<!-- Message sent by User:Keegan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=17968247 -->
{{Clear}}
== नागरी खोतिर सहयोग ==
सलाम ओ नमस्कार
नागरी के इस्तिमाल करने वाले कश्मीरियों (मुख्य तौर पर कश्मीरी पंडितों) के लिये कश्मीरी विकिपीडिया की फ़ोर्मेटिंग बेहद खराब है। हाल में लेख लिखने में बहुत तकलीफ आ रही है। इस समस्या को हल करने के लिये क्या राय है? हमें क्या करना चाहिये? अरबी लिपि के साथ साथ देवनागरी भी कश्मीरी भाषा की कंटेम्पररी लिपि है, कम से कम https://gom.wikipedia.org/wiki/ कोंकणी विकिपीडिया की तरह दोनों लिपियों का ही इस्तिमाल होना चाहिये और बराबरी का दर्जा मिलना चाहिये। "Language select" फीचर भी कश्मीरी विकिपीडिया पर उपलब्ध होना चाहिये। कश्मीरी देवनागरी कीबोर्ड भी नहीं मिल रहा हूँ।
इन सब पर जल्द कार्र्वाई किया जाएँ
ऐसा मेरा प्रसाव है, आमसहमति बनाने के लिये
Both Nagari and Arabic are contemporary scripts for the Kashmiri language, it is proposed that a dual format be applied here to allow for the option to read in one or the other, much like as has been done on the Konkani Wikipedia.
--[[رُکُن:ज़िन्द भुवनेश्वरी|ज़िन्द भुवनेश्वरी]] ([[رُکُن بَحَژ:ज़िन्द भुवनेश्वरी|talk]]) ١٧:٠٨, ٢٣ اَگست ٢٠١٨ (UTC)
== Consultation on the creation of a separate user group for editing sitewide CSS/JS ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
''({{int:please-translate}})''
Hi all,
I'm preparing a change in who can edit sitewide CSS/JS pages. (These are pages like <code dir="ltr">MediaWiki:Common.css</code> and <code dir="ltr">MediaWiki:Vector.js</code> which are executed in the browser of all readers and editors.) Currently all administrators are able to edit these pages, which poses a serious and unnecessary security risk. Soon, a dedicated, smaller user group will take over this task. Your community will be able to decide who belongs in this group, so this should mean very little change for you. You can find out more and provide feedback at [[m:Special:MyLanguage/Creation of separate user group for editing sitewide CSS/JS|the consultation page on Meta]]. If you are involved in maintaining CSS/JS code, or policymaking around adminship requests, please give it a look!
Thanks!
<br/><span dir="ltr">[[m:User:Tgr|Tgr]] ([[m:User talk:Tgr|talk]]) ٠٨:٤٥, ١٢ جولائی ٢٠١٨ (UTC) <small>(via [[m:Special:MyLanguage/Global_message_delivery|global message delivery]])</small></span>
</div>
<!-- Message sent by User:Tgr@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Nonechnical_Village_Pumps_distribution_list&oldid=18199925 -->
{{Clear}}
== New user group for editing sitewide CSS/JS ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
''({{int:please-translate}})''
Hi all!
To improve the security of our readers and editors, permission handling for CSS/JS pages has changed. (These are pages like <code dir="ltr">MediaWiki:Common.css</code> and <code dir="ltr">MediaWiki:Vector.js</code> which contain code that is executed in the browsers of users of the site.)
A new user group, <code dir="ltr">[[m:Special:MyLanguage/Interface administrators|interface-admin]]</code>, has been created.
Starting four weeks from now, only members of this group will be able edit CSS/JS pages that they do not own (that is, any page ending with <code dir="ltr">.css</code> or <code dir="ltr">.js</code> that is either in the <code dir="ltr">MediaWiki:</code> namespace or is another user's user subpage).
You can learn more about the motivation behind the change [[m:Special:MyLanguage/Creation of separate user group for editing sitewide CSS/JS|here]].
Please add users who need to edit CSS/JS to the new group (this can be done the same way new administrators are added, by stewards or local bureaucrats).
This is a dangerous permission; a malicious user or a hacker taking over the account of a careless interface-admin can abuse it in far worse ways than admin permissions could be abused. Please only assign it to users who need it, who are trusted by the community, and who follow common basic password and computer security practices (use strong passwords, do not reuse passwords, use two-factor authentication if possible, do not install software of questionable origin on your machine, use antivirus software if that's a standard thing in your environment).
Thanks!
<br/><span dir="ltr">[[m:User:Tgr|Tgr]] ([[m:User talk:Tgr|talk]]) ١٣:٠٨, ٣٠ جولائی ٢٠١٨ (UTC) <small>(via [[m:Special:MyLanguage/Global_message_delivery|global message delivery]])</small></span>
</div>
<!-- Message sent by User:Tgr@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=17968247 -->
{{Clear}}
== Enabling a helpful feature for Template editors ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
Hello.
The team working on TemplateStyles at the Wikimedia Foundation would like to enable TemplateStyles on this wiki.
TemplateStyles is a feature to allow non-administrators to write and manage CSS styles for templates. It allows contributors who edit templates to separate content and presentation. A good web practice that makes it easier to manage the layout of templates. If you don't edit templates, this will not have any impact on your contributions.
TemplateStyles is useful for a few reasons.
* It makes it possible for templates to work better on mobile.
* It cuts out confusion on where to apply CSS rules.
* Editing CSS is currently limited to administrators, which is a major barrier to participation.
* All stylesheets must be loaded on all pages (whether they actually use the page or not), which wastes bandwidth and makes debugging style rules more difficult.
You can [[mw:Help:TemplateStyles|learn more about TemplateStyles on MediaWiki.org]]. [[mw:Extension:TemplateStyles|Technical documentation is also available]].
This is an optional feature and no one must use it, but template contributors are encouraged to do so! Please discuss and let us know if there are any concerns. If there are no concerns we will proceed to deploy the feature on the 9th of August.
Thank you.
</div> [[m:User:CKoerner (WMF)|CKoerner (WMF)]] ([[m:User talk:CKoerner (WMF)|talk]]) ٢١:٢٨, ٦ اَگست ٢٠١٨ (UTC)
<!-- Message sent by User:CKoerner (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:CKoerner_(WMF)/Sandbox&oldid=18277775 -->
== प्रबंदकुक हक खॉतिर दरखॊस्थ ==
सलाम तॖ नमस्कार
बॖ छुस कोशुर ज़बानुक प्रेमी, मुहिब तॖ यॆह कॉशिरिस विकीपीडियाअस प्यठॖ सरगर्मी प्रबंदक (एड्मिन) इन कमी । लिहॊज़ॖ मॅ दयॗ प्रबंदकुक हक़ ।
शुक्रियॖ !
--[[رُکُن:ज़िन्द भुवनेश्वरी|ज़िन्द भुवनेश्वरी]] ([[رُکُن بَحَژ:ज़िन्द भुवनेश्वरी|talk]]) ١٧:٠٢, ٢٦ اَگست ٢٠١٨ (UTC)
=== समर्थन ===
=== खिलॊफ़ ===
== Editing of sitewide CSS/JS is only possible for interface administrators from now ==
''({{int:please-translate}})''
<div lang="en" dir="ltr" class="mw-content-ltr">
Hi all,
as [[m:Special:MyLanguage/Creation of separate user group for editing sitewide CSS/JS/announcement 2|announced previously]], permission handling for CSS/JS pages has changed: only members of the <code>[[m:Special:MyLanguage/Interface administrators|interface-admin]]</code> ({{int:group-interface-admin}}) group, and a few highly privileged global groups such as stewards, can edit CSS/JS pages that they do not own (that is, any page ending with .css or .js that is either in the MediaWiki: namespace or is another user's user subpage). This is done to improve the security of readers and editors of Wikimedia projects. More information is available at [[m:Special:MyLanguage/Creation of separate user group for editing sitewide CSS/JS|Creation of separate user group for editing sitewide CSS/JS]]. If you encounter any unexpected problems, please contact me or file a bug.
Thanks!<br />
[[m:User:Tgr|Tgr]] ([[m:User talk:Tgr|talk]]) ١٢:٤٠, ٢٧ اَگست ٢٠١٨ (UTC) <small>(via [[m:Special:MyLanguage/Global_message_delivery|global message delivery]])</small>
</div>
<!-- Message sent by User:Tgr@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=18258712 -->
== Read-only mode for up to an hour on 12 September and 10 October ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
[[:m:Special:MyLanguage/Tech/Server switch 2018|Read this message in another language]] • {{int:please-translate}}
The [[foundation:|Wikimedia Foundation]] will be testing its secondary data centre. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
They will switch all traffic to the secondary data center on '''Wednesday, 12 September 2018'''.
On '''Wednesday, 10 October 2018''', they will switch back to the primary data center.
Unfortunately, because of some limitations in [[mw:Manual:What is MediaWiki?|MediaWiki]], all editing must stop when we switch. We apologize for this disruption, and we are working to minimize it in the future.
'''You will be able to read, but not edit, all wikis for a short period of time.'''
*You will not be able to edit for up to an hour on Wednesday, 12 September and Wednesday, 10 October. The test will start at [https://www.timeanddate.com/worldclock/fixedtime.html?iso=20170503T14 14:00 UTC] (15:00 BST, 16:00 CEST, 10:00 EDT, 07:00 PDT, 23:00 JST, and in New Zealand at 02:00 NZST on Thursday 13 September and Thursday 11 October).
*If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
''Other effects'':
*Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
*There will be code freezes for the weeks of 10 September 2018 and 8 October 2018. Non-essential code deployments will not happen.
This project may be postponed if necessary. You can [[wikitech:Switch Datacenter#Schedule for 2018 switch|read the schedule at wikitech.wikimedia.org]]. Any changes will be announced in the schedule. There will be more notifications about this. '''Please share this information with your community.''' /<span dir=ltr>[[m:User:Johan (WMF)|User:Johan(WMF)]] ([[m:User talk:Johan (WMF)|talk]])</span>
</div></div> ١٣:٣٣, ٦ سیٚپٹَمبَر ٢٠١٨ (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=18333489 -->
== The Community Wishlist Survey ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
The Community Wishlist Survey. {{Int:Please-translate}}.
Hey everyone,
The Community Wishlist Survey is the process when the Wikimedia communities decide what the Wikimedia Foundation [[m:Community Tech|Community Tech]] should work on over the next year.
The Community Tech team is focused on tools for experienced Wikimedia editors. You can post technical proposals from now until 11 November. The communities will vote on the proposals between 16 November and 30 November. You can read more on the [[m:Special:MyLanguage/Community Wishlist Survey 2019|wishlist survey page]].
<span dir=ltr>/[[m:User:Johan (WMF)|User:Johan (WMF)]]</span></div></div> ١١:٠٦, ٣٠ اکتوبر ٢٠١٨ (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=18458512 -->
{{Clear}}
== Editing News #2—2018 ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
''[[metawiki:VisualEditor/Newsletter/2018/October|Read this in another language]] • [[m:VisualEditor/Newsletter|Subscription list for this multilingual newsletter]]''
<div style="float:right;width:270px;margin-left:1em;border-style:solid;border-width:1px;padding:1em;">
[[File:VisualEditor-logo.svg|200px|center]]
'''Did you know?'''
<div class="thumbcaption" style="font-size: 90%;">
Did you know that you can use the visual editor on a mobile device?
[[File:Mobile editing watchlist star editing pencil.png|alt=Screenshot showing the location of the pencil icon|center|frameless|250px]]
Tap on the pencil icon to start editing. The page will probably open in the wikitext editor.
You will see another pencil icon in the toolbar. Tap on that pencil icon to the switch between visual editing and wikitext editing.
[[File:Visual editing mobile switch wikitext.png|alt=Toolbar with menu opened|center|frameless|250px]]
Remember to publish your changes when you're done.
You can read and help translate [[mw:Special:MyLanguage/Help:VisualEditor/User guide|the user guide]], which has more information about how to use the visual editor.</div></div>
Since the last newsletter, the [[mw:Editing|Editing Team]] has wrapped up most of their work on the [[mw:2017 wikitext editor|2017 wikitext editor]] and [[mw:VisualEditor/Diffs|the visual diff tool]]. The team has begun investigating the needs of editors who use mobile devices. Their work board is available [[phab:project/view/3236/|in Phabricator]]. Their [[mw:Wikimedia Audiences/2018-19 Q2 Goals#Contributors|current priorities]] are fixing bugs and improving mobile editing.
=== Recent changes ===
*The Editing team has published an [[mw:Mobile editing using the visual editor report|initial report about mobile editing]].
*The Editing team has begun a design study of visual editing on the mobile website. New editors have trouble doing basic tasks on a smartphone, such as adding links to Wikipedia articles. You can [[c:File:Visual Editor Heuristic - Results.pdf|read the report]].
*The Reading team is working on a [[mw:Reading/Web/Advanced mobile contributions|separate mobile-based contributions project]].
*The 2006 wikitext editor is [[mw:Contributors/Projects/Removal of the 2006 wikitext editor|no longer supported]]. If you used [[:File:Edit toolbar - 2.png|that toolbar]], then you will no longer see any toolbar. You may choose another editing tool in your [[Special:Preferences#mw-prefsection-editing|editing preferences]], [[Special:Preferences#mw-prefsection-gadgets|local gadgets]], or [[Special:Preferences#mw-prefsection-betafeatures|beta features]].
*The Editing team described the history and status of [[mw:Extension:VisualEditor|VisualEditor]] in [[m:Wikimedia monthly activities meetings/2018-03|this recorded public presentation]] (starting at 29 minutes, 30 seconds).
*The Language team released [[mw:Content translation/V2|a new version of Content Translation]] (CX2) last month, on [[foundationsite:2018/09/30/international-translation-day/|International Translation Day]]. It integrates the visual editor to support templates, tables, and images. It also produces better wikitext when the translated article is published. [https://wikimediafoundation.org/2018/09/30/content-translation-version-two/]
=== Let's work together ===
* The Editing team wants to improve visual editing on the mobile website. <mark>Please read [[mw:Visual-based mobile editing/Ideas/October 2018|their ideas]] and tell the team what you think would help editors who use the mobile site.</mark>
*The [[m:Community Wishlist Survey 2019|Community Wishlist Survey]] begins next week.
*If you aren't reading this in your preferred language, then please help us with translations! Subscribe to the [[mail:translators-l|Translators mailing list]] or [https://meta.wikimedia.org/w/index.php?title=User_talk:Elitre_(WMF)&action=edit§ion=new contact us] directly. We will notify you when the next issue is ready for translation. {{int:Feedback-thanks-title}}
—[[mw:User:Whatamidoing (WMF)|Whatamidoing (WMF)]] ([[mw:User talk:Whatamidoing (WMF)|talk]])
</div> ١٤:١٧, ٢ نَوَمبَر ٢٠١٨ (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=VisualEditor/Newsletter/Wikis_with_VE&oldid=17790200 -->
{{Clear}}
== Community Wishlist Survey vote ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
The Community Wishlist Survey. {{Int:Please-translate}}.
Hey everyone,
The Community Wishlist Survey is the process when the Wikimedia communities decide what the Wikimedia Foundation [[m:Community Tech|Community Tech]] should work on over the next year.
The Community Tech team is focused on tools for experienced Wikimedia editors. The communities have now posted a long list of technical proposals. You can vote on the proposals from now until 30 November. You can read more on the [[m:Special:MyLanguage/Community Wishlist Survey 2019|wishlist survey page]].
<span dir=ltr>/[[m:User:Johan (WMF)|User:Johan (WMF)]]</span></div></div> ١٨:١٣, ٢٢ نَوَمبَر ٢٠١٨ (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=18543269 -->
{{Clear}}
== Change coming to how certain templates will appear on the mobile web ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
'''Change coming to how certain templates will appear on the mobile web'''
{{int:please-translate}}
[[File:Page_issues_-_mobile_banner_example.jpg|thumb|Example of improvements]]
Hello,
In a few weeks the Readers web team will be changing how some templates look on the mobile web site. We will make these templates more noticeable when viewing the article. We ask for your help in updating any templates that don't look correct.
What kind of templates? Specifically templates that notify readers and contributors about issues with the content of an article – the text and information in the article. Examples like [[wikidata:Q5962027|Template:Unreferenced]] or [[Wikidata:Q5619503|Template:More citations needed]]. Right now these notifications are hidden behind a link under the title of an article. We will format templates like these (mostly those that use Template:Ambox or message box templates in general) to show a short summary under the page title. You can tap on the "Learn more" link to get more information.
For template editors we have [[mw:Recommendations_for_mobile_friendly_articles_on_Wikimedia_wikis#Making_page_issues_(ambox_templates)_mobile_friendly|some recommendations on how to make templates that are mobile-friendly]] and also further [[mw:Reading/Web/Projects/Mobile_Page_Issues|documentation on our work so far]].
If you have questions about formatting templates for mobile, [[mw:Talk:Reading/Web/Projects/Mobile_Page_Issues|please leave a note on the project talk page]] or [https://phabricator.wikimedia.org/maniphest/task/edit/form/1/?projects=Readers-Web-Backlog file a task in Phabricator] and we will help you.
{{Int:Feedback-thanks-title}}
</div> [[m:User:CKoerner (WMF)|CKoerner (WMF)]] ([[m:User talk:CKoerner (WMF)|talk]]) ١٩:٣٤, ١٣ نَوَمبَر ٢٠١٨ (UTC)
<!-- Message sent by User:CKoerner (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=18543269 -->
{{Clear}}
== Advanced Search ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
[[m:WMDE_Technical_Wishes/AdvancedSearch|Advanced Search]] will become a default feature on your wiki on November 28. This new interface allows you to perform specialized searches on the [[Special:Search|search page]], even if you don’t know any [[mw:Special:MyLanguage/Help:CirrusSearch|search syntax]]. Advanced Search originates from the [[m:WMDE_Technical_Wishes|German Community’s Technical Wishes project]]. It's already a default feature on German, Arabic, Farsi and Hungarian Wikipedia. Besides, more than 40.000 users across all wikis have tested the beta version. Feedback is welcome on the [[mw:Help talk:Extension:AdvancedSearch|central feedback page]].</div> [[m:User:Johanna Strodt (WMDE)|Johanna Strodt (WMDE)]] ([[m:User talk:Johanna Strodt (WMDE)|talk]]) ١١:٠٢, ٢٦ نَوَمبَر ٢٠١٨ (UTC)
<!-- Message sent by User:Johanna Strodt (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=WMDE_Technical_Wishes/Technical_Wishes_News_list_2&oldid=18363910 -->
{{Clear}}
== New Wikimedia password policy and requirements ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
{{int:please-translate}}
The Wikimedia Foundation security team is implementing a new [[m:Password policy|password policy and requirements]]. [[mw:Wikimedia_Security_Team/Password_strengthening_2019|You can learn more about the project on MediaWiki.org]].
These new requirements will apply to new accounts and privileged accounts. New accounts will be required to create a password with a minimum length of 8 characters. Privileged accounts will be prompted to update their password to one that is at least 10 characters in length.
These changes are planned to be in effect on December 13th. If you think your work or tools will be affected by this change, please let us know on [[mw:Talk:Wikimedia_Security_Team/Password_strengthening_2019|the talk page]].
{{Int:Feedback-thanks-title}}
</div> [[m:User:CKoerner (WMF)|CKoerner (WMF)]] ([[m:User talk:CKoerner (WMF)|talk]]) ٢٠:٠٣, ٦ ڈیٚسَمبَر ٢٠١٨ (UTC)
<!-- Message sent by User:CKoerner (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=18639017 -->
{{Clear}}
== Invitation from Wiki Loves Love 2019 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:please-translate}}
[[File:WLL Subtitled Logo (transparent).svg|right|frameless]]
Love is an important subject for humanity and it is expressed in different cultures and regions in different ways across the world through different gestures, ceremonies, festivals and to document expression of this rich and beautiful emotion, we need your help so we can share and spread the depth of cultures that each region has, the best of how people of that region, celebrate love.
[[:c:Commons:Wiki Loves Love|Wiki Loves Love (WLL)]] is an international photography competition of Wikimedia Commons with the subject love testimonials happening in the month of February.
The primary goal of the competition is to document love testimonials through human cultural diversity such as monuments, ceremonies, snapshot of tender gesture, and miscellaneous objects used as symbol of love; to illustrate articles in the worldwide free encyclopedia Wikipedia, and other Wikimedia Foundation (WMF) projects.
The theme of 2019 iteration is '''''Celebrations, Festivals, Ceremonies and rituals of love.'''''
Sign up your affiliate or individually at [[:c:Commons:Wiki Loves Love 2019/Participants|Participants]] page.
To know more about the contest, check out our [[:c:Commons:Wiki Loves Love 2019|Commons Page]] and [[:c:Commons:Wiki Loves Love 2018/FAQ|FAQs]]
There are several prizes to grab. Hope to see you spreading love this February with Wiki Loves Love!
Kind regards,
[[:c:Commons:Wiki Loves Love 2018/International Team|Wiki Loves Love Team]]
Imagine... the sum of all love!
</div>
--[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|talk]]) ١٠:١٣, ٢٧ ڈیٚسَمبَر ٢٠١٨ (UTC)
<!-- Message sent by User:Tiven2240@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=18639017 -->
{{Clear}}
== FileExporter beta feature ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
[[File:Logo for the beta feature FileExporter.svg|thumb|Coming soon: the beta feature [[m:WMDE_Technical_Wishes/Move_files_to_Commons|FileExporter]]]]
A new beta feature will soon be released on all wikis: The [[m:WMDE_Technical_Wishes/Move_files_to_Commons|FileExporter]]. It allows exports of files from a local wiki to Wikimedia Commons, including their file history and page history. Which files can be exported is defined by each wiki's community: '''Please check your wiki's [[m:WMDE_Technical_Wishes/Move_files_to_Commons/Configuration file documentation|configuration file]]''' if you want to use this feature.
The FileExporter has already been a beta feature on [https://www.mediawiki.org mediawiki.org], [https://meta.wikimedia.org meta.wikimedia], deWP, faWP, arWP, koWP and on [https://wikisource.org wikisource.org]. After some functionality was added, it's now becoming a beta feature on all wikis. Deployment is planned for January 16. More information can be found [[m:WMDE_Technical_Wishes/Move_files_to_Commons|on the project page]].
As always, feedback is highly appreciated. If you want to test the FileExporter, please activate it in your [[Special:Preferences#mw-prefsection-betafeatures|user preferences]]. The best place for feedback is the [[mw:Help_talk:Extension:FileImporter|central talk page]]. Thank you from Wikimedia Deutschland's [[m:WMDE Technical Wishes|Technical Wishes project]].
</div> [[User:Johanna Strodt (WMDE)|Johanna Strodt (WMDE)]] ٠٩:٤١, ١٤ جنوری ٢٠١٩ (UTC)
<!-- Message sent by User:Johanna Strodt (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=WMDE_Technical_Wishes/Technical_Wishes_News_list_all_village_pumps&oldid=18782700 -->
{{Clear}}
== No editing for 30 minutes on 17 January ==
<div lang="en" dir="ltr" class="mw-content-ltr">You will '''not be able to edit''' the wikis for up to 30 minutes on '''[https://www.timeanddate.com/worldclock/fixedtime.html?iso=20190117T07 17 January 07:00 UTC]'''. This is because of a database problem that has to be fixed immediately. You can still read the wikis. Some wikis are not affected. They don't get this message. You can see which wikis are '''not''' affected [[:m:User:Johan (WMF)/201901ReadOnlyPage|on this page]]. Most wikis are affected. The time you can not edit might be shorter than 30 minutes. /[[User:Johan (WMF)|Johan (WMF)]]</div>
١٨:٤٧, ١٦ جنوری ٢٠١٩ (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Johan_(WMF)/201901ReadOnly/Targets4&oldid=18789232 -->
{{Clear}}
== Talk to us about talking ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
[[File:OOjs_UI_icon_speechBubbles-rtl.svg|alt="icon depicting two speech Bubbles"|frameless|right|120px]]
The Wikimedia Foundation is planning a [[mw:Talk pages consultation 2019|global consultation about communication]]. The goal is to bring Wikimedians and wiki-minded people together to improve tools for communication.
We want all contributors to be able to talk to each other on the wikis, whatever their experience, their skills or their devices.
We are looking for input from as many different parts of the Wikimedia community as possible. It will come from multiple projects, in multiple languages, and with multiple perspectives.
We are currently planning the consultation. We need your help.
'''We need volunteers to help talk to their communities or user groups.'''
You can help by hosting a discussion at your wiki. Here's what to do:
# First, [[mw:Talk pages consultation 2019/Participant group sign-up|sign up your group here.]]
# Next, create a page (or a section on a Village pump, or an e-mail thread – whatever is natural for your group) to collect information from other people in your group. This is not a vote or decision-making discussion: we are just collecting feedback.
# Then ask people what they think about communication processes. We want to hear stories and other information about how people communicate with each other on and off wiki. Please consider asking these five questions:
## When you want to discuss a topic with your community, what tools work for you, and what problems block you?
## What about talk pages works for newcomers, and what blocks them?
## What do others struggle with in your community about talk pages?
## What do you wish you could do on talk pages, but can't due to the technical limitations?
## What are the important aspects of a "wiki discussion"?
# Finally, please go to [[mw:Talk:Talk pages consultation 2019|Talk pages consultation 2019 on Mediawiki.org]] and report what you learned from your group. Please include links if the discussion is available to the public.
'''You can also help build the list of the many different ways people talk to each other.'''
Not all groups active on wikis or around wikis use the same way to discuss things: it can happen on wiki, on social networks, through external tools... Tell us [[mw:Talk pages consultation 2019/Tools in use|how your group communicates]].
You can read more about [[mw:Talk pages consultation 2019|the overall process]] on mediawiki.org. If you have questions or ideas, you can [[mw:Talk:Talk pages consultation 2019|leave feedback about the consultation process]] in the language you prefer.
Thank you! We're looking forward to talking with you.
</div> [[user:Trizek (WMF)|Trizek (WMF)]] ١٥:٠١, ٢١ فرؤری ٢٠١٩ (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=18639017 -->
{{Clear}}
== New Wikipedia Library Accounts Available Now (March 2019) ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Hello Wikimedians!
[[File:Wikipedia_Library_owl.svg|thumb|upright|The TWL OWL says sign up today!]]
[[m:The Wikipedia Library|The Wikipedia Library]] is announcing signups today for free, full-access, accounts to published research as part of our [[m:The_Wikipedia_Library/Journals|Publisher Donation Program]]. You can sign up for new accounts and research materials on the [https://wikipedialibrary.wmflabs.org/ Library Card platform]:
* '''[https://wikipedialibrary.wmflabs.org/partners/72/ Kinige]''' – Primarily Indian-language ebooks - 10 books per month
* '''[https://wikipedialibrary.wmflabs.org/partners/55/ Gale]''' – Times Digital Archive collection added (covering 1785-2013)
* '''[https://wikipedialibrary.wmflabs.org/partners/54/ JSTOR]''' – New applications now being taken again
Many other partnerships with accounts available are listed on [https://wikipedialibrary.wmflabs.org/partners/ our partners page], including [https://wikipedialibrary.wmflabs.org/partners/47/ Baylor University Press], [https://wikipedialibrary.wmflabs.org/partners/10/ Taylor & Francis], [https://wikipedialibrary.wmflabs.org/partners/46/ Cairn], [https://wikipedialibrary.wmflabs.org/partners/32/ Annual Reviews] and [https://wikipedialibrary.wmflabs.org/partners/61/ Bloomsbury]. You can request new partnerships on our [https://wikipedialibrary.wmflabs.org/suggest/ Suggestions page].
Do better research and help expand the use of high quality references across Wikipedia projects: sign up today!
<br>--[[w:en:Wikipedia:TWL/Coordinators|The Wikipedia Library Team]] ١٧:٤٠, ١٣ مارچ ٢٠١٩ (UTC)
:''You can host and coordinate signups for a Wikipedia Library branch in your own language. Please contact [[m:User:Ocaasi_(WMF)|Ocaasi (WMF)]].''<br>
:<small>This message was delivered via the [https://meta.wikimedia.org/wiki/MassMessage#Global_message_delivery Global Mass Message] tool to [https://meta.wikimedia.org/wiki/Global_message_delivery/Targets/Wikipedia_Library The Wikipedia Library Global Delivery List].</small>
</div>
<!-- Message sent by User:Samwalton9@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/Wikipedia_Library&oldid=18873404 -->
{{Clear}}
== Read-only mode for up to 30 minutes on 11 April ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
<div lang="en" dir="ltr" class="mw-content-ltr">You will '''not be able to edit''' most Wikimedia wikis for up to 30 minutes on '''[https://www.timeanddate.com/worldclock/fixedtime.html?iso=20190411T05 11 April 05:00 UTC]'''. This is because of a hardware problem. You can still read the wikis. You [[phab:T220080|can see which wikis are affected]]. The time you can not edit might be shorter than 30 minutes. /[[User:Johan (WMF)|Johan (WMF)]]</div></div></div> ١٠:٥٦, ٨ اپریٖل ٢٠١٩ (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=18979889 -->
{{Clear}}
== Wikimedia Foundation Medium-Term Plan feedback request ==
{{int:please-translate}}
<div lang="en" dir="ltr" class="mw-content-ltr">The Wikimedia Foundation has published a [[m:Special:MyLanguage/Wikimedia_Foundation_Medium-term_plan_2019|Medium-Term Plan proposal]] covering the next 3–5 years. We want your feedback! Please leave all comments and questions, in any language, on [[m:Talk:Wikimedia_Foundation_Medium-term_plan_2019|the talk page]], by April 20. {{Int:Feedback-thanks-title}} [[m:User:Quiddity (WMF)|Quiddity (WMF)]] ([[m:User talk:Quiddity (WMF)|talk]]) ١٧:٣٥, ١٢ اپریٖل ٢٠١٩ (UTC)</div>
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=18998727 -->
{{Clear}}
== Wikidata Bridge: edit Wikidata’s data from Wikipedia infoboxes ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
''Sorry for writing this message in English - feel free to help us translating it :)''
Hello all,
Many language versions of Wikipedia use the content of [[Wikidata]], the centralized knowledge base, to fill out the content of infoboxes. The data is stored in Wikidata and displayed, partially or completely, in the Wikipedia’s language, on the articles.
This feature is used by many template editors, but brought several issues that were raised by communities in various places: not being able to edit the data directly from Wikipedia was one of them.
This is the reason why the '''[[mw:Wikidata Bridge|Wikidata Bridge]]''' project started, with the goal of offering a way to Wikipedia editors to edit Wikidata’s data more easily. This will be achieved by an interface, connected to the infobox, that users can access directly from their local wiki.
The project is now at an early stage of development. A lot of [[mw:Wikidata_Bridge/Research|user research]] has been done, and will continue to be done through the different phases of the project. The next steps of [[mw:Wikidata_Bridge/Development|development]] will be achieved by the development team working at Wikimedia Deutschland, starting now until the end of 2019.
In order to make sure that we’re building a tool that is answering editors’ needs, we’re using agile methods in our development process. We don’t start with a fixed idea of the tool we want to deliver: we will build it together with the editors, based on feedback loops that we will regularly organize. The first version will not necessarily have all of the features you want, but it will keep evolving.
Here’s the planned timeline:
* From June to August, we will build the setup and technical groundwork.
* From September to November 2019, we will develop the first version of the feature and publish a test system so you can try it and give feedback.
* Later on, we will test the feature on a few projects, in collaboration with the communities.
** We will first focus on early adopters communities who already implemented a shortcut from their infoboxes to edit Wikidata (for example Russian, Catalan, Basque Wikipedias)
** but we also welcome also communities who [[mw:Wikidata_Bridge/Get_involved|volunteer to be part of the first test round]].
** Then we will reach some of the big Wikipedias (French, German, English) in order to see if the project scales and to address their potentially different needs.
** Even later, we can consider enabling the feature on all the other projects.
In any case, no deployment or big change will be enforced on the projects without talking to the communities first, and helping the template builders to prepare for the changes they will have to do on the infoboxes’ code.
If you want to get involved, there are several ways to help:
* Read and help translating [[mw:Wikidata_Bridge|the documentation pages]]
* Follow the [[mw:Wikidata_Bridge/Updates|updates]] and participate in [[mw:Topic:V1x2lxtu8rgi954a|the first feedback loop]]
* Talk about it with your local community
More ideas will be added [[mw:Wikidata_Bridge/Get_involved|on this page]] along the way
If you have any questions for the development team, feel free to ask them [[mw:Talk:Wikidata_Bridge|on the main talk page]]. You can also ask under this message, but if you expect an answer from me, please make sure to ping me.
Thanks for your attention, [[:d:User:Lea Lacroix (WMDE)|Lea Lacroix (WMDE)]] ١٣:٠٣, ٢٤ جوٗن ٢٠١٩ (UTC)
</div>
<!-- Message sent by User:Lea Lacroix (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Lea_Lacroix_(WMDE)/List_Wikipedias&oldid=19168539 -->
{{Clear}}
== Editing News #1—July 2019 ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
''[[m:VisualEditor/Newsletter/2019/July|Read this in another language]] • [[m:VisualEditor/Newsletter|Subscription list for this multilingual newsletter]]''
<div style="float:right;width:270px;margin-left:1em;border-style:solid;border-width:1px;padding:1em;">
[[File:VisualEditor-logo.svg|200px|center]]
<big>'''Did you know?'''</big>
<div class="thumbcaption" style="font-size: 90%;">
Did you know that you can use the visual editor on a mobile device?
Every article has a pencil icon at the top. Tap on the pencil icon [[File:OOjs UI icon edit-ltr.svg|frameless|16x16px]] to start editing.
'''<big>Edit Cards</big>'''
[[File:EditCards-v.20.png|alt=Toolbar with menu opened|center|frameless|250px]]
This is what the new '''Edit Cards for editing links''' in the mobile visual editor look like. You can try the prototype here: '''[[mw:Topic:V394zwrigth8ii7c|📲 Try Edit Cards]].'''
</div></div>
Welcome back to the [[mw:Editing|Editing]] newsletter.
Since [[m:VisualEditor/Newsletter/2018/October|the last newsletter]], the team has released two new features for the [[mw:VisualEditor on mobile|mobile visual editor]] and has started developing three more. All of this work is part of the team's goal to [[m:Wikimedia Foundation Annual Plan/2018-2019/Audiences#Outcome 3: Mobile Contribution|make editing on mobile web simpler]].
Before talking about the team's recent releases, we have a question for you:
<strong>Are you willing to try a new way to add and change links?</strong>
If you are interested, we would value your input! You can try this new link tool in the mobile visual editor on a separate wiki.
<em>Follow these instructions and share your experience:</em>
<strong>[[mw:Topic:V394zwrigth8ii7c|📲 Try Edit Cards]].</strong>
=== Recent releases ===
The mobile visual editor is a simpler editing tool, for smartphones and tablets using the [[mw:Reading/Web/Mobile#About|mobile site]]. The Editing team recently launched two new features to improve the mobile visual editor:
# [[mw:VisualEditor on mobile/Section editing|Section editing]]
#* The purpose is to help contributors focus on their edits.
#* The team studied this with an A/B test. [[mw:VisualEditor on mobile/Section editing#16 June 2019|This test showed]] that contributors who could use section editing were '''1% more likely to publish''' the edits they started than people with only full-page editing.
# [[mw:VisualEditor on mobile#March 1, 2019|Loading overlay]]
#* The purpose is to smooth the transition between reading and editing.
Section editing and the new loading overlay are '''now available to everyone''' using the mobile visual editor.
=== New and active projects ===
This is a list of our most active projects. [[mw:Help:Watching pages|Watch]] these pages to learn about project updates and to share your input on new designs, prototypes and research findings.
*[[mw:VisualEditor on mobile/Edit cards|Edit cards]]: This is a clearer way to add and edit links, citations, images, templates, etc. in articles. You can try this feature now. <em>Go here to see how:</em> [[mw:Topic:V394zwrigth8ii7c|📲 <em>Try Edit Cards</em>]].
*[[mw:VisualEditor on mobile/Toolbar refresh|Mobile toolbar refresh]]: This project will learn if contributors are more successful when the editing tools are easier to recognize.
*[[mw:VisualEditor on mobile/VE mobile default|Mobile visual editor availability]]: This A/B test asks: ''Are newer contributors more successful if they use the mobile visual editor?'' We are collaborating with [[mw:VisualEditor on mobile/VE mobile default#26 June 2019 %E2%80%93 Participating wikis and test start date|20 Wikipedias]] to answer this question.
*[[mw:VisualEditor on mobile/Usability improvements|Usability improvements]]: This project will make the mobile visual editor easier to use. The goal is to let contributors stay focused on editing and to feel more confident in the editing tools.
=== Looking ahead ===
* '''Wikimania:''' Several members of the Editing Team will be attending [[wmania:|Wikimania]] in August 2019. They will lead a session about mobile editing in the [[wmania:2019:Community Growth/Visual editing on mobile: An accessible editor for all|Community Growth space]]. Talk to the team about how editing can be improved.
* '''Talk Pages:''' In the coming months, the Editing Team will begin [[mw:Talk pages consultation 2019|improving talk pages]] and communication on the wikis.
=== Learning more ===
The [[mw:VisualEditor on mobile|VisualEditor on mobile]] is a good place to learn more about the projects we are working on. The team wants to talk with you about anything related to editing. If you have something to say or ask, please leave a message at [[mw:Talk:VisualEditor on mobile|Talk:VisualEditor on mobile]].
[[user:PPelberg (WMF)|PPelberg (WMF)]] ([[mw:user_talk:PPelberg (WMF)|talk]]) & [[User:Whatamidoing (WMF)|Whatamidoing (WMF)]] ([[mw:user_talk:Whatamidoing (WMF)|talk]])
</div> ١٨:٣٢, ٢٣ جولائی ٢٠١٩ (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=VisualEditor/Newsletter/Wikis_with_VE&oldid=19175117 -->
{{Clear}}
== Update on the consultation about office actions ==
Hello all,
Last month, the Wikimedia Foundation's Trust & Safety team [[:en:Wikipedia:Village_pump_(policy)/Archive_152#Announcement_of_forthcoming_temporary_and_partial_ban_tool_consultation|announced]] a future consultation about partial and/or temporary [[m:Special:MyLanguage/office actions|office actions]]. We want to let you know that the '''draft version''' of this consultation has now been [[:m:Office_actions/Community_consultation_on_partial_and_temporary_office_actions/draft|posted on Meta]].
This is a '''draft'''. It is not intended to be the consultation itself, which will be posted on Meta likely in early September. Please do not treat this draft as a consultation. Instead, we ask your assistance in forming the final language for the consultation.
For that end, we would like your input over the next couple of weeks about what questions the consultation should ask about partial and temporary Foundation office action bans and how it should be formatted. '''[[:m:Talk:Office_actions/Community_consultation_on_partial_and_temporary_office_actions/draft|Please post it on the draft talk page]]'''. Our goal is to provide space for the community to discuss all the aspects of these office actions that need to be discussed, and we want to ensure with your feedback that the consultation is presented in the best way to encourage frank and constructive conversation.
Please visit [[:m:Office_actions/Community_consultation_on_partial_and_temporary_office_actions/draft|the consultation draft on Meta-wiki]] and leave your comments on the draft’s talk page about what the consultation should look like and what questions it should ask.
Thank you for your input! -- The [[m:Special:MyLanguage/Trust and Safety|Trust & Safety team]] ٠٨:٠٣, ١٦ اَگست ٢٠١٩ (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Non-Technical_Village_Pumps_distribution_list&oldid=19175143 -->
{{Clear}}
== New tools and IP masking ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
<div lang="en" dir="ltr" class="mw-content-ltr">
Hey everyone,
The Wikimedia Foundation wants to work on two things that affect how we patrol changes and handle vandalism and harassment. We want to make the tools that are used to handle bad edits better. We also want to get better privacy for unregistered users so their IP addresses are no longer shown to everyone in the world. We would not hide IP addresses until we have better tools for patrolling.
We have an idea of what tools ''could'' be working better and how a more limited access to IP addresses would change things, but we need to hear from more wikis. You can read more about the project [[m:IP Editing: Privacy Enhancement and Abuse Mitigation|on Meta]] and [[m:Talk:IP Editing: Privacy Enhancement and Abuse Mitigation|post comments and feedback]]. Now is when we need to hear from you to be able to give you better tools to handle vandalism, spam and harassment.
You can post in your language if you can't write in English.
[[User:Johan (WMF)|Johan (WMF)]]</div></div></div> ١٤:١٨, ٢١ اَگست ٢٠١٩ (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Johan_(WMF)/Tools_and_IP_message/Distribution&oldid=19315232 -->
{{Clear}}
== The consultation on partial and temporary Foundation bans just started ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
<div class="plainlinks">
Hello,
In a [[:en:Wikipedia:Community_response_to_the_Wikimedia_Foundation%27s_ban_of_Fram/Official_statements#Board_statement|recent statement]], the Wikimedia Foundation Board of Trustees [[:en:Wikipedia:Community_response_to_the_Wikimedia_Foundation%27s_ban_of_Fram/Official_statements#Board_statement|requested that staff hold a consultation]] to "re-evaluat[e] or add community input to the two new office action policy tools (temporary and partial Foundation bans)".
Accordingly, the Foundation's Trust & Safety team invites all Wikimedians [[:m:Office actions/Community consultation on partial and temporary office actions/09 2019|to join this consultation and give their feedback]] from 30 September to 30 October.
How can you help?
* Suggest how partial and temporary Foundation bans should be used, if they should (eg: On all projects, or only on a subset);
* Give ideas about how partial and temporary Foundation bans should ideally implemented, if they should be; and/or
* Propose changes to the existing Office Actions policy on partial and temporary bans.
We offer our thanks in advance for your contributions, and we hope to get as much input as possible from community members during this consultation!
</div>
</div>-- [[user:Kbrown (WMF)|Kbrown (WMF)]] ١٧:١٤, ٣٠ سیٚپٹَمبَر ٢٠١٩ (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=19302497 -->
{{Clear}}
== Feedback wanted on Desktop Improvements project ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
{{Int:Please-translate}}
{{int:Hello}}. The Readers Web team at the WMF will work on some [[mw:Special:MyLanguage/Reading/Web/Desktop Improvements|improvements to the desktop interface]] over the next couple of years. The goal is to increase usability without removing any functionality. We have been inspired by changes made by volunteers, but that currently only exist as local gadgets and user scripts, prototypes, and volunteer-led skins. We would like to begin the process of bringing some of these changes into the default experience on all Wikimedia projects.
We are currently in the research stage of this project and are looking for ideas for improvements, as well as feedback on our current ideas and mockups. So far, we have performed interviews with community members at Wikimania. We have gathered lists of previous volunteer and WMF work in this area. We are examining possible technical approaches for such changes.
We would like individual feedback on the following:
* Identifying focus areas for the project we have not yet discovered
* Expanding the list of existing gadgets and user scripts that are related to providing a better desktop experience. If you can think of some of these from your wiki, please let us know
* Feedback on the ideas and mockups we have collected so far
We would also like to gather a list of wikis that would be interested in being test wikis for this project - these wikis would be the first to receive the updates once we’re ready to start building.
When giving feedback, please consider the following goals of the project:
* Make it easier for readers to focus on the content
* Provide easier access to everyday actions (e.g. search, language switching, editing)
* Put things in logical and useful places
* Increase consistency in the interface with other platforms - mobile web and the apps
* Eliminate clutter
* Plan for future growth
As well as the following constraints:
* Not touching the content - no work will be done in terms of styling templates or to the structure of page contents themselves
* Not removing any functionality - things might move around, but all navigational items and other functionality currently available by default will remain
* No drastic changes to the layout - we're taking an evolutionary approach to the changes and want the site to continue feeling familiar to readers and editors
Please give all feedback (in any language) at [[mw:Talk:Reading/Web/Desktop Improvements|mw:Talk:Reading/Web/Desktop Improvements]]
After this round of feedback, we plan on building a prototype of suggested changes based on the feedback we receive. You’ll hear from us again asking for feedback on this prototype.
{{Int:Feedback-thanks-title}} [[mw:User:Quiddity (WMF)|Quiddity (WMF)]] ([[mw:User talk:Quiddity (WMF)|talk]])
</div> ٠٧:١٨, ١٦ اکتوبر ٢٠١٩ (UTC)
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Quiddity_(WMF)/Global_message_delivery_split_4&oldid=19462890 -->
{{Clear}}
== Beta feature "Reference Previews" ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
A new beta feature will soon be deployed to your wiki: [[m:WMDE_Technical_Wishes/ReferencePreviews|Reference Previews]]. As you might guess from the name, this feature gives you a preview of references in the article text. That means, you can look up a reference without jumping down to the bottom of the page.
Reference Previews have already been a beta feature on German and Arabic Wikipedia since April. Now they will become available on more wikis. Deployment is planned for October 24. More information can be found [[m:WMDE_Technical_Wishes/ReferencePreviews|on the project page]].
As always, feedback is highly appreciated. If you want to test Reference Previews, please activate the beta feature in your [[Special:Preferences#mw-prefsection-betafeatures|user preferences]] and let us know what you think. The best place for feedback is the [[mw:Help talk:Reference Previews|central talk page]]. We hope the feature will serve you well in your work. Thank you from Wikimedia Deutschland's [[m:WMDE Technical Wishes|Technical Wishes project]].
</div> -- [[User:Johanna Strodt (WMDE)|Johanna Strodt (WMDE)]] ٠٩:٤٧, ٢٣ اکتوبر ٢٠١٩ (UTC)
<!-- Message sent by User:Johanna Strodt (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=WMDE_Technical_Wishes/Technical_Wishes_News_list_all_village_pumps&oldid=19478814 -->
{{Clear}}
== Editing News #2 – Mobile editing and talk pages ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
<em>[[m:VisualEditor/Newsletter/2019/October|Read this in another language]] • [[m:VisualEditor/Newsletter|Subscription list for this multilingual newsletter]]</em>
Inside this newsletter, the [[mw:Editing|Editing team]] talks about their work on the [[mw:Mobile visual editor|mobile visual editor]], on [[mw:Talk pages project|the new talk pages project]], and at [[wikimania:|Wikimania 2019]].
=== Help ===
<strong>What talk page interactions do you remember?</strong> Is it a story about how someone helped you to learn something new? Is it a story about how someone helped you get involved in a group? Something else? Whatever your story is, we want to hear it!
Please tell us a story about how you used a talk page. <mark>Please share a link to a memorable discussion, or describe it on the <strong>[[mw:Topic:V8d91yh8gcg404dj|talk page for this project]]</strong>.</mark> The team wants your examples. These examples will help everyone develop a shared understanding of what this project should support and encourage.
=== Talk pages project ===
The [[mw:Talk pages consultation 2019|Talk Pages Consultation]] was a global consultation to define better tools for wiki communication. From February through June 2019, more than 500 volunteers on 20 wikis, across 15 languages and multiple projects, came together with members of the Foundation to create a product direction for a set of discussion tools. The [[mw:Talk pages consultation 2019/Phase 2 report|Phase 2 Report]] of the Talk Page Consultation was published in August. It summarizes the product direction the team has started to work on, which you can read more about here: [[mw:Talk pages project|Talk Page Project project page]].
The team needs and wants your help at this early stage. They are starting to develop the first idea. Please add your name to the [[mw:Talk pages project#Getting involved|<strong>"Getting involved"</strong>]] section of the project page, if you would like to hear about opportunities to participate.
=== Mobile visual editor ===
The Editing team is trying to make it simpler to edit on mobile devices. The team is changing the [[mw:VisualEditor on mobile|visual editor on mobile]]. If you have something to say about editing on a mobile device, please leave a message at [[mw:Talk:VisualEditor on mobile|Talk:VisualEditor on mobile]].
==== [[mw:VisualEditor on mobile/Edit cards|Edit Cards]] ====
[[File:Edit Cards-before-v3-comparison.png|thumb|486x486px|What happens when you click on a link. The new Edit Card is bigger and has more options for editing links.]]
* On 3 September, the Editing team released [[:File:Edit Cards comparison v2 and v3.png|version 3 of Edit Cards]]. Anyone could use the new version in the mobile visual editor.
* There is an [[:File:Edit Cards comparison v2 and v3.png|updated design]] on the Edit Card for adding and modifying links. There is also a new, [[mw:VisualEditor on mobile/Edit cards#2 September 2019 - v3 deployment timing|combined workflow for editing a link's display text and target]].
* Feedback: You can try the new Edit Cards by opening the mobile visual editor on a smartphone. Please post your feedback on the [[:mw:Topic:V5rg0cqmikpubmjj|Edit cards talk page]].
==== [[mw:VisualEditor on mobile/Toolbar refresh|Toolbar]] ====
[[File:Toolbar-comparison-v1.png|thumb|486px|The editing toolbar is changing in the mobile visual editor. The old system had two different toolbars. Now, all the buttons are together. [[mw:Topic:V79x6zm8n6i4nb56|Tell the team what you think about the new toolbar]].]]
* In September, the Editing team updated the mobile visual editor's editing toolbar. Anyone could see these changes in the mobile visual editor.
** <em>One toolbar:</em> All of the editing tools are located in one toolbar. Previously, the toolbar changed when you clicked on different things.
**<em>New navigation:</em> The buttons for moving forward and backward in the edit flow have changed.
**<em>Seamless switching:</em> an [[phab:T228159|improved workflow]] for switching between the visual and wikitext modes.
* Feedback: You can try the refreshed toolbar by opening the mobile VisualEditor on a smartphone. Please post your feedback on the [[mw:Topic:V79x6zm8n6i4nb56|Toolbar feedback talk page]].
=== Wikimania ===
The Editing Team attended [[wmania:2019:Program|Wikimania 2019]] in Sweden. They led a session on [[wmania:2019:Community Growth/Visual editing on mobile: An accessible editor for all|the mobile visual editor]] and a session on [[wmania:2019:Community Growth/After Flow: A new direction for improving talk pages|the new talk pages project]]. They tested [[mw:VisualEditor on mobile/Toolbar refresh#v1 prototype|two]] new [[mw:VisualEditor on mobile/Edit cards#v3 prototype|features]] in the mobile visual editor with contributors. You can read more about what the team did and learned in [[mw:VisualEditor on mobile#Wikimania Stockholm: Overview|the team's report on Wikimania 2019]].
=== Looking ahead ===
* <strong>Talk Pages Project:</strong> The team is thinking about the first set of proposed changes. The team will be working with a few communities to pilot those changes. The best way to stay informed is by adding your username to the list on the project page: [[mw:Talk pages project#Getting involved|<strong>Getting involved</strong>]].
* <strong>Testing the mobile visual editor as the default:</strong> The Editing team plans to post results before the end of the calendar year. The best way to stay informed is by adding the project page to your watchlist: [[mw:VisualEditor on mobile/VE mobile default|<strong>VisualEditor as mobile default project page</strong>]].
* <strong>Measuring the impact of Edit Cards:</strong> This study asks whether the project helped editors add links and citations. The Editing team hopes to share results in November. The best way to stay informed is by adding the project page to your watchlist: [[mw:VisualEditor on mobile/Edit cards|<strong>Edit Cards project page</strong>]].
– [[User:PPelberg (WMF)|PPelberg (WMF)]] ([[mw:User talk:PPelberg (WMF)|talk]]) & [[User:Whatamidoing (WMF)|Whatamidoing (WMF)]] ([[mw:User talk:Whatamidoing (WMF)|talk]])
</div> ١١:١٢, ٢٩ اکتوبر ٢٠١٩ (UTC)
<!-- Message sent by User:Johan (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Johan_(WMF)/Target_lists/VE_201910/4&oldid=19500850 -->
{{Clear}}
== Wikipedia Asian Month 2019 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:please-translate}}
[[File:WAM logo without text.svg|right|frameless]]
'''Wikipedia Asian Month''' is back! We wish you all the best of luck for the contest. The basic guidelines of the contest can be found on your local page of Wikipedia Asian Month. For more information, refer [[:m:Wikipedia Asian Month 2019|to our Meta page]] for organizers.
Looking forward to meet the next ambassadors for Wikipedia Asian Month 2019!
For additional support for organizing offline event, contact our international team [[:m:Talk:Wikipedia Asian Month 2019|on wiki]] or on email. We would appreciate the translation of this message in the local language by volunteer translators. Thank you!
[[:m:Wikipedia Asian Month 2019/International Team|Wikipedia Asian Month International Team.]]
[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|talk]]) ١٦:٥٧, ٣١ اکتوبر ٢٠١٩ (UTC)
</div>
<!-- Message sent by User:Tiven2240@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Tiven2240/WAM&oldid=19499019 -->
{{Clear}}
== Extension of Wikipedia Asian Month contest ==
In consideration of a week-long internet block in Iran, [[:m:Wikipedia Asian Month 2019|Wikipedia Asian Month 2019]] contest has been extended for a week past November. The articles submitted till 7th December 2019, 23:59 UTC will be accepted by the fountain tools of the participating wikis.
Please help us translate and spread this message in your local language.
[[:m:Wikipedia Asian Month 2019/International Team|Wikipedia Asian Month International Team]]
--[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|talk]]) ١٤:١٦, ٢٧ نَوَمبَر ٢٠١٩ (UTC)
<!-- Message sent by User:Tiven2240@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Tiven2240/WAM&oldid=19592127 -->
{{Clear}}
== Wiki Loves Folklore ==
[[File:WLL Subtitled Logo (transparent).svg|100px|right|frameless]]
'''Hello Folks,'''
Wiki Loves Love is back again in 2020 iteration as '''[[:c:Commons:Wiki Loves Folklore|Wiki Loves Folklore]]''' from 1 February, 2020 - 29 February, 2020. Join us to celebrate the local cultural heritage of your region with the theme of folklore in the international photography contest at [https://commons.wikimedia.org/w/index.php?title=Special:UploadWizard&campaign=wllove Wikimedia Commons]. Images, videos and audios representing different forms of folk cultures and new forms of heritage that haven’t otherwise been documented so far are welcome submissions in Wiki Loves Folklore. Learn more about the contest at [[m:Wiki Loves Folklore|Meta-Wiki]] and [[:c:Commons:Wiki Loves Folklore|Commons]].
'''Kind regards,'''<br/>
[[:c:Commons:Wiki Loves Folklore/International Team|'''Wiki Loves Folklore International Team''']]<br/>
<small>— [[User:Tulsi Bhagat|<font color="black">'''Tulsi Bhagat'''</font>]] <small>([[Special:Contributions/Tulsi Bhagat|<font color="black">contribs</font>]] | [[User talk:Tulsi Bhagat|<font color="black">talk</font>]])</small><br/>
sent using [[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|talk]]) ٠٦:١٤, ١٨ جنوری ٢٠٢٠ (UTC)</small>
<!-- Message sent by User:Tulsi Bhagat@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Tiven2240/wll&oldid=19716850 -->
{{Clear}}
== Movement Learning and Leadership Development Project ==
Hello
The Wikimedia Foundation’s Community Development team is seeking to learn more about the way volunteers learn and develop into the many different roles that exist in the movement. Our goal is to build a movement informed framework that provides shared clarity and outlines accessible pathways on how to grow and develop skills within the movement. To this end, we are looking to speak with you, our community to learn about your journey as a Wikimedia volunteer. Whether you joined yesterday or have been here from the very start, we want to hear about the many ways volunteers join and contribute to our movement.
To learn more about the project, [[:m:special:MyLanguage/Movement Learning and Leadership Development Project|please visit the Meta page]]. If you are interested in participating in the project, please complete [https://docs.google.com/forms/d/e/1FAIpQLSegM07N1FK_s0VUECM61AlWOthwdn5zQOlVsa2vaKcx13BwZg/viewform?usp=sf_link this simple Google form]. Although we may not be able to speak to everyone who expresses interest, we encourage you to complete this short form if you are interested in participating!
-- [[user:LMiranda (WMF)|LMiranda (WMF)]] ([[user talk:LMiranda (WMF)|talk]]) ١٩:٠١, ٢٢ جنوری ٢٠٢٠ (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Trizek_(WMF)/sandbox/temp_MassMessage_list&oldid=19738989 -->
{{Clear}}
== Additional interface for edit conflicts on talk pages ==
''Sorry, for writing this text in English. If you could help to translate it, it would be appreciated.''
You might know the new interface for edit conflicts (currently a beta feature). Now, Wikimedia Germany is designing an additional interface to solve edit conflicts on talk pages. This interface is shown to you when you write on a discussion page and another person writes a discussion post in the same line and saves it before you do. With this additional editing conflict interface you can adjust the order of the comments and edit your comment. We are inviting everyone to have a look at [[m:WMDE Technical Wishes/Edit Conflicts#Edit conflicts on talk pages|the planned feature]]. Let us know what you think on our [[mw:Help talk:Two Column Edit Conflict View|central feedback page]]! -- For the Technical Wishes Team: [[m:User:Max Klemm (WMDE)|Max Klemm (WMDE)]] ١٤:١٥, ٢٦ فرؤری ٢٠٢٠ (UTC)
<!-- Message sent by User:Max Klemm (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=WMDE_Technical_Wishes/Technical_Wishes_News_list_all_village_pumps&oldid=19845780 -->
{{Clear}}
== Editing news 2020 #1 – Discussion tools ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
<em>[[m:VisualEditor/Newsletter/2020/April|Read this in another language]] • [[m:VisualEditor/Newsletter|Subscription list for this multilingual newsletter]]</em>
[[File:TalkPages-Reply-v1.0.png|thumb|300px|alt=Screenshot showing what the Reply tool looks like|This early version of the Reply tool automatically signs and indents comments.]]
The [[mw:Editing|Editing team]] has been working on [[mw:Talk pages project|the talk pages project]]. The goal of the talk pages project is to help contributors communicate on wiki more easily. This project is the result of the [[mw:Talk pages consultation 2019|Talk pages consultation 2019]].
[[File:TalkPages-Reply-v2.0.png|thumb|300px|alt=Reply tool improved with edit tool buttons|In a future update, the team plans to test a tool for easily linking to another user's name, a rich-text editing option, and other tools.]]
The team is building a [[mw:Talk pages project/replying|new tool for replying]] to comments now. This early version can sign and indent comments automatically. <strong>Please [[mw:Talk pages project/replying/prototype testing#Reply%20version%201.0|test the new Reply tool]].</strong>
*On 31 March 2020, the new {{Int:discussiontools-replylink}} tool was offered as a [[mw:Beta Feature|Beta Feature]] editors at four Wikipedias: [[w:ar:Special:Preferences#mw-prefsection-betafeatures|Arabic]], [[w:nl:Special:Preferences#mw-prefsection-betafeatures|Dutch]], [[w:fr:Special:Preferences#mw-prefsection-betafeatures|French]], and [[w:hu:Special:Preferences#mw-prefsection-betafeatures|Hungarian]]. If your community also wants early access to the new tool, contact [[User:Whatamidoing (WMF)]].
*The team is planning some upcoming changes. <strong>Please [[mw:Talk pages project/replying#Version%202.0|review the proposed design]] and share your thoughts on the talk page.</strong> The team will test features such as:
**an easy way to mention another editor ("pinging"),
**a rich-text visual editing option, and
**other features identified through user testing or recommended by editors.
To hear more about Editing Team updates, please add your name to the [[mw:Talk pages project#Get involved|<strong>"Get involved"</strong>]] section of the project page. You can also watch [[File:MediaWiki Vector skin blue star watchlist icon.svg|frameless|16px]] these pages: [[mw:Talk pages project|the main project page]], [[mw:Talk pages project/Updates|Updates]], [[mw:Talk pages project/replying|Replying]], and [[mw:Talk pages project/replying/prototype testing|User testing]].
– [[user:PPelberg (WMF)|PPelberg (WMF)]] ([[mw:User talk:PPelberg (WMF)|talk]]) & [[User:Whatamidoing (WMF)|Whatamidoing (WMF)]] ([[mw:User talk:Whatamidoing (WMF)|talk]])
</div> ١٩:٢٤, ٨ اپریٖل ٢٠٢٠ (UTC)
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Quiddity_(WMF)/sandbox2&oldid=19967064 -->
{{Clear}}
== Editing news 2020 #2 ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
<em>[[m:Special:MyLanguage/VisualEditor/Newsletter/2020/June|Read this in another language]] • [[m:Special:MyLanguage/VisualEditor/Newsletter|Subscription list for this multilingual newsletter]]</em>
[[File:TalkPages-Reply-v2.0.png|alt=Mockup of the new reply feature, showing new editing tools|thumb|400x400px|The new features include a toolbar. [[mw:Talk:Talk pages project/replying|What do you think should be in the toolbar?]]]]
This issue of the [[mw:Special:MyLanguage/Editing|Editing]] newsletter includes information the [[mw:Special:MyLanguage/Talk pages project|Talk pages project]], an effort to help contributors communicate on wiki more easily.
* [[mw:Special:MyLanguage/Talk pages project/replying|<strong>Reply tool</strong>]]: This is available as a Beta Feature at the four partner wikis (Arabic, Dutch, French, and Hungarian Wikipedias). The Beta Feature is called "{{int:discussiontools-preference-label}}". The Beta Feature will get [[mw:Special:MyLanguage/Talk pages project/replying#Version%202.0|new features]] soon. The new features include writing comments in a new visual editing mode and pinging other users by typing <code>@</code>. You can [[mw:Special:MyLanguage/Talk pages project/replying/prototype testing#Reply%20tool%20version%202.0|test the new features]] on the [[mw:Special:MyLanguage/Beta Cluster|Beta Cluster]] now. Some other wikis will have a chance to try the Beta Feature in the coming months.
* [[mw:Special:MyLanguage/New requirements for user signatures|<strong>New requirements for user signatures</strong>]]: Soon, users will not be able to save invalid custom signatures in [[Special:Preferences]]. This will reduce signature spoofing, prevent page corruption, and make new talk page tools more reliable. Most editors will not be affected.
* [[mw:Special:MyLanguage/Talk pages project/New discussion|<strong>New discussion tool</strong>]]: The Editing team is beginning work on a simpler process for starting new discussions. You can [[mw:Special:MyLanguage/Talk pages project/New discussion#Design|see the initial design on the project page]].
* [[m:Special:MyLanguage/Research:Usage of talk pages|<strong>Research on the use of talk pages</strong>]]: The Editing team worked with the [[mw:Special:MyLanguage/Wikimedia Research|Wikimedia research team]] to study how talk pages help editors improve articles. We learned that new editors who use talk pages make more edits to the main namespace than new editors who don't use talk pages.
– [[User:Whatamidoing (WMF)|Whatamidoing (WMF)]] ([[User talk:Whatamidoing (WMF)|talk]])
</div> ٢٠:٣٣, ١٧ جوٗن ٢٠٢٠ (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Trizek_(WMF)/sandbox/temp_MassMessage_list&oldid=20184653 -->
{{Clear}}
== Annual contest Wikipedia Pages Wanting Photos ==
[[File:WPWP logo 1.png|150px|right|Wikipedia Pages Wanting Photos (WPWP)]]
This is to invite you to join the Wikipedia Pages Wanting Photos (WPWP) campaign to help improve Wikipedia articles with photos and win prizes. The campaign starts today 1st July 2020 and closes 31st August 2020.
The campaign primarily aims at using images from Wikimedia Commons on Wikipedia articles that are lacking images. Participants will choose among Wikipedia pages without photo images, then add a suitable file from among the many thousands of photos in the Wikimedia Commons, especially those uploaded from thematic contests (Wiki Loves Africa, Wiki Loves Earth, Wiki Loves Folklore, etc.) over the years.
Please visit the '''[[m:Wikipedia Pages Wanting Photos|campaign page]]''' to learn more about the WPWP Campaign.
With kind regards,
Thank you,
Deborah Schwartz Jacobs, Communities Liaison, On behalf of the Wikipedia Pages Wanting Photos Organizing Team - ٠٨:٢٤, ١ جولائی ٢٠٢٠ (UTC)
''feel free to translate this message to your local language when this helps your community''
<!-- Message sent by User:Romaine@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Romaine/MassMessage&oldid=20232618 -->
{{Clear}}
== Feedback on movement names ==
{{int:Hello}}. Apologies if you are not reading this message in your native language. {{int:please-translate}} if necessary. {{Int:Feedback-thanks-title}}
There are a lot of conversations happening about the future of our movement names. We hope that you are part of these discussions and that your community is represented.
Since 16 June, the Foundation Brand Team has been running a [https://wikimedia.qualtrics.com/jfe/form/SV_9G2dN7P0T7gPqpD survey] in 7 languages about [[m:Special:MyLanguage/Communications/Wikimedia brands/2030 movement brand project/Naming convention proposals|3 naming options]]. There are also community members sharing concerns about renaming in a [[m:Special:MyLanguage/Community open letter on renaming|Community Open Letter]].
Our goal in this call for feedback is to hear from across the community, so we encourage you to participate in the survey, the open letter, or both. The survey will go through 7 July in all timezones. Input from the survey and discussions will be analyzed and published on Meta-Wiki.
Thanks for thinking about the future of the movement, --[[:m:Talk:Communications/Wikimedia brands/2030 movement brand project|The Brand Project team]], ١٩:٤٤, ٢ جولائی ٢٠٢٠ (UTC)
''Note: The survey is conducted via a third-party service, which may subject it to additional terms. For more information on privacy and data-handling, see the [[foundation:Special:MyLanguage/Naming Convention Proposals Movement Feedback Survey Privacy Statement|survey privacy statement]].''
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Elitre_(WMF)/All_wikis_June_2020&oldid=20238836 -->
{{Clear}}
== Editing news 2020 #3 ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
<em>[[m:VisualEditor/Newsletter/2020/July|Read this in another language]] • [[m:VisualEditor/Newsletter|Subscription list for this multilingual newsletter]]</em>
[[File:50M@2x.png|thumb|alt=A gold star with a blue ribbon, and the text 50m|More than <strong>50 million edits</strong> have been made using the visual editor on desktop.|400px]]
Seven years ago this month, the [[mw:Editing team|Editing team]] offered the visual editor to most Wikipedia editors. Since then, editors have achieved many milestones:
* More than <strong>50 million edits</strong> have been made using the visual editor on desktop.
* More than <strong>2 million new articles</strong> have been created in the visual editor. More than 600,000 of these new articles were created during 2019.
* The visual editor is <strong>increasingly popular</strong>. The proportion of all edits made using the visual editor has increased every year since its introduction.
* In 2019, <strong>35% of the edits by newcomers</strong> (logged-in editors with ≤99 edits) used the visual editor. This percentage has <strong>increased every year</strong>.
* Almost <strong>5 million edits on the mobile site</strong> have been made with the visual editor. Most of these edits have been made since the Editing team started improving the [[mw:Mobile visual editor|mobile visual editor]] in 2018.
* On 17 November 2019, the [https://discuss-space.wmflabs.org/t/first-edit-made-to-wikipedia-from-outer-space/2254 <strong>first edit from outer space</strong>] was made in the mobile visual editor. 🚀 👩🚀
* Editors have made more than <strong>7 million edits in the 2017 wikitext editor</strong>, including starting <strong>600,000 new articles</strong> in it. The [[mw:2017 wikitext editor|2017 wikitext editor]] is VisualEditor's built-in wikitext mode. You can [[Special:Preferences#mw-prefsection-betafeatures|enable it in your preferences]].
[[User:Whatamidoing (WMF)|Whatamidoing (WMF)]] ([[User talk:Whatamidoing (WMF)|talk]])
</div> ١٢:٥٥, ٩ جولائی ٢٠٢٠ (UTC)
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=VisualEditor/Newsletter/Wikis_with_VE&oldid=20232673 -->
{{Clear}}
== Announcing a new wiki project! Welcome, Abstract Wikipedia ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
Hi all,
It is my honor to introduce Abstract Wikipedia, a new project that has been unanimously approved by the Wikimedia Foundation Board of Trustees. Abstract Wikipedia proposes a new way to generate baseline encyclopedic content in a multilingual fashion, allowing more contributors and more readers to share more knowledge in more languages. It is an approach that aims to make cross-lingual cooperation easier on our projects, increase the sustainability of our movement through expanding access to participation, improve the user experience for readers of all languages, and innovate in free knowledge by connecting some of the strengths of our movement to create something new.
This is our first new project in over seven years. Abstract Wikipedia was submitted as a project proposal by Denny Vrandečić in May 2020 <ref>[[m:Special:MyLanguage/Abstract Wikipedia|Abstract Wikipedia]]</ref> after years of preparation and research, leading to a detailed plan and lively discussions in the Wikimedia communities. We know that the energy and the creativity of the community often runs up against language barriers, and information that is available in one language may not make it to other language Wikipedias. Abstract Wikipedia intends to look and feel like a Wikipedia, but build on the powerful, language-independent conceptual models of Wikidata, with the goal of letting volunteers create and maintain Wikipedia articles across our polyglot Wikimedia world.
The project will allow volunteers to assemble the fundamentals of an article using words and entities from Wikidata. Because Wikidata uses conceptual models that are meant to be universal across languages, it should be possible to use and extend these building blocks of knowledge to create models for articles that also have universal value. Using code, volunteers will be able to translate these abstract “articles” into their own languages. If successful, this could eventually allow everyone to read about any topic in Wikidata in their own language.
As you can imagine, this work will require a lot of software development, and a lot of cooperation among Wikimedians. In order to make this effort possible, Denny will join the Foundation as a staff member in July and lead this initiative. You may know Denny as the creator of Wikidata, a long-time community member, a former staff member at Wikimedia Deutschland, and a former Trustee at the Wikimedia Foundation <ref>[[m:User:Denny|User:Denny]]</ref>. We are very excited that Denny will bring his skills and expertise to work on this project alongside the Foundation’s product, technology, and community liaison teams.
It is important to acknowledge that this is an experimental project, and that every Wikipedia community has different needs. This project may offer some communities great advantages. Other communities may engage less. Every language Wikipedia community will be free to choose and moderate whether or how they would use content from this project.
We are excited that this new wiki-project has the possibility to advance knowledge equity through increased access to knowledge. It also invites us to consider and engage with critical questions about how and by whom knowledge is constructed. We look forward to working in cooperation with the communities to think through these important questions.
There is much to do as we begin designing a plan for Abstract Wikipedia in close collaboration with our communities. I encourage you to get involved by going to the project page and joining the new mailing list <ref>[[mail:abstract-wikipedia|Abstract Wikipedia mailing list]]</ref>. We recognize that Abstract Wikipedia is ambitious, but we also recognize its potential. We invite you all to join us on a new, unexplored path.
Yours,
Katherine Maher (Executive Director, Wikimedia Foundation)
<references/>
</div> <small>Sent by [[:m:User:Elitre (WMF)]] ٢٠:٠٦, ٩ جولائی ٢٠٢٠ (UTC) - '''[[:m:Special:MyLanguage/Abstract Wikipedia/July 2020 announcement]]''' </small>
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Elitre_(WMF)/All_wikis_June_2020&oldid=20265889 -->
{{Clear}}
== The Universal Code of Conduct (UCoC): we want to hear from you. ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
''{{int:Hello}}. Apologies that you may not be reading this message in your native language: translations of the following message may be available on [[:m:Special:MyLanguage/Universal Code of Conduct/Message to small and medium sized wikis|Meta]]. {{int:please-translate}}. {{Int:Feedback-thanks-title}}''<br>
At times, our contributor communities and projects have suffered from a lack of guidelines that can help us create an environment where free knowledge can be shared safely without fear.
There has been talk about the need for a global set of conduct rules in different communities over time.
Recently, the Wikimedia Foundation Board of Trustees announced a [[:m:Special:MyLanguage/Wikimedia_Foundation_Board_noticeboard/May_2020_-_Board_of_Trustees_on_Healthy_Community_Culture,_Inclusivity,_and_Safe_Spaces|Community Culture Statement]], asking for new standards to address harassment and promote inclusivity across projects.
The universal code of conduct will be a binding minimum set of standards across all Wikimedia projects, and will apply to all of us, staff and volunteers alike, all around the globe. It is of great importance that we all participate in expressing our opinions and thoughts about UCoC and its values. We should think about what we want it to cover or include and what it shouldn’t include, and how it may create difficulties or help our groups.
This is the time to talk about it. Before starting drafting the code of conduct, we would like to hear from you and to solicit the opinions and feedback of your colleagues.
In order for your voice to be heard, we encourage and invite you to read more about [[:m:Special:MyLanguage/Universal_Code_of_Conduct|the universal code of conduct (UCoC)]] and then write down your opinions or feedback [[:m:Talk:Universal_Code_of_Conduct|on the discussion page]].
To reduce language barriers during the process, you are welcome to translate [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Universal+Code+of+Conduct&language=en&action=page&filter= the universal code of conduct main page] from English into your respective local language. You and your community may choose to provide your opinions/feedback using your local languages.
Thanks in advance for your attention and contributions, [[:m:Talk:Trust_and_Safety|The Trust and Safety team at Wikimedia Foundation]] ١٦:٤٢, ٢٢ جولائی ٢٠٢٠ (UTC)
</div>
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Universal_Code_of_Conduct/Message_to_small_and_medium_sized_wikis/List&oldid=20303398 -->
{{Clear}}
== Technical Wishes: FileExporter and FileImporter become default features on all Wikis ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
The [[m:WMDE_Technical_Wishes/Move_files_to_Commons|FileExporter and FileImporter]] will become a default features on all wikis until August 7, 2020. They are planned to help you to move files from your local wiki to Wikimedia Commons easier while keeping all original file information (Description, Source, Date, Author, View History) intact. Additionally, the move is documented in the files view history.
How does it work?
Step 1: If you are an auto-confirmed user, you will see a link "Move file to Wikimedia Commons" on the local file page.
Step 2: When you click on this link, the FileImporter checks if the file can in fact be moved to Wikimedia Commons. These checks are performed based on the wiki's [[m:WMDE_Technical_Wishes/Move_files_to_Commons/Configuration_file_documentation|configuration file]] which is created and maintained by each local wiki community.
Step 3: If the file is compatible with Wikimedia Commons, you will be taken to an import page, at which you can update or add information regarding the file, such as the description. You can also add the 'Now Commons' template to the file on the local wiki by clicking the corresponding check box in the import form. Admins can delete the file from the local wiki by enabling the corresponding checkbox. By clicking on the 'Import' button at the end of the page, the file is imported to Wikimedia Commons.
If you want to know more about the [[m:WMDE_Technical_Wishes/Move_files_to_Commons|FileImporter extension]] or the [[m:WMDE_Technical_Wishes|Technical Wishes Project]], follow the links. --For the Technical Wishes Team: </div>[[User:Max Klemm (WMDE)|Max Klemm (WMDE)]] ٠٩:١٣, ٦ اَگست ٢٠٢٠ (UTC)
<!-- Message sent by User:Max Klemm (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=WMDE_Technical_Wishes/Technical_Wishes_News_list_all_village_pumps&oldid=20343133 -->
{{Clear}}
== Important: maintenance operation on September 1st ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
[[:m:Special:MyLanguage/Tech/Server switch 2020|Read this message in another language]] • [[:m:Special:MyLanguage/Tech/Server switch 2020|{{int:please-translate}}]]
The [[foundation:|Wikimedia Foundation]] will be testing its secondary data centre. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
They will switch all traffic to the secondary data centre on '''Tuesday, September 1st 2020'''.
Unfortunately, because of some limitations in [[mw:Manual:What is MediaWiki?|MediaWiki]], all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
'''You will be able to read, but not edit, all wikis for a short period of time.'''
*You will not be able to edit for up to an hour on Tuesday, September 1st. The test will start at [https://www.timeanddate.com/worldclock/fixedtime.html?iso=20200901T14 14:00 UTC] (15:00 BST, 16:00 CEST, 10:00 EDT, 19:30 IST, 07:00 PDT, 23:00 JST, and in New Zealand at 02:00 NZST on Wednesday September 2).
*If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
''Other effects'':
*Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
*There will be code freezes for the week of September 1st, 2020. Non-essential code deployments will not happen.
This project may be postponed if necessary. You can [[wikitech:Switch Datacenter#Schedule for 2018 switch|read the schedule at wikitech.wikimedia.org]]. Any changes will be announced in the schedule. There will be more notifications about this. '''Please share this information with your community.'''
</div></div> <span dir=ltr>[[m:User:Trizek (WMF)|Trizek (WMF)]] ([[m:User talk:Trizek (WMF)|talk]])</span> ١٣:٤٨, ٢٦ اَگست ٢٠٢٠ (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=20384955 -->
{{Clear}}
== New Wikipedia Library Collections Now Available (September 2020) ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Hello Wikimedians!
[[File:Wikipedia_Library_owl.svg|thumb|upright|The TWL owl says sign up today!]]
[[m:The Wikipedia Library|The Wikipedia Library]] is announcing new free, full-access, accounts to reliable sources as part of our [https://wikipedialibrary.wmflabs.org/partners/ research access program]. You can sign up for new accounts and research materials on the [https://wikipedialibrary.wmflabs.org/ Library Card platform]:
* '''[https://wikipedialibrary.wmflabs.org/partners/101/ Al Manhal]''' – Arabic journals and ebooks
* '''[https://wikipedialibrary.wmflabs.org/partners/102/ Ancestry.com]''' – Genealogical and historical records
* '''[https://wikipedialibrary.wmflabs.org/partners/100/ RILM]''' – Music encyclopedias
Many other partnerships are listed on [https://wikipedialibrary.wmflabs.org/partners/ our partners page], including [https://wikipedialibrary.wmflabs.org/partners/49/ Adam Matthew], [https://wikipedialibrary.wmflabs.org/partners/57/ EBSCO], [https://wikipedialibrary.wmflabs.org/partners/55/ Gale] and [https://wikipedialibrary.wmflabs.org/partners/54/ JSTOR].
A significant portion of our collection now no longer requires individual applications to access! Read more in our [https://diff.wikimedia.org/2020/06/24/simplifying-your-research-needs-the-wikipedia-library-launches-new-technical-improvements-and-partnerships/ recent blog post].
Do better research and help expand the use of high quality references across Wikipedia projects!
<br>--[[w:en:Wikipedia:TWL/Coordinators|The Wikipedia Library Team]] ٠٩:٤٩, ٣ سیٚپٹَمبَر ٢٠٢٠ (UTC)
:<small>This message was delivered via the [https://meta.wikimedia.org/wiki/MassMessage#Global_message_delivery Global Mass Message] tool to [https://meta.wikimedia.org/wiki/Global_message_delivery/Targets/Wikipedia_Library The Wikipedia Library Global Delivery List].</small>
</div>
<!-- Message sent by User:Samwalton9@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/Wikipedia_Library&oldid=20418180 -->
{{Clear}}
== Invitation to participate in the conversation ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
''{{int:Hello}}. Apologies for cross-posting, and that you may not be reading this message in your native language: translations of the following announcement may be available on '''[[:m:Special:MyLanguage/Universal Code of Conduct/Draft review/Invitation (long version)|Meta]]'''. {{int:please-translate}}. {{Int:Feedback-thanks-title}}''
We are excited to share '''[[:m:Special:MyLanguage/Universal Code of Conduct/Draft review|a draft of the Universal Code of Conduct]]''', which the Wikimedia Foundation Board of Trustees called for earlier this year, for your review and feedback. The discussion will be open until October 6, 2020.
The UCoC Drafting Committee wants to learn which parts of the draft would present challenges for you or your work. What is missing from this draft? What do you like, and what could be improved?
Please join the conversation and share this invitation with others who may be interested to join, too.
To reduce language barriers during the process, you are welcomed to translate this message and the [[:m:Special:MyLanguage/Universal Code of Conduct/Draft review|Universal Code of Conduct/Draft review]]. You and your community may choose to provide your opinions/feedback using your local languages.
To learn more about the UCoC project, see the [[:m:Special:MyLanguage/Universal Code of Conduct|Universal Code of Conduct]] page, and the [[:m:Special:MyLanguage/Universal Code of Conduct/FAQ|FAQ]], on Meta.
Thanks in advance for your attention and contributions, [[:m:Talk:Trust_and_Safety|The Trust and Safety team at Wikimedia Foundation]], ١٧:٥٥, ١٠ سیٚپٹَمبَر ٢٠٢٠ (UTC) </div>
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Universal_Code_of_Conduct/Draft_review/Invitation_(long_version)/List&oldid=20440292 -->
{{Clear}}
== Wiki of functions naming contest ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
{{int:Please-translate}}.
{{int:Hello}}. Please help pick a name for the new Wikimedia wiki project. This project will be a wiki where the community can work together on a library of [[m:Special:MyLanguage/Abstract_Wikipedia/Wiki_of_functions_naming_contest#function|functions]]. The community can create new functions, read about them, discuss them, and share them. Some of these functions will be used to help create language-independent Wikipedia articles that can be displayed in any language, as part of the Abstract Wikipedia project. But functions will also be usable in many other situations.
There will be two rounds of voting, each followed by legal review of candidates, with voting beginning on 29 September and 27 October. Our goal is to have a final project name selected on 8 December. If you would like to participate, then '''[[m:Special:MyLanguage/Abstract Wikipedia/Wiki of functions naming contest|please learn more and vote now]]''' at meta-wiki. {{Int:Feedback-thanks-title}} --[[m:User:Quiddity (WMF)|Quiddity (WMF)]]</div> ٢١:٢٠, ٢٩ سیٚپٹَمبَر ٢٠٢٠ (UTC)
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Quiddity_(WMF)/Global_message_delivery_split_4&oldid=20492310 -->
{{Clear}}
== Call for feedback about Wikimedia Foundation Bylaws changes and Board candidate rubric ==
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:Hello}}. Apologies if you are not reading this message in your native language. {{Int:Please-translate}}.
Today the Wikimedia Foundation Board of Trustees starts two calls for feedback. One is about changes to the Bylaws mainly to increase the Board size from 10 to 16 members. The other one is about a trustee candidate rubric to introduce new, more effective ways to evaluate new Board candidates. The Board welcomes your comments through 26 October. For more details, [[m:Special:MyLanguage/Wikimedia Foundation Board noticeboard/October 2020 - Call for feedback about Bylaws changes and Board candidate rubric|check the full announcement]].
{{Int:Feedback-thanks-title}} [[m:User:Qgil-WMF|Qgil-WMF]] ([[m:User talk:Qgil-WMF|talk]]) ١٧:١٧, ٧ اکتوبر ٢٠٢٠ (UTC)
</div>
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Elitre_(WMF)/Board&oldid=20519859 -->
{{Clear}}
== Important: maintenance operation on October 27 ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
[[:m:Special:MyLanguage/Tech/Server switch 2020|Read this message in another language]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Tech%2FServer+switch+2020&language=&action=page&filter= {{int:please-translate}}]
The [[foundation:|Wikimedia Foundation]] tests the switch between its first and secondary data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
They will switch all traffic back to the primary data center on '''Tuesday, October 27 2020'''.
Unfortunately, because of some limitations in [[mw:Manual:What is MediaWiki?|MediaWiki]], all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
'''You will be able to read, but not edit, all wikis for a short period of time.'''
*You will not be able to edit for up to an hour on Tuesday, October 27. The test will start at [https://zonestamp.toolforge.org/1603807200 14:00 UTC] (14:00 WET, 15:00 CET, 10:00 EDT, 19:30 IST, 07:00 PDT, 23:00 JST, and in New Zealand at 03:00 NZDT on Wednesday October 28).
*If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
''Other effects'':
*Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
*There will be code freezes for the week of October 26, 2020. Non-essential code deployments will not happen.
This project may be postponed if necessary. You can [[wikitech:Switch_Datacenter#Schedule_for_2020_switch|read the schedule at wikitech.wikimedia.org]]. Any changes will be announced in the schedule. There will be more notifications about this. A banner will be displayed on all wikis 30 minutes before this operation happens. '''Please share this information with your community.'''</div></div> -- <span dir=ltr>[[m:User:Trizek (WMF)|Trizek (WMF)]] ([[m:User talk:Trizek (WMF)|talk]])</span> ١٧:١٠, ٢١ اکتوبر ٢٠٢٠ (UTC)
<!-- Message sent by User:Trizek (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=20519839 -->
{{Clear}}
== Wiki of functions naming contest - Round 2 ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
{{int:Hello}}.
Reminder: Please help to choose the name for the new Wikimedia wiki project - the library of functions. The finalist vote starts today. The finalists for the name are: <span lang="en" dir="ltr" class="mw-content-ltr">Wikicode, Wikicodex, Wikifunctions, Wikifusion, Wikilambda, Wikimedia Functions</span>. If you would like to participate, then '''[[m:Special:MyLanguage/Abstract Wikipedia/Wiki of functions naming contest/Names|please learn more and vote now]]''' at Meta-wiki.
{{Int:Feedback-thanks-title}} --[[m:User:Quiddity (WMF)|Quiddity (WMF)]]
</div> ٢٢:١٠, ٥ نَوَمبَر ٢٠٢٠ (UTC)
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=20564572 -->
{{Clear}}
== [[m:Special:MyLanguage/Community Wishlist Survey 2021/Invitation|Community Wishlist Survey 2021]] ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
[[File:Magic Wand Icon 229981 Color Flipped.svg|thumb|48px]]
The '''[[m:Special:MyLanguage/Community Wishlist Survey 2021|2021 Community Wishlist Survey]]''' is now open!
This survey is the process where communities decide what the [[m:Community Tech|Community Tech]] team should work on over the next year. We encourage everyone to submit proposals until the deadline on '''{{#time:j xg|2020-11-30|{{PAGELANGUAGE}}}}''', or comment on other proposals to help make them better.
The communities will vote on the proposals between {{#time:j xg|2020-12-08|{{PAGELANGUAGE}}}} and {{#time:j xg|2020-12-21|{{PAGELANGUAGE}}}}.
The Community Tech team is focused on tools for experienced Wikimedia editors.
You can write proposals in any language, and we will translate them for you. Thank you, and we look forward to seeing your proposals!
</div>
<span lang="en" dir="ltr" class="mw-content-ltr">[[m:user:SGrabarczuk (WMF)|SGrabarczuk (WMF)]]</span>
١٨:٠٩, ٢٠ نَوَمبَر ٢٠٢٠ (UTC)
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:SGrabarczuk_(WMF)/sandbox/1&oldid=20689939 -->
{{Clear}}
== Global bot policy proposal: invitation to a Meta discussion ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
{{int:hello}}!
I apologize for sending a message in English. {{int:please-translate}}. According to [[:m:Bot_policy/Implementation#Where_it_is_policy|the list]], your wiki project currently is opted in to the [[:m:Bot_policy#Global_bots|global bot policy]]. Under this policy, bots that fix double redirects or maintain interwiki links are allowed to operate under a global bot flag that is assigned directly by the stewards.
As the Wikimedia projects developed, the need for the current global bot policy decreased, and in the past years, no bots were appointed via that policy. That is mainly given Wikidata were estabilished in 2013, and it is no longer necessary to have dozens of bots that maintain interwiki links.
A [[:m:Requests for comment/Refine global bot policy|proposal]] was made at Meta-Wiki, which proposes that the stewards will be authorized to determine whether an uncontroversial task may be assigned a global bot flag. The stewards already assign permissions that are more impactful on many wikis, namely, [[:m:GS|global sysops]] and [[:m:GR|global renamers]], and I do not think that trust should be an issue. The stewards will assign the permission only to time-proven bots that are already approved at a number of projects, like [[:m:User:ListeriaBot|ListeriaBot]].
By this message, I would like to invite you to comment [[:m:Requests for comment/Refine global bot policy|in the global RFC]], to voice your opinion about this matter.
Thank you for your time.
Best regards,<br />
[[User:Martin Urbanec|Martin Urbanec]] ([[:m:User talk:Martin Urbanec|{{int:Talkpagelinktext}}]]) ١١:٤٩, ٢٤ نَوَمبَر ٢٠٢٠ (UTC)
</div>
<!-- Message sent by User:Martin Urbanec@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Martin_Urbanec/sand&oldid=20709229 -->
{{Clear}}
== Wikidata descriptions changes to be included more often in Recent Changes and Watchlist ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
''Sorry for sending this message in English. Translations are available on [[m:Special:MyLanguage/Announcements/Announcement Wikidata descriptions in watchlist|this page]]. Feel free to translate it in more languages!''
As you may know, you can include changes coming from Wikidata in your Watchlist and Recent Changes ([[Special:Preferences#mw-prefsection-watchlist|in your preferences]]). Until now, this feature didn’t always include changes made on Wikidata descriptions due to the way Wikidata tracks the data used in a given article.
Starting on December 3rd, the Watchlist and Recent Changes will include changes on the descriptions of Wikidata Items that are used in the pages that you watch. This will only include descriptions in the language of your wiki to make sure that you’re only seeing changes that are relevant to your wiki.
This improvement was requested by many users from different projects. We hope that it can help you monitor the changes on Wikidata descriptions that affect your wiki and participate in the effort of improving the data quality on Wikidata for all Wikimedia wikis and beyond.
Note: if you didn’t use the Wikidata watchlist integration feature for a long time, feel free to give it another chance! The feature has been improved since the beginning and the content it displays is more precise and useful than at the beginning of the feature in 2015.
If you encounter any issue or want to provide feedback, feel free to use [[Phab:T191831|this Phabricator ticket]]. Thanks!
[[:d:User:Lea Lacroix (WMDE)|Lea Lacroix (WMDE)]] ١٤:٣٩, ٣٠ نَوَمبَر ٢٠٢٠ (UTC)
</div>
<!-- Message sent by User:Lea Lacroix (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Lea_Lacroix_(WMDE)/wikis&oldid=20728482 -->
{{Clear}}
== 2020 Coolest Tool Award Ceremony on December 11th ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
Hello all,
The ceremony of the 2020 [[m:Coolest_Tool_Award|Wikimedia Coolest Tool Award]] will take place virtually on Friday, December 11th, at 17:00 GMT. This award is highlighting tools that have been nominated by contributors to the Wikimedia projects, and the ceremony will be a nice moment to show appreciation to the tools developers and maybe discover new tools!
You will find more information [[m:Coolest_Tool_Award|here]] about the livestream and the discussions channels. Thanks for your attention, [[:d:User:Lea Lacroix (WMDE)|Lea Lacroix (WMDE)]] ١٠:٥٥, ٧ ڈیٚسَمبَر ٢٠٢٠ (UTC)
</div>
<!-- Message sent by User:Lea Lacroix (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=20734978 -->
{{Clear}}
== Community Wishlist Survey 2021 ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
[[File:Magic Wand Icon 229981 Color Flipped.svg|thumb|48px]]
'''We invite all registered users to vote on the [[m:Special:MyLanguage/Community Wishlist Survey 2021|2021 Community Wishlist Survey]]. You can vote from now until {{#time:j xg|2020-12-21|en}} for as many different wishes as you want.'''
In the Survey, wishes for new and improved tools for experienced editors are collected. After the voting, we will do our best to grant your wishes. We will start with the most popular ones.
We, the [[m:Special:MyLanguage/Community Tech|Community Tech]], are one of the [[m:Special:MyLanguage/Wikimedia Foundation|Wikimedia Foundation]] teams. We create and improve editing and wiki moderation tools. What we work on is decided based on results of the Community Wishlist Survey. Once a year, you can submit wishes. After two weeks, you can vote on the ones that you're most interested in. Next, we choose wishes from the survey to work on. Some of the wishes may be granted by volunteer developers or other teams.
'''[[m:Special:MyLanguage/Community Wishlist Survey 2021/Tracking|You can view and vote all proposals here.]]'''
We are waiting for your votes. Thank you!
</div>
[[user:SGrabarczuk (WMF)|SGrabarczuk (WMF)]]
٠٠:٥٢, ١٥ ڈیٚسَمبَر ٢٠٢٠ (UTC)
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:SGrabarczuk_(WMF)/sandbox/1&oldid=20689939 -->
{{Clear}}
== Moving Wikimania 2021 to a Virtual Event ==
<div class="mw-content-ltr" lang="en" dir="ltr">
[[File:Wikimania_logo_with_text_2.svg|right|alt=Wikimania's logo.|75px]]
''{{int:Hello}}. Apologies if you are not reading this message in your native language. {{Int:Please-translate}}. {{Int:Feedback-thanks-title}}''
[[:m:Wikimania 2021|Wikimania will be a virtual event this year]], and hosted by a wide group of community members. Whenever the next in-person large gathering is possible again, [[:m:ESEAP Hub|the ESEAP Core Organizing Team]] will be in charge of it. Stay tuned for more information about how ''you'' can get involved in the planning
process and other aspects of the event. [https://lists.wikimedia.org/pipermail/wikimedia-l/2021-January/096141.html Please read the longer version of this announcement on wikimedia-l].
''ESEAP Core Organizing Team, Wikimania Steering Committee, Wikimedia Foundation Events Team'', ١٥:١٥, ٢٧ جنوری ٢٠٢١ (UTC)
</div>
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Elitre_(WMF)/Wikimania21&oldid=21014617 -->
{{Clear}}
== Project Grant Open Call ==
This is the announcement for the [[m:Grants:Project|Project Grants program]] open call that started on January 11, with the submission deadline of February 10, 2021.<br> This first open call will be focussed on Community Organizing proposals. A second open call focused on research and software proposals is scheduled from February 15 with a submission deadline of March 16, 2021.<br>
For the Round 1 open call, we invite you to propose grant applications that fall under community development and organizing (offline and online) categories. Project Grant funds are available to support individuals, groups, and organizations to implement new experiments and proven ideas, from organizing a better process on your wiki, coordinating a campaign or editathon series to providing other support for community building. We offer the following resources to help you plan your project and complete a grant proposal:<br>
* Weekly proposals clinics via Zoom during the Open Call. Join us for [[m:Grants:Project|#Upcoming_Proposal_Clinics|real-time discussions]] with Program Officers and select thematic experts and get live feedback about your Project Grants proposal. We’ll answer questions and help you make your proposal better. We also offer these support pages to help you build your proposal:
* [[m:Grants:Project/Tutorial|Video tutorials]] for writing a strong application<br>
* General [[m:Grants:Project/Plan|planning page]] for Project Grants <br>
* [[m:Grants:Project/Learn|Program guidelines and criteria]]<br>
Program officers are also available to offer individualized proposal support upon request. Contact us if you would like feedback or more information.<br>
We are excited to see your grant ideas that will support our community and make an impact on the future of Wikimedia projects. Put your idea into motion, and [[m:Grants:Project/Apply|submit your proposal]] by February 10, 2021!<br>
Please feel free to get in touch with questions about getting started with your grant application, or about serving on the Project Grants Committee. Contact us at projectgrants{{at}}wikimedia.org. Please help us translate this message to your local language. [[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|talk]]) ٠٨:٠١, ٢٨ جنوری ٢٠٢١ (UTC)
<!-- Message sent by User:RSharma (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=20808431 -->
{{Clear}}
== New Wikipedia Library Collections Available Now (February 2021) ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Hello Wikimedians!
[[File:Wikipedia_Library_owl.svg|thumb|upright|The TWL owl says sign up today!]]
[[m:The Wikipedia Library|The Wikipedia Library]] is announcing new free, full-access, accounts to reliable sources as part of our [https://wikipedialibrary.wmflabs.org/partners/ research access program]. You can sign up to access research materials on the [https://wikipedialibrary.wmflabs.org/ Library Card platform]:
* '''[https://wikipedialibrary.wmflabs.org/partners/103/ Taxmann]''' – Taxation and law database
* '''[https://wikipedialibrary.wmflabs.org/partners/104/ PNAS]''' – Official journal of the National Academy of Sciences
* '''[https://wikipedialibrary.wmflabs.org/partners/57/ EBSCO]''' – New Arabic and Spanish language databases added
We have a wide array of [https://wikipedialibrary.wmflabs.org/partners/ other collections available], and a significant number now no longer require individual applications to access! Read more in our [https://diff.wikimedia.org/2020/06/24/simplifying-your-research-needs-the-wikipedia-library-launches-new-technical-improvements-and-partnerships/ blog post].
Do better research and help expand the use of high quality references across Wikipedia projects!
:<small>This message was delivered via the [https://meta.wikimedia.org/wiki/MassMessage#Global_message_delivery Global Mass Message] tool to [https://meta.wikimedia.org/wiki/Global_message_delivery/Targets/Wikipedia_Library The Wikipedia Library Global Delivery List].</small>
--١٢:٥٧, ١ فرؤری ٢٠٢١ (UTC)
</div>
<!-- Message sent by User:Samwalton9@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/Wikipedia_Library&oldid=21022367 -->
{{Clear}}
== Wiki Loves Folklore 2021 is back! ==
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:please-translate}}
[[File:Wiki Loves Folklore Logo.svg|right|150px|frameless]]
You are humbly invited to participate in the '''[[:c:Commons:Wiki Loves Folklore 2021|Wiki Loves Folklore 2021]]''' an international photography contest organized on Wikimedia Commons to document folklore and intangible cultural heritage from different regions, including, folk creative activities and many more. It is held every year from the 1st till the 28th of February.
You can help in enriching the folklore documentation on Commons from your region by taking photos, audios, videos, and [https://commons.wikimedia.org/w/index.php?title=Special:UploadWizard&campaign=wlf_2021 submitting] them in this commons contest.
Please support us in translating the [[:c:Commons: Wiki Loves Folklore 2021|project page]] and a [https://meta.wikimedia.org/wiki/Special:Translate?group=Centralnotice-tgroup-wikiloveslove2020&language=en&filter=%21translated&action=translate|one-line banner message] to help us spread the word in your native language.
'''Kind regards,'''
'''Wiki loves Folklore International Team'''
[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|talk]]) ١٣:٢٥, ٦ فرؤری ٢٠٢١ (UTC)
</div>
<!-- Message sent by User:Tiven2240@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Tiven2240/wll&oldid=21073884 -->
{{Clear}}
== Feminism & Folklore 1 February - 31 March ==
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:please-translate}}
Greetings!
You are invited to participate in '''[[m:Feminism and Folklore 2021|Feminism and Folklore]] writing contest'''. This year Feminism and Folklore will focus on feminism, women's biographies and gender-focused topics for the project in league with Wiki Loves Folklore gender gap focus with folk culture theme on Wikipedia. folk activities, folk games, folk cuisine, folk wear, fairy tales, folk plays, folk arts, folk religion, mythology, etc.
You can help us in enriching the folklore documentation on Wikipedia from your region by creating or improving articles centered on folklore around the world, including, but not limited to folk festivals, folk dances, folk music, women and queer personalities in folklore, folk culture (folk artists, folk dancers, folk singers, folk musicians, folk game athletes, women in mythology, women warriors in folklore, witches and witch-hunting, fairy tales and more. You can contribute to new articles or translate from the list of [[:m:Feminism and Folklore 2021/List of Articles|suggested articles here]].
You can also support us in translating the [[m:Feminism and Folklore 2021|project page]] and help us spread the word in your native language.
Learn more about the contest and prizes from our [[m:Feminism and Folklore 2021|project page]]. Thank you.
Feminism and Folklore team,
[[m:User:Joy Agyepong|Joy Agyepong]] ([[m:User talk:Joy Agyepong|talk]]) ٠٢:٤٠, ١٦ فرؤری ٢٠٢١ (UTC)
</div>
<!-- Message sent by User:Tiven2240@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery/Wikipedia&oldid=20421065 -->
{{Clear}}
== Proposal: Set two-letter project shortcuts as alias to project namespace globally ==
<div lang="en" dir="ltr">
{{int:please-translate}}
Hello everyone,
I apologize for posting in English. I would like to inform everyone that I created a new global request for comment (GRFC) at Meta Wiki, which may affect your project: [[:m:Requests for comment/Set short project namespace aliases by default globally]].
In this GRFC, I propose that two-project shortcuts for project names will become a default alias for the project namespace. For instance, on all Wikipedias, WP will be an alias to the Wikipedia: namespace (and similar for other projects). Full list is available in the GRFC.
This is already the case for Wikivoyages, and many individual projects asked for this alias to be implemented. I believe this makes it easier to access the materials in the project namespace, as well as creating shortcuts like <tt>WP:NPOV</tt>, as well as helps new projects to use this feature, without having to figure out how to request site configuration changes first.
As far as I can see, {{SITENAME}} currently does not have such an alias set. This means that such an alias will be set for you, if the GRFC is accepted by the global community.
I would like to ask all community members to participate in the request for comment at Meta-Wiki, see [[:m:Requests for comment/Set short project namespace aliases by default globally]].
Please feel free to [[:m:User talk:Martin Urbanec|ask me]] if you have any questions about this proposal.
Best regards,<br />
--[[:m:User:Martin Urbanec|Martin Urbanec]] ([[:m:User talk:Martin Urbanec|talk]]) ١٤:١٢, ١٨ فرؤری ٢٠٢١ (UTC)
</div>
<!-- Message sent by User:Martin Urbanec@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Martin_Urbanec/MassMessage&oldid=21125035 -->
== Wikifunctions logo contest ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
{{Int:Hello}}. Please help to choose a design concept for the logo of the new Wikifunctions wiki. Voting starts today and will be open for 2 weeks. If you would like to participate, then '''[[m:Special:MyLanguage/Abstract Wikipedia/Wikifunctions logo concept/Vote|please learn more and vote now]]''' at Meta-Wiki. {{Int:Feedback-thanks-title}} --[[m:User:Quiddity (WMF)|Quiddity (WMF)]]</div> ٠١:٤٧, ٢ مارچ ٢٠٢١ (UTC)
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=21087740 -->
== Universal Code of Conduct – 2021 consultations ==
<div lang="en" dir="ltr" class="mw-content-ltr">
=== Universal Code of Conduct Phase 2 ===
{{int:please-translate}}
The [[:wmf:Special:MyLanguage/Universal Code of Conduct|'''Universal Code of Conduct (UCoC)''']] provides a universal baseline of acceptable behavior for the entire Wikimedia movement and all its projects. The project is currently in Phase 2, outlining clear enforcement pathways. You can read more about the whole project on its [[:m:Special:MyLanguage/Universal Code of Conduct|'''project page''']].
==== Drafting Committee: Call for applications ====
The Wikimedia Foundation is recruiting volunteers to join a committee to draft how to make the code enforceable. Volunteers on the committee will commit between 2 and 6 hours per week from late April through July and again in October and November. It is important that the committee be diverse and inclusive, and have a range of experiences, including both experienced users and newcomers, and those who have received or responded to, as well as those who have been falsely accused of harassment.
To apply and learn more about the process, see [[:m:Special:MyLanguage/Universal Code of Conduct/Drafting committee|Universal Code of Conduct/Drafting committee]].
==== 2021 community consultations: Notice and call for volunteers / translators ====
From 5 April – 5 May 2021 there will be conversations on many Wikimedia projects about how to enforce the UCoC. We are looking for volunteers to translate key material, as well as to help host consultations on their own languages or projects using suggested [[:m:Special:MyLanguage/Universal Code of Conduct/2021 consultations/Discussion|key questions]]. If you are interested in volunteering for either of these roles, please [[:m:Talk:Universal Code of Conduct/2021 consultations|contact us]] in whatever language you are most comfortable.
To learn more about this work and other conversations taking place, see [[:m:Special:MyLanguage/Universal Code of Conduct/2021 consultations|Universal Code of Conduct/2021 consultations]].
-- [[User:Xeno (WMF)|Xeno (WMF)]] ([[User talk:Xeno (WMF)|talk]]) ٢٢:٠٠, ٥ اپریٖل ٢٠٢١ (UTC)
</div>
<!-- Message sent by User:MNadzikiewicz (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:MNadzikiewicz_(WMF)/Without_Russian,_Polish_and_translated/4&oldid=21302199 -->
{{Clear}}
== Global bot policy changes ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
{{int:hello}}!
I apologize for sending a message in English. {{int:please-translate}}. According to [[:m:Bot_policy/Implementation#Where_it_is_policy|the list]], your wiki project is currently opted in to the [[:m:Bot_policy#Global_bots|global bot policy]]. As such, I want to let you know about some changes that were made after the [[:m:Requests for comment/Refine global bot policy|global RfC]] was closed.
*Global bots are now subject to a 2 week discussion, and it'll be publicized via a MassMessage list, available at [[:m:Bot policy/New global bot discussion|Bot policy/New global bot discussion]] on Meta. Please subscribe yourself or your wiki if you are interested in new global bots proposals.
*For a bot to be considered for approval, it must demonstrate it is welcomed in multiple projects, and a good way to do that is to have the bot flag on at least 5 wikis for a single task.
*The bot operator should make sure to adhere to the wiki's preference as related to the use of the bot flag (i.e., if a wiki doesn't want a bot to use the flag as it edits, that should be followed).
Thank you for your time.
Best regards,<br />
—'''''<span style="font-family:Candara">[[User:Tks4Fish|<span style="color:black">Thanks for the fish!</span>]] <sup>[[User Talk:Tks4Fish|<span style="color:blue">talk</span>]]•[[Special:Contribs/Tks4Fish|contribs]]</sup></span>''''' ١٨:٤٨, ٦ اپریٖل ٢٠٢١ (UTC)
</div>
<!-- Message sent by User:Tks4Fish@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Tks4Fish/temp&oldid=21306363 -->
{{Clear}}
== Line numbering coming soon to all wikis ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
[[File:Technical_Wishes_–_Line_numbering_-_2010_wikitext_editor.png|thumb|Example]]
From April 15, you can enable line numbering in some wikitext editors - for now in the template namespace, coming to more namespaces soon. This will make it easier to detect line breaks and to refer to a particular line in discussions. These numbers will be shown if you enable the syntax highlighting feature ([[mw:Special:MyLanguage/Extension:CodeMirror|CodeMirror extension]]), which is supported in the [[mw:Special:MyLanguage/Extension:WikiEditor|2010]] and [[mw:Special:MyLanguage/2017 wikitext editor|2017]] wikitext editors.
More information can be found on [[m:WMDE Technical Wishes/Line Numbering|this project page]]. Everyone is invited to test the feature, and to give feedback [[m:talk:WMDE Technical Wishes/Line Numbering|on this talk page]].
</div> -- [[m:User:Johanna Strodt (WMDE)|Johanna Strodt (WMDE)]] ١٥:٠٨, ١٢ اپریٖل ٢٠٢١ (UTC)
<!-- Message sent by User:Johanna Strodt (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=WMDE_Technical_Wishes/Technical_Wishes_News_list_all_village_pumps&oldid=21329014 -->
{{Clear}}
== Suggested Values ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
From April 29, it will be possible to suggest values for parameters in templates. Suggested values can be added to [[mw:Special:MyLanguage/Help:TemplateData|TemplateData]] and will then be shown as a drop-down list in [[mw:Special:MyLanguage/Help:VisualEditor/User guide|VisualEditor]]. This allows template users to quickly select an appropriate value. This way, it prevents potential errors and reduces the effort needed to fill the template with values. It will still be possible to fill in values other than the suggested ones.
More information, including the supported parameter types and how to create suggested values: [[mw:Help:TemplateData#suggestedvalues|[1]]] [[m:WMDE_Technical_Wishes/Suggested_values_for_template_parameters|[2]]]. Everyone is invited to test the feature, and to give feedback [[m:Talk:WMDE Technical Wishes/Suggested values for template parameters|on this talk page]].
</div> [[m:User:Timur Vorkul (WMDE)|Timur Vorkul (WMDE)]] ١٤:٠٨, ٢٢ اپریٖل ٢٠٢١ (UTC)
<!-- Message sent by User:Timur Vorkul (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=WMDE_Technical_Wishes/Technical_Wishes_News_list_all_village_pumps&oldid=21361904 -->
{{Clear}}
== Universal Code of Conduct News – Issue 1 ==
<div style = "line-height: 1.2">
<span style="font-size:200%;">'''Universal Code of Conduct News'''</span><br>
<span style="font-size:120%; color:#404040;">'''Issue 1, June 2021'''</span><span style="font-size:120%; float:right;">[[m:Universal Code of Conduct/Newsletter/1|Read the full newsletter]]</span>
----
Welcome to the first issue of [[m:Special:MyLanguage/Universal Code of Conduct|Universal Code of Conduct News]]! This newsletter will help Wikimedians stay involved with the development of the new code, and will distribute relevant news, research, and upcoming events related to the UCoC.
Please note, this is the first issue of UCoC Newsletter which is delivered to all subscribers and projects as an announcement of the initiative. If you want the future issues delivered to your talk page, village pumps, or any specific pages you find appropriate, you need to [[m:Global message delivery/Targets/UCoC Newsletter Subscription|subscribe here]].
You can help us by translating the newsletter issues in your languages to spread the news and create awareness of the new conduct to keep our beloved community safe for all of us. Please [[m:Universal Code of Conduct/Newsletter/Participate|add your name here]] if you want to be informed of the draft issue to translate beforehand. Your participation is valued and appreciated.
</div><div style="margin-top:3px; padding:10px 10px 10px 20px; background:#fffff; border:2px solid #808080; border-radius:4px; font-size:100%;">
* '''Affiliate consultations''' – Wikimedia affiliates of all sizes and types were invited to participate in the UCoC affiliate consultation throughout March and April 2021. ([[m:Universal Code of Conduct/Newsletter/1#sec1|continue reading]])
* '''2021 key consultations''' – The Wikimedia Foundation held enforcement key questions consultations in April and May 2021 to request input about UCoC enforcement from the broader Wikimedia community. ([[m:Universal Code of Conduct/Newsletter/1#sec2|continue reading]])
* '''Roundtable discussions''' – The UCoC facilitation team hosted two 90-minute-long public roundtable discussions in May 2021 to discuss UCoC key enforcement questions. More conversations are scheduled. ([[m:Universal Code of Conduct/Newsletter/1#sec3|continue reading]])
* '''Phase 2 drafting committee''' – The drafting committee for the phase 2 of the UCoC started their work on 12 May 2021. Read more about their work. ([[m:Universal Code of Conduct/Newsletter/1#sec4|continue reading]])
* '''Diff blogs''' – The UCoC facilitators wrote several blog posts based on interesting findings and insights from each community during local project consultation that took place in the 1st quarter of 2021. ([[m:Universal Code of Conduct/Newsletter/1#sec5|continue reading]])</div>
--[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|talk]]) ٢٣:٠٥, ١١ جوٗن ٢٠٢١ (UTC)
<!-- Message sent by User:SOyeyele (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:SOyeyele_(WMF)/Announcements/Other_languages&oldid=21578291 -->
{{Clear}}
== Wikimania 2021: Individual Program Submissions ==
[[File:Wikimania logo with text 2.svg|right|200px]]
Dear all,
Wikimania 2021 will be [[:wikimania:2021:Save the date and the Core Organizing Team|hosted virtually]] for the first time in the event's 15-year history. Since there is no in-person host, the event is being organized by a diverse group of Wikimedia volunteers that form the [[:wikimania:2021:Organizers|Core Organizing Team]] (COT) for Wikimania 2021.
'''Event Program''' - Individuals or a group of individuals can submit their session proposals to be a part of the program. There will be translation support for sessions provided in a number of languages. See more information [[:wikimania:2021:Submissions/Guidelines#Language Accessibility|here]].
Below are some links to guide you through;
* [[:wikimania:2021:Submissions|Program Submissions]]
* [[:wikimania:2021:Submissions/Guidelines|Session Submission Guidelines]]
* [[:wikimania:2021:FAQ|FAQ]]
Please note that the deadline for submission is 18th June 2021.
'''Announcements'''- To keep up to date with the developments around Wikimania, the COT sends out weekly updates. You can view them in the Announcement section [[:wikimania:2021:Announcements|here]].
'''Office Hour''' - If you are left with questions, the COT will be hosting some office hours (in multiple languages), in multiple time-zones, to answer any programming questions that you might have. Details can be found [[:wikimania:2021:Organizers#Office hours schedule|here.]]
Best regards,
[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|talk]]) ٠٤:١٨, ١٦ جوٗن ٢٠٢١ (UTC)
On behalf of Wikimania 2021 Core Organizing Team
<!-- Message sent by User:Bodhisattwa@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/VisualEditor/Newsletter/Wikis_with_VE&oldid=21597568 -->
{{Clear}}
== Editing news 2021 #2 ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
<em>[[m:Special:MyLanguage/VisualEditor/Newsletter/2021/June|Read this in another language]] • [[m:VisualEditor/Newsletter|Subscription list for this multilingual newsletter]]</em>
[[File:Reply Tool A-B test comment completion.png|alt=Junior contributors comment completion rate across all participating Wikipedias|thumb|296x296px|When newcomers had the Reply tool and tried to post on a talk page, they were more successful at posting a comment. ([https://wikimedia-research.github.io/Reply-tools-analysis-2021/ Source])]]
Earlier this year, the Editing team ran a large study of [[mw:Talk pages project/Replying|the Reply Tool]]. The main goal was to find out whether the Reply Tool helped [[mw:Talk pages project/Glossary|newer editors]] communicate on wiki. The second goal was to see whether the comments that newer editors made using the tool needed to be reverted more frequently than comments newer editors made with the existing wikitext page editor.
The key results were:
* Newer editors who had automatic ("default on") access to the Reply tool were [https://wikimedia-research.github.io/Reply-tools-analysis-2021/ more likely] to post a comment on a talk page.
* The comments that newer editors made with the Reply Tool were also [https://wikimedia-research.github.io/Reply-tools-analysis-2021/ less likely] to be reverted than the comments that newer editors made with page editing.
These results give the Editing team confidence that the tool is helpful.
<strong>Looking ahead</strong>
The team is planning to make the Reply tool available to everyone as an opt-out preference in the coming months. This has already happened at the Arabic, Czech, and Hungarian Wikipedias.
The next step is to [[phab:T280599|resolve a technical challenge]]. Then, they will deploy the Reply tool first to the [[phab:T267379|Wikipedias that participated in the study]]. After that, they will deploy it, in stages, to the other Wikipedias and all WMF-hosted wikis.
You can turn on "{{int:discussiontools-preference-label}}" [[Special:Preferences#mw-prefsection-betafeatures|in Beta Features]] now. After you get the Reply tool, you can change your preferences at any time in [[Special:Preferences#mw-prefsection-editing-discussion]].
–[[User:Whatamidoing (WMF)|Whatamidoing (WMF)]] ([[User talk:Whatamidoing (WMF)|talk]])
</div> ١٤:١٤, ٢٤ جوٗن ٢٠٢١ (UTC)
<!-- Message sent by User:Elitre (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/VisualEditor/Newsletter/Wikis_with_VE&oldid=21624491 -->
{{Clear}}
== Server switch ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
[[:m:Special:MyLanguage/Tech/Server switch 2020|Read this message in another language]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Tech%2FServer+switch+2020&language=&action=page&filter= {{int:please-translate}}]
The [[foundation:|Wikimedia Foundation]] tests the switch between its first and secondary data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems. <!--
They will switch all traffic back to the primary data center on '''Tuesday, October 27 2020'''. -->
Unfortunately, because of some limitations in [[mw:Manual:What is MediaWiki?|MediaWiki]], all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
'''You will be able to read, but not edit, all wikis for a short period of time.'''
*You will not be able to edit for up to an hour on Tuesday, 29 June 2021. The test will start at [https://zonestamp.toolforge.org/1624975200 14:00 UTC] (07:00 PDT, 10:00 EDT, 15:00 WEST/BST, 16:00 CEST, 19:30 IST, 23:00 JST, and in New Zealand at 02:00 NZST on Wednesday 30 June).
*If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
''Other effects'':
*Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
*There will be code freezes for the week of June 28. Non-essential code deployments will not happen.
This project may be postponed if necessary. You can [[wikitech:Switch_Datacenter#Schedule_for_2021_switch|read the schedule at wikitech.wikimedia.org]]. Any changes will be announced in the schedule. There will be more notifications about this. A banner will be displayed on all wikis 30 minutes before this operation happens. '''Please share this information with your community.'''</div></div> [[user:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ٠١:١٩, ٢٧ جوٗن ٢٠٢١ (UTC)
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=21463754 -->
{{Clear}}
== New Wikipedia Library collections and design update (August 2021) ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Hello Wikimedians!
[[File:Wikipedia_Library_owl.svg|thumb|upright|The TWL OWL says log in today!]]
[https://wikipedialibrary.wmflabs.org/users/my_library/ The Wikipedia Library] is pleased to announce the addition of new collections, alongside a new interface design. New collections include:
* '''[https://wikipedialibrary.wmflabs.org/partners/107/ Cabells]''' – Scholarly and predatory journal database
* '''[https://wikipedialibrary.wmflabs.org/partners/108/ Taaghche]''' - Persian language e-books
* '''[https://wikipedialibrary.wmflabs.org/partners/112/ Merkur]''', '''[https://wikipedialibrary.wmflabs.org/partners/111/ Musik & Ästhetik]''', and '''[https://wikipedialibrary.wmflabs.org/partners/110/ Psychologie, Psychotherapie, Psychoanalyse]''' - German language magazines and journals published by Klett-Cotta
* '''[https://wikipedialibrary.wmflabs.org/partners/117/ Art Archiv]''', '''[https://wikipedialibrary.wmflabs.org/partners/113/ Capital]''', '''[https://wikipedialibrary.wmflabs.org/partners/115/ Geo]''', '''[https://wikipedialibrary.wmflabs.org/partners/116/ Geo Epoche]''', and '''[https://wikipedialibrary.wmflabs.org/partners/114/ Stern]''' - German language newspapers and magazines published by Gruner + Jahr
Additionally, '''[https://wikipedialibrary.wmflabs.org/partners/105/ De Gruyter]''' and '''[https://wikipedialibrary.wmflabs.org/partners/106/ Nomos]''' have been centralised from their previous on-wiki signup location on the German Wikipedia. Many other collections are freely available by simply logging in to [https://wikipedialibrary.wmflabs.org/ The Wikipedia Library] with your Wikimedia login!
We are also excited to announce that the first version of a new design for My Library was deployed this week. We will be iterating on this design with more features over the coming weeks. Read more on the [[:m:Library Card platform/Design improvements|project page on Meta]].
Lastly, an Echo notification will begin rolling out soon to notify eligible editors about the library ([[Phab:T132084|T132084]]). If you can translate the notification please do so [https://translatewiki.net/w/i.php?title=Special:Translate&group=ext-thewikipedialibrary at TranslateWiki]!
--The Wikipedia Library Team ١٣:٢٣, ١١ اَگست ٢٠٢١ (UTC)
:<small>This message was delivered via the [https://meta.wikimedia.org/wiki/MassMessage#Global_message_delivery Global Mass Message] tool to [https://meta.wikimedia.org/wiki/Global_message_delivery/Targets/Wikipedia_Library The Wikipedia Library Global Delivery List].</small>
</div>
<!-- Message sent by User:Samwalton9@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/Wikipedia_Library&oldid=21851699 -->
{{Clear}}
== Universal Code of Conduct - Enforcement draft guidelines review ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="content"/>The [[m:Special:MyLanguage/Universal_Code_of_Conduct/Drafting_committee#Phase_2|Universal Code of Conduct Phase 2 drafting committee]] would like comments about the '''[[:m:Universal Code of Conduct/Enforcement draft guidelines review|enforcement draft guidelines]]''' for the [[m:Special:MyLanguage/Universal Code of Conduct|Universal Code of Conduct]] (UCoC). This review period is planned for 17 August 2021 through 17 October 2021.
These guidelines are not final but you can help move the progress forward. The committee will revise the guidelines based upon community input.
Comments can be shared in any language on the [[m:Talk:Universal Code of Conduct/Enforcement draft guidelines review|draft review talk page]] and [[m:Special:MyLanguage/Universal Code of Conduct/Discussions|multiple other venues]]. Community members are encouraged to organize conversations in their communities.
There are planned live discussions about the UCoC enforcement draft guidelines:
:[[wmania:2021:Submissions/Universal_Code_of_Conduct_Roundtable|Wikimania 2021 session]] (recorded 16 August)
:[[m:Special:MyLanguage/Universal_Code_of_Conduct/2021_consultations/Roundtable_discussions#Conversation hours|Conversation hours]] - 24 August, 31 August, 7 September @ 03:00 UTC & 14:00 UTC
:[[m:Special:MyLanguage/Universal_Code_of_Conduct/2021_consultations/Roundtable_discussions|Roundtable calls]] - 18 September @ 03:00 UTC & 15:00 UTC
Summaries of discussions will be posted every two weeks [[m:Special:MyLanguage/Universal Code of Conduct/Drafting committee/Digests|here]].
Please let me know if you have any questions.<section end="content"/>
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] ٢٣:١٩, ١٧ اَگست ٢٠٢١ (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Xeno_(WMF)/Delivery/Wikipedia&oldid=21895766 -->
{{Clear}}
== Wikimedia Foundation Board of Trustees election has come to an end ==
Thank you for participating in the [[:meta:Special:MyLanguage/Wikimedia_Foundation_elections/2021|2021 Wikimedia Foundation Board of Trustees election]]! Voting closed August 31 at 23:59. The official data, including the four most voted candidates, will be announced as soon as the [[:meta:Special:MyLanguage/Wikimedia_Foundation_elections_committee|Elections Committee]] completes their review of the ballots. The official announcement of the new trustees appointed will happen later, once the selected candidates have been confirmed by the Board.
6,946 community members from 216 wiki projects have voted. This makes 10.2% global participation, 1.1% higher than in the last Board elections. In 2017, 5167 people from 202 wiki projects cast their vote. A full analysis is planned to be published in a few days when the confirmed results are announced. In the meantime, you can check the [[:meta:Special:MyLanguage/Wikimedia_Foundation_elections/2021/Stats|data produced during the election]].
Diversity was an important goal with these elections. Messages about the Board election were translated into 61 languages. This outreach worked well. There were 70 communities with eligible voters voting in this election for the first time. With your help, next year’s Board of Trustees election will be even better.
١٠:٠٣, ٢ سیٚپٹَمبَر ٢٠٢١ (UTC)
<!-- Message sent by User:MNadzikiewicz (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Xeno_(WMF)/Delivery/Wikipedia&oldid=21895840 -->
{{Clear}}
== The 2022 Community Wishlist Survey will happen in January ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
Hello everyone,
We hope all of you are as well and safe as possible during these trying times! We wanted to share some news about a change to the Community Wishlist Survey 2022. We would like to hear your opinions as well.
Summary:
<div style="font-style:italic;">
We will be running the [[m:Special:MyLanguage/Community Wishlist Survey|Community Wishlist Survey]] 2022 in January 2022. We need more time to work on the 2021 wishes. We also need time to prepare some changes to the Wishlist 2022. In the meantime, you can use a [[m:Special:MyLanguage/Community Wishlist Survey/Sandbox|dedicated sandbox to leave early ideas for the 2022 wishes]].
</div>
=== Proposing and wish-fulfillment will happen during the same year ===
In the past, the [[m:Special:MyLanguage/Community Tech|Community Tech]] team has run the Community Wishlist Survey for the following year in November of the prior year. For example, we ran the [[m:Special:MyLanguage/Community Wishlist Survey 2021|Wishlist for 2021]] in November 2020. That worked well a few years ago. At that time, we used to start working on the Wishlist soon after the results of the voting were published.
However, in 2021, there was a delay between the voting and the time when we could start working on the new wishes. Until July 2021, we were working on wishes from the [[m:Special:MyLanguage/Community Wishlist Survey 2020|Wishlist for 2020]].
We hope having the Wishlist 2022 in January 2022 will be more intuitive. This will also give us time to fulfill more wishes from the 2021 Wishlist.
=== Encouraging wider participation from historically excluded communities ===
We are thinking how to make the Wishlist easier to participate in. We want to support more translations, and encourage under-resourced communities to be more active. We would like to have some time to make these changes.
=== A new space to talk to us about priorities and wishes not granted yet ===
We will have gone 365 days without a Wishlist. We encourage you to approach us. We hope to hear from you in the [[m:Special:MyLanguage/Talk:Community Wishlist Survey|talk page]], but we also hope to see you at our bi-monthly Talk to Us meetings! These will be hosted at two different times friendly to time zones around the globe.
We will begin our first meeting '''September 15th at 23:00 UTC'''. More details about the agenda and format coming soon!
=== Brainstorm and draft proposals before the proposal phase ===
If you have early ideas for wishes, you can use the [[m:Special:MyLanguage/Community Wishlist Survey/Sandbox|new Community Wishlist Survey sandbox]]. This way, you will not forget about these before January 2022. You will be able to come back and refine your ideas. Remember, edits in the sandbox don't count as wishes!
=== Feedback ===
* What should we do to improve the Wishlist pages?
* How would you like to use our new [[m:Special:MyLanguage/Community Wishlist Survey/Sandbox|sandbox?]]
* What, if any, risks do you foresee in our decision to change the date of the Wishlist 2022?
* What will help more people participate in the Wishlist 2022?
Answer on the [[m:Special:MyLanguage/Talk:Community Wishlist Survey|talk page]] (in any language you prefer) or at our Talk to Us meetings.
</div>
[[user:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[user talk:SGrabarczuk (WMF)|talk]]) ٠٠:٢٣, ٧ سیٚپٹَمبَر ٢٠٢١ (UTC)
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=21980442 -->
{{Clear}}
== Call for Candidates for the Movement Charter Drafting Committee ending 14 September 2021 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content"/>Movement Strategy announces [[:m:Special:MyLanguage/Movement_Charter/Drafting_Committee|the Call for Candidates for the Movement Charter Drafting Committee]]. The Call opens August 2, 2021 and closes September 14, 2021.
The Committee is expected to represent [[:m:Special:MyLanguage/Movement_Charter/Drafting_Committee/Diversity_and_Expertise_Matrices|diversity in the Movement]]. Diversity includes gender, language, geography, and experience. This comprises participation in projects, affiliates, and the Wikimedia Foundation.
English fluency is not required to become a member. If needed, translation and interpretation support is provided. Members will receive an allowance to offset participation costs. It is US$100 every two months.
We are looking for people who have some of the following [[:m:Special:MyLanguage/Movement_Charter/Drafting_Committee#Role_Requirements|skills]]:
* Know how to write collaboratively. (demonstrated experience is a plus)
* Are ready to find compromises.
* Focus on inclusion and diversity.
* Have knowledge of community consultations.
* Have intercultural communication experience.
* Have governance or organization experience in non-profits or communities.
* Have experience negotiating with different parties.
The Committee is expected to start with 15 people. If there are 20 or more candidates, a mixed election and selection process will happen. If there are 19 or fewer candidates, then the process of selection without election takes place.
Will you help move Wikimedia forward in this important role? Submit your candidacy [[:m:Special:MyLanguage/Movement_Charter/Drafting_Committee#Candidate_Statements|here]]. Please contact strategy2030[[File:At sign.svg|16x16px|link=|(_AT_)]]wikimedia.org with questions.<section end="announcement-content"/>
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] ١٧:٠١, ١٠ سیٚپٹَمبَر ٢٠٢١ (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Xeno_(WMF)/Delivery/Wikipedia&oldid=22002240 -->
{{Clear}}
== Server switch ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr"><div class="plainlinks">
[[:m:Special:MyLanguage/Tech/Server switch|Read this message in another language]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Tech%2FServer+switch&language=&action=page&filter= {{int:please-translate}}]
The [[foundation:|Wikimedia Foundation]] tests the switch between its first and secondary data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster. To make sure everything is working, the Wikimedia Technology department needs to do a planned test. This test will show if they can reliably switch from one data centre to the other. It requires many teams to prepare for the test and to be available to fix any unexpected problems.
They will switch all traffic back to the primary data center on '''Tuesday, 14 September 2021'''.
Unfortunately, because of some limitations in [[mw:Manual:What is MediaWiki?|MediaWiki]], all editing must stop while the switch is made. We apologize for this disruption, and we are working to minimize it in the future.
'''You will be able to read, but not edit, all wikis for a short period of time.'''
*You will not be able to edit for up to an hour on Tuesday, 14 September 2021. The test will start at [https://zonestamp.toolforge.org/1631628049 14:00 UTC] (07:00 PDT, 10:00 EDT, 15:00 WEST/BST, 16:00 CEST, 19:30 IST, 23:00 JST, and in New Zealand at 02:00 NZST on Wednesday, 15 September).
*If you try to edit or save during these times, you will see an error message. We hope that no edits will be lost during these minutes, but we can't guarantee it. If you see the error message, then please wait until everything is back to normal. Then you should be able to save your edit. But, we recommend that you make a copy of your changes first, just in case.
''Other effects'':
*Background jobs will be slower and some may be dropped. Red links might not be updated as quickly as normal. If you create an article that is already linked somewhere else, the link will stay red longer than usual. Some long-running scripts will have to be stopped.
* We expect the code deployments to happen as any other week. However, some case-by-case code freezes could punctually happen if the operation require them afterwards.
This project may be postponed if necessary. You can [[wikitech:Switch_Datacenter|read the schedule at wikitech.wikimedia.org]]. Any changes will be announced in the schedule. There will be more notifications about this. A banner will be displayed on all wikis 30 minutes before this operation happens. '''Please share this information with your community.'''</div></div> [[user:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[user talk:SGrabarczuk (WMF)|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) ٠٠:٤٥, ١١ سیٚپٹَمبَر ٢٠٢١ (UTC)
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=21980442 -->
{{Clear}}
== Talk to the Community Tech ==
[[File:Magic Wand Icon 229981 Color Flipped.svg|{{dir|{{pagelang}}|left|right}}|frameless|50px]]
[[:m:Special:MyLanguage/Community Wishlist Survey/Updates/2021-09 Talk to Us|Read this message in another language]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Community_Wishlist_Survey/Updates/2021-09_Talk_to_Us&language=&action=page&filter= {{int:please-translate}}]
Hello!
As we have [[m:Special:MyLanguage/Community Wishlist Survey/Updates|recently announced]], we, the team working on the [[m:Special:MyLanguage/Community Wishlist Survey|Community Wishlist Survey]], would like to invite you to an online meeting with us. It will take place on [https://www.timeanddate.com/worldclock/fixedtime.html?iso=20210915T2300 '''September 15th, 23:00 UTC'''] on Zoom, and will last an hour. [https://wikimedia.zoom.us/j/89828615390 '''Click here to join'''].
'''Agenda'''
* [[m:Special:MyLanguage/Community Wishlist Survey 2021/Status report 1#Prioritization Process|How we prioritize the wishes to be granted]]
* [[m:Special:MyLanguage/Community Wishlist Survey/Updates|Why we decided to change the date]] from November 2021 to January 2022
* Update on the [[m:Special:MyLanguage/Community Wishlist Survey 2021/Warn when linking to disambiguation pages|disambiguation]] and the [[m:Special:MyLanguage/Community Wishlist Survey 2021/Real Time Preview for Wikitext|real-time preview]] wishes
* Questions and answers
'''Format'''
The meeting will not be recorded or streamed. Notes without attribution will be taken and published on Meta-Wiki. The presentation (first three points in the agenda) will be given in English.
We can answer questions asked in English, French, Polish, and Spanish. If you would like to ask questions in advance, add them [[m:Talk:Community Wishlist Survey|on the Community Wishlist Survey talk page]] or send to sgrabarczuk@wikimedia.org.
[[m:Special:MyLanguage/User:NRodriguez (WMF)|Natalia Rodriguez]] (the [[m:Special:MyLanguage/Community Tech|Community Tech]] manager) will be hosting this meeting.
'''Invitation link'''
* [https://wikimedia.zoom.us/j/89828615390 Join online]
* Meeting ID: 898 2861 5390
* One tap mobile
** +16465588656,,89828615390# US (New York)
** +16699006833,,89828615390# US (San Jose)
* [https://wikimedia.zoom.us/u/kctR45AI8o Dial by your location]
See you! [[User:SGrabarczuk (WMF)|SGrabarczuk (WMF)]] ([[User talk:SGrabarczuk (WMF)|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) ٠٣:٠٣, ١١ سیٚپٹَمبَر ٢٠٢١ (UTC)
<!-- Message sent by User:SGrabarczuk (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=21980442 -->
{{Clear}}
== Select You the question statements for candidates of Drafting Committee Movement Charter ==
Into 2021-10-04 11:59:59 UTC you can select [[:m:Movement Charter/Drafting Committee/Election Compass Statements|question statements]] for the [[:m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates|candidates]] of [[:m:Special:MyLanguage/Movement Charter/Drafting Committee|Drafting Committee]] [[:m:Special:MyLanguage/Movement_Charter|Movement Charter]]. ✍️ [[رُکُن:Dušan Kreheľ|Dušan Kreheľ]] ([[رُکُن بَحَژ:Dušan Kreheľ|بَِحَژ صَفہٕ]]) ٢٣:٠٤, ٢٩ سیٚپٹَمبَر ٢٠٢١ (UTC)
{{Clear}}
== Voting for the election for the members for the Movement Charter drafting committee is now open ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content"/>
:''<div class="plainlinks">[[m:Special:MyLanguage/Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021|{{int:otherlanguages}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Movement Charter/Drafting Committee/MCDC Voter Email short 12-10-2021}}&language=&action=page&filter= {{int:please-translate}}]''
Voting for the election for the members for the Movement Charter drafting committee is now open. In total, 70 Wikimedians from around the world are running for 7 seats in these elections.
'''Voting is open from October 12 to October 24, 2021.'''
The committee will consist of 15 members in total: The online communities vote for 7 members, 6 members will be selected by the Wikimedia affiliates through a parallel process, and 2 members will be appointed by the Wikimedia Foundation. The plan is to assemble the committee by November 1, 2021.
Learn about each candidate to inform your vote in the language that you prefer: <https://meta.wikimedia.org/wiki/Special:MyLanguage/Movement_Charter/Drafting_Committee/Candidates>
Learn about the Drafting Committee: <https://meta.wikimedia.org/wiki/Special:MyLanguage/Movement_Charter/Drafting_Committee>
We are piloting a voting advice application for this election. Click yourself through the tool and you will see which candidate is closest to you! Check at <https://mcdc-election-compass.toolforge.org/>
Read the full announcement: <https://meta.wikimedia.org/wiki/Special:MyLanguage/Movement_Charter/Drafting_Committee/Elections>
'''Go vote at SecurePoll on:''' <https://meta.wikimedia.org/wiki/Special:MyLanguage/Movement_Charter/Drafting_Committee/Elections>
Best,
Movement Strategy & Governance Team, Wikimedia Foundation
<section end="announcement-content"/>
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] ٠٢:٢٥, ١٤ اَکتوٗبَر ٢٠٢١ (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Xeno_(WMF)/Delivery/Wikipedia&oldid=22185710 -->
{{Clear}}
== Learn how Movement Strategy Implementation Grants can support your Movement Strategy plans ==
<section begin="announcement-content"/>Movement Strategy Implementation grants now provide more than $2,000 USD to put Movement Strategy plans into action. Find out more about [[:m:Special:MyLanguage/Grants:MSIG/About|Movement Strategy Implementation grants, the criteria, and how to apply]].<section end="annoumcent-content"/>
[[User:MNadzikiewicz (WMF)|MNadzikiewicz (WMF)]] ([[User talk:MNadzikiewicz (WMF)#top|talk]]) 13:30, 29 October 2021 (UTC)
<!-- Message sent by User:MNadzikiewicz (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:MNadzikiewicz_(WMF)/Delivery&oldid=22247589 -->
{{Clear}}
== Meet the new Movement Charter Drafting Committee members ==
<section begin="announcement-content"/>
:''<div class="plainlinks">[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Elections/Results/Announcement|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Movement Charter/Drafting Committee/Elections/Results/Announcement}}&language=&action=page&filter= {{int:please-translate}}]</div>''
The Movement Charter Drafting Committee election and selection processes are complete.
* The [[m:Special:MyLanguage/Movement Charter/Drafting Committee/Elections/Results|election results have been published]]. 1018 participants voted to elect seven members to the committee: '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#Richard_Knipel_(Pharos)|Richard Knipel (Pharos)]]''', '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#Anne_Clin_(Risker)|Anne Clin (Risker)]]''', '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#Alice_Wiegand_(lyzzy)|Alice Wiegand (Lyzzy)]]''', '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#Micha%C5%82_Buczy%C5%84ski_(Aegis_Maelstrom)|Michał Buczyński (Aegis Maelstrom)]]''', '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#Richard_(Nosebagbear)|Richard (Nosebagbear)]]''', '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#Ravan_J_Al-Taie_(Ravan)|Ravan J Al-Taie (Ravan)]]''', '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#Ciell_(Ciell)|Ciell (Ciell)]]'''.
* The [[m:Special:MyLanguage/Movement_Charter/Drafting_Committee/Candidates#Affiliate-chosen_members|affiliate process]] has selected six members: '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#Anass_Sedrati_(Anass_Sedrati)|Anass Sedrati (Anass Sedrati)]]''', '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#%C3%89rica_Azzellini_(EricaAzzellini)|Érica Azzellini (EricaAzzellini)]]''', '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#Jamie_Li-Yun_Lin_(Li-Yun_Lin)|Jamie Li-Yun Lin (Li-Yun Lin)]]''', '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#Georges_Fodouop_(Geugeor)|Georges Fodouop (Geugeor)]]''', '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#Manavpreet_Kaur_(Manavpreet_Kaur)|Manavpreet Kaur (Manavpreet Kaur)]]''', '''[[m:Special:MyLanguage/Movement Charter/Drafting Committee/Candidates#Pepe_Flores_(Padaguan)|Pepe Flores (Padaguan)]]'''.
* The Wikimedia Foundation has [[m:Special:MyLanguage/Movement_Charter/Drafting_Committee/Candidates#Wikimedia_Foundation-chosen_members|appointed]] two members: '''[[m:Special:MyLanguage/Movement_Charter/Drafting_Committee/Candidates#Runa_Bhattacharjee_(Runab_WMF)|Runa Bhattacharjee (Runab WMF)]]''', '''[[m:Special:MyLanguage/Movement_Charter/Drafting_Committee/Candidates#Jorge_Vargas_(JVargas_(WMF))|Jorge Vargas (JVargas (WMF))]]'''.
The committee will convene soon to start its work. The committee can appoint up to three more members to bridge diversity and expertise gaps.
If you are interested in engaging with [[m:Special:MyLanguage/Movement Charter|Movement Charter]] drafting process, follow the updates [[m:Special:MyLanguage/Movement Charter/Drafting Committee|on Meta]] and join the [https://t.me/joinchat/U-4hhWtndBjhzmSf Telegram group].
With thanks from the Movement Strategy and Governance team<section end="announcement-content"/>
١٥:٥٣, ٥ نَوَمبَر ٢٠٢١ (UTC)
<!-- Message sent by User:MNadzikiewicz (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:MNadzikiewicz_(WMF)/Delivery&oldid=22300322 -->
{{Clear}}
== Upcoming Call for Feedback about the Board of Trustees elections ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content />
:''You can find this message translated into additional languages on Meta-wiki.''
:''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation Board of Trustees/Call for feedback:2022 Board of Trustees election/Upcoming Call for Feedback about the Board of Trustees elections|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation Board of Trustees/Call for feedback:2022 Board of Trustees election/Upcoming Call for Feedback about the Board of Trustees elections}}&language=&action=page&filter= {{int:please-translate}}]</div>''
The Board of Trustees is preparing a call for feedback about the upcoming Board Elections, from January 7 - February 10, 2022.
While details will be finalized the week before the call, we have confirmed at least two questions that will be asked during this call for feedback:
* What is the best way to ensure fair representation of emerging communities among the Board?
* What involvement should candidates have during the election?
While additional questions may be added, the Movement Strategy and Governance team wants to provide time for community members and affiliates to consider and prepare ideas on the confirmed questions before the call opens. We apologize for not having a complete list of questions at this time. The list of questions should only grow by one or two questions. The intention is to not overwhelm the community with requests, but provide notice and welcome feedback on these important questions.
'''Do you want to help organize local conversation during this Call?'''
Contact the [[m:Special:MyLanguage/Movement Strategy and Governance|Movement Strategy and Governance team]] on Meta, on [https://t.me/wmboardgovernancechat Telegram], or via email at msg[[File:At sign.svg|16x16px|link=|(_AT_)]]wikimedia.org.
Reach out if you have any questions or concerns. The Movement Strategy and Governance team will be minimally staffed until January 3. Please excuse any delayed response during this time. We also recognize some community members and affiliates are offline during the December holidays. We apologize if our message has reached you while you are on holiday.
Best,
Movement Strategy and Governance<section end="announcement-content" />
</div>
{{int:thank-you}} [[User:Xeno (WMF)|Xeno (WMF)]] 17:56, 27 دَسَمبَر 2021 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery/Wikipedia&oldid=22502754 -->
Thanks to a local user, a translation is available below. [[رُکُن:Xeno (WMF)|Xeno (WMF)]] ([[رُکُن بَحَژ:Xeno (WMF)|بَِحَژ صَفہٕ]]) 20:59, 27 دَسَمبَر 2021 (UTC)
=== بورڈ آف ٹرسٹیٖز اِنتخابس مُتلق راے دِنہٕ کھٲترٕ یِنہٕ وۄل آلَو ===
<section begin="announcement-content />
:''تُۄہہ ہؠکیٚو یہِ خطھ میٚٹا-وِکیٖیَس پؠٹھ ژٕھٲنڈِتھ باکٕین زبانَ ہِندِس ترجُمس منٛز
:''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation Board of Trustees/Call for feedback:2022 Board of Trustees election/Upcoming Call for Feedback about the Board of Trustees elections|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation Board of Trustees/Call for feedback:2022 Board of Trustees election/Upcoming Call for Feedback about the Board of Trustees elections}}&language=&action=page&filter= {{int:please-translate}}]</div>''
جنؤری ۷ تا فؠبرٕریٖ ۱۰، ۲۰۲۲ پؠٹھ، اَنجُمن آف ٹرسٹیٖز چھُ تیٲری کران اکہِ نادُک یُس زَن ینِہٕ والؠن بورڈ انتخابن مُتلق راے دِنہٕ کھٲترٕ چھُ.
آلَو/نادٕ تہٕ اکہِ ہفتہٕ بُرونٛہہ ییٚلہِ زَن معلوٗمٲژ ینٚی مُکمل کرنہٕ، اَسہِ چھےٚ کم از کم زٕ (۲) سوال مُستَقٕل کٔری مٔتی یمہٕ زَن راے دِنہٕ وِزِ پٔرژٕنہٕ یِن:
* بورڈس منٛز طبقن ہِنٛز اُبرُنٕچ شکایٲژن ہنٛز یقیٖنی طورس پؠٹھ مبنی بناونُک بہتَریٖن وتھ کۄژھ چھےٚ؟
* کیاہ/کمہٕ شٔریٖکیَت گژھن وۄمیدوارن آسنہِ انتخابس دوران؟
ییٚلہِ زَن اِضٲفی سوالہٕ ما یِن شٲمِل کرنہٕ، تٔحریٖکہِ تدبیٖر تہٕ گوَرنؠنٕس جماتھ چھےٚ یژھان عوٲمی سٲتِھیَن تہٕ ارٲکیٖنَن ہِنٛدی کھٲترٕ کینٛہہ کال دِیٚون تاکہِ یمہٕ ہؠکَن نادٕ بُرونٛہہ مُکَرَر سوالن ہِنٛدی کھٲترٕ خیالات تیار کٔرِتھ. وُنہِ کؠنَس کھٲترٕ مُکمل سوال نہَ آسنہٕ باپتھ چھِ أسی معٲفی منٛگان.سوالن گژھن صِرف اکھ (۱) یا زٕ (۲) تام بڈٔنی.
'''کیاہ تُۄہہ چُھوا یژھان نادٕ وِزِ مُقٲمی انتظامس سٕتی کتھ باتھہِ مٔنٛز مَدَتھ کرُن؟'''
رٲبطہٕ کٔریٚو [[m:Special:MyLanguage/Movement Strategy and Governance|تٔحریٖکہِ تدبیٖر تہٕ گوَرنؠنٕس عوام]] میٚٹا وسیٖلہٕ، [https://t.me/wmboardgovernancechat Telegram]، یا ایٖ میل بذٔریعہ $اِیٖمیلاؠڈرسَ.
اگر تۄہہِ کانٛہہ تہِ سوالات یا فِکر چُھو تیٚلہِ کٔریٚو رٲبطہٕ. تٔریٖکہِ تدبیٖر تہٕ گوَرنؠنٕس جماتھ ییہِ ۳ جَنؤری تام تائناتھ تھاوٕنہٕ.أسی چھِ یِتہِ پرکھان زِ کیہنٛہ عوٲمی سٲتھی تہٕ ارٲکیٖن چھِ دؠسمبر کؠن دۄہَن چُھٹی پؠٹھ آسان. أسی چھِ معٲفی منٛگان زِ اگر یہِ ختھ تۄہہِ وۄتُو چھُٹی دوران.
بہترِیٖن،
تٔحریٖکہِ تدبیٖر تہٕ گوَرنؠنٕس<section end="announcement-content" />
{{Clear}}
== Wiki Loves Folklore is back! ==
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:please-translate}}
[[File:Wiki Loves Folklore Logo.svg|right|150px|frameless]]
You are humbly invited to participate in the '''[[:c:Commons:Wiki Loves Folklore 2022|Wiki Loves Folklore 2022]]''' an international photography contest organized on Wikimedia Commons to document folklore and intangible cultural heritage from different regions, including, folk creative activities and many more. It is held every year from the '''1st till the 28th''' of February.
You can help in enriching the folklore documentation on Commons from your region by taking photos, audios, videos, and [https://commons.wikimedia.org/w/index.php?title=Special:UploadWizard&campaign=wlf_2022 submitting] them in this commons contest.
You can also [[:c:Commons:Wiki Loves Folklore 2022/Organize|organize a local contest]] in your country and support us in translating the [[:c:Commons:Wiki Loves Folklore 2022/Translations|project pages]] to help us spread the word in your native language.
Feel free to contact us on our [[:c:Commons talk:Wiki Loves Folklore 2022|project Talk page]] if you need any assistance.
'''Kind regards,'''
'''Wiki loves Folklore International Team'''
--[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|بَِحَژ صَفہٕ]]) 13:15, 9 جَنؤری 2022 (UTC)
</div>
<!-- Message sent by User:Tiven2240@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Tiven2240/wlf&oldid=22560402 -->
== Feminism and Folklore 2022 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:please-translate}}
Greetings! You are invited to participate in '''[[:m:Feminism and Folklore 2022|Feminism and Folklore 2022]]''' writing competion. This year Feminism and Folklore will focus on feminism, women biographies and gender-focused topics for the project in league with Wiki Loves Folklore gender gap focus with folk culture theme on Wikipedia.
You can help us in enriching the folklore documentation on Wikipedia from your region by creating or improving articles focused on folklore around the world, including, but not limited to folk festivals, folk dances, folk music, women and queer personalities in folklore, folk culture (folk artists, folk dancers, folk singers, folk musicians, folk game athletes, women in mythology, women warriors in folklore, witches and witch hunting, fairy tales and more. You can contribute to new articles or translate from the list of suggested articles [[:m:Feminism and Folklore 2022/List of Articles|here]].
You can also support us in organizing the contest on your local Wikipedia by signing up your community to participate in this project and also translating the [[m:Feminism and Folklore 2022|project page]] and help us spread the word in your native language.
Learn more about the contest and prizes from our project page. Feel free to contact us on our [[:m:Talk:Feminism and Folklore 2022|talk page]] or via Email if you need any assistance...
Thank you.
'''Feminism and Folklore Team''',
[[User:Tiven2240|Tiven2240]]
--05:49, 11 جَنؤری 2022 (UTC)
</div>
<!-- Message sent by User:Tiven2240@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Tiven2240/wlf&oldid=22574381 -->
== Call for Feedback about the Board of Trustees elections is now open ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />:''[[m:Special:MyLanguage/Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections/Call for Feedback about the Board of Trustees elections is now open/Short}}&language=&action=page&filter= {{int:please-translate}}]</div>''
The Call for Feedback: Board of Trustees elections is now open and will close on 7 February 2022.
With this Call for Feedback, the Movement Strategy and Governance team is taking a different approach. This approach incorporates community feedback from 2021. Instead of leading with proposals, the Call is framed around key questions from the Board of Trustees. The key questions came from the feedback about the 2021 Board of Trustees election. The intention is to inspire collective conversation and collaborative proposal development about these key questions.
[[m:Special:MyLanguage/Wikimedia Foundation Board of Trustees/Call for feedback: Board of Trustees elections|Join the conversation.]]
Best,
Movement Strategy and Governance<section end="announcement-content" />
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] 01:04, 15 جَنؤری 2022 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery/Wikipedia&oldid=22610145 -->
== Movement Strategy and Governance News – Issue 5 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="ucoc-newsletter"/>
:''<div class="plainlinks">[[m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5/Global message|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Movement Strategy and Governance/Newsletter/5/Global message}}&language=&action=page&filter= {{int:please-translate}}]</div>''
<span style="font-size:200%;">'''Movement Strategy and Governance News'''</span><br>
<span style="font-size:120%; color:#404040;">'''Issue 5, January 2022'''</span><span style="font-size:120%; float:right;">[[m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5|'''Read the full newsletter''']]</span>
----
Welcome to the fifth issue of Movement Strategy and Governance News (formerly known as Universal Code of Conduct News)! This revamped newsletter distributes relevant news and events about the Movement Charter, Universal Code of Conduct, Movement Strategy Implementation grants, Board elections and other relevant MSG topics.
This Newsletter will be distributed quarterly, while more frequent Updates will also be delivered weekly or bi-weekly to subscribers. Please remember to subscribe [[:m:Special:MyLanguage/Global message delivery/Targets/MSG Newsletter Subscription|here]] if you would like to receive these updates.
<div style="margin-top:3px; padding:10px 10px 10px 20px; background:#fffff; border:2px solid #808080; border-radius:4px; font-size:100%;">
*'''Call for Feedback about the Board elections''' - We invite you to give your feedback on the upcoming WMF Board of Trustees election. This call for feedback went live on 10th January 2022 and will be concluded on 16th February 2022. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5#Call for Feedback about the Board elections|continue reading]])
*'''Universal Code of Conduct Ratification''' - In 2021, the WMF asked communities about how to enforce the Universal Code of Conduct policy text. The revised draft of the enforcement guidelines should be ready for community vote in March. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5#Universal Code of Conduct Ratification|continue reading]])
*'''Movement Strategy Implementation Grants''' - As we continue to review several interesting proposals, we encourage and welcome more proposals and ideas that target a specific initiative from the Movement Strategy recommendations. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5#Movement Strategy Implementation Grants|continue reading]])
*'''The New Direction for the Newsletter''' - As the UCoC Newsletter transitions into MSG Newsletter, join the facilitation team in envisioning and deciding on the new directions for this newsletter. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5#The New Direction for the Newsletter|continue reading]])
*'''Diff Blogs''' - Check out the most recent publications about MSG on Wikimedia Diff. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/5#Diff Blogs|continue reading]])</div><section end="ucoc-newsletter"/>
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] 03:27, 29 جَنؤری 2022 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery/Wikipedia&oldid=22704115 -->
== Updates on the Universal Code of Conduct Enforcement Guidelines Review ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/2022-02-02 Announcement|You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/2022-02-02 Announcement|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Universal Code of Conduct/Enforcement guidelines/2022-02-02 Announcement}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hello everyone,
The Wikimedia Foundation Board of Trustees released a [[m:Special:MyLanguage/Wikimedia Foundation Board noticeboard/January 2022 - Board of Trustees on Community ratification of enforcement guidelines of UCoC|statement on the ratification process]] for the '''[[m:Universal Code of Conduct/Enforcement guidelines|Universal Code of Conduct (UCoC) Enforcement Guidelines]]'''.
The [[m:Universal Code of Conduct|Universal Code of Conduct]] (UCoC) provides a baseline of acceptable behavior for the entire movement. The UCoC and the Enforcement Guidelines were written by [[m:Special:MyLanguage/Universal Code of Conduct/Drafting committee|volunteer-staff drafting committees]] following community consultations.
The revised guidelines were published 24 January 2022 as a proposed way to apply the policy across the movement. There is a [[m:Universal Code of Conduct/Enforcement guidelines/Changes|list of changes made]] to the guidelines after the [[m:Special:MyLanguage/Universal Code of Conduct/Enforcement draft guidelines review|enforcement draft guidelines review]]. '''Comments about the guidelines can be shared [[m:Talk:Universal Code of Conduct/Enforcement guidelines|on the Enforcement Guidelines talk page on Meta-wiki]].'''
To help to understand the guidelines and process, the [[m:Special:MyLanguage/Movement Strategy and Governance|Movement Strategy and Governance]] (MSG) team will be hosting Conversation Hours on 4 February 2022 at 15:00 UTC, 25 February 2022 at 12:00 UTC, and 4 March 2022 at 15:00 UTC. '''[[m:Special:MyLanguage/Universal Code of Conduct/Conversations|Join the conversation hours to speak with the UCoC project team and drafting committee members about the updated guidelines and voting process]].'''
The [[m:Universal Code of Conduct/Project#Timeline|timeline is available on Meta-wiki]]. The voting period is March 7 to 21. All eligible voters will have an opportunity to support or oppose the adoption of the Enforcement guidelines, and share why. '''[[m:Universal Code of Conduct/Enforcement guidelines/Voting|See the voting information page for more details]].'''
Many participants from across the movement have provided valuable input in these ongoing conversations. The UCoC and MSG teams want to thank the Drafting Committee and the community members for their contributions to this process.
Sincerely,
Movement Strategy and Governance<br/>
Wikimedia Foundation<section end="announcement-content" />
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] 03:55, 4 فَرؤری 2022 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery/Wikipedia&oldid=22704115 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Leadership Development Task Force: Your feedback is appreciated</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />:''[[m:Special:MyLanguage/Leadership Development Task Force/Call for Feedback Announcement|You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Leadership Development Task Force/Call for Feedback Announcement|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Leadership Development Task Force/Call for Feedback Announcement}}&language=&action=page&filter= {{int:please-translate}}]</div>''
The Community Development team at the Wikimedia Foundation is supporting the creation of a global, community-driven Leadership Development Task Force. The purpose of the task force is to advise leadership development work.
The team is looking for feedback about the responsibilities of the Leadership Development Task Force. This Meta page shares the proposal for a [[m:Special:MyLanguage/Leadership Development Task Force|Leadership Development Task Force]] and how [[m:Special:MyLanguage/Leadership Development Task Force/Participate|you can help.]] Feedback on the proposal will be collected from 7 to 25 February 2022.<section end="announcement-content" />
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] 02:35, 9 فَرؤری 2022 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery/Wikipedia&oldid=22796821 -->
== Coming soon ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
=== Several improvements around templates ===
Hello, from March 9, several improvements around templates will become available on your wiki:
* Fundamental improvements of the [[Mw:Special:MyLanguage/Help:VisualEditor/User guide#Editing templates|VisualEditor template dialog]] ([[m:WMDE Technical Wishes/VisualEditor template dialog improvements|1]], [[m:WMDE Technical Wishes/Removing a template from a page using the VisualEditor|2]]),
* Improvements to make it easier to put a template on a page ([[m:WMDE Technical Wishes/Finding and inserting templates|3]]) (for the template dialogs in [[Mw:Special:MyLanguage/Help:VisualEditor/User guide#Editing templates|VisualEditor]], [[Mw:Special:MyLanguage/Extension:WikiEditor#/media/File:VectorEditorBasic-en.png|2010 Wikitext]] and [[Mw:Special:MyLanguage/2017 wikitext editor|New Wikitext Mode]]),
* and improvements in the syntax highlighting extension [[Mw:Special:MyLanguage/Extension:CodeMirror|CodeMirror]] ([[m:WMDE Technical Wishes/Improved Color Scheme of Syntax Highlighting|4]], [[m:WMDE Technical Wishes/Bracket Matching|5]]) (which is available on wikis with writing direction left-to-right).
All these changes are part of the “[[m:WMDE Technical Wishes/Templates|Templates]]” project by [[m:WMDE Technical Wishes|WMDE Technical Wishes]]. We hope they will help you in your work, and we would love to hear your feedback on the talk pages of these projects. </div> - [[m:User:Johanna Strodt (WMDE)|Johanna Strodt (WMDE)]] 12:38, 28 فَرؤری 2022 (UTC)
<!-- Message sent by User:Johanna Strodt (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=WMDE_Technical_Wishes/Technical_Wishes_News_list_all_village_pumps&oldid=22907463 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Remember to Participate in the UCoC Conversations and Ratification Vote!</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''[[m:Universal Code of Conduct/Enforcement guidelines/Voting/Announcement|You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Voting/Announcement|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Universal Code of Conduct/Enforcement guidelines/Voting/Announcement}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hello everyone,
A [[m:Special:MyLanguage/Universal_Code_of_Conduct/Enforcement_guidelines/Voting|'''vote in SecurePoll from 7 to 21 March 2022''']] is scheduled as part of the ratification process for the Universal Code of Conduct (UCoC) Enforcement guidelines. Eligible voters are invited to answer a poll question and share comments. [[m:Special:MyLanguage/Universal_Code_of_Conduct/Enforcement_guidelines/Voter_information|Read voter information and eligibility details.]] During the poll, voters will be asked if they support the enforcement of the Universal Code of Conduct based on the proposed guidelines.
The [[m:Special:MyLanguage/Universal Code of Conduct|Universal Code of Conduct]] (UCoC) provides a baseline of acceptable behavior for the entire movement. The [[m:Special:MyLanguage/Universal_Code_of_Conduct/Enforcement_guidelines|revised enforcement guidelines]] were published 24 January 2022 as a proposed way to apply the policy across the movement. A [[m:Special:MyLanguage/Wikimedia_Foundation_Board_noticeboard/January_2022_-_Board_of_Trustees_on_Community_ratification_of_enforcement_guidelines_of_UCoC|Wikimedia Foundation Board statement]] calls for a [[m:Special:MyLanguage/Universal_Code_of_Conduct/Enforcement_guidelines/Voting|ratification process]] where eligible voters will have an opportunity to support or oppose the adoption of the UCoC Enforcement guidelines in a vote. Wikimedians are invited to [[m:Special:MyLanguage/Universal_Code_of_Conduct/Enforcement_guidelines/Voter_information/Volunteer|translate and share important information]]. For more information about the UCoC, please see the [[m:Special:MyLanguage/Universal Code of Conduct/Project|project page]] and [[m:Special:MyLanguage/Universal Code of Conduct/FAQ|frequently asked questions]] on Meta-wiki.
There are events scheduled to learn more and discuss:
* A [[m:Special:MyLanguage/Universal_Code_of_Conduct/Conversations/Panel_Q&A|community panel]] recorded on 18 February 2022 shares perspectives from small- and medium-sized community participants.
* The [[m:Movement Strategy and Governance|Movement Strategy and Governance]] (MSG) team is hosting Conversation Hours on 4 March 2022 at 15:00 UTC. Please [[m:Special:MyLanguage/Universal_Code_of_Conduct/Conversations|'''sign-up''']] to interact with the project team and the drafting committee about the updated enforcement guidelines and the ratification process. See the [[m:Special:MyLanguage/Universal_Code_of_Conduct/2022_conversation_hour_summaries|Conversation Hour summaries]] for notes from 4 February 2022 and 25 February 2022.
You can comment on Meta-wiki talk pages in any language. You may also contact either team by email: msg[[File:At sign.svg|16x16px|link=|(_AT_)]]wikimedia.org or ucocproject[[File:At sign.svg|16x16px|link=|(_AT_)]]wikimedia.org
Sincerely,
Movement Strategy and Governance <br />
Wikimedia Foundation <br /><section end="announcement-content" />
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] 02:17, 2 مارٕچ 2022 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery&oldid=22916674 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Universal Code of Conduct Enforcement guidelines ratification voting open from 7 to 21 March 2022</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Vote|You can find this message translated into additional languages on Meta-wiki.]]
:''<div class="plainlinks">[[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Vote|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Universal Code of Conduct/Enforcement guidelines/Vote}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hello everyone,
The ratification voting process for the [[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines|revised enforcement guidelines]] of the [[m:Special:MyLanguage/Universal Code of Conduct|Universal Code of Conduct]] (UCoC) is now open! '''[[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Voting|Voting commenced on SecurePoll]]''' on 7 March 2022 and will conclude on 21 March 2022. Please [[m:Universal Code of Conduct/Enforcement guidelines/Voter information|read more on the voter information and eligibility details]].
The Universal Code of Conduct (UCoC) provides a baseline of acceptable behavior for the entire movement. The revised enforcement guidelines were published 24 January 2022 as a proposed way to apply the policy across the movement. You can [[m:Special:MyLanguage/Universal Code of Conduct/Project|read more about the UCoC project]].
You can also comment on Meta-wiki talk pages in any language. You may also contact the team by email: ucocproject[[File:At sign.svg|16x16px|link=|(_AT_)]]wikimedia.org
Sincerely,
Movement Strategy and Governance
Wikimedia Foundation<section end="announcement-content" />
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] 00:52, 8 مارٕچ 2022 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery&oldid=22962850 -->
== Wiki Loves Folklore is extended till 15th March ==
<div lang="en" dir="ltr" class="mw-content-ltr">{{int:please-translate}}
[[File:Wiki Loves Folklore Logo.svg|right|frameless|180px]]
Greetings from Wiki Loves Folklore International Team,
We are pleased to inform you that [[:c:Commons:Wiki Loves Folklore|Wiki Loves Folklore]] an international photographic contest on Wikimedia Commons has been extended till the '''15th of March 2022'''. The scope of the contest is focused on folk culture of different regions on categories, such as, but not limited to, folk festivals, folk dances, folk music, folk activities, etc.
We would like to have your immense participation in the photographic contest to document your local Folk culture on Wikipedia. You can also help with the [[:c:Commons:Wiki Loves Folklore 2022/Translations|translation]] of project pages and share a word in your local language.
Best wishes,
'''International Team'''<br />
'''Wiki Loves Folklore'''
[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|بَِحَژ صَفہٕ]]) 04:50, 22 فَرؤری 2022 (UTC)
</div>
<!-- Message sent by User:Rockpeterson@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=22754428 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Leadership Development Working Group: Apply to join! (14 March to 10 April 2022)</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/Leadership Development Working Group/Participate/Announcement|You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Leadership Development Working Group/Participate/Announcement|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Leadership Development Working Group/Participate/Announcement}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Hello everyone,
Thank you to everyone who participated in the feedback period for the [[m:Special:MyLanguage/Leadership Development Working Group|Leadership Development Working Group]] initiative. A [[m:Special:MyLanguage/Leadership Development Working Group/Participate#5. Summary of Call for Feedback|summary of the feedback]] can be found on Meta-wiki. This feedback will be shared with the working group to inform their work. The application period to join the Working Group is now open and will close on April 10, 2022. Please [[m:Special:MyLanguage/Leadership_Development_Working_Group/Purpose_and_Structure#3._How_is_the_working_group_formed_and_structured?|review the information about the working group]], share with community members who might be interested, and '''[[m:Special:MyLanguage/Leadership_Development_Working_Group/Participate#1._How_to_participate|apply if you are interested]]'''.
Thank you,
From the Community Development team<br /><section end="announcement-content" />
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] 02:20, 18 مارٕچ 2022 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery&oldid=22974079 -->
== Subscribe to the This Month in Education newsletter - learn from others and share your stories ==
<div lang="en" dir="ltr" class="mw-content-ltr">
Dear community members,
Greetings from the EWOC Newsletter team and the education team at Wikimedia Foundation. We are very excited to share that we on tenth years of Education Newsletter ([[m:Education/News|This Month in Education]]) invite you to join us by [[m:Global message delivery/Targets/This Month in Education|subscribing to the newsletter on your talk page]] or by [[m:Education/News/Newsroom|sharing your activities in the upcoming newsletters]]. The Wikimedia Education newsletter is a monthly newsletter that collects articles written by community members using Wikimedia projects in education around the world, and it is published by the EWOC Newsletter team in collaboration with the Education team. These stories can bring you new ideas to try, valuable insights about the success and challenges of our community members in running education programs in their context.
If your affiliate/language project is developing its own education initiatives, please remember to take advantage of this newsletter to publish your stories with the wider movement that shares your passion for education. You can submit newsletter articles in your own language or submit bilingual articles for the education newsletter. For the month of January the deadline to submit articles is on the 20th January. We look forward to reading your stories.
Older versions of this newsletter can be found in the [[outreach:Education/Newsletter/Archives|complete archive]].
More information about the newsletter can be found at [[m:Education/News/Publication Guidelines|Education/Newsletter/About]].
For more information, please contact spatnaik{{@}}wikimedia.org.
------
<div style="text-align: center;"><div style="margin-top:10px; font-size:90%; padding-left:5px; font-family:Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;">[[m:Education/Newsletter/About|About ''This Month in Education'']] · [[m:Global message delivery/Targets/This Month in Education|Subscribe/Unsubscribe]] · [[m:MassMessage|Global message delivery]] · For the team: [[User:ZI Jony|<span style="color:#8B0000">'''ZI Jony'''</span>]] [[User talk:ZI Jony|<sup><span style="color:Green"><i>(Talk)</i></span></sup>]], {{<includeonly>subst:</includeonly>#time:l G:i, d F Y|}} (UTC)</div></div>
</div>
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:ZI_Jony/MassMessage/Awareness_of_Education_Newsletter/List_of_Village_Pumps&oldid=21244129 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Universal Code of Conduct Enforcement guidelines ratification voting is now closed</span> ==
== <span lang="en" dir="ltr" class="mw-content-ltr">Invitation to Hubs event: Global Conversation on 2022-03-12 at 13:00 UTC</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />Hello!
The Movement Strategy and Governance team of the Wikimedia Foundation would like to invite you to the next event about "Regional and Thematic Hubs". The Wikimedia Movement is in the process of understanding what Regional and Thematic Hubs should be. Our workshop in November was a good start ([[m:Special:MyLanguage/Hubs/Documentation/27 November Workshop|read the report]]), but we're not finished yet.
Over the last weeks we conducted about 16 interviews with groups working on establishing a Hub in their context ([[m:Special:MyLanguage/Hubs/Dialogue|see Hubs Dialogue]]). These interviews informed a report that will serve as a foundation for discussion on March 12. The report is planned to be published on March 9.
The event will take place on March 12, 13:00 to 16:00 UTC on Zoom. Interpretation will be provided in French, Spanish, Arabic, Russian, and Portuguese. Registration is open, and will close on March 10. Anyone interested in the topic is invited to join us. '''[[m:Special:MyLanguage/Hubs/Global Conversations March 12, 2022|More information on the event on Meta-wiki]]'''.
Best regards,
[[m:User:KVaidla (WMF)|Kaarel Vaidla]]<br />Movement Strategy
<section end="announcement-content" />
</div>
01:31, 10 مارٕچ 2022 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery&oldid=22974079 -->
== Wiki Loves Folklore 2022 ends tomorrow ==
[[File:Wiki Loves Folklore Logo.svg|right|frameless|180px]]
International photographic contest [[:c:Commons:Wiki Loves Folklore 2022| Wiki Loves Folklore 2022]] ends on 15th March 2022 23:59:59 UTC. This is the last chance of the year to upload images about local folk culture, festival, cuisine, costume, folklore etc on Wikimedia Commons. Watch out our social media handles for regular updates and declaration of Winners.
([https://www.facebook.com/WikiLovesFolklore/ Facebook] , [https://twitter.com/WikiFolklore Twitter ] , [https://www.instagram.com/wikilovesfolklore/ Instagram])
The writing competition Feminism and Folklore will run till 31st of March 2022 23:59:59 UTC. Write about your local folk tradition, women, folk festivals, folk dances, folk music, folk activities, folk games, folk cuisine, folk wear, folklore, and tradition, including ballads, folktales, fairy tales, legends, traditional song and dance, folk plays, games, seasonal events, calendar customs, folk arts, folk religion, mythology etc. on your local Wikipedia. Check if your [[:m:Feminism and Folklore 2022/Project Page|local Wikipedia is participating]]
A special competition called '''Wiki Loves Falles''' is organised in Spain and the world during 15th March 2022 till 15th April 2022 to document local folk culture and [[:en:Falles|Falles]] in Valencia, Spain. Learn more about it on [[:ca:Viquiprojecte:Falles 2022|Catalan Wikipedia project page]].
We look forward for your immense co-operation.
Thanks
Wiki Loves Folklore international Team
[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|بَِحَژ صَفہٕ]]) 14:40, 14 مارٕچ 2022 (UTC)
<!-- Message sent by User:Rockpeterson@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=22754428 -->
== Feminism and Folklore 2022 ends soon ==
[[File:Feminism and Folklore 2022 logo.svg|right|frameless|250px]]
[[:m:Feminism and Folklore 2022|Feminism and Folklore 2022]] which is an international writing contest organized at Wikipedia ends soon that is on <b>31 March 2022 11:59 UTC</b>. This is the last chance of the year to write about feminism, women biographies and gender-focused topics such as <i>folk festivals, folk dances, folk music, folk activities, folk games, folk cuisine, folk wear, fairy tales, folk plays, folk arts, folk religion, mythology, folk artists, folk dancers, folk singers, folk musicians, folk game athletes, women in mythology, women warriors in folklore, witches and witch hunting, fairy tales and more</i>
Keep an eye on the project page for declaration of Winners.
We look forward for your immense co-operation.
Thanks
Wiki Loves Folklore international Team
[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن بَحَژ:MediaWiki message delivery|بَِحَژ صَفہٕ]]) 14:29, 26 مارٕچ 2022 (UTC)
<!-- Message sent by User:Rockpeterson@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Rockpeterson/fnf&oldid=23060054 -->
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="announcement-content" />
:''[[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Vote/Closing message|You can find this message translated into additional languages on Meta-wiki.]]''
:''<div class="plainlinks">[[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Vote/Closing message|{{int:interlanguage-link-mul}}]] • [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-{{urlencode:Universal Code of Conduct/Enforcement guidelines/Vote/Closing message}}&language=&action=page&filter= {{int:please-translate}}]</div>''
Greetings,
The ratification voting process for the [[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines|revised enforcement guidelines]] of the [[m:Special:MyLanguage/Universal Code of Conduct|Universal Code of Conduct]] (UCoC) came to a close on 21 March 2022. Over {{#expr:2300}} Wikimedians voted across different regions of our movement. Thank you to everyone who participated in this process! The scrutinizing group is now reviewing the vote for accuracy, so please allow up to two weeks for them to finish their work.
The final results from the voting process will be announced [[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Voting/Results|here]], along with the relevant statistics and a summary of comments as soon as they are available. Please check out [[m:Special:MyLanguage/Universal Code of Conduct/Enforcement guidelines/Voter information|the voter information page]] to learn about the next steps. You can comment on the project talk page [[m:Talk:Universal Code of Conduct/Enforcement guidelines|on Meta-wiki]] in any language. You may also contact the UCoC project team by email: ucocproject[[File:At sign.svg|16x16px|link=|(_AT_)]]wikimedia.org
Best regards,
Movement Strategy and Governance<br /><section end="announcement-content" />
</div>
[[User:Xeno (WMF)|Xeno (WMF)]] 01:53, 30 مارٕچ 2022 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery&oldid=23079949 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Movement Strategy and Governance News – Issue 6</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="msg-newsletter"/>
<div style = "line-height: 1.2">
<span style="font-size:200%;">'''Movement Strategy and Governance News'''</span><br>
<span style="font-size:120%; color:#404040;">'''Issue 6, April 2022'''</span><span style="font-size:120%; float:right;">[[m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/6|'''Read the full newsletter''']]</span>
----
Welcome to the sixth issue of Movement Strategy and Governance News! This revamped newsletter distributes relevant news and events about the Movement Charter, Universal Code of Conduct, Movement Strategy Implementation grants, Board of trustees elections and other relevant MSG topics.
This Newsletter will be distributed quarterly, while the more frequent Updates will also be delivered weekly. Please remember to subscribe [[m:Special:MyLanguage/Global message delivery/Targets/MSG Newsletter Subscription|here]] if you would like to receive future issues of this newsletter.
</div><div style="margin-top:3px; padding:10px 10px 10px 20px; background:#fffff; border:2px solid #808080; border-radius:4px; font-size:100%;">
*'''Leadership Development -''' A Working Group is Forming! - The application to join the Leadership Development Working Group closed on April 10th, 2022, and up to 12 community members will be selected to participate in the working group. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/6#A1|continue reading]])
*'''Universal Code of Conduct Ratification Results are out! -''' The global decision process on the enforcement of the UCoC via SecurePoll was held from 7 to 21 March. Over 2,300 eligible voters from at least 128 different home projects submitted their opinions and comments. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/6#A2|continue reading]])
*'''Movement Discussions on Hubs -''' The Global Conversation event on Regional and Thematic Hubs was held on Saturday, March 12, and was attended by 84 diverse Wikimedians from across the movement. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/6#A3|continue reading]])
*'''Movement Strategy Grants Remain Open! -''' Since the start of the year, six proposals with a total value of about $80,000 USD have been approved. Do you have a movement strategy project idea? Reach out to us! ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/6#A4|continue reading]])
*'''The Movement Charter Drafting Committee is All Set! -''' The Committee of fifteen members which was elected in October 2021, has agreed on the essential values and methods for its work, and has started to create the outline of the Movement Charter draft. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/6#A5|continue reading]])
*'''Introducing Movement Strategy Weekly -''' Contribute and Subscribe! - The MSG team have just launched the updates portal, which is connected to the various Movement Strategy pages on Meta-wiki. Subscriber to get up-to-date news about the various ongoing projects. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/6#A6|continue reading]])
*'''Diff Blogs -''' Check out the most recent publications about Movement Strategy on Wikimedia Diff. ([[:m:Special:MyLanguage/Movement Strategy and Governance/Newsletter/6#A7|continue reading]])
</div><section end="msg-newsletter"/>
</div>
Also, a draft of the [[m:Special:MyLanguage/Wikimedia Foundation Annual Plan/2022-2023/draft|'''2022-23 Wikimedia Foundation Annual Plan''']] has been published. Input is being sought on-wiki and during [[:m:Special:MyLanguage/Wikimedia Foundation Annual Plan/2022-2023/Conversations|'''several conversations''' with Wikimedia Foundation CEO Maryana Iskander]].
[[m:Special:MyLanguage/Wikimedia Foundation Annual Plan/2022-2023/Conversations/Announcement|See full announcement on Meta-wiki]]. [[User:Xeno (WMF)|Xeno (WMF)]] 01:45, 22 اَپریل 2022 (UTC)
<!-- Message sent by User:Xeno (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Movement_Strategy_and_Governance/Delivery&oldid=23184989 -->
== Coming soon: Improvements for templates ==
<div class="plainlinks mw-content-ltr" lang="en" dir="ltr">
[[File:Overview of changes in the VisualEditor template dialog by WMDE Technical Wishes.webm|thumb|Fundamental changes in the template dialog (example from a left-to-right wiki).]]
Hello, more changes around templates are coming to your wiki soon:
The [[mw:Special:MyLanguage/Help:VisualEditor/User guide#Editing templates|'''template dialog''' in VisualEditor]] and in the [[mw:Special:MyLanguage/2017 wikitext editor|2017 Wikitext Editor]] (beta) will be '''improved fundamentally''':
This should help users understand better what the template expects, how to navigate the template, and how to add parameters. ([[metawiki:WMDE Technical Wishes/VisualEditor template dialog improvements|project page]])
Deployment is planned for May 10. This is the last set of improvements from [[m:WMDE Technical Wishes|WMDE Technical Wishes']] focus area “[[m:WMDE Technical Wishes/Templates|Templates]]”.
We would love to [[metawiki:Talk:WMDE Technical Wishes/VisualEditor template dialog improvements|hear your feedback]]!
</div> [[m:User:Johanna Strodt (WMDE)|Johanna Strodt (WMDE)]] 10:57, 29 اَپریل 2022 (UTC)
<!-- Message sent by User:Johanna Strodt (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=WMDE_Technical_Wishes/Technical_Wishes_News_list_all_village_pumps&oldid=23222047 -->
== <span lang="en" dir="ltr" class="mw-content-ltr">Editing news 2022 #1</span> ==
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="message"/><i>[[metawiki:VisualEditor/Newsletter/2022/April|Read this in another language]] • [[m:VisualEditor/Newsletter|Subscription list for this multilingual newsletter]]</i>
[[File:Junior Contributor New Topic Tool Completion Rate.png|thumb|New editors were more successful with this new tool.]]
The [[mw:Special:MyLanguage/Help:DiscussionTools#New discussion tool|New topic tool]] helps editors create new ==Sections== on discussion pages. New editors are more successful with this new tool. You can [[mw:Talk pages project/New topic#21 April 2022|read the report]]. Soon, the Editing team will offer this to all editors at the 20 Wikipedias that participated in the test. You will be able to turn it off at [[Special:Preferences#mw-prefsection-editing-discussion]].<section end="message"/>
</div>
[[User:Whatamidoing (WMF)|Whatamidoing (WMF)]] 18:55, 2 مٔیی 2022 (UTC)
<!-- Message sent by User:Quiddity (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Global_message_delivery/Targets/VisualEditor/Newsletter/Wikis_with_VE&oldid=22019984 -->
== Results of Wiki Loves Folklore 2022 is out! ==
<div lang="en" dir="ltr" class="mw-content-ltr">
{{int:please-translate}}
[[File:Wiki Loves Folklore Logo.svg|right|150px|frameless]]
Hi, Greetings
The winners for '''[[c:Commons:Wiki Loves Folklore 2022|Wiki Loves Folklore 2022]]''' is announced!
We are happy to share with you winning images for this year's edition. This year saw over 8,584 images represented on commons in over 92 countries. Kindly see images '''[[:c:Commons:Wiki Loves Folklore 2022/Winners|here]]'''
Our profound gratitude to all the people who participated and organized local contests and photo walks for this project.
We hope to have you contribute to the campaign next year.
'''Thank you,'''
'''Wiki Loves Folklore International Team'''
--[[رُکُن:MediaWiki message delivery|MediaWiki message delivery]] ([[رُکُن کَتھ:MediaWiki message delivery|کَتھ صَفہٕ]]) 16:12, 4 جُلَے 2022 (UTC)
</div>
<!-- Message sent by User:Tiven2240@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Non-Technical_Village_Pumps_distribution_list&oldid=23454230 -->
sp4pt9r8sjt0fcc9rkzjojul0r5kc73
کورونا
0
6634
62275
61385
2022-08-10T03:43:33Z
511KeV
8268
Databox
wikitext
text/x-wiki
{{Databox}}
'''کورونا''' چھُ اَکھ [[بؠمٲرؠ]]. یہِ آے ۲۰۱۹ مَنٛز لبنہ.
{{نامُکَمَل مَضموٗن}}
[[زٲژ:بیمٲرؠ]]
05bjiy7w502ahqxwapr10ofrwu72ha7
Module:Age
828
7180
62268
54216
2022-08-09T15:57:13Z
511KeV
8268
Translate
Scribunto
text/plain
-- Implement various "age of" and other date-related templates.
local mtext = {
-- Message and other text that should be localized.
-- Also need to localize text in table names in function dateDifference.
['mt-bad-param1'] = 'Invalid parameter $1',
['mt-bad-param2'] = 'Parameter $1=$2 is invalid',
['mt-bad-show'] = 'Parameter show=$1 is not supported here',
['mt-cannot-add'] = 'Cannot add "$1"',
['mt-conflicting-show'] = 'Parameter show=$1 conflicts with round=$2',
['mt-date-wrong-order'] = 'The second date must be later in time than the first date',
['mt-dd-future'] = 'Death date (first date) must not be in the future',
['mt-dd-wrong-order'] = 'Death date (first date) must be later in time than the birth date (second date)',
['mt-invalid-bd-age'] = 'Invalid birth date for calculating age',
['mt-invalid-dates-age'] = 'Invalid dates for calculating age',
['mt-invalid-end'] = 'Invalid end date in second parameter',
['mt-invalid-start'] = 'Invalid start date in first parameter',
['mt-need-jdn'] = 'Need valid Julian date number',
['mt-need-valid-bd'] = 'Need valid birth date: year, month, day',
['mt-need-valid-bd2'] = 'Need valid birth date (second date): year, month, day',
['mt-need-valid-date'] = 'Need valid date',
['mt-need-valid-dd'] = 'Need valid death date (first date): year, month, day',
['mt-need-valid-ymd'] = 'Need valid year, month, day',
['mt-need-valid-ymd-current'] = 'Need valid year|month|day or "currentdate"',
['mt-need-valid-ymd2'] = 'Second date should be year, month, day',
['mt-template-bad-name'] = 'The specified template name is not valid',
['mt-template-x'] = 'The template invoking this must have "|template=x" where x is the wanted operation',
['txt-and'] = ' and ',
['txt-or'] = ' or ',
['txt-category'] = 'Category:Age error',
['txt-comma-and'] = ', and ',
['txt-error'] = 'Error: ',
['txt-format-default'] = 'mf', -- 'df' (day first = dmy) or 'mf' (month first = mdy)
['txt-module-convertnumeric'] = 'Module:ConvertNumeric',
['txt-module-date'] = 'Module:Date',
['txt-sandbox'] = 'sandbox',
['txt-bda'] = '<span style="display:none"> (<span class="bday">$1</span>) </span>$2<span class="noprint ForceAgeToShow"> ($3 ؤری)</span>',
['txt-dda'] = '$2<span style="display:none">($1)</span> (ؤری $3)',
['txt-bda-disp'] = 'disp_raw', -- disp_raw → age is a number only; disp_age → age is a number and unit (normally years but months or days if very young)
['txt-dda-disp'] = 'disp_raw',
['txt-dmy'] = '%-d %B %-Y',
['txt-mdy'] = '%B %-d, %-Y',
}
local isWarning = {
['mt-bad-param1'] = true,
}
local translate, from_en, to_en, isZero
if translate then
-- Functions to translate from en to local language and reverse go here.
-- See example at [[:bn:Module:বয়স]].
else
from_en = function (text)
return text
end
isZero = function (text)
return tonumber(text) == 0
end
end
local _Date, _currentDate
local function getExports(frame)
-- Return objects exported from the date module or its sandbox.
if not _Date then
local sandbox = frame:getTitle():find(mtext['txt-sandbox'], 1, true) and ('/' .. mtext['txt-sandbox']) or ''
local datemod = require(mtext['txt-module-date'] .. sandbox)
local realDate = datemod._Date
_currentDate = datemod._current
if to_en then
_Date = function (...)
local args = {}
for i, v in ipairs({...}) do
args[i] = to_en(v)
end
return realDate(unpack(args))
end
else
_Date = realDate
end
end
return _Date, _currentDate
end
local Collection -- a table to hold items
Collection = {
add = function (self, item)
if item ~= nil then
self.n = self.n + 1
self[self.n] = item
end
end,
join = function (self, sep)
return table.concat(self, sep)
end,
remove = function (self, pos)
if self.n > 0 and (pos == nil or (0 < pos and pos <= self.n)) then
self.n = self.n - 1
return table.remove(self, pos)
end
end,
sort = function (self, comp)
table.sort(self, comp)
end,
new = function ()
return setmetatable({n = 0}, Collection)
end
}
Collection.__index = Collection
local function stripToNil(text)
-- If text is a string, return its trimmed content, or nil if empty.
-- Otherwise return text (which may, for example, be nil).
if type(text) == 'string' then
text = text:match('(%S.-)%s*$')
end
return text
end
local function dateFormat(args)
-- Return string for wanted date format.
local default = mtext['txt-format-default']
local other = default == 'df' and 'mf' or 'df'
local wanted = stripToNil(args[other]) and other or default
return wanted == 'df' and mtext['txt-dmy'] or mtext['txt-mdy']
end
local function substituteParameters(text, ...)
-- Return text after substituting any given parameters for $1, $2, etc.
return mw.message.newRawMessage(text, ...):plain()
end
local function yes(parameter)
-- Return true if parameter should be interpreted as "yes".
-- Do not want to accept mixed upper/lowercase unless done by current templates.
-- Need to accept "on" because "round=on" is wanted.
return ({ y = true, yes = true, on = true })[parameter]
end
local function message(msg, ...)
-- Return formatted message text for an error or warning.
local function getText(msg)
return mtext[msg] or error('Bug: message "' .. tostring(msg) .. '" not defined')
end
local categories = {
error = mtext['txt-category'],
warning = mtext['txt-category'],
}
local a, b, k, category
local text = substituteParameters(getText(msg), ...)
if isWarning[msg] then
a = '<sup>[<i>'
b = '</i>]</sup>'
k = 'warning'
else
a = '<strong class="error">' .. getText('txt-error')
b = '</strong>'
k = 'error'
end
if mw.title.getCurrentTitle():inNamespaces(0) then
-- Category only in namespaces: 0=article.
category = '[[' .. categories[k] .. ']]'
end
return
a ..
mw.text.nowiki(text) ..
b ..
(category or '')
end
local function formatNumber(number)
-- Return the given number formatted with commas as group separators,
-- given that the number is an integer.
local numstr = tostring(number)
local length = #numstr
local places = Collection.new()
local pos = 0
repeat
places:add(pos)
pos = pos + 3
until pos >= length
places:add(length)
local groups = Collection.new()
for i = places.n, 2, -1 do
local p1 = length - places[i] + 1
local p2 = length - places[i - 1]
groups:add(numstr:sub(p1, p2))
end
return groups:join(',')
end
local function spellNumber(number, options, i)
-- Return result of spelling number, or
-- return number (as a string) if cannot spell it.
-- i == 1 for the first number which can optionally start with an uppercase letter.
number = tostring(number)
return require(mtext['txt-module-convertnumeric']).spell_number(
number,
nil, -- fraction numerator
nil, -- fraction denominator
i == 1 and options.upper, -- true: 'One' instead of 'one'
not options.us, -- true: use 'and' between tens/ones etc
options.adj, -- true: hyphenated
options.ordinal -- true: 'first' instead of 'one'
) or number
end
local function makeExtra(args, flagCurrent)
-- Return extra text that will be inserted before the visible result
-- but after any sort key.
local extra = args.prefix or ''
if mw.ustring.len(extra) > 1 then
-- Parameter "~" gives "~3" whereas "over" gives "over 3".
if extra:sub(-6, -1) ~= ' ' then
extra = extra .. ' '
end
end
if flagCurrent then
extra = '<span class="currentage"></span>' .. extra
end
return extra
end
local function makeSort(value, sortable)
-- Return a sort key if requested.
-- Assume value is a valid number which has not overflowed.
if sortable == 'sortable_table' or sortable == 'sortable_on' or sortable == 'sortable_debug' then
local sortKey
if value == 0 then
sortKey = '5000000000000000000'
else
local mag = math.floor(math.log10(math.abs(value)) + 1e-14)
if value > 0 then
sortKey = 7000 + mag
else
sortKey = 2999 - mag
value = value + 10^(mag+1)
end
sortKey = string.format('%d', sortKey) .. string.format('%015.0f', math.floor(value * 10^(14-mag)))
end
local result
if sortable == 'sortable_table' then
result = 'data-sort-value="_SORTKEY_"|'
elseif sortable == 'sortable_debug' then
result = '<span data-sort-value="_SORTKEY_♠"><span style="border:1px solid">_SORTKEY_♠</span></span>'
else
result = '<span data-sort-value="_SORTKEY_♠"></span>'
end
return (result:gsub('_SORTKEY_', sortKey))
end
end
local translateParameters = {
abbr = {
off = 'abbr_off',
on = 'abbr_on',
},
disp = {
age = 'disp_age',
raw = 'disp_raw',
},
format = {
raw = 'format_raw',
commas = 'format_commas',
},
round = {
on = 'on',
yes = 'on',
months = 'ym',
weeks = 'ymw',
days = 'ymd',
hours = 'ymdh',
},
sep = {
comma = 'sep_comma',
[','] = 'sep_comma',
serialcomma = 'sep_serialcomma',
space = 'sep_space',
},
show = {
hide = { id = 'hide' },
y = { 'y', id = 'y' },
ym = { 'y', 'm', id = 'ym' },
ymd = { 'y', 'm', 'd', id = 'ymd' },
ymw = { 'y', 'm', 'w', id = 'ymw' },
ymwd = { 'y', 'm', 'w', 'd', id = 'ymwd' },
yd = { 'y', 'd', id = 'yd', keepZero = true },
m = { 'm', id = 'm' },
md = { 'm', 'd', id = 'md' },
w = { 'w', id = 'w' },
wd = { 'w', 'd', id = 'wd' },
h = { 'H', id = 'h' },
hm = { 'H', 'M', id = 'hm' },
hms = { 'H', 'M', 'S', id = 'hms' },
M = { 'M', id = 'M' },
s = { 'S', id = 's' },
d = { 'd', id = 'd' },
dh = { 'd', 'H', id = 'dh' },
dhm = { 'd', 'H', 'M', id = 'dhm' },
dhms = { 'd', 'H', 'M', 'S', id = 'dhms' },
ymdh = { 'y', 'm', 'd', 'H', id = 'ymdh' },
ymdhm = { 'y', 'm', 'd', 'H', 'M', id = 'ymdhm' },
ymwdh = { 'y', 'm', 'w', 'd', 'H', id = 'ymwdh' },
ymwdhm = { 'y', 'm', 'w', 'd', 'H', 'M', id = 'ymwdhm' },
},
sortable = {
off = false,
on = 'sortable_on',
table = 'sortable_table',
debug = 'sortable_debug',
},
}
local spellOptions = {
cardinal = {},
Cardinal = { upper = true },
cardinal_us = { us = true },
Cardinal_us = { us = true, upper = true },
ordinal = { ordinal = true },
Ordinal = { ordinal = true, upper = true },
ordinal_us = { ordinal = true, us = true },
Ordinal_us = { ordinal = true, us = true, upper = true },
}
local function dateExtract(frame)
-- Return part of a date after performing an optional operation.
local Date = getExports(frame)
local args = frame:getParent().args
local parms = {}
for i, v in ipairs(args) do
parms[i] = v
end
if yes(args.fix) then
table.insert(parms, 'fix')
end
if yes(args.partial) then
table.insert(parms, 'partial')
end
local show = stripToNil(args.show) or 'dmy'
local date = Date(unpack(parms))
if not date then
if show == 'format' then
return 'error'
end
return message('mt-need-valid-date')
end
local add = stripToNil(args.add)
if add then
for item in add:gmatch('%S+') do
date = date + item
if not date then
return message('mt-cannot-add', item)
end
end
end
local sortKey, result
local sortable = translateParameters.sortable[args.sortable]
if sortable then
local value = (date.partial and date.partial.first or date).jdz
sortKey = makeSort(value, sortable)
end
if show ~= 'hide' then
result = date[show]
if result == nil then
result = from_en(date:text(show))
elseif type(result) == 'boolean' then
result = result and '1' or '0'
else
result = from_en(tostring(result))
end
end
return (sortKey or '') .. makeExtra(args) .. (result or '')
end
local function rangeJoin(range)
-- Return text to be used between a range of ages.
return range == 'dash' and '–' or mtext['txt-or']
end
local function makeText(values, components, names, options, noUpper)
-- Return wikitext representing an age or duration.
local text = Collection.new()
local count = #values
local sep = names.sep or ''
for i, v in ipairs(values) do
-- v is a number (say 4 for 4 years), or a table ({4,5} for 4 or 5 years).
local islist = type(v) == 'table'
if (islist or v > 0) or (text.n == 0 and i == count) or (text.n > 0 and components.keepZero) then
local fmt, vstr
if options.spell then
fmt = function(number)
return spellNumber(number, options.spell, noUpper or i)
end
elseif i == 1 and options.format == 'format_commas' then
-- Numbers after the first should be small and not need formatting.
fmt = formatNumber
else
fmt = tostring
end
if islist then
vstr = fmt(v[1]) .. rangeJoin(options.range)
noUpper = true
vstr = vstr .. fmt(v[2])
else
vstr = fmt(v)
end
local name = names[components[i]]
if name then
if type(name) == 'table' then
name = mw.getContentLanguage():plural(islist and v[2] or v, name)
end
text:add(vstr .. sep .. name)
else
text:add(vstr)
end
end
end
local first, last
if options.join == 'sep_space' then
first = ' '
last = ' '
elseif options.join == 'sep_comma' then
first = ', '
last = ', '
elseif options.join == 'sep_serialcomma' and text.n > 2 then
first = ', '
last = mtext['txt-comma-and']
else
first = ', '
last = mtext['txt-and']
end
for i, v in ipairs(text) do
if i < text.n then
text[i] = v .. (i + 1 < text.n and first or last)
end
end
local sign = ''
if options.isnegative then
-- Do not display negative zero.
if text.n > 1 or (text.n == 1 and text[1]:sub(1, 1) ~= '0' ) then
if options.format == 'format_raw' then
sign = '-' -- plain hyphen so result can be used in a calculation
else
sign = '−' -- Unicode U+2212 MINUS SIGN
end
end
end
return
(options.sortKey or '') ..
(options.extra or '') ..
sign ..
text:join() ..
(options.suffix or '')
end
local function dateDifference(parms)
-- Return a formatted date difference using the given parameters
-- which have been validated.
local names = {
-- Each name is:
-- * a string if no plural form of the name is used; or
-- * a table of strings, one of which is selected using the rules at
-- https://translatewiki.net/wiki/Plural/Mediawiki_plural_rules
abbr_off = {
sep = ' ',
y = {'year', 'years'},
m = {'month', 'months'},
w = {'week', 'weeks'},
d = {'day', 'days'},
H = {'hour', 'hours'},
M = {'minute', 'minutes'},
S = {'second', 'seconds'},
},
abbr_on = {
y = 'y',
m = 'm',
w = 'w',
d = 'd',
H = 'h',
M = 'm',
S = 's',
},
abbr_infant = { -- for {{age for infant}}
sep = ' ',
y = {'yr', 'yrs'},
m = {'mo', 'mos'},
w = {'wk', 'wks'},
d = {'day', 'days'},
H = {'hr', 'hrs'},
M = {'min', 'mins'},
S = {'sec', 'secs'},
},
abbr_raw = {},
}
local diff = parms.diff -- must be a valid date difference
local show = parms.show -- may be nil; default is set below
local abbr = parms.abbr or 'abbr_off'
local defaultJoin
if abbr ~= 'abbr_off' then
defaultJoin = 'sep_space'
end
if not show then
show = 'ymd'
if parms.disp == 'disp_age' then
if diff.years < 3 then
defaultJoin = 'sep_space'
if diff.years >= 1 then
show = 'ym'
else
show = 'md'
end
else
show = 'y'
end
end
end
if type(show) ~= 'table' then
show = translateParameters.show[show]
end
if parms.disp == 'disp_raw' then
defaultJoin = 'sep_space'
abbr = 'abbr_raw'
elseif parms.wantSc then
defaultJoin = 'sep_serialcomma'
end
local diffOptions = {
round = parms.round,
duration = parms.wantDuration,
range = parms.range and true or nil,
}
local sortKey
if parms.sortable then
local value = diff.age_days + (parms.wantDuration and 1 or 0) -- days and fraction of a day
if diff.isnegative then
value = -value
end
sortKey = makeSort(value, parms.sortable)
end
local textOptions = {
extra = parms.extra,
format = parms.format,
join = parms.sep or defaultJoin,
isnegative = diff.isnegative,
range = parms.range,
sortKey = sortKey,
spell = parms.spell,
suffix = parms.suffix, -- not currently used
}
if show.id == 'hide' then
return sortKey or ''
end
local values = { diff:age(show.id, diffOptions) }
if values[1] then
return makeText(values, show, names[abbr], textOptions)
end
if diff.partial then
-- Handle a more complex range such as
-- {{age_yd|20 Dec 2001|2003|range=yes}} → 1 year, 12 days or 2 years, 11 days
local opt = {
format = textOptions.format,
join = textOptions.join,
isnegative = textOptions.isnegative,
spell = textOptions.spell,
}
return
(textOptions.sortKey or '') ..
makeText({ diff.partial.mindiff:age(show.id, diffOptions) }, show, names[abbr], opt) ..
rangeJoin(textOptions.range) ..
makeText({ diff.partial.maxdiff:age(show.id, diffOptions) }, show, names[abbr], opt, true) ..
(textOptions.suffix or '')
end
return message('mt-bad-show', show.id)
end
local function getDates(frame, getopt)
-- Parse template parameters and return one of:
-- * date (a date table, if single)
-- * date1, date2 (two date tables, if not single)
-- * text (a string error message)
-- A missing date is optionally replaced with the current date.
-- If wantMixture is true, a missing date component is replaced
-- from the current date, so can get a bizarre mixture of
-- specified/current y/m/d as has been done by some "age" templates.
-- Some results may be placed in table getopt.
local Date, currentDate = getExports(frame)
getopt = getopt or {}
local function flagCurrent(text)
-- This allows the calling template to detect if the current date has been used,
-- that is, whether both dates have been entered in a template expecting two.
-- For example, an infobox may want the age when an event occurred, not the current age.
-- Don't bother detecting if wantMixture is used because not needed and it is a poor option.
if not text then
if getopt.noMissing then
return nil -- this gives a nil date which gives an error
end
text = 'currentdate'
if getopt.flag == 'usesCurrent' then
getopt.usesCurrent = true
end
end
return text
end
local args = frame:getParent().args
local fields = {}
local isNamed = args.year or args.year1 or args.year2 or
args.month or args.month1 or args.month2 or
args.day or args.day1 or args.day2
if isNamed then
fields[1] = args.year1 or args.year
fields[2] = args.month1 or args.month
fields[3] = args.day1 or args.day
fields[4] = args.year2
fields[5] = args.month2
fields[6] = args.day2
else
for i = 1, 6 do
fields[i] = args[i]
end
end
local imax = 0
for i = 1, 6 do
fields[i] = stripToNil(fields[i])
if fields[i] then
imax = i
end
if getopt.omitZero and i % 3 ~= 1 then -- omit zero months and days as unknown values but keep year 0 which is 1 BCE
if isZero(fields[i]) then
fields[i] = nil
getopt.partial = true
end
end
end
local fix = getopt.fix and 'fix' or ''
local partialText = getopt.partial and 'partial' or ''
local dates = {}
if isNamed or imax >= 3 then
local nrDates = getopt.single and 1 or 2
if getopt.wantMixture then
-- Cannot be partial since empty fields are set from current.
local components = { 'year', 'month', 'day' }
for i = 1, nrDates * 3 do
fields[i] = fields[i] or currentDate[components[i > 3 and i - 3 or i]]
end
for i = 1, nrDates do
local index = i == 1 and 1 or 4
local y, m, d = fields[index], fields[index+1], fields[index+2]
if (m == 2 or m == '2') and (d == 29 or d == '29') then
-- Workaround error with following which attempt to use invalid date 2001-02-29.
-- {{age_ymwd|year1=2001|year2=2004|month2=2|day2=29}}
-- {{age_ymwd|year1=2001|month1=2|year2=2004|month2=1|day2=29}}
-- TODO Get rid of wantMixture because even this ugly code does not handle
-- 'Feb' or 'February' or 'feb' or 'february'.
if not ((y % 4 == 0 and y % 100 ~= 0) or y % 400 == 0) then
d = 28
end
end
dates[i] = Date(y, m, d)
end
else
-- If partial dates are allowed, accept
-- year only, or
-- year and month only
-- Do not accept year and day without a month because that makes no sense
-- (and because, for example, Date('partial', 2001, nil, 12) sets day = nil, not 12).
for i = 1, nrDates do
local index = i == 1 and 1 or 4
local y, m, d = fields[index], fields[index+1], fields[index+2]
if (getopt.partial and y and (m or not d)) or (y and m and d) then
dates[i] = Date(fix, partialText, y, m, d)
elseif not y and not m and not d then
dates[i] = Date(flagCurrent())
end
end
end
else
getopt.textdates = true -- have parsed each date from a single text field
dates[1] = Date(fix, partialText, flagCurrent(fields[1]))
if not getopt.single then
dates[2] = Date(fix, partialText, flagCurrent(fields[2]))
end
end
if not dates[1] then
return message(getopt.missing1 or 'mt-need-valid-ymd')
end
if getopt.single then
return dates[1]
end
if not dates[2] then
return message(getopt.missing2 or 'mt-need-valid-ymd2')
end
return dates[1], dates[2]
end
local function ageGeneric(frame)
-- Return the result required by the specified template.
-- Can use sortable=x where x = on/table/off/debug in any supported template.
-- Some templates default to sortable=on but can be overridden.
local name = frame.args.template
if not name then
return message('mt-template-x')
end
local args = frame:getParent().args
local specs = {
age_days = { -- {{age in days}}
show = 'd',
disp = 'disp_raw',
},
age_days_nts = { -- {{age in days nts}}
show = 'd',
disp = 'disp_raw',
format = 'format_commas',
sortable = 'on',
},
duration_days = { -- {{duration in days}}
show = 'd',
disp = 'disp_raw',
duration = true,
},
duration_days_nts = { -- {{duration in days nts}}
show = 'd',
disp = 'disp_raw',
format = 'format_commas',
sortable = 'on',
duration = true,
},
age_full_years = { -- {{age}}
show = 'y',
abbr = 'abbr_raw',
flag = 'usesCurrent',
omitZero = true,
range = 'no',
},
age_full_years_nts = { -- {{age nts}}
show = 'y',
abbr = 'abbr_raw',
format = 'format_commas',
sortable = 'on',
},
age_in_years = { -- {{age in years}}
show = 'y',
abbr = 'abbr_raw',
negative = 'error',
range = 'dash',
},
age_in_years_nts = { -- {{age in years nts}}
show = 'y',
abbr = 'abbr_raw',
negative = 'error',
range = 'dash',
format = 'format_commas',
sortable = 'on',
},
age_infant = { -- {{age for infant}}
-- Do not set show because special processing is done later.
abbr = yes(args.abbr) and 'abbr_infant' or 'abbr_off',
disp = 'disp_age',
sep = 'sep_space',
sortable = 'on',
},
age_m = { -- {{age in months}}
show = 'm',
disp = 'disp_raw',
},
age_w = { -- {{age in weeks}}
show = 'w',
disp = 'disp_raw',
},
age_wd = { -- {{age in weeks and days}}
show = 'wd',
},
age_yd = { -- {{age in years and days}}
show = 'yd',
format = 'format_commas',
sep = args.sep ~= 'and' and 'sep_comma' or nil,
},
age_yd_nts = { -- {{age in years and days nts}}
show = 'yd',
format = 'format_commas',
sep = args.sep ~= 'and' and 'sep_comma' or nil,
sortable = 'on',
},
age_ym = { -- {{age in years and months}}
show = 'ym',
sep = 'sep_comma',
},
age_ymd = { -- {{age in years, months and days}}
show = 'ymd',
range = true,
},
age_ymwd = { -- {{age in years, months, weeks and days}}
show = 'ymwd',
wantMixture = true,
},
}
local spec = specs[name]
if not spec then
return message('mt-template-bad-name')
end
if name == 'age_days' then
local su = stripToNil(args['show unit'])
if su then
if su == 'abbr' or su == 'full' then
spec.disp = nil
spec.abbr = su == 'abbr' and 'abbr_on' or nil
end
end
end
local partial, autofill
local range = stripToNil(args.range) or spec.range
if range then
-- Suppose partial dates are used and age could be 11 or 12 years.
-- "|range=" (empty value) has no effect (spec is used).
-- "|range=yes" or spec.range == true sets range = true (gives "11 or 12")
-- "|range=dash" or spec.range == 'dash' sets range = 'dash' (gives "11–12").
-- "|range=no" or spec.range == 'no' sets range = nil and fills each date in the diff (gives "12").
-- ("on" is equivalent to "yes", and "off" is equivalent to "no").
-- "|range=OTHER" sets range = nil and rejects partial dates.
range = ({ dash = 'dash', off = 'no', no = 'no', [true] = true })[range] or yes(range)
if range then
partial = true -- accept partial dates with a possible age range for the result
if range == 'no' then
autofill = true -- missing month/day in first or second date are filled from other date or 1
range = nil
end
end
end
local getopt = {
fix = yes(args.fix),
flag = stripToNil(args.flag) or spec.flag,
omitZero = spec.omitZero,
partial = partial,
wantMixture = spec.wantMixture,
}
local date1, date2 = getDates(frame, getopt)
if type(date1) == 'string' then
return date1
end
local format = stripToNil(args.format)
local spell = spellOptions[format]
if format then
format = 'format_' .. format
elseif name == 'age_days' and getopt.textdates then
format = 'format_commas'
end
local parms = {
diff = date2:subtract(date1, { fill = autofill }),
wantDuration = spec.duration or yes(args.duration),
range = range,
wantSc = yes(args.sc),
show = args.show == 'hide' and 'hide' or spec.show,
abbr = spec.abbr,
disp = spec.disp,
extra = makeExtra(args, getopt.usesCurrent and format ~= 'format_raw'),
format = format or spec.format,
round = yes(args.round),
sep = spec.sep,
sortable = translateParameters.sortable[args.sortable or spec.sortable],
spell = spell,
}
if (spec.negative or frame.args.negative) == 'error' and parms.diff.isnegative then
return message('mt-date-wrong-order')
end
return from_en(dateDifference(parms))
end
local function bda(frame)
-- Implement [[Template:Birth date and age]].
local args = frame:getParent().args
local options = {
missing1 = 'mt-need-valid-bd',
noMissing = true,
single = true,
}
local date = getDates(frame, options)
if type(date) == 'string' then
return date -- error text
end
local Date = getExports(frame)
local diff = Date('currentdate') - date
if diff.isnegative or diff.years > 150 then
return message('mt-invalid-bd-age')
end
local disp = mtext['txt-bda-disp']
local show = 'y'
if diff.years < 2 then
disp = 'disp_age'
if diff.years == 0 and diff.months == 0 then
show = 'd'
else
show = 'm'
end
end
local result = substituteParameters(
mtext['txt-bda'],
date:text('%-Y-%m-%d'),
from_en(date:text(dateFormat(args))),
from_en(dateDifference({
diff = diff,
show = show,
abbr = 'abbr_off',
disp = disp,
sep = 'sep_space',
}))
)
local warnings = tonumber(frame.args.warnings)
if warnings and warnings > 0 then
local good = {
df = true,
mf = true,
day = true,
day1 = true,
month = true,
month1 = true,
year = true,
year1 = true,
}
local invalid
local imax = options.textdates and 1 or 3
for k, _ in pairs(args) do
if type(k) == 'number' then
if k > imax then
invalid = tostring(k)
break
end
else
if not good[k] then
invalid = k
break
end
end
end
if invalid then
result = result .. message('mt-bad-param1', invalid)
end
end
return result
end
local function dda(frame)
-- Implement [[Template:Death date and age]].
local args = frame:getParent().args
local options = {
missing1 = 'mt-need-valid-dd',
missing2 = 'mt-need-valid-bd2',
noMissing = true,
partial = true,
}
local date1, date2 = getDates(frame, options)
if type(date1) == 'string' then
return date1
end
local diff = date1 - date2
if diff.isnegative then
return message('mt-dd-wrong-order')
end
local Date = getExports(frame)
local today = Date('currentdate') + 1 -- one day in future allows for timezones
if date1 > today then
return message('mt-dd-future')
end
local years
if diff.partial then
years = diff.partial.years
years = type(years) == 'table' and years[2] or years
else
years = diff.years
end
if years > 150 then
return message('mt-invalid-dates-age')
end
local fmt_date, fmt_ymd
if date1.day then -- y, m, d known
fmt_date = dateFormat(args)
fmt_ymd = '%-Y-%m-%d'
elseif date1.month then -- y, m known; d unknown
fmt_date = '%B %-Y'
fmt_ymd = '%-Y-%m-00'
else -- y known; m, d unknown
fmt_date = '%-Y'
fmt_ymd = '%-Y-00-00'
end
local result = substituteParameters(
mtext['txt-dda'],
date1:text(fmt_ymd),
from_en(date1:text(fmt_date)),
from_en(dateDifference({
diff = diff,
show = 'y',
abbr = 'abbr_off',
disp = mtext['txt-dda-disp'],
range = 'dash',
sep = 'sep_space',
}))
)
local warnings = tonumber(frame.args.warnings)
if warnings and warnings > 0 then
local good = {
df = true,
mf = true,
}
local invalid
local imax = options.textdates and 2 or 6
for k, _ in pairs(args) do
if type(k) == 'number' then
if k > imax then
invalid = tostring(k)
break
end
else
if not good[k] then
invalid = k
break
end
end
end
if invalid then
result = result .. message('mt-bad-param1', invalid)
end
end
return result
end
local function dateToGsd(frame)
-- Implement [[Template:Gregorian serial date]].
-- Return Gregorian serial date of the given date, or the current date.
-- The returned value is negative for dates before 1 January 1 AD
-- despite the fact that GSD is not defined for such dates.
local date = getDates(frame, { wantMixture=true, single=true })
if type(date) == 'string' then
return date
end
return tostring(date.gsd)
end
local function jdToDate(frame)
-- Return formatted date from a Julian date.
-- The result includes a time if the input includes a fraction.
-- The word 'Julian' is accepted for the Julian calendar.
local Date = getExports(frame)
local args = frame:getParent().args
local date = Date('juliandate', args[1], args[2])
if date then
return from_en(date:text())
end
return message('mt-need-jdn')
end
local function dateToJd(frame)
-- Return Julian date (a number) from a date which may include a time,
-- or the current date ('currentdate') or current date and time ('currentdatetime').
-- The word 'Julian' is accepted for the Julian calendar.
local Date = getExports(frame)
local args = frame:getParent().args
local date = Date(args[1], args[2], args[3], args[4], args[5], args[6], args[7])
if date then
return tostring(date.jd)
end
return message('mt-need-valid-ymd-current')
end
local function timeInterval(frame)
-- Implement [[Template:Time interval]].
-- There are two positional arguments: date1, date2.
-- The default for each is the current date and time.
-- Result is date2 - date1 formatted.
local Date = getExports(frame)
local args = frame:getParent().args
local parms = {
extra = makeExtra(args),
wantDuration = yes(args.duration),
range = yes(args.range) or (args.range == 'dash' and 'dash' or nil),
wantSc = yes(args.sc),
}
local fix = yes(args.fix) and 'fix' or ''
local date1 = Date(fix, 'partial', stripToNil(args[1]) or 'currentdatetime')
if not date1 then
return message('mt-invalid-start')
end
local date2 = Date(fix, 'partial', stripToNil(args[2]) or 'currentdatetime')
if not date2 then
return message('mt-invalid-end')
end
parms.diff = date2 - date1
for argname, translate in pairs(translateParameters) do
local parm = stripToNil(args[argname])
if parm then
parm = translate[parm]
if parm == nil then -- test for nil because false is a valid setting
return message('mt-bad-param2', argname, args[argname])
end
parms[argname] = parm
end
end
if parms.round then
local round = parms.round
local show = parms.show
if round ~= 'on' then
if show then
if show.id ~= round then
return message('mt-conflicting-show', args.show, args.round)
end
else
parms.show = translateParameters.show[round]
end
end
parms.round = true
end
return from_en(dateDifference(parms))
end
return {
age_generic = ageGeneric, -- can emulate several age templates
birth_date_and_age = bda, -- Template:Birth_date_and_age
death_date_and_age = dda, -- Template:Death_date_and_age
gsd = dateToGsd, -- Template:Gregorian_serial_date
extract = dateExtract, -- Template:Extract
jd_to_date = jdToDate, -- Template:?
JULIANDAY = dateToJd, -- Template:JULIANDAY
time_interval = timeInterval, -- Template:Time_interval
}
cl8oq81cbsywl165ymj2e9296n1guhv
رُکُن کَتھ:511KeV
3
7889
62236
62113
2022-08-09T12:51:50Z
MediaWiki message delivery
3853
/* Translation notification: Wikimedia Foundation elections/2022/Announcement/Board voter email */ نٔو حِصہٕ
wikitext
text/x-wiki
{{Talk header|archive_age=7|archive_bot=cewbot}}
{{Auto-archive|archive_after_last_comment=7d|archive_to_subpage=مَحفوٗظ خانہٕ %1}}
== Translation notification: Wikimedia Foundation elections/2022/Announcement/Board voter email ==
Hello 511KeV,
You are receiving this notification because you signed up as a translator to Kashmiri (Arabic script) and Kashmiri on Meta.
The page [[:metawikipedia:Wikimedia Foundation elections/2022/Announcement/Board voter email|Wikimedia Foundation elections/2022/Announcement/Board voter email]] is available for translation. You can translate it here:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2022%2FAnnouncement%2FBoard+voter+email&language=ks-arab&action=page translate to Kashmiri (Arabic script)]
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2022%2FAnnouncement%2FBoard+voter+email&language=ks&action=page translate to Kashmiri]
The priority of this page is high.
<div lang="en" class="mw-content-ltr">Hi all!
The community vote of this year's Board Elections are close. As always voter mails will be sent out. To invite as many community members as possible in their native tongue your help is very much appreciated. While there are already plenty of translations we would appreciate you to check for languages still missing and to contribute translations for these.
The mails are short, just a bit about two times '''200 words''', a few minutes of work.
Your support is very important as it helps communities to learn about the election and to cast their vote.
Best,
Denis Barthel (WMF)
(Movement Strategy and Governance)</div>
Your help is greatly appreciated. Translators like you help Meta to function
as a truly multilingual community.
You can [https://meta.wikimedia.org/wiki/Special:TranslatorSignup change your notification preferences].
Thank you!
Meta translation coordinators‎, 12:51, 9 اَگَست 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
q0qzchza6djb6pykpoxnfk813b33rl7
62273
62236
2022-08-09T21:51:18Z
MediaWiki message delivery
3853
/* Translation notification: Wikimedia Foundation elections/2022/Announcement/Board voter email */ نٔو حِصہٕ
wikitext
text/x-wiki
{{Talk header|archive_age=7|archive_bot=cewbot}}
{{Auto-archive|archive_after_last_comment=7d|archive_to_subpage=مَحفوٗظ خانہٕ %1}}
== Translation notification: Wikimedia Foundation elections/2022/Announcement/Board voter email ==
Hello 511KeV,
You are receiving this notification because you signed up as a translator to Kashmiri (Arabic script) and Kashmiri on Meta.
The page [[:metawikipedia:Wikimedia Foundation elections/2022/Announcement/Board voter email|Wikimedia Foundation elections/2022/Announcement/Board voter email]] is available for translation. You can translate it here:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2022%2FAnnouncement%2FBoard+voter+email&language=ks-arab&action=page translate to Kashmiri (Arabic script)]
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2022%2FAnnouncement%2FBoard+voter+email&language=ks&action=page translate to Kashmiri]
The priority of this page is high.
<div lang="en" class="mw-content-ltr">Hi all!
The community vote of this year's Board Elections are close. As always voter mails will be sent out. To invite as many community members as possible in their native tongue your help is very much appreciated. While there are already plenty of translations we would appreciate you to check for languages still missing and to contribute translations for these.
The mails are short, just a bit about two times '''200 words''', a few minutes of work.
Your support is very important as it helps communities to learn about the election and to cast their vote.
Best,
Denis Barthel (WMF)
(Movement Strategy and Governance)</div>
Your help is greatly appreciated. Translators like you help Meta to function
as a truly multilingual community.
You can [https://meta.wikimedia.org/wiki/Special:TranslatorSignup change your notification preferences].
Thank you!
Meta translation coordinators‎, 12:51, 9 اَگَست 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== Translation notification: Wikimedia Foundation elections/2022/Announcement/Board voter email ==
Hello 511KeV,
You are receiving this notification because you signed up as a translator to Kashmiri (Arabic script) and Kashmiri on Meta.
The page [[:metawikipedia:Wikimedia Foundation elections/2022/Announcement/Board voter email|Wikimedia Foundation elections/2022/Announcement/Board voter email]] is available for translation. You can translate it here:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2022%2FAnnouncement%2FBoard+voter+email&language=ks-arab&action=page translate to Kashmiri (Arabic script)]
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2022%2FAnnouncement%2FBoard+voter+email&language=ks&action=page translate to Kashmiri]
The priority of this page is high.
<div lang="en" class="mw-content-ltr">Hi all!
The community vote of this year's Board Elections are close. As always voter mails will be sent out. To invite as many community members as possible in their native tongue your help is very much appreciated. While there are already plenty of translations we would appreciate you to check for languages still missing and to contribute translations for these.
The mails are short, just a bit about two times '''200 words''', a few minutes of work.
Your support is very important as it helps communities to learn about the election and to cast their vote.
Best,
Denis Barthel (WMF)
(Movement Strategy and Governance)</div>
Your help is greatly appreciated. Translators like you help Meta to function
as a truly multilingual community.
You can [https://meta.wikimedia.org/wiki/Special:TranslatorSignup change your notification preferences].
Thank you!
Meta translation coordinators‎, 21:51, 9 اَگَست 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
ohfwm8eyzh7h0ybz4cspie395gkznud
62274
62273
2022-08-10T03:11:04Z
511KeV
8268
/* Translation notification: Wikimedia Foundation elections/2022/Announcement/Board voter email */ reply
wikitext
text/x-wiki
{{Talk header|archive_age=7|archive_bot=cewbot}}
{{Auto-archive|archive_after_last_comment=7d|archive_to_subpage=مَحفوٗظ خانہٕ %1}}
== Translation notification: Wikimedia Foundation elections/2022/Announcement/Board voter email ==
Hello 511KeV,
You are receiving this notification because you signed up as a translator to Kashmiri (Arabic script) and Kashmiri on Meta.
The page [[:metawikipedia:Wikimedia Foundation elections/2022/Announcement/Board voter email|Wikimedia Foundation elections/2022/Announcement/Board voter email]] is available for translation. You can translate it here:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2022%2FAnnouncement%2FBoard+voter+email&language=ks-arab&action=page translate to Kashmiri (Arabic script)]
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2022%2FAnnouncement%2FBoard+voter+email&language=ks&action=page translate to Kashmiri]
The priority of this page is high.
<div lang="en" class="mw-content-ltr">Hi all!
The community vote of this year's Board Elections are close. As always voter mails will be sent out. To invite as many community members as possible in their native tongue your help is very much appreciated. While there are already plenty of translations we would appreciate you to check for languages still missing and to contribute translations for these.
The mails are short, just a bit about two times '''200 words''', a few minutes of work.
Your support is very important as it helps communities to learn about the election and to cast their vote.
Best,
Denis Barthel (WMF)
(Movement Strategy and Governance)</div>
Your help is greatly appreciated. Translators like you help Meta to function
as a truly multilingual community.
You can [https://meta.wikimedia.org/wiki/Special:TranslatorSignup change your notification preferences].
Thank you!
Meta translation coordinators‎, 12:51, 9 اَگَست 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
== Translation notification: Wikimedia Foundation elections/2022/Announcement/Board voter email ==
Hello 511KeV,
You are receiving this notification because you signed up as a translator to Kashmiri (Arabic script) and Kashmiri on Meta.
The page [[:metawikipedia:Wikimedia Foundation elections/2022/Announcement/Board voter email|Wikimedia Foundation elections/2022/Announcement/Board voter email]] is available for translation. You can translate it here:
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2022%2FAnnouncement%2FBoard+voter+email&language=ks-arab&action=page translate to Kashmiri (Arabic script)]
* [https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Wikimedia+Foundation+elections%2F2022%2FAnnouncement%2FBoard+voter+email&language=ks&action=page translate to Kashmiri]
The priority of this page is high.
<div lang="en" class="mw-content-ltr">Hi all!
The community vote of this year's Board Elections are close. As always voter mails will be sent out. To invite as many community members as possible in their native tongue your help is very much appreciated. While there are already plenty of translations we would appreciate you to check for languages still missing and to contribute translations for these.
The mails are short, just a bit about two times '''200 words''', a few minutes of work.
Your support is very important as it helps communities to learn about the election and to cast their vote.
Best,
Denis Barthel (WMF)
(Movement Strategy and Governance)</div>
Your help is greatly appreciated. Translators like you help Meta to function
as a truly multilingual community.
You can [https://meta.wikimedia.org/wiki/Special:TranslatorSignup change your notification preferences].
Thank you!
Meta translation coordinators‎, 21:51, 9 اَگَست 2022 (UTC)
<!-- Message sent by User:DBarthel (WMF)@metawiki using the list at https://meta.wikimedia.org/wiki/Special:NotifyTranslators -->
:: Thankyou <small><sub><span style="color:grey;"> </span></sub></small>[[User:511KeV|<span style="font-family:sans-serif; color:#FF1100; text-shadow:.2em .2em .4em #AfAfB1;">'''511KeV'''</span>]] [[User_talk:511KeV|<sup> '' (کتھ باتھ)''</sup>]] 03:11, 10 اَگَست 2022 (UTC)
6s6hdu4sprcmpt28ncmo13n9u4qwavw
محمود گامی
0
12338
62279
62156
2022-08-10T09:03:24Z
Suhayl091
9370
corrected spelling
wikitext
text/x-wiki
{{databox}}
'''محمود گامی''' اوس اَکھ ۱۹ سینچری ہُنٛد کأشُر شٲیِر یس ڈورو شاہباد پؠٹھ اوس.امہٕ اون کاشرس ادبس مَنٛز فارسی صنف مسنوی تہِ غزل ۔ یہِ چھُ اردو غزلہ ہُنٛد اَکھ اہم شخص مانہ یوان.امس چھِ کسیری ہندن گزلن ہُنٛد بنیاد تارونک اَکھ اہم کردار ادآ-
== ذأتی زندگی ==
محمود گامی زاو محمود اباد اڈواڈر یس ڈورو شاہباد مَنٛز گام چھ۔ یہِ چھ اَکھ اصل گام۔ محمود گامی چھ یوصوف زولایخا خٲطرہ مَشہوٗر.یہٕ چھُ کٲشرس مَنٛز گوڈنچ مَشہوٗر مسنوی.اَتھ مَنٛز چھُ ال پل 700 شطرٕ۔ کنوہم سدی مَنٛز آو یہٕ جرمنی منر تہٕ سایا کرنہٕ۔ یلٕ یع مود تہٕ سو آو پننِس آباہی گامس مَنٛز دفن کرنہٕ.امسنز کبری اندع ونر اَکھ پارک بناونہِ۔ سُو اوس اَکھ مَشہوٗر شاعر.محمود گامی چھُ کشیٖرِ ہُنٛد اَکھ مَشہوٗر شاعر۔ امسنز اک بگ پرتھ کنہ کأم کاشر زبانہِ مَنٛز۔ یم شعت سو زیادع مَشہوٗر گو کسیر مَنٛز زیارٕ۔ امسند کلام اوس سوفی شاعرن سٲتھۍ رلان۔ سو اوس زامت 1765 تہ مود 1855۔ امسند کأم چھ زیارع کسیر زبنہ مَنٛز۔ محمود گامی اوس اَکھ اہم رکن کشیر کہِ شاعری مَنٛز۔ ام اوس واریا کشیر ہُنٛد شاعری خاطرٕ کورمت.
[[زٲژ:کٲشِرؠ لوٗکھ]]
[[زٲژ:کٲشِرؠ مُسَلمان]]
[[زٲژ:کٲشِرؠ شٲیِر]]
[[زٲژ:1765 پٲدٲیِش]]
ttkuwitmpdg8xd6tx0gqjra8bgl1l92
62280
62279
2022-08-10T09:17:31Z
Suhayl091
9370
corrected spelling
wikitext
text/x-wiki
{{databox}}
'''محمود گامی''' اوس اَکھ ۱۹ سدی ہُنٛد کأشُر شٲیِر یس ڈورو شاہباد پؠٹھ اوس.امہٕ اون کاشرس ادبس مَنٛز فارسی صنف مسنویِ تہٕ غزل ۔ یہِ چھُ اردو غزلہ ہُنٛد اَکھ اہم شخص ماننٕہ یوان.امس چھِ کشیرِ ہندن گزلن ہُنٛد بنیاد تراونُک اَکھ اہم کردار ادا-
== ذأتی زندگی ==
محمود گامی زاو محمود اباد اڈواڈر یس ڈورو شاہباد مَنٛز گام چھ۔ یہِ چھ اَکھ اصل گام۔ محمود گامی چھ یُوسُف زُولیخا خٲطرٕ مَشہوٗر.یہٕ چھُ کٲشرس مَنٛز گوڈنچ مَشہوٗر مسنوی.اَتھ مَنٛز چھُ الہٕ پلہٕ 700 شطرٕ۔ کنوہم سدی مَنٛز آو یہٕ جرمنی منر تہٕ سایا کرنہٕ۔ یلٕ یہٕ موٗد تہٕ سو آو پننِس آباہی گامس مَنٛز دفن کرنہٕ.امسنز کبری اندع ونر اَکھ پارک بناونہِ۔ سُو اوس اَکھ مَشہوٗر شاعر.محمود گامی چھُ کشیٖرِ ہُنٛد اَکھ مَشہوٗر شاعر۔ امسنز اک بگ پرتھ کنہ کأم کاشر زبانہِ مَنٛز۔ یم سٲتھۍ سو زیادٕ مَشہوٗر گو کشیٖر مَنٛز۔ امسُند کلام اوس سوفی شاعرن سٲتھۍ رلان۔ سو اوس زامت 1765 تہٕ موٗد 1855 منٛز۔ امسنز کأم چھےٚ زیادٕ کشیرِ زبانہِ مَنٛز۔ محمود گامی اوس اَکھ اہم رکن کشیر کہِ شاعری مَنٛز۔ ام اوس واریا کشیر ہندِ شاعری خاطرٕ کورمت.
[[زٲژ:کٲشِرؠ لوٗکھ]]
[[زٲژ:کٲشِرؠ مُسَلمان]]
[[زٲژ:کٲشِرؠ شٲیِر]]
[[زٲژ:1765 پٲدٲیِش]]
86u0169k4chcx1w8ml6cro3l758yh2f
Module:Databox
828
12468
62245
62230
2022-08-09T13:49:14Z
511KeV
8268
Test
Scribunto
text/plain
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P7763', -- Copyright status as creator
'P2354', -- Has lists
'P6365', -- List Category
'P6379', -- works in collection
'P898' -- IPA
}
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v] = true
end
return result
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
if args.item then
itemId = args.item
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
local databoxRoot = mw.html.create('div')
:addClass('infobox')
:css({
float = 'left',
border = '1px solid #a2a9b1',
['max-width'] = '300px',
padding = '0 0.4em',
margin = '0 0 0.4em 0.4em',
})
--Title
databoxRoot:tag('div')
:css({
['text-align'] = 'center',
['background-color'] = '#f8f9fa',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '120%',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
--Image
local images = item:getBestStatements('P18')
if #images >= 1 then
databoxRoot
:tag('div')
:wikitext('[[File:' .. images[1].mainsnak.datavalue.value .. '|frameless|250px]]')
end
--Table
local dataTable = databoxRoot
:tag('table')
:css({
['text-align'] = 'center',
['font-size'] = '110%',
['word-break'] = 'break-all',
['width'] = '100%',
['table-layout'] = 'fixed',
})
dataTable:tag('caption')
:css({
['background-color'] = '#f5f5f5',
['font-weight'] = 'bold',
['margin-top'] = '0.2em',
})
:wikitext(item:formatStatements('P31').value)
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(property_blacklist)
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and datatype ~= 'quantity' and datatype ~= 'wikibase-property' and datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and not property_blacklist_hash[property] and #item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:wikitext(frame:preprocess(propertyValue.value))
:wikitext(' [[File:OOjs UI icon edit-rtl.svg|' .. edit_message .. '|12px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. '#' .. property .. ']]')
end
end
return tostring(databoxRoot)
end
return p
ta85sdjdv4cpzn7n6h0yt6f59sjy6qm
62246
62245
2022-08-09T13:50:23Z
511KeV
8268
Rt
Scribunto
text/plain
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P7763', -- Copyright status as creator
'P2354', -- Has lists
'P6365', -- List Category
'P6379', -- works in collection
'P898' -- IPA
}
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v] = true
end
return result
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
if args.item then
itemId = args.item
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
local databoxRoot = mw.html.create('div')
:addClass('infobox')
:css({
float = 'left',
border = '1px solid #a2a9b1',
['max-width'] = '300px',
padding = '0 0.4em',
margin = '0 0 0.4em 0.4em',
})
--Title
databoxRoot:tag('div')
:css({
['text-align'] = 'center',
['background-color'] = '#f8f9fa',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '120%',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
--Image
local images = item:getBestStatements('P18')
if #images >= 1 then
databoxRoot
:tag('div')
:wikitext('[[File:' .. images[1].mainsnak.datavalue.value .. '|frameless|250px]]')
end
--Table
local dataTable = databoxRoot
:tag('table')
:css({
['text-align'] = 'right',
['font-size'] = '110%',
['word-break'] = 'break-all',
['width'] = '100%',
['table-layout'] = 'fixed',
})
dataTable:tag('caption')
:css({
['background-color'] = '#f5f5f5',
['font-weight'] = 'bold',
['margin-top'] = '0.2em',
})
:wikitext(item:formatStatements('P31').value)
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(property_blacklist)
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and datatype ~= 'quantity' and datatype ~= 'wikibase-property' and datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and not property_blacklist_hash[property] and #item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:wikitext(frame:preprocess(propertyValue.value))
:wikitext(' [[File:OOjs UI icon edit-rtl.svg|' .. edit_message .. '|12px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. '#' .. property .. ']]')
end
end
return tostring(databoxRoot)
end
return p
dllphqtvr8utcfs6v7mtewhsywieteb
62247
62246
2022-08-09T13:54:17Z
511KeV
8268
Test
Scribunto
text/plain
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P7763', -- Copyright status as creator
'P2354', -- Has lists
'P6365', -- List Category
'P6379', -- works in collection
'P898' -- IPA
}
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v] = true
end
return result
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
if args.item then
itemId = args.item
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
local databoxRoot = mw.html.create('div')
:addClass('infobox')
:css({
float = 'left',
border = '1px solid #a2a9b1',
['max-width'] = '300px',
padding = '0 0.4em',
margin = '0 0 0.4em 0.4em',
})
--Title
databoxRoot:tag('div')
:css({
['text-align'] = 'center',
['background-color'] = '#f8f9fa',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '120%',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
--Image
local images = item:getBestStatements('P18')
if #images >= 1 then
databoxRoot
:tag('div')
:wikitext('[[File:' .. images[1].mainsnak.datavalue.value .. '|frame|250px]]')
end
--Table
local dataTable = databoxRoot
:tag('table')
:css({
['text-align'] = 'right',
['font-size'] = '110%',
['word-break'] = 'break-all',
['width'] = '100%',
['table-layout'] = 'fixed',
})
dataTable:tag('caption')
:css({
['background-color'] = '#f5f5f5',
['font-weight'] = 'bold',
['margin-top'] = '0.2em',
})
:wikitext(item:formatStatements('P31').value)
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(property_blacklist)
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and datatype ~= 'quantity' and datatype ~= 'wikibase-property' and datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and not property_blacklist_hash[property] and #item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:wikitext(frame:preprocess(propertyValue.value))
:wikitext(' [[File:OOjs UI icon edit-rtl.svg|' .. edit_message .. '|12px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. '#' .. property .. ']]')
end
end
return tostring(databoxRoot)
end
return p
3ohalzrcsweuau73mqf6p344fygx30b
62248
62247
2022-08-09T13:55:19Z
511KeV
8268
[[Special:Contributions/511KeV|511KeV]] ([[User talk:511KeV|کَتھ]]) سٕنٛدِ طَرفہٕ کَرنہٕ آمٕژ 62247 تَبدیٖلی آی رَد کَرنہٕ
Scribunto
text/plain
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P7763', -- Copyright status as creator
'P2354', -- Has lists
'P6365', -- List Category
'P6379', -- works in collection
'P898' -- IPA
}
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v] = true
end
return result
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
if args.item then
itemId = args.item
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
local databoxRoot = mw.html.create('div')
:addClass('infobox')
:css({
float = 'left',
border = '1px solid #a2a9b1',
['max-width'] = '300px',
padding = '0 0.4em',
margin = '0 0 0.4em 0.4em',
})
--Title
databoxRoot:tag('div')
:css({
['text-align'] = 'center',
['background-color'] = '#f8f9fa',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '120%',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
--Image
local images = item:getBestStatements('P18')
if #images >= 1 then
databoxRoot
:tag('div')
:wikitext('[[File:' .. images[1].mainsnak.datavalue.value .. '|frameless|250px]]')
end
--Table
local dataTable = databoxRoot
:tag('table')
:css({
['text-align'] = 'right',
['font-size'] = '110%',
['word-break'] = 'break-all',
['width'] = '100%',
['table-layout'] = 'fixed',
})
dataTable:tag('caption')
:css({
['background-color'] = '#f5f5f5',
['font-weight'] = 'bold',
['margin-top'] = '0.2em',
})
:wikitext(item:formatStatements('P31').value)
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(property_blacklist)
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and datatype ~= 'quantity' and datatype ~= 'wikibase-property' and datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and not property_blacklist_hash[property] and #item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:wikitext(frame:preprocess(propertyValue.value))
:wikitext(' [[File:OOjs UI icon edit-rtl.svg|' .. edit_message .. '|12px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. '#' .. property .. ']]')
end
end
return tostring(databoxRoot)
end
return p
dllphqtvr8utcfs6v7mtewhsywieteb
62249
62248
2022-08-09T14:01:18Z
511KeV
8268
Test
Scribunto
text/plain
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P7763', -- Copyright status as creator
'P2354', -- Has lists
'P6365', -- List Category
'P6379', -- works in collection
'P898' -- IPA
}
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v] = true
end
return result
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
if args.item then
itemId = args.item
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
local databoxRoot = mw.html.create('div')
:addClass('infobox')
:css({
float = 'left',
border = '1px solid #a2a9b1',
['max-width'] = '300px',
padding = '0 0.4em',
margin = '0 0 0.4em 0.4em',
})
--Title
databoxRoot:tag('div')
:css({
['text-align'] = 'center',
['background-color'] = '#f8f9fa',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '120%',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
--Image
local images = item:getBestStatements('P18')
if #images >= 1 then
databoxRoot
:tag('div')
:wikitext('[[File:' .. images[1].mainsnak.datavalue.value .. '|frameless|250px]]')
end
--Table
local dataTable = databoxRoot
:tag('table')
:css({
['text-align'] = 'justify',
['font-size'] = '110%',
['word-break'] = 'break-all',
['width'] = '100%',
['table-layout'] = 'fixed',
})
dataTable:tag('caption')
:css({
['background-color'] = '#f5f5f5',
['font-weight'] = 'bold',
['margin-top'] = '0.2em',
})
:wikitext(item:formatStatements('P31').value)
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(property_blacklist)
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and datatype ~= 'quantity' and datatype ~= 'wikibase-property' and datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and not property_blacklist_hash[property] and #item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:wikitext(frame:preprocess(propertyValue.value))
:wikitext(' [[File:OOjs UI icon edit-rtl.svg|' .. edit_message .. '|12px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. '#' .. property .. ']]')
end
end
return tostring(databoxRoot)
end
return p
8hmak8agswtf50nehak3sjpcs84tz19
62250
62249
2022-08-09T14:02:24Z
511KeV
8268
[[Special:Contributions/511KeV|511KeV]] ([[User talk:511KeV|کَتھ]]) سٕنٛدِ طَرفہٕ کَرنہٕ آمٕژ 62249 تَبدیٖلی آی رَد کَرنہٕ
Scribunto
text/plain
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P7763', -- Copyright status as creator
'P2354', -- Has lists
'P6365', -- List Category
'P6379', -- works in collection
'P898' -- IPA
}
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v] = true
end
return result
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
if args.item then
itemId = args.item
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
local databoxRoot = mw.html.create('div')
:addClass('infobox')
:css({
float = 'left',
border = '1px solid #a2a9b1',
['max-width'] = '300px',
padding = '0 0.4em',
margin = '0 0 0.4em 0.4em',
})
--Title
databoxRoot:tag('div')
:css({
['text-align'] = 'center',
['background-color'] = '#f8f9fa',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '120%',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
--Image
local images = item:getBestStatements('P18')
if #images >= 1 then
databoxRoot
:tag('div')
:wikitext('[[File:' .. images[1].mainsnak.datavalue.value .. '|frameless|250px]]')
end
--Table
local dataTable = databoxRoot
:tag('table')
:css({
['text-align'] = 'right',
['font-size'] = '110%',
['word-break'] = 'break-all',
['width'] = '100%',
['table-layout'] = 'fixed',
})
dataTable:tag('caption')
:css({
['background-color'] = '#f5f5f5',
['font-weight'] = 'bold',
['margin-top'] = '0.2em',
})
:wikitext(item:formatStatements('P31').value)
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(property_blacklist)
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and datatype ~= 'quantity' and datatype ~= 'wikibase-property' and datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and not property_blacklist_hash[property] and #item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:wikitext(frame:preprocess(propertyValue.value))
:wikitext(' [[File:OOjs UI icon edit-rtl.svg|' .. edit_message .. '|12px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. '#' .. property .. ']]')
end
end
return tostring(databoxRoot)
end
return p
dllphqtvr8utcfs6v7mtewhsywieteb
62251
62250
2022-08-09T14:08:58Z
511KeV
8268
Update
Scribunto
text/plain
-- Please DO NOT edit this page unless you know what you are doing.
-- Maintainer: User:511KeV
-- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual
-- https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P735', -- Given name
'P734', -- Family name
'P1559', -- Native name
'P21', -- Sex or gender
'P373', -- Commons category
'P910', -- topic's main category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P2184', -- history of topic
'P1438', -- Jewish Encyclopedia ID
'P206', -- located in or next to body of water
'P7867', -- category for maps
'P8402', -- Open Data portal
'P1448', -- official name
'P569', -- date of birth
'P570', -- date of death
'P19', -- place of birth
'P20', -- place of death
'P27', -- country of citizenship
'P2747', -- Filmiroda rating
'P1552', -- has quality
'P7561', -- category for the interior of the item
'P1196', -- manner of death
'P6365', -- member category
'P465', -- sRGB color hex triplet
'P487', -- Unicode character
'P7084', -- related category
'P1814', -- name in kana
'P2001', -- Revised Romanization
'P8989', -- category for the view of the item
}
-- Merge two tables and return a new table
function mergeTables(first, second)
result = {}
for k,v in pairs(first) do
table.insert(result, v)
end
for k,v in pairs(second) do
table.insert(result, v)
end
return result
end
-- Turn index based tables into key based tables
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v:upper()] = true
end
return result
end
function getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
local birth_time = ''
if date_of_death then
birth_time = formatDate(lang, date_of_birth.time)
else
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
birth_time = string.format('{{ڕۆژی لەدایکبوون و تەمەن|%s|%s|%s}}',
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
end
local birth = birth_time
if place_of_birth then
-- Try to get the Kurdish article name for the entity
local birth_location = mw.wikibase.getSitelink(place_of_birth.id, 'ckbwiki')
local link = true
if not birth_location then
-- If there was no Kurdish article for the entity, then get an article name from other wikis
birth_location = mw.wikibase.getLabel(place_of_birth.id)
link = false
end
if birth_location then
if link then birth_location = '[[' .. birth_location .. ']]' end
birth = birth .. '<br>' .. birth_location
local birth_country = getBestStatementById(place_of_birth.id, 'P17')
if birth_country then
local birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'ckbwiki')
local link = true
if not birth_country_label then
birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'enwiki')
link = false
end
if link then birth_country_label = '[[' .. birth_country_label .. ']]' end
birth = birth .. '، ' .. birth_country_label
end
end
end
return birth
end
function getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
local date_of_death_parts = mw.text.split(formatDate(lang, date_of_death.time, nil, 'Y-m-j'), '-')
local death_time = string.format('{{ڕێکەوتی مەرگ و تەمەن|%s|%s|%s|%s|%s|%s}}',
date_of_death_parts[1], date_of_death_parts[2], date_of_death_parts[3],
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
local death = death_time
if place_of_death then
local death_location = mw.wikibase.getSitelink(place_of_death.id, 'ckbwiki')
local link = true
if not death_location then
death_location = mw.wikibase.getSitelink(place_of_death.id, 'enwiki')
link = false
end
if not death_location then
death_location = mw.wikibase.getLabel(place_of_death.id)
link = false
end
if death_location then
if link then death_location = '[[' .. death_location .. ']]' end
death = death .. '<br>' .. death_location
local death_country = getBestStatementById(place_of_death.id, 'P17')
if death_country then
local death_country_label = mw.wikibase.getSitelink(death_country.id, 'ckbwiki')
local link = true
if not death_country_label then
death_country_label = mw.wikibase.getSitelink(death_country.id, 'enwiki')
link = false
end
if link then death_country_label = '[[' .. death_country_label .. ']]' end
death = death .. '، ' .. death_country_label
end
end
end
return death
end
-- Convert Arabic numbers (0123456789) to Kurdish numbers (٠١٢٣٤٥٦٧٨٩)
function toKurdishNumbers(text)
return text:gsub('0', '٠')
:gsub('1', '١')
:gsub('2', '٢')
:gsub('3', '٣')
:gsub('4', '٤')
:gsub('5', '٥')
:gsub('6', '٦')
:gsub('7', '٧')
:gsub('8', '٨')
:gsub('9', '٩')
:gsub('square kilometre', 'کیلۆمەتر دووجا')
:gsub('kilometre', 'کیلۆمەتر')
end
function formatDate(lang, dateString, fallback, format)
if not format then format = 'jی xg Y' end
-- formatDate only supports positive (AD) dates
if dateString:sub(1, 1) == '-' then return fallback or dateString end
-- Work-around for a bug in Scribunto, more info: https://phabricator.wikimedia.org/T261072
dateString = dateString:gsub('%-00%-00T', '-01-01T')
return lang:formatDate(format, dateString, false)
end
function isEnglish(text)
return string.find(text, '[abcdefghijklmnopqrstuvwxyz]') ~= nil
end
-- Returns the best statements for the first property this item has
function getBestStatement(item, ...)
for i,v in ipairs(arg) do
local statements = item:getBestStatements(v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Returns the best statements for the first property this item has
function getBestStatementById(id, ...)
for i,v in ipairs(arg) do
local statements = mw.wikibase.getBestStatements( id, v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Gets the length of a table
-- https://stackoverflow.com/a/2705804/7003797
function len(t)
local count = 0
for _ in pairs(t) do count = count + 1 end
return count
end
-- checks if a string is empty
function isEmpty(s)
return s == nil or s == ''
end
local module_properties = { ['item'] = true, ['بەند'] = true, ['پێڕستی ڕەش'] = true, ['تەنیا کوردی'] = true }
-- Get all properties that are overriden by the template
function getOverridenProperties(args)
properties = {}
for key, value in pairs(args) do
if (not module_properties[key]) then -- If it was not a module property
properties[key:upper()] = value
end
end
return properties
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
local show_english_properties = true
if args.item or args['بەند'] then
itemId = args.item or args['بەند']
end
if args['تەنیا کوردی'] == true or args['تەنیا کوردی'] == 'بەڵێ' then
show_english_properties = false
end
local overriden_properties = getOverridenProperties(args)
local hidden_properties = {}
if args['پێڕستی ڕەش'] then
hidden_properties = mw.text.split(args['پێڕستی ڕەش'], "%s*[,،]%s*")
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
--Table
local dataTable = mw.html.create('table')
:addClass('infobox vcard')
:css({
['width'] = '22em'
})
-- Title
dataTable:tag('tr'):tag('th')
:addClass('fn')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
['background-color'] = '#007BA7',
['padding'] = '0.5em 0',
['margin'] = '0.5em 0',
['font-size'] = '125%',
['color'] = '#ffffff',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
-- Native name: P1559, Official name: P1448
local officialName = getBestStatement(item, 'P1448', 'P1559')
if officialName then
if officialName.language ~= 'ckb' then -- Don't show official name if the official name was in Kurdish
local langName = mw.language.fetchLanguageName(officialName.language, 'ckb')
dataTable:tag('tr'):tag('th')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '90%',
['font-weight'] = 'bold',
['max-width'] = '180px'
})
:wikitext('بە [[' .. langName ..']]: ' .. officialName.text)
end
end
--Image
local image = args['وێنە']
if (image == nil) then
local images = item:getBestStatements('P18')
if #images >= 1 then
image = images[1].mainsnak.datavalue.value
end
end
if image ~= nil then
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext('[[File:' .. image .. '|frameless|250px]]')
end
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(mergeTables(property_blacklist, hidden_properties))
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
-- Birth
local date_of_birth = getBestStatement(item, 'P569')
local date_of_death = getBestStatement(item, 'P570')
local instance_of = getBestStatement(item, 'P31')
local place_of_birth = getBestStatement(item, 'P19')
local place_of_death = getBestStatement(item, 'P20')
if instance_of and instance_of.id == 'Q5' and date_of_birth and date_of_birth.time:sub(1, 1) ~= '-' then -- human and birth date >= 0 AD
local birth = getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('لەدایکبوون'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(birth))
if date_of_death then
local death = getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('مردن'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(death))
end
end
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
local english_label = mw.wikibase.getLabelByLang(property, 'en'):upper()
local kurdish_label = mw.wikibase.getLabelByLang(property, 'ckb')
-- These properties have datatype of quantity, but we want to show them!
if property == 'P1082' or -- population
property == 'P2046' or -- area
property == 'P2044' then -- elevation above sea level
datatype = 'number'
end
overriden_value = overriden_properties[english_label] or overriden_properties[kurdish_label]
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and
datatype ~= 'quantity' and datatype ~= 'wikibase-property' and
datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and
(not property_blacklist_hash[property] and not property_blacklist_hash[english_label] and not property_blacklist_hash[kurdish_label]) and
(show_english_properties or kurdish_label ~= nil or overriden_value) and
#item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property) -- label, value
local overriden = true
local value = overriden_value
if (value == nil) then
if datatype == 'time' then
local dateString = getBestStatement(item, property).time
if property == 'P1317' or property == 'P2031' then -- floruit and work period (start)
value = formatDate(lang, dateString, propertyValue.value, 'Y')
else
value = formatDate(lang, dateString, propertyValue.value)
end
else
value = propertyValue.value
end
overriden = false
elseif (value:find("^[Q]%d+") ~= nil) then -- Is a wikidata ID
value = '[[' .. mw.wikibase.getSitelink(value) .. ']]'
end
if (datatype == 'time' or datatype == 'number') then -- coordinate location
value = toKurdishNumbers(value)
end
row = dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em',
})
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(value))
end
end
--Map
local coordinates_statements = item:getBestStatements('P625')
if #coordinates_statements == 1 and coordinates_statements[1].mainsnak.datavalue and coordinates_statements[1].mainsnak.datavalue.value.globe == 'http://www.wikidata.org/entity/Q2' then
--We build the call to mapframe
local latitude = coordinates_statements[1].mainsnak.datavalue.value.latitude
local longitude = coordinates_statements[1].mainsnak.datavalue.value.longitude
local geojson = {
type = 'Feature',
geometry = {
type = 'Point',
coordinates = { longitude, latitude }
},
properties = {
title = item:getLabel() or mw.title.getCurrentTitle().text,
['marker-symbol'] = 'marker',
['marker-color'] = '#224422',
}
}
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(frame:extensionTag('mapframe', mw.text.jsonEncode(geojson), {
height = 250,
width = 250,
frameless = 'frameless',
align = 'center',
latitude = latitude,
longitude = longitude,
zoom = 6 -- 100 km
}))
end
local div_start = '<div style="border-style: solid; border-color:gray; border-width: 1px 0 0 0; margin-top: 2em; text-align: center;">'
local pen_icon = ' [[File:Wikidata-logo.svg|' .. edit_message .. '|22px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. ']]'
local edit_message_link = '[https://www.wikidata.org/wiki/' .. item.id .. ' وِکی ڈیٹا پؠٹھ کٔرِو اؠڈِٹ]'
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(div_start .. edit_message_link .. pen_icon .. '</div>')
return tostring(dataTable)
end
return p
11lcm0hlf1693yp1f4fbc1wckbv3l23
62252
62251
2022-08-09T14:17:28Z
511KeV
8268
تر
Scribunto
text/plain
-- Please DO NOT edit this page unless you know what you are doing.
-- Maintainer: User:511KeV
-- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual
-- https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P735', -- Given name
'P734', -- Family name
'P1559', -- Native name
'P21', -- Sex or gender
'P373', -- Commons category
'P910', -- topic's main category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P2184', -- history of topic
'P1438', -- Jewish Encyclopedia ID
'P206', -- located in or next to body of water
'P7867', -- category for maps
'P8402', -- Open Data portal
'P1448', -- official name
'P569', -- date of birth
'P570', -- date of death
'P19', -- place of birth
'P20', -- place of death
'P27', -- country of citizenship
'P2747', -- Filmiroda rating
'P1552', -- has quality
'P7561', -- category for the interior of the item
'P1196', -- manner of death
'P6365', -- member category
'P465', -- sRGB color hex triplet
'P487', -- Unicode character
'P7084', -- related category
'P1814', -- name in kana
'P2001', -- Revised Romanization
'P8989', -- category for the view of the item
}
-- Merge two tables and return a new table
function mergeTables(first, second)
result = {}
for k,v in pairs(first) do
table.insert(result, v)
end
for k,v in pairs(second) do
table.insert(result, v)
end
return result
end
-- Turn index based tables into key based tables
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v:upper()] = true
end
return result
end
function getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
local birth_time = ''
if date_of_death then
birth_time = formatDate(lang, date_of_birth.time)
else
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
birth_time = string.format('{{ڕۆژی لەدایکبوون و تەمەن|%s|%s|%s}}',
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
end
local birth = birth_time
if place_of_birth then
-- Try to get the Kurdish article name for the entity
local birth_location = mw.wikibase.getSitelink(place_of_birth.id, 'ckbwiki')
local link = true
if not birth_location then
-- If there was no Kurdish article for the entity, then get an article name from other wikis
birth_location = mw.wikibase.getLabel(place_of_birth.id)
link = false
end
if birth_location then
if link then birth_location = '[[' .. birth_location .. ']]' end
birth = birth .. '<br>' .. birth_location
local birth_country = getBestStatementById(place_of_birth.id, 'P17')
if birth_country then
local birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'ckbwiki')
local link = true
if not birth_country_label then
birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'enwiki')
link = false
end
if link then birth_country_label = '[[' .. birth_country_label .. ']]' end
birth = birth .. '، ' .. birth_country_label
end
end
end
return birth
end
function getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
local date_of_death_parts = mw.text.split(formatDate(lang, date_of_death.time, nil, 'Y-m-j'), '-')
local death_time = string.format('{{ڕێکەوتی مەرگ و تەمەن|%s|%s|%s|%s|%s|%s}}',
date_of_death_parts[1], date_of_death_parts[2], date_of_death_parts[3],
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
local death = death_time
if place_of_death then
local death_location = mw.wikibase.getSitelink(place_of_death.id, 'ckbwiki')
local link = true
if not death_location then
death_location = mw.wikibase.getSitelink(place_of_death.id, 'enwiki')
link = false
end
if not death_location then
death_location = mw.wikibase.getLabel(place_of_death.id)
link = false
end
if death_location then
if link then death_location = '[[' .. death_location .. ']]' end
death = death .. '<br>' .. death_location
local death_country = getBestStatementById(place_of_death.id, 'P17')
if death_country then
local death_country_label = mw.wikibase.getSitelink(death_country.id, 'ckbwiki')
local link = true
if not death_country_label then
death_country_label = mw.wikibase.getSitelink(death_country.id, 'enwiki')
link = false
end
if link then death_country_label = '[[' .. death_country_label .. ']]' end
death = death .. '، ' .. death_country_label
end
end
end
return death
end
-- Convert Arabic numbers (0123456789) to Kurdish numbers (٠١٢٣٤٥٦٧٨٩)
function toKurdishNumbers(text)
return text:gsub('0', '٠')
:gsub('1', '١')
:gsub('2', '٢')
:gsub('3', '٣')
:gsub('4', '٤')
:gsub('5', '٥')
:gsub('6', '٦')
:gsub('7', '٧')
:gsub('8', '٨')
:gsub('9', '٩')
:gsub('square kilometre', 'کیلۆمەتر دووجا')
:gsub('kilometre', 'کیلۆمەتر')
end
function formatDate(lang, dateString, fallback, format)
if not format then format = 'jی xg Y' end
-- formatDate only supports positive (AD) dates
if dateString:sub(1, 1) == '-' then return fallback or dateString end
-- Work-around for a bug in Scribunto, more info: https://phabricator.wikimedia.org/T261072
dateString = dateString:gsub('%-00%-00T', '-01-01T')
return lang:formatDate(format, dateString, false)
end
function isEnglish(text)
return string.find(text, '[abcdefghijklmnopqrstuvwxyz]') ~= nil
end
-- Returns the best statements for the first property this item has
function getBestStatement(item, ...)
for i,v in ipairs(arg) do
local statements = item:getBestStatements(v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Returns the best statements for the first property this item has
function getBestStatementById(id, ...)
for i,v in ipairs(arg) do
local statements = mw.wikibase.getBestStatements( id, v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Gets the length of a table
-- https://stackoverflow.com/a/2705804/7003797
function len(t)
local count = 0
for _ in pairs(t) do count = count + 1 end
return count
end
-- checks if a string is empty
function isEmpty(s)
return s == nil or s == ''
end
local module_properties = { ['item'] = true, ['بەند'] = true, ['پێڕستی ڕەش'] = true, ['تەنیا کوردی'] = true }
-- Get all properties that are overriden by the template
function getOverridenProperties(args)
properties = {}
for key, value in pairs(args) do
if (not module_properties[key]) then -- If it was not a module property
properties[key:upper()] = value
end
end
return properties
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
local show_english_properties = true
if args.item or args['بەند'] then
itemId = args.item or args['بەند']
end
if args['تەنیا کوردی'] == true or args['تەنیا کوردی'] == 'بەڵێ' then
show_english_properties = false
end
local overriden_properties = getOverridenProperties(args)
local hidden_properties = {}
if args['پێڕستی ڕەش'] then
hidden_properties = mw.text.split(args['پێڕستی ڕەش'], "%s*[,،]%s*")
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
--Table
local dataTable = mw.html.create('table')
:addClass('infobox vcard')
:css({
['width'] = '22em'
})
-- Title
dataTable:tag('tr'):tag('th')
:addClass('fn')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
['background-color'] = '#007BA7',
['padding'] = '0.5em 0',
['margin'] = '0.5em 0',
['font-size'] = '125%',
['color'] = '#ffffff',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
-- Native name: P1559, Official name: P1448
local officialName = getBestStatement(item, 'P1448', 'P1559')
if officialName then
if officialName.language ~= 'ckb' then -- Don't show official name if the official name was in Kurdish
local langName = mw.language.fetchLanguageName(officialName.language, 'ckb')
dataTable:tag('tr'):tag('th')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '90%',
['font-weight'] = 'bold',
['max-width'] = '180px'
})
:wikitext('آبٲیی [[' .. langName ..']]: ' .. officialName.text)
end
end
--Image
local image = args['وێنە']
if (image == nil) then
local images = item:getBestStatements('P18')
if #images >= 1 then
image = images[1].mainsnak.datavalue.value
end
end
if image ~= nil then
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext('[[File:' .. image .. '|frameless|250px]]')
end
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(mergeTables(property_blacklist, hidden_properties))
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
-- Birth
local date_of_birth = getBestStatement(item, 'P569')
local date_of_death = getBestStatement(item, 'P570')
local instance_of = getBestStatement(item, 'P31')
local place_of_birth = getBestStatement(item, 'P19')
local place_of_death = getBestStatement(item, 'P20')
if instance_of and instance_of.id == 'Q5' and date_of_birth and date_of_birth.time:sub(1, 1) ~= '-' then -- human and birth date >= 0 AD
local birth = getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('لەدایکبوون'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(birth))
if date_of_death then
local death = getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('مردن'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(death))
end
end
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
local english_label = mw.wikibase.getLabelByLang(property, 'en'):upper()
local kurdish_label = mw.wikibase.getLabelByLang(property, 'ckb')
-- These properties have datatype of quantity, but we want to show them!
if property == 'P1082' or -- population
property == 'P2046' or -- area
property == 'P2044' then -- elevation above sea level
datatype = 'number'
end
overriden_value = overriden_properties[english_label] or overriden_properties[kurdish_label]
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and
datatype ~= 'quantity' and datatype ~= 'wikibase-property' and
datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and
(not property_blacklist_hash[property] and not property_blacklist_hash[english_label] and not property_blacklist_hash[kurdish_label]) and
(show_english_properties or kurdish_label ~= nil or overriden_value) and
#item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property) -- label, value
local overriden = true
local value = overriden_value
if (value == nil) then
if datatype == 'time' then
local dateString = getBestStatement(item, property).time
if property == 'P1317' or property == 'P2031' then -- floruit and work period (start)
value = formatDate(lang, dateString, propertyValue.value, 'Y')
else
value = formatDate(lang, dateString, propertyValue.value)
end
else
value = propertyValue.value
end
overriden = false
elseif (value:find("^[Q]%d+") ~= nil) then -- Is a wikidata ID
value = '[[' .. mw.wikibase.getSitelink(value) .. ']]'
end
if (datatype == 'time' or datatype == 'number') then -- coordinate location
value = toKurdishNumbers(value)
end
row = dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em',
})
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(value))
end
end
--Map
local coordinates_statements = item:getBestStatements('P625')
if #coordinates_statements == 1 and coordinates_statements[1].mainsnak.datavalue and coordinates_statements[1].mainsnak.datavalue.value.globe == 'http://www.wikidata.org/entity/Q2' then
--We build the call to mapframe
local latitude = coordinates_statements[1].mainsnak.datavalue.value.latitude
local longitude = coordinates_statements[1].mainsnak.datavalue.value.longitude
local geojson = {
type = 'Feature',
geometry = {
type = 'Point',
coordinates = { longitude, latitude }
},
properties = {
title = item:getLabel() or mw.title.getCurrentTitle().text,
['marker-symbol'] = 'marker',
['marker-color'] = '#224422',
}
}
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(frame:extensionTag('mapframe', mw.text.jsonEncode(geojson), {
height = 250,
width = 250,
frameless = 'frameless',
align = 'center',
latitude = latitude,
longitude = longitude,
zoom = 6 -- 100 km
}))
end
local div_start = '<div style="border-style: solid; border-color:gray; border-width: 1px 0 0 0; margin-top: 2em; text-align: center;">'
local pen_icon = ' [[File:Wikidata-logo.svg|' .. edit_message .. '|22px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. ']]'
local edit_message_link = '[https://www.wikidata.org/wiki/' .. item.id .. ' وِکی ڈیٹا پؠٹھ کٔرِو اؠڈِٹ]'
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(div_start .. edit_message_link .. pen_icon .. '</div>')
return tostring(dataTable)
end
return p
k6d66v3xru0i9ci5xl5rg7rngrx53w8
62253
62252
2022-08-09T14:20:09Z
511KeV
8268
Translate
Scribunto
text/plain
-- Please DO NOT edit this page unless you know what you are doing.
-- Maintainer: User:511KeV
-- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual
-- https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P735', -- Given name
'P734', -- Family name
'P1559', -- Native name
'P21', -- Sex or gender
'P373', -- Commons category
'P910', -- topic's main category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P2184', -- history of topic
'P1438', -- Jewish Encyclopedia ID
'P206', -- located in or next to body of water
'P7867', -- category for maps
'P8402', -- Open Data portal
'P1448', -- official name
'P569', -- date of birth
'P570', -- date of death
'P19', -- place of birth
'P20', -- place of death
'P27', -- country of citizenship
'P2747', -- Filmiroda rating
'P1552', -- has quality
'P7561', -- category for the interior of the item
'P1196', -- manner of death
'P6365', -- member category
'P465', -- sRGB color hex triplet
'P487', -- Unicode character
'P7084', -- related category
'P1814', -- name in kana
'P2001', -- Revised Romanization
'P8989', -- category for the view of the item
}
-- Merge two tables and return a new table
function mergeTables(first, second)
result = {}
for k,v in pairs(first) do
table.insert(result, v)
end
for k,v in pairs(second) do
table.insert(result, v)
end
return result
end
-- Turn index based tables into key based tables
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v:upper()] = true
end
return result
end
function getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
local birth_time = ''
if date_of_death then
birth_time = formatDate(lang, date_of_birth.time)
else
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
birth_time = string.format('{{ڕۆژی لەدایکبوون و تەمەن|%s|%s|%s}}',
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
end
local birth = birth_time
if place_of_birth then
-- Try to get the Kurdish article name for the entity
local birth_location = mw.wikibase.getSitelink(place_of_birth.id, 'kswiki')
local link = true
if not birth_location then
-- If there was no Kurdish article for the entity, then get an article name from other wikis
birth_location = mw.wikibase.getLabel(place_of_birth.id)
link = false
end
if birth_location then
if link then birth_location = '[[' .. birth_location .. ']]' end
birth = birth .. '<br>' .. birth_location
local birth_country = getBestStatementById(place_of_birth.id, 'P17')
if birth_country then
local birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'kswiki')
local link = true
if not birth_country_label then
birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'enwiki')
link = false
end
if link then birth_country_label = '[[' .. birth_country_label .. ']]' end
birth = birth .. '، ' .. birth_country_label
end
end
end
return birth
end
function getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
local date_of_death_parts = mw.text.split(formatDate(lang, date_of_death.time, nil, 'Y-m-j'), '-')
local death_time = string.format('{{ڕێکەوتی مەرگ و تەمەن|%s|%s|%s|%s|%s|%s}}',
date_of_death_parts[1], date_of_death_parts[2], date_of_death_parts[3],
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
local death = death_time
if place_of_death then
local death_location = mw.wikibase.getSitelink(place_of_death.id, 'kswiki')
local link = true
if not death_location then
death_location = mw.wikibase.getSitelink(place_of_death.id, 'enwiki')
link = false
end
if not death_location then
death_location = mw.wikibase.getLabel(place_of_death.id)
link = false
end
if death_location then
if link then death_location = '[[' .. death_location .. ']]' end
death = death .. '<br>' .. death_location
local death_country = getBestStatementById(place_of_death.id, 'P17')
if death_country then
local death_country_label = mw.wikibase.getSitelink(death_country.id, 'kswiki')
local link = true
if not death_country_label then
death_country_label = mw.wikibase.getSitelink(death_country.id, 'enwiki')
link = false
end
if link then death_country_label = '[[' .. death_country_label .. ']]' end
death = death .. '، ' .. death_country_label
end
end
end
return death
end
-- Convert Arabic numbers (0123456789) to Kurdish numbers (٠١٢٣٤٥٦٧٨٩)
function toKurdishNumbers(text)
return text:gsub('0', '٠')
:gsub('1', '١')
:gsub('2', '٢')
:gsub('3', '٣')
:gsub('4', '٤')
:gsub('5', '٥')
:gsub('6', '٦')
:gsub('7', '٧')
:gsub('8', '٨')
:gsub('9', '٩')
:gsub('square kilometre', 'کیلۆمەتر دووجا')
:gsub('kilometre', 'کیلۆمەتر')
end
function formatDate(lang, dateString, fallback, format)
if not format then format = 'jی xg Y' end
-- formatDate only supports positive (AD) dates
if dateString:sub(1, 1) == '-' then return fallback or dateString end
-- Work-around for a bug in Scribunto, more info: https://phabricator.wikimedia.org/T261072
dateString = dateString:gsub('%-00%-00T', '-01-01T')
return lang:formatDate(format, dateString, false)
end
function isEnglish(text)
return string.find(text, '[abcdefghijklmnopqrstuvwxyz]') ~= nil
end
-- Returns the best statements for the first property this item has
function getBestStatement(item, ...)
for i,v in ipairs(arg) do
local statements = item:getBestStatements(v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Returns the best statements for the first property this item has
function getBestStatementById(id, ...)
for i,v in ipairs(arg) do
local statements = mw.wikibase.getBestStatements( id, v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Gets the length of a table
-- https://stackoverflow.com/a/2705804/7003797
function len(t)
local count = 0
for _ in pairs(t) do count = count + 1 end
return count
end
-- checks if a string is empty
function isEmpty(s)
return s == nil or s == ''
end
local module_properties = { ['item'] = true, ['بەند'] = true, ['پێڕستی ڕەش'] = true, ['تەنیا کوردی'] = true }
-- Get all properties that are overriden by the template
function getOverridenProperties(args)
properties = {}
for key, value in pairs(args) do
if (not module_properties[key]) then -- If it was not a module property
properties[key:upper()] = value
end
end
return properties
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
local show_english_properties = true
if args.item or args['بەند'] then
itemId = args.item or args['بەند']
end
if args['تەنیا کوردی'] == true or args['تەنیا کوردی'] == 'بەڵێ' then
show_english_properties = false
end
local overriden_properties = getOverridenProperties(args)
local hidden_properties = {}
if args['پێڕستی ڕەش'] then
hidden_properties = mw.text.split(args['پێڕستی ڕەش'], "%s*[,،]%s*")
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
--Table
local dataTable = mw.html.create('table')
:addClass('infobox vcard')
:css({
['width'] = '22em'
})
-- Title
dataTable:tag('tr'):tag('th')
:addClass('fn')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
['background-color'] = '#007BA7',
['padding'] = '0.5em 0',
['margin'] = '0.5em 0',
['font-size'] = '125%',
['color'] = '#ffffff',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
-- Native name: P1559, Official name: P1448
local officialName = getBestStatement(item, 'P1448', 'P1559')
if officialName then
if officialName.language ~= 'ks' then -- Don't show official name if the official name was in Kurdish
local langName = mw.language.fetchLanguageName(officialName.language, 'ks')
dataTable:tag('tr'):tag('th')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '90%',
['font-weight'] = 'bold',
['max-width'] = '180px'
})
:wikitext('آبٲیی [[' .. langName ..']]: ' .. officialName.text)
end
end
--Image
local image = args['وێنە']
if (image == nil) then
local images = item:getBestStatements('P18')
if #images >= 1 then
image = images[1].mainsnak.datavalue.value
end
end
if image ~= nil then
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext('[[File:' .. image .. '|frameless|250px]]')
end
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(mergeTables(property_blacklist, hidden_properties))
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
-- Birth
local date_of_birth = getBestStatement(item, 'P569')
local date_of_death = getBestStatement(item, 'P570')
local instance_of = getBestStatement(item, 'P31')
local place_of_birth = getBestStatement(item, 'P19')
local place_of_death = getBestStatement(item, 'P20')
if instance_of and instance_of.id == 'Q5' and date_of_birth and date_of_birth.time:sub(1, 1) ~= '-' then -- human and birth date >= 0 AD
local birth = getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('لەدایکبوون'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(birth))
if date_of_death then
local death = getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('مردن'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(death))
end
end
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
local english_label = mw.wikibase.getLabelByLang(property, 'en'):upper()
local kurdish_label = mw.wikibase.getLabelByLang(property, 'ks')
-- These properties have datatype of quantity, but we want to show them!
if property == 'P1082' or -- population
property == 'P2046' or -- area
property == 'P2044' then -- elevation above sea level
datatype = 'number'
end
overriden_value = overriden_properties[english_label] or overriden_properties[kurdish_label]
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and
datatype ~= 'quantity' and datatype ~= 'wikibase-property' and
datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and
(not property_blacklist_hash[property] and not property_blacklist_hash[english_label] and not property_blacklist_hash[kurdish_label]) and
(show_english_properties or kurdish_label ~= nil or overriden_value) and
#item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property) -- label, value
local overriden = true
local value = overriden_value
if (value == nil) then
if datatype == 'time' then
local dateString = getBestStatement(item, property).time
if property == 'P1317' or property == 'P2031' then -- floruit and work period (start)
value = formatDate(lang, dateString, propertyValue.value, 'Y')
else
value = formatDate(lang, dateString, propertyValue.value)
end
else
value = propertyValue.value
end
overriden = false
elseif (value:find("^[Q]%d+") ~= nil) then -- Is a wikidata ID
value = '[[' .. mw.wikibase.getSitelink(value) .. ']]'
end
if (datatype == 'time' or datatype == 'number') then -- coordinate location
value = toKurdishNumbers(value)
end
row = dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em',
})
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(value))
end
end
--Map
local coordinates_statements = item:getBestStatements('P625')
if #coordinates_statements == 1 and coordinates_statements[1].mainsnak.datavalue and coordinates_statements[1].mainsnak.datavalue.value.globe == 'http://www.wikidata.org/entity/Q2' then
--We build the call to mapframe
local latitude = coordinates_statements[1].mainsnak.datavalue.value.latitude
local longitude = coordinates_statements[1].mainsnak.datavalue.value.longitude
local geojson = {
type = 'Feature',
geometry = {
type = 'Point',
coordinates = { longitude, latitude }
},
properties = {
title = item:getLabel() or mw.title.getCurrentTitle().text,
['marker-symbol'] = 'marker',
['marker-color'] = '#224422',
}
}
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(frame:extensionTag('mapframe', mw.text.jsonEncode(geojson), {
height = 250,
width = 250,
frameless = 'frameless',
align = 'center',
latitude = latitude,
longitude = longitude,
zoom = 6 -- 100 km
}))
end
local div_start = '<div style="border-style: solid; border-color:gray; border-width: 1px 0 0 0; margin-top: 2em; text-align: center;">'
local pen_icon = ' [[File:Wikidata-logo.svg|' .. edit_message .. '|22px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. ']]'
local edit_message_link = '[https://www.wikidata.org/wiki/' .. item.id .. ' وِکی ڈیٹا پؠٹھ کٔرِو اؠڈِٹ]'
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(div_start .. edit_message_link .. pen_icon .. '</div>')
return tostring(dataTable)
end
return p
t9ptyzrxdrylsrsiy8g7sbaigtn5wp5
62254
62253
2022-08-09T14:28:23Z
511KeV
8268
Translate
Scribunto
text/plain
-- Please DO NOT edit this page unless you know what you are doing.
-- Maintainer: User:511KeV
-- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual
-- https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P735', -- Given name
'P734', -- Family name
'P1559', -- Native name
'P21', -- Sex or gender
'P373', -- Commons category
'P910', -- topic's main category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P2184', -- history of topic
'P1438', -- Jewish Encyclopedia ID
'P206', -- located in or next to body of water
'P7867', -- category for maps
'P8402', -- Open Data portal
'P1448', -- official name
'P569', -- date of birth
'P570', -- date of death
'P19', -- place of birth
'P20', -- place of death
'P27', -- country of citizenship
'P2747', -- Filmiroda rating
'P1552', -- has quality
'P7561', -- category for the interior of the item
'P1196', -- manner of death
'P6365', -- member category
'P465', -- sRGB color hex triplet
'P487', -- Unicode character
'P7084', -- related category
'P1814', -- name in kana
'P2001', -- Revised Romanization
'P8989', -- category for the view of the item
}
-- Merge two tables and return a new table
function mergeTables(first, second)
result = {}
for k,v in pairs(first) do
table.insert(result, v)
end
for k,v in pairs(second) do
table.insert(result, v)
end
return result
end
-- Turn index based tables into key based tables
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v:upper()] = true
end
return result
end
function getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
local birth_time = ''
if date_of_death then
birth_time = formatDate(lang, date_of_birth.time)
else
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
birth_time = string.format('{{Birth date and age|%s|%s|%s}}',
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
end
local birth = birth_time
if place_of_birth then
-- Try to get the Kurdish article name for the entity
local birth_location = mw.wikibase.getSitelink(place_of_birth.id, 'kswiki')
local link = true
if not birth_location then
-- If there was no Kurdish article for the entity, then get an article name from other wikis
birth_location = mw.wikibase.getLabel(place_of_birth.id)
link = false
end
if birth_location then
if link then birth_location = '[[' .. birth_location .. ']]' end
birth = birth .. '<br>' .. birth_location
local birth_country = getBestStatementById(place_of_birth.id, 'P17')
if birth_country then
local birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'kswiki')
local link = true
if not birth_country_label then
birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'enwiki')
link = false
end
if link then birth_country_label = '[[' .. birth_country_label .. ']]' end
birth = birth .. '، ' .. birth_country_label
end
end
end
return birth
end
function getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
local date_of_death_parts = mw.text.split(formatDate(lang, date_of_death.time, nil, 'Y-m-j'), '-')
local death_time = string.format('{{ڕێکەوتی مەرگ و تەمەن|%s|%s|%s|%s|%s|%s}}',
date_of_death_parts[1], date_of_death_parts[2], date_of_death_parts[3],
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
local death = death_time
if place_of_death then
local death_location = mw.wikibase.getSitelink(place_of_death.id, 'kswiki')
local link = true
if not death_location then
death_location = mw.wikibase.getSitelink(place_of_death.id, 'enwiki')
link = false
end
if not death_location then
death_location = mw.wikibase.getLabel(place_of_death.id)
link = false
end
if death_location then
if link then death_location = '[[' .. death_location .. ']]' end
death = death .. '<br>' .. death_location
local death_country = getBestStatementById(place_of_death.id, 'P17')
if death_country then
local death_country_label = mw.wikibase.getSitelink(death_country.id, 'kswiki')
local link = true
if not death_country_label then
death_country_label = mw.wikibase.getSitelink(death_country.id, 'enwiki')
link = false
end
if link then death_country_label = '[[' .. death_country_label .. ']]' end
death = death .. '، ' .. death_country_label
end
end
end
return death
end
-- Convert Arabic numbers (0123456789) to Kurdish numbers (٠١٢٣٤٥٦٧٨٩)
function toKurdishNumbers(text)
return text:gsub('0', '٠')
:gsub('1', '١')
:gsub('2', '٢')
:gsub('3', '٣')
:gsub('4', '٤')
:gsub('5', '٥')
:gsub('6', '٦')
:gsub('7', '٧')
:gsub('8', '٨')
:gsub('9', '٩')
:gsub('square kilometre', 'کیلۆمەتر دووجا')
:gsub('kilometre', 'کیلۆمەتر')
end
function formatDate(lang, dateString, fallback, format)
if not format then format = 'jی xg Y' end
-- formatDate only supports positive (AD) dates
if dateString:sub(1, 1) == '-' then return fallback or dateString end
-- Work-around for a bug in Scribunto, more info: https://phabricator.wikimedia.org/T261072
dateString = dateString:gsub('%-00%-00T', '-01-01T')
return lang:formatDate(format, dateString, false)
end
function isEnglish(text)
return string.find(text, '[abcdefghijklmnopqrstuvwxyz]') ~= nil
end
-- Returns the best statements for the first property this item has
function getBestStatement(item, ...)
for i,v in ipairs(arg) do
local statements = item:getBestStatements(v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Returns the best statements for the first property this item has
function getBestStatementById(id, ...)
for i,v in ipairs(arg) do
local statements = mw.wikibase.getBestStatements( id, v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Gets the length of a table
-- https://stackoverflow.com/a/2705804/7003797
function len(t)
local count = 0
for _ in pairs(t) do count = count + 1 end
return count
end
-- checks if a string is empty
function isEmpty(s)
return s == nil or s == ''
end
local module_properties = { ['item'] = true, ['بەند'] = true, ['پێڕستی ڕەش'] = true, ['تەنیا کوردی'] = true }
-- Get all properties that are overriden by the template
function getOverridenProperties(args)
properties = {}
for key, value in pairs(args) do
if (not module_properties[key]) then -- If it was not a module property
properties[key:upper()] = value
end
end
return properties
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
local show_english_properties = true
if args.item or args['بەند'] then
itemId = args.item or args['بەند']
end
if args['تەنیا کوردی'] == true or args['تەنیا کوردی'] == 'بەڵێ' then
show_english_properties = false
end
local overriden_properties = getOverridenProperties(args)
local hidden_properties = {}
if args['پێڕستی ڕەش'] then
hidden_properties = mw.text.split(args['پێڕستی ڕەش'], "%s*[,،]%s*")
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
--Table
local dataTable = mw.html.create('table')
:addClass('infobox vcard')
:css({
['width'] = '22em'
})
-- Title
dataTable:tag('tr'):tag('th')
:addClass('fn')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
['background-color'] = '#007BA7',
['padding'] = '0.5em 0',
['margin'] = '0.5em 0',
['font-size'] = '125%',
['color'] = '#ffffff',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
-- Native name: P1559, Official name: P1448
local officialName = getBestStatement(item, 'P1448', 'P1559')
if officialName then
if officialName.language ~= 'ks' then -- Don't show official name if the official name was in Kurdish
local langName = mw.language.fetchLanguageName(officialName.language, 'ks')
dataTable:tag('tr'):tag('th')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '90%',
['font-weight'] = 'bold',
['max-width'] = '180px'
})
:wikitext('آبٲیی [[' .. langName ..']]: ' .. officialName.text)
end
end
--Image
local image = args['وێنە']
if (image == nil) then
local images = item:getBestStatements('P18')
if #images >= 1 then
image = images[1].mainsnak.datavalue.value
end
end
if image ~= nil then
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext('[[File:' .. image .. '|frameless|250px]]')
end
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(mergeTables(property_blacklist, hidden_properties))
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
-- Birth
local date_of_birth = getBestStatement(item, 'P569')
local date_of_death = getBestStatement(item, 'P570')
local instance_of = getBestStatement(item, 'P31')
local place_of_birth = getBestStatement(item, 'P19')
local place_of_death = getBestStatement(item, 'P20')
if instance_of and instance_of.id == 'Q5' and date_of_birth and date_of_birth.time:sub(1, 1) ~= '-' then -- human and birth date >= 0 AD
local birth = getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('لەدایکبوون'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(birth))
if date_of_death then
local death = getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('مردن'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(death))
end
end
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
local english_label = mw.wikibase.getLabelByLang(property, 'en'):upper()
local kurdish_label = mw.wikibase.getLabelByLang(property, 'ks')
-- These properties have datatype of quantity, but we want to show them!
if property == 'P1082' or -- population
property == 'P2046' or -- area
property == 'P2044' then -- elevation above sea level
datatype = 'number'
end
overriden_value = overriden_properties[english_label] or overriden_properties[kurdish_label]
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and
datatype ~= 'quantity' and datatype ~= 'wikibase-property' and
datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and
(not property_blacklist_hash[property] and not property_blacklist_hash[english_label] and not property_blacklist_hash[kurdish_label]) and
(show_english_properties or kurdish_label ~= nil or overriden_value) and
#item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property) -- label, value
local overriden = true
local value = overriden_value
if (value == nil) then
if datatype == 'time' then
local dateString = getBestStatement(item, property).time
if property == 'P1317' or property == 'P2031' then -- floruit and work period (start)
value = formatDate(lang, dateString, propertyValue.value, 'Y')
else
value = formatDate(lang, dateString, propertyValue.value)
end
else
value = propertyValue.value
end
overriden = false
elseif (value:find("^[Q]%d+") ~= nil) then -- Is a wikidata ID
value = '[[' .. mw.wikibase.getSitelink(value) .. ']]'
end
if (datatype == 'time' or datatype == 'number') then -- coordinate location
value = toKurdishNumbers(value)
end
row = dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em',
})
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(value))
end
end
--Map
local coordinates_statements = item:getBestStatements('P625')
if #coordinates_statements == 1 and coordinates_statements[1].mainsnak.datavalue and coordinates_statements[1].mainsnak.datavalue.value.globe == 'http://www.wikidata.org/entity/Q2' then
--We build the call to mapframe
local latitude = coordinates_statements[1].mainsnak.datavalue.value.latitude
local longitude = coordinates_statements[1].mainsnak.datavalue.value.longitude
local geojson = {
type = 'Feature',
geometry = {
type = 'Point',
coordinates = { longitude, latitude }
},
properties = {
title = item:getLabel() or mw.title.getCurrentTitle().text,
['marker-symbol'] = 'marker',
['marker-color'] = '#224422',
}
}
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(frame:extensionTag('mapframe', mw.text.jsonEncode(geojson), {
height = 250,
width = 250,
frameless = 'frameless',
align = 'center',
latitude = latitude,
longitude = longitude,
zoom = 6 -- 100 km
}))
end
local div_start = '<div style="border-style: solid; border-color:gray; border-width: 1px 0 0 0; margin-top: 2em; text-align: center;">'
local pen_icon = ' [[File:Wikidata-logo.svg|' .. edit_message .. '|22px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. ']]'
local edit_message_link = '[https://www.wikidata.org/wiki/' .. item.id .. ' وِکی ڈیٹا پؠٹھ کٔرِو اؠڈِٹ]'
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(div_start .. edit_message_link .. pen_icon .. '</div>')
return tostring(dataTable)
end
return p
swhh29d624mzq3mfgu05dne5pzw3nba
62255
62254
2022-08-09T14:29:54Z
511KeV
8268
Translate
Scribunto
text/plain
-- Please DO NOT edit this page unless you know what you are doing.
-- Maintainer: User:511KeV
-- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual
-- https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P735', -- Given name
'P734', -- Family name
'P1559', -- Native name
'P21', -- Sex or gender
'P373', -- Commons category
'P910', -- topic's main category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P2184', -- history of topic
'P1438', -- Jewish Encyclopedia ID
'P206', -- located in or next to body of water
'P7867', -- category for maps
'P8402', -- Open Data portal
'P1448', -- official name
'P569', -- date of birth
'P570', -- date of death
'P19', -- place of birth
'P20', -- place of death
'P27', -- country of citizenship
'P2747', -- Filmiroda rating
'P1552', -- has quality
'P7561', -- category for the interior of the item
'P1196', -- manner of death
'P6365', -- member category
'P465', -- sRGB color hex triplet
'P487', -- Unicode character
'P7084', -- related category
'P1814', -- name in kana
'P2001', -- Revised Romanization
'P8989', -- category for the view of the item
}
-- Merge two tables and return a new table
function mergeTables(first, second)
result = {}
for k,v in pairs(first) do
table.insert(result, v)
end
for k,v in pairs(second) do
table.insert(result, v)
end
return result
end
-- Turn index based tables into key based tables
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v:upper()] = true
end
return result
end
function getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
local birth_time = ''
if date_of_death then
birth_time = formatDate(lang, date_of_birth.time)
else
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
birth_time = string.format('{{Birth date and age|%s|%s|%s}}',
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
end
local birth = birth_time
if place_of_birth then
-- Try to get the Kurdish article name for the entity
local birth_location = mw.wikibase.getSitelink(place_of_birth.id, 'kswiki')
local link = true
if not birth_location then
-- If there was no Kurdish article for the entity, then get an article name from other wikis
birth_location = mw.wikibase.getLabel(place_of_birth.id)
link = false
end
if birth_location then
if link then birth_location = '[[' .. birth_location .. ']]' end
birth = birth .. '<br>' .. birth_location
local birth_country = getBestStatementById(place_of_birth.id, 'P17')
if birth_country then
local birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'kswiki')
local link = true
if not birth_country_label then
birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'enwiki')
link = false
end
if link then birth_country_label = '[[' .. birth_country_label .. ']]' end
birth = birth .. '، ' .. birth_country_label
end
end
end
return birth
end
function getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
local date_of_death_parts = mw.text.split(formatDate(lang, date_of_death.time, nil, 'Y-m-j'), '-')
local death_time = string.format('{{ڕێکەوتی مەرگ و تەمەن|%s|%s|%s|%s|%s|%s}}',
date_of_death_parts[1], date_of_death_parts[2], date_of_death_parts[3],
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
local death = death_time
if place_of_death then
local death_location = mw.wikibase.getSitelink(place_of_death.id, 'kswiki')
local link = true
if not death_location then
death_location = mw.wikibase.getSitelink(place_of_death.id, 'enwiki')
link = false
end
if not death_location then
death_location = mw.wikibase.getLabel(place_of_death.id)
link = false
end
if death_location then
if link then death_location = '[[' .. death_location .. ']]' end
death = death .. '<br>' .. death_location
local death_country = getBestStatementById(place_of_death.id, 'P17')
if death_country then
local death_country_label = mw.wikibase.getSitelink(death_country.id, 'kswiki')
local link = true
if not death_country_label then
death_country_label = mw.wikibase.getSitelink(death_country.id, 'enwiki')
link = false
end
if link then death_country_label = '[[' .. death_country_label .. ']]' end
death = death .. '، ' .. death_country_label
end
end
end
return death
end
-- Convert Arabic numbers (0123456789) to Kurdish numbers (٠١٢٣٤٥٦٧٨٩)
function toKurdishNumbers(text)
return text:gsub('0', '٠')
:gsub('1', '١')
:gsub('2', '٢')
:gsub('3', '٣')
:gsub('4', '٤')
:gsub('5', '٥')
:gsub('6', '٦')
:gsub('7', '٧')
:gsub('8', '٨')
:gsub('9', '٩')
:gsub('square kilometre', 'کیلۆمەتر دووجا')
:gsub('kilometre', 'کیلۆمەتر')
end
function formatDate(lang, dateString, fallback, format)
if not format then format = 'jی xg Y' end
-- formatDate only supports positive (AD) dates
if dateString:sub(1, 1) == '-' then return fallback or dateString end
-- Work-around for a bug in Scribunto, more info: https://phabricator.wikimedia.org/T261072
dateString = dateString:gsub('%-00%-00T', '-01-01T')
return lang:formatDate(format, dateString, false)
end
function isEnglish(text)
return string.find(text, '[abcdefghijklmnopqrstuvwxyz]') ~= nil
end
-- Returns the best statements for the first property this item has
function getBestStatement(item, ...)
for i,v in ipairs(arg) do
local statements = item:getBestStatements(v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Returns the best statements for the first property this item has
function getBestStatementById(id, ...)
for i,v in ipairs(arg) do
local statements = mw.wikibase.getBestStatements( id, v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Gets the length of a table
-- https://stackoverflow.com/a/2705804/7003797
function len(t)
local count = 0
for _ in pairs(t) do count = count + 1 end
return count
end
-- checks if a string is empty
function isEmpty(s)
return s == nil or s == ''
end
local module_properties = { ['item'] = true, ['بەند'] = true, ['پێڕستی ڕەش'] = true, ['تەنیا کوردی'] = true }
-- Get all properties that are overriden by the template
function getOverridenProperties(args)
properties = {}
for key, value in pairs(args) do
if (not module_properties[key]) then -- If it was not a module property
properties[key:upper()] = value
end
end
return properties
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
local show_english_properties = true
if args.item or args['بەند'] then
itemId = args.item or args['بەند']
end
if args['تەنیا کوردی'] == true or args['تەنیا کوردی'] == 'بەڵێ' then
show_english_properties = false
end
local overriden_properties = getOverridenProperties(args)
local hidden_properties = {}
if args['پێڕستی ڕەش'] then
hidden_properties = mw.text.split(args['پێڕستی ڕەش'], "%s*[,،]%s*")
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
--Table
local dataTable = mw.html.create('table')
:addClass('infobox vcard')
:css({
['width'] = '22em'
})
-- Title
dataTable:tag('tr'):tag('th')
:addClass('fn')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
['background-color'] = '#007BA7',
['padding'] = '0.5em 0',
['margin'] = '0.5em 0',
['font-size'] = '125%',
['color'] = '#ffffff',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
-- Native name: P1559, Official name: P1448
local officialName = getBestStatement(item, 'P1448', 'P1559')
if officialName then
if officialName.language ~= 'ks' then -- Don't show official name if the official name was in Kurdish
local langName = mw.language.fetchLanguageName(officialName.language, 'ks')
dataTable:tag('tr'):tag('th')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '90%',
['font-weight'] = 'bold',
['max-width'] = '180px'
})
:wikitext('آبٲیی [[' .. langName ..']]: ' .. officialName.text)
end
end
--Image
local image = args['وێنە']
if (image == nil) then
local images = item:getBestStatements('P18')
if #images >= 1 then
image = images[1].mainsnak.datavalue.value
end
end
if image ~= nil then
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext('[[File:' .. image .. '|frameless|250px]]')
end
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(mergeTables(property_blacklist, hidden_properties))
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
-- Birth
local date_of_birth = getBestStatement(item, 'P569')
local date_of_death = getBestStatement(item, 'P570')
local instance_of = getBestStatement(item, 'P31')
local place_of_birth = getBestStatement(item, 'P19')
local place_of_death = getBestStatement(item, 'P20')
if instance_of and instance_of.id == 'Q5' and date_of_birth and date_of_birth.time:sub(1, 1) ~= '-' then -- human and birth date >= 0 AD
local birth = getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('پٲدٲیِش'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(birth))
if date_of_death then
local death = getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('مردن'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(death))
end
end
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
local english_label = mw.wikibase.getLabelByLang(property, 'en'):upper()
local kurdish_label = mw.wikibase.getLabelByLang(property, 'ks')
-- These properties have datatype of quantity, but we want to show them!
if property == 'P1082' or -- population
property == 'P2046' or -- area
property == 'P2044' then -- elevation above sea level
datatype = 'number'
end
overriden_value = overriden_properties[english_label] or overriden_properties[kurdish_label]
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and
datatype ~= 'quantity' and datatype ~= 'wikibase-property' and
datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and
(not property_blacklist_hash[property] and not property_blacklist_hash[english_label] and not property_blacklist_hash[kurdish_label]) and
(show_english_properties or kurdish_label ~= nil or overriden_value) and
#item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property) -- label, value
local overriden = true
local value = overriden_value
if (value == nil) then
if datatype == 'time' then
local dateString = getBestStatement(item, property).time
if property == 'P1317' or property == 'P2031' then -- floruit and work period (start)
value = formatDate(lang, dateString, propertyValue.value, 'Y')
else
value = formatDate(lang, dateString, propertyValue.value)
end
else
value = propertyValue.value
end
overriden = false
elseif (value:find("^[Q]%d+") ~= nil) then -- Is a wikidata ID
value = '[[' .. mw.wikibase.getSitelink(value) .. ']]'
end
if (datatype == 'time' or datatype == 'number') then -- coordinate location
value = toKurdishNumbers(value)
end
row = dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em',
})
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(value))
end
end
--Map
local coordinates_statements = item:getBestStatements('P625')
if #coordinates_statements == 1 and coordinates_statements[1].mainsnak.datavalue and coordinates_statements[1].mainsnak.datavalue.value.globe == 'http://www.wikidata.org/entity/Q2' then
--We build the call to mapframe
local latitude = coordinates_statements[1].mainsnak.datavalue.value.latitude
local longitude = coordinates_statements[1].mainsnak.datavalue.value.longitude
local geojson = {
type = 'Feature',
geometry = {
type = 'Point',
coordinates = { longitude, latitude }
},
properties = {
title = item:getLabel() or mw.title.getCurrentTitle().text,
['marker-symbol'] = 'marker',
['marker-color'] = '#224422',
}
}
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(frame:extensionTag('mapframe', mw.text.jsonEncode(geojson), {
height = 250,
width = 250,
frameless = 'frameless',
align = 'center',
latitude = latitude,
longitude = longitude,
zoom = 6 -- 100 km
}))
end
local div_start = '<div style="border-style: solid; border-color:gray; border-width: 1px 0 0 0; margin-top: 2em; text-align: center;">'
local pen_icon = ' [[File:Wikidata-logo.svg|' .. edit_message .. '|22px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. ']]'
local edit_message_link = '[https://www.wikidata.org/wiki/' .. item.id .. ' وِکی ڈیٹا پؠٹھ کٔرِو اؠڈِٹ]'
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(div_start .. edit_message_link .. pen_icon .. '</div>')
return tostring(dataTable)
end
return p
psqhf1n09fshfqa855fm2yje6lma7n2
62256
62255
2022-08-09T14:32:06Z
511KeV
8268
تَرجَمہ
Scribunto
text/plain
-- Please DO NOT edit this page unless you know what you are doing.
-- Maintainer: User:511KeV
-- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual
-- https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P735', -- Given name
'P734', -- Family name
'P1559', -- Native name
'P21', -- Sex or gender
'P373', -- Commons category
'P910', -- topic's main category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P2184', -- history of topic
'P1438', -- Jewish Encyclopedia ID
'P206', -- located in or next to body of water
'P7867', -- category for maps
'P8402', -- Open Data portal
'P1448', -- official name
'P569', -- date of birth
'P570', -- date of death
'P19', -- place of birth
'P20', -- place of death
'P27', -- country of citizenship
'P2747', -- Filmiroda rating
'P1552', -- has quality
'P7561', -- category for the interior of the item
'P1196', -- manner of death
'P6365', -- member category
'P465', -- sRGB color hex triplet
'P487', -- Unicode character
'P7084', -- related category
'P1814', -- name in kana
'P2001', -- Revised Romanization
'P8989', -- category for the view of the item
}
-- Merge two tables and return a new table
function mergeTables(first, second)
result = {}
for k,v in pairs(first) do
table.insert(result, v)
end
for k,v in pairs(second) do
table.insert(result, v)
end
return result
end
-- Turn index based tables into key based tables
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v:upper()] = true
end
return result
end
function getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
local birth_time = ''
if date_of_death then
birth_time = formatDate(lang, date_of_birth.time)
else
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
birth_time = string.format('{{Birth date and age|%s|%s|%s}}',
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
end
local birth = birth_time
if place_of_birth then
-- Try to get the Kurdish article name for the entity
local birth_location = mw.wikibase.getSitelink(place_of_birth.id, 'kswiki')
local link = true
if not birth_location then
-- If there was no Kurdish article for the entity, then get an article name from other wikis
birth_location = mw.wikibase.getLabel(place_of_birth.id)
link = false
end
if birth_location then
if link then birth_location = '[[' .. birth_location .. ']]' end
birth = birth .. '<br>' .. birth_location
local birth_country = getBestStatementById(place_of_birth.id, 'P17')
if birth_country then
local birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'kswiki')
local link = true
if not birth_country_label then
birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'enwiki')
link = false
end
if link then birth_country_label = '[[' .. birth_country_label .. ']]' end
birth = birth .. '، ' .. birth_country_label
end
end
end
return birth
end
function getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
local date_of_death_parts = mw.text.split(formatDate(lang, date_of_death.time, nil, 'Y-m-j'), '-')
local death_time = string.format('{{ڕێکەوتی مەرگ و تەمەن|%s|%s|%s|%s|%s|%s}}',
date_of_death_parts[1], date_of_death_parts[2], date_of_death_parts[3],
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
local death = death_time
if place_of_death then
local death_location = mw.wikibase.getSitelink(place_of_death.id, 'kswiki')
local link = true
if not death_location then
death_location = mw.wikibase.getSitelink(place_of_death.id, 'enwiki')
link = false
end
if not death_location then
death_location = mw.wikibase.getLabel(place_of_death.id)
link = false
end
if death_location then
if link then death_location = '[[' .. death_location .. ']]' end
death = death .. '<br>' .. death_location
local death_country = getBestStatementById(place_of_death.id, 'P17')
if death_country then
local death_country_label = mw.wikibase.getSitelink(death_country.id, 'kswiki')
local link = true
if not death_country_label then
death_country_label = mw.wikibase.getSitelink(death_country.id, 'enwiki')
link = false
end
if link then death_country_label = '[[' .. death_country_label .. ']]' end
death = death .. '، ' .. death_country_label
end
end
end
return death
end
-- Convert Arabic numbers (0123456789) to Kurdish numbers (٠١٢٣٤٥٦٧٨٩)
function toKurdishNumbers(text)
return text:gsub('0', '٠')
:gsub('1', '١')
:gsub('2', '٢')
:gsub('3', '٣')
:gsub('4', '٤')
:gsub('5', '٥')
:gsub('6', '٦')
:gsub('7', '٧')
:gsub('8', '٨')
:gsub('9', '٩')
:gsub('square kilometre', 'کیلۆمەتر دووجا')
:gsub('kilometre', 'کیلۆمەتر')
end
function formatDate(lang, dateString, fallback, format)
if not format then format = 'jی xg Y' end
-- formatDate only supports positive (AD) dates
if dateString:sub(1, 1) == '-' then return fallback or dateString end
-- Work-around for a bug in Scribunto, more info: https://phabricator.wikimedia.org/T261072
dateString = dateString:gsub('%-00%-00T', '-01-01T')
return lang:formatDate(format, dateString, false)
end
function isEnglish(text)
return string.find(text, '[abcdefghijklmnopqrstuvwxyz]') ~= nil
end
-- Returns the best statements for the first property this item has
function getBestStatement(item, ...)
for i,v in ipairs(arg) do
local statements = item:getBestStatements(v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Returns the best statements for the first property this item has
function getBestStatementById(id, ...)
for i,v in ipairs(arg) do
local statements = mw.wikibase.getBestStatements( id, v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Gets the length of a table
-- https://stackoverflow.com/a/2705804/7003797
function len(t)
local count = 0
for _ in pairs(t) do count = count + 1 end
return count
end
-- checks if a string is empty
function isEmpty(s)
return s == nil or s == ''
end
local module_properties = { ['item'] = true, ['بەند'] = true, ['پێڕستی ڕەش'] = true, ['تەنیا کوردی'] = true }
-- Get all properties that are overriden by the template
function getOverridenProperties(args)
properties = {}
for key, value in pairs(args) do
if (not module_properties[key]) then -- If it was not a module property
properties[key:upper()] = value
end
end
return properties
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
local show_english_properties = true
if args.item or args['بەند'] then
itemId = args.item or args['بەند']
end
if args['تەنیا کوردی'] == true or args['تەنیا کوردی'] == 'بەڵێ' then
show_english_properties = false
end
local overriden_properties = getOverridenProperties(args)
local hidden_properties = {}
if args['پێڕستی ڕەش'] then
hidden_properties = mw.text.split(args['پێڕستی ڕەش'], "%s*[,،]%s*")
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
--Table
local dataTable = mw.html.create('table')
:addClass('infobox vcard')
:css({
['width'] = '22em'
})
-- Title
dataTable:tag('tr'):tag('th')
:addClass('fn')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
['background-color'] = '#007BA7',
['padding'] = '0.5em 0',
['margin'] = '0.5em 0',
['font-size'] = '125%',
['color'] = '#ffffff',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
-- Native name: P1559, Official name: P1448
local officialName = getBestStatement(item, 'P1448', 'P1559')
if officialName then
if officialName.language ~= 'ks' then -- Don't show official name if the official name was in Kurdish
local langName = mw.language.fetchLanguageName(officialName.language, 'ks')
dataTable:tag('tr'):tag('th')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '90%',
['font-weight'] = 'bold',
['max-width'] = '180px'
})
:wikitext('آبٲیی [[' .. langName ..']]: ' .. officialName.text)
end
end
--Image
local image = args['وێنە']
if (image == nil) then
local images = item:getBestStatements('P18')
if #images >= 1 then
image = images[1].mainsnak.datavalue.value
end
end
if image ~= nil then
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext('[[File:' .. image .. '|frameless|250px]]')
end
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(mergeTables(property_blacklist, hidden_properties))
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
-- Birth
local date_of_birth = getBestStatement(item, 'P569')
local date_of_death = getBestStatement(item, 'P570')
local instance_of = getBestStatement(item, 'P31')
local place_of_birth = getBestStatement(item, 'P19')
local place_of_death = getBestStatement(item, 'P20')
if instance_of and instance_of.id == 'Q5' and date_of_birth and date_of_birth.time:sub(1, 1) ~= '-' then -- human and birth date >= 0 AD
local birth = getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('پٲدٲیِش'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(birth))
if date_of_death then
local death = getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('وَفات'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(death))
end
end
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
local english_label = mw.wikibase.getLabelByLang(property, 'en'):upper()
local kurdish_label = mw.wikibase.getLabelByLang(property, 'ks')
-- These properties have datatype of quantity, but we want to show them!
if property == 'P1082' or -- population
property == 'P2046' or -- area
property == 'P2044' then -- elevation above sea level
datatype = 'number'
end
overriden_value = overriden_properties[english_label] or overriden_properties[kurdish_label]
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and
datatype ~= 'quantity' and datatype ~= 'wikibase-property' and
datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and
(not property_blacklist_hash[property] and not property_blacklist_hash[english_label] and not property_blacklist_hash[kurdish_label]) and
(show_english_properties or kurdish_label ~= nil or overriden_value) and
#item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property) -- label, value
local overriden = true
local value = overriden_value
if (value == nil) then
if datatype == 'time' then
local dateString = getBestStatement(item, property).time
if property == 'P1317' or property == 'P2031' then -- floruit and work period (start)
value = formatDate(lang, dateString, propertyValue.value, 'Y')
else
value = formatDate(lang, dateString, propertyValue.value)
end
else
value = propertyValue.value
end
overriden = false
elseif (value:find("^[Q]%d+") ~= nil) then -- Is a wikidata ID
value = '[[' .. mw.wikibase.getSitelink(value) .. ']]'
end
if (datatype == 'time' or datatype == 'number') then -- coordinate location
value = toKurdishNumbers(value)
end
row = dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em',
})
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(value))
end
end
--Map
local coordinates_statements = item:getBestStatements('P625')
if #coordinates_statements == 1 and coordinates_statements[1].mainsnak.datavalue and coordinates_statements[1].mainsnak.datavalue.value.globe == 'http://www.wikidata.org/entity/Q2' then
--We build the call to mapframe
local latitude = coordinates_statements[1].mainsnak.datavalue.value.latitude
local longitude = coordinates_statements[1].mainsnak.datavalue.value.longitude
local geojson = {
type = 'Feature',
geometry = {
type = 'Point',
coordinates = { longitude, latitude }
},
properties = {
title = item:getLabel() or mw.title.getCurrentTitle().text,
['marker-symbol'] = 'marker',
['marker-color'] = '#224422',
}
}
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(frame:extensionTag('mapframe', mw.text.jsonEncode(geojson), {
height = 250,
width = 250,
frameless = 'frameless',
align = 'center',
latitude = latitude,
longitude = longitude,
zoom = 6 -- 100 km
}))
end
local div_start = '<div style="border-style: solid; border-color:gray; border-width: 1px 0 0 0; margin-top: 2em; text-align: center;">'
local pen_icon = ' [[File:Wikidata-logo.svg|' .. edit_message .. '|22px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. ']]'
local edit_message_link = '[https://www.wikidata.org/wiki/' .. item.id .. ' وِکی ڈیٹا پؠٹھ کٔرِو اؠڈِٹ]'
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(div_start .. edit_message_link .. pen_icon .. '</div>')
return tostring(dataTable)
end
return p
9687nj3ghhwtsd0t64odad5kc9r4uhe
62257
62256
2022-08-09T14:34:58Z
511KeV
8268
Translate
Scribunto
text/plain
-- Please DO NOT edit this page unless you know what you are doing.
-- Maintainer: User:511KeV
-- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual
-- https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P735', -- Given name
'P734', -- Family name
'P1559', -- Native name
'P21', -- Sex or gender
'P373', -- Commons category
'P910', -- topic's main category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P2184', -- history of topic
'P1438', -- Jewish Encyclopedia ID
'P206', -- located in or next to body of water
'P7867', -- category for maps
'P8402', -- Open Data portal
'P1448', -- official name
'P569', -- date of birth
'P570', -- date of death
'P19', -- place of birth
'P20', -- place of death
'P27', -- country of citizenship
'P2747', -- Filmiroda rating
'P1552', -- has quality
'P7561', -- category for the interior of the item
'P1196', -- manner of death
'P6365', -- member category
'P465', -- sRGB color hex triplet
'P487', -- Unicode character
'P7084', -- related category
'P1814', -- name in kana
'P2001', -- Revised Romanization
'P8989', -- category for the view of the item
}
-- Merge two tables and return a new table
function mergeTables(first, second)
result = {}
for k,v in pairs(first) do
table.insert(result, v)
end
for k,v in pairs(second) do
table.insert(result, v)
end
return result
end
-- Turn index based tables into key based tables
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v:upper()] = true
end
return result
end
function getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
local birth_time = ''
if date_of_death then
birth_time = formatDate(lang, date_of_birth.time)
else
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
birth_time = string.format('{{Birth date and age|%s|%s|%s}}',
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
end
local birth = birth_time
if place_of_birth then
-- Try to get the Kurdish article name for the entity
local birth_location = mw.wikibase.getSitelink(place_of_birth.id, 'kswiki')
local link = true
if not birth_location then
-- If there was no Kurdish article for the entity, then get an article name from other wikis
birth_location = mw.wikibase.getLabel(place_of_birth.id)
link = false
end
if birth_location then
if link then birth_location = '[[' .. birth_location .. ']]' end
birth = birth .. '<br>' .. birth_location
local birth_country = getBestStatementById(place_of_birth.id, 'P17')
if birth_country then
local birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'kswiki')
local link = true
if not birth_country_label then
birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'enwiki')
link = false
end
if link then birth_country_label = '[[' .. birth_country_label .. ']]' end
birth = birth .. '، ' .. birth_country_label
end
end
end
return birth
end
function getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
local date_of_death_parts = mw.text.split(formatDate(lang, date_of_death.time, nil, 'Y-m-j'), '-')
local death_time = string.format('{{Death date and age|%s|%s|%s|%s|%s|%s}}',
date_of_death_parts[1], date_of_death_parts[2], date_of_death_parts[3],
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
local death = death_time
if place_of_death then
local death_location = mw.wikibase.getSitelink(place_of_death.id, 'kswiki')
local link = true
if not death_location then
death_location = mw.wikibase.getSitelink(place_of_death.id, 'enwiki')
link = false
end
if not death_location then
death_location = mw.wikibase.getLabel(place_of_death.id)
link = false
end
if death_location then
if link then death_location = '[[' .. death_location .. ']]' end
death = death .. '<br>' .. death_location
local death_country = getBestStatementById(place_of_death.id, 'P17')
if death_country then
local death_country_label = mw.wikibase.getSitelink(death_country.id, 'kswiki')
local link = true
if not death_country_label then
death_country_label = mw.wikibase.getSitelink(death_country.id, 'enwiki')
link = false
end
if link then death_country_label = '[[' .. death_country_label .. ']]' end
death = death .. '، ' .. death_country_label
end
end
end
return death
end
-- Convert Arabic numbers (0123456789) to Kurdish numbers (٠١٢٣٤٥٦٧٨٩)
function toKurdishNumbers(text)
return text:gsub('0', '٠')
:gsub('1', '١')
:gsub('2', '٢')
:gsub('3', '٣')
:gsub('4', '٤')
:gsub('5', '٥')
:gsub('6', '٦')
:gsub('7', '٧')
:gsub('8', '٨')
:gsub('9', '٩')
:gsub('square kilometre', 'کیلۆمەتر دووجا')
:gsub('kilometre', 'کیلۆمەتر')
end
function formatDate(lang, dateString, fallback, format)
if not format then format = 'jی xg Y' end
-- formatDate only supports positive (AD) dates
if dateString:sub(1, 1) == '-' then return fallback or dateString end
-- Work-around for a bug in Scribunto, more info: https://phabricator.wikimedia.org/T261072
dateString = dateString:gsub('%-00%-00T', '-01-01T')
return lang:formatDate(format, dateString, false)
end
function isEnglish(text)
return string.find(text, '[abcdefghijklmnopqrstuvwxyz]') ~= nil
end
-- Returns the best statements for the first property this item has
function getBestStatement(item, ...)
for i,v in ipairs(arg) do
local statements = item:getBestStatements(v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Returns the best statements for the first property this item has
function getBestStatementById(id, ...)
for i,v in ipairs(arg) do
local statements = mw.wikibase.getBestStatements( id, v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Gets the length of a table
-- https://stackoverflow.com/a/2705804/7003797
function len(t)
local count = 0
for _ in pairs(t) do count = count + 1 end
return count
end
-- checks if a string is empty
function isEmpty(s)
return s == nil or s == ''
end
local module_properties = { ['item'] = true, ['بەند'] = true, ['پێڕستی ڕەش'] = true, ['تەنیا کوردی'] = true }
-- Get all properties that are overriden by the template
function getOverridenProperties(args)
properties = {}
for key, value in pairs(args) do
if (not module_properties[key]) then -- If it was not a module property
properties[key:upper()] = value
end
end
return properties
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
local show_english_properties = true
if args.item or args['بەند'] then
itemId = args.item or args['بەند']
end
if args['تەنیا کوردی'] == true or args['تەنیا کوردی'] == 'بەڵێ' then
show_english_properties = false
end
local overriden_properties = getOverridenProperties(args)
local hidden_properties = {}
if args['پێڕستی ڕەش'] then
hidden_properties = mw.text.split(args['پێڕستی ڕەش'], "%s*[,،]%s*")
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
--Table
local dataTable = mw.html.create('table')
:addClass('infobox vcard')
:css({
['width'] = '22em'
})
-- Title
dataTable:tag('tr'):tag('th')
:addClass('fn')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
['background-color'] = '#007BA7',
['padding'] = '0.5em 0',
['margin'] = '0.5em 0',
['font-size'] = '125%',
['color'] = '#ffffff',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
-- Native name: P1559, Official name: P1448
local officialName = getBestStatement(item, 'P1448', 'P1559')
if officialName then
if officialName.language ~= 'ks' then -- Don't show official name if the official name was in Kurdish
local langName = mw.language.fetchLanguageName(officialName.language, 'ks')
dataTable:tag('tr'):tag('th')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '90%',
['font-weight'] = 'bold',
['max-width'] = '180px'
})
:wikitext('آبٲیی [[' .. langName ..']]: ' .. officialName.text)
end
end
--Image
local image = args['وێنە']
if (image == nil) then
local images = item:getBestStatements('P18')
if #images >= 1 then
image = images[1].mainsnak.datavalue.value
end
end
if image ~= nil then
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext('[[File:' .. image .. '|frameless|250px]]')
end
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(mergeTables(property_blacklist, hidden_properties))
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
-- Birth
local date_of_birth = getBestStatement(item, 'P569')
local date_of_death = getBestStatement(item, 'P570')
local instance_of = getBestStatement(item, 'P31')
local place_of_birth = getBestStatement(item, 'P19')
local place_of_death = getBestStatement(item, 'P20')
if instance_of and instance_of.id == 'Q5' and date_of_birth and date_of_birth.time:sub(1, 1) ~= '-' then -- human and birth date >= 0 AD
local birth = getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('پٲدٲیِش'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(birth))
if date_of_death then
local death = getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('وَفات'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(death))
end
end
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
local english_label = mw.wikibase.getLabelByLang(property, 'en'):upper()
local kurdish_label = mw.wikibase.getLabelByLang(property, 'ks')
-- These properties have datatype of quantity, but we want to show them!
if property == 'P1082' or -- population
property == 'P2046' or -- area
property == 'P2044' then -- elevation above sea level
datatype = 'number'
end
overriden_value = overriden_properties[english_label] or overriden_properties[kurdish_label]
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and
datatype ~= 'quantity' and datatype ~= 'wikibase-property' and
datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and
(not property_blacklist_hash[property] and not property_blacklist_hash[english_label] and not property_blacklist_hash[kurdish_label]) and
(show_english_properties or kurdish_label ~= nil or overriden_value) and
#item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property) -- label, value
local overriden = true
local value = overriden_value
if (value == nil) then
if datatype == 'time' then
local dateString = getBestStatement(item, property).time
if property == 'P1317' or property == 'P2031' then -- floruit and work period (start)
value = formatDate(lang, dateString, propertyValue.value, 'Y')
else
value = formatDate(lang, dateString, propertyValue.value)
end
else
value = propertyValue.value
end
overriden = false
elseif (value:find("^[Q]%d+") ~= nil) then -- Is a wikidata ID
value = '[[' .. mw.wikibase.getSitelink(value) .. ']]'
end
if (datatype == 'time' or datatype == 'number') then -- coordinate location
value = toKurdishNumbers(value)
end
row = dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em',
})
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(value))
end
end
--Map
local coordinates_statements = item:getBestStatements('P625')
if #coordinates_statements == 1 and coordinates_statements[1].mainsnak.datavalue and coordinates_statements[1].mainsnak.datavalue.value.globe == 'http://www.wikidata.org/entity/Q2' then
--We build the call to mapframe
local latitude = coordinates_statements[1].mainsnak.datavalue.value.latitude
local longitude = coordinates_statements[1].mainsnak.datavalue.value.longitude
local geojson = {
type = 'Feature',
geometry = {
type = 'Point',
coordinates = { longitude, latitude }
},
properties = {
title = item:getLabel() or mw.title.getCurrentTitle().text,
['marker-symbol'] = 'marker',
['marker-color'] = '#224422',
}
}
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(frame:extensionTag('mapframe', mw.text.jsonEncode(geojson), {
height = 250,
width = 250,
frameless = 'frameless',
align = 'center',
latitude = latitude,
longitude = longitude,
zoom = 6 -- 100 km
}))
end
local div_start = '<div style="border-style: solid; border-color:gray; border-width: 1px 0 0 0; margin-top: 2em; text-align: center;">'
local pen_icon = ' [[File:Wikidata-logo.svg|' .. edit_message .. '|22px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. ']]'
local edit_message_link = '[https://www.wikidata.org/wiki/' .. item.id .. ' وِکی ڈیٹا پؠٹھ کٔرِو اؠڈِٹ]'
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(div_start .. edit_message_link .. pen_icon .. '</div>')
return tostring(dataTable)
end
return p
2oyx0jy9xo6vlyttft7c0lmswvd17n4
62258
62257
2022-08-09T14:39:37Z
511KeV
8268
Rem ye in date
Scribunto
text/plain
-- Please DO NOT edit this page unless you know what you are doing.
-- Maintainer: User:511KeV
-- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual
-- https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P735', -- Given name
'P734', -- Family name
'P1559', -- Native name
'P21', -- Sex or gender
'P373', -- Commons category
'P910', -- topic's main category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P2184', -- history of topic
'P1438', -- Jewish Encyclopedia ID
'P206', -- located in or next to body of water
'P7867', -- category for maps
'P8402', -- Open Data portal
'P1448', -- official name
'P569', -- date of birth
'P570', -- date of death
'P19', -- place of birth
'P20', -- place of death
'P27', -- country of citizenship
'P2747', -- Filmiroda rating
'P1552', -- has quality
'P7561', -- category for the interior of the item
'P1196', -- manner of death
'P6365', -- member category
'P465', -- sRGB color hex triplet
'P487', -- Unicode character
'P7084', -- related category
'P1814', -- name in kana
'P2001', -- Revised Romanization
'P8989', -- category for the view of the item
}
-- Merge two tables and return a new table
function mergeTables(first, second)
result = {}
for k,v in pairs(first) do
table.insert(result, v)
end
for k,v in pairs(second) do
table.insert(result, v)
end
return result
end
-- Turn index based tables into key based tables
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v:upper()] = true
end
return result
end
function getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
local birth_time = ''
if date_of_death then
birth_time = formatDate(lang, date_of_birth.time)
else
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
birth_time = string.format('{{Birth date and age|%s|%s|%s}}',
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
end
local birth = birth_time
if place_of_birth then
-- Try to get the Kurdish article name for the entity
local birth_location = mw.wikibase.getSitelink(place_of_birth.id, 'kswiki')
local link = true
if not birth_location then
-- If there was no Kurdish article for the entity, then get an article name from other wikis
birth_location = mw.wikibase.getLabel(place_of_birth.id)
link = false
end
if birth_location then
if link then birth_location = '[[' .. birth_location .. ']]' end
birth = birth .. '<br>' .. birth_location
local birth_country = getBestStatementById(place_of_birth.id, 'P17')
if birth_country then
local birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'kswiki')
local link = true
if not birth_country_label then
birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'enwiki')
link = false
end
if link then birth_country_label = '[[' .. birth_country_label .. ']]' end
birth = birth .. '، ' .. birth_country_label
end
end
end
return birth
end
function getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
local date_of_death_parts = mw.text.split(formatDate(lang, date_of_death.time, nil, 'Y-m-j'), '-')
local death_time = string.format('{{Death date and age|%s|%s|%s|%s|%s|%s}}',
date_of_death_parts[1], date_of_death_parts[2], date_of_death_parts[3],
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
local death = death_time
if place_of_death then
local death_location = mw.wikibase.getSitelink(place_of_death.id, 'kswiki')
local link = true
if not death_location then
death_location = mw.wikibase.getSitelink(place_of_death.id, 'enwiki')
link = false
end
if not death_location then
death_location = mw.wikibase.getLabel(place_of_death.id)
link = false
end
if death_location then
if link then death_location = '[[' .. death_location .. ']]' end
death = death .. '<br>' .. death_location
local death_country = getBestStatementById(place_of_death.id, 'P17')
if death_country then
local death_country_label = mw.wikibase.getSitelink(death_country.id, 'kswiki')
local link = true
if not death_country_label then
death_country_label = mw.wikibase.getSitelink(death_country.id, 'enwiki')
link = false
end
if link then death_country_label = '[[' .. death_country_label .. ']]' end
death = death .. '، ' .. death_country_label
end
end
end
return death
end
-- Convert Arabic numbers (0123456789) to Kurdish numbers (٠١٢٣٤٥٦٧٨٩)
function toKurdishNumbers(text)
return text:gsub('0', '٠')
:gsub('1', '١')
:gsub('2', '٢')
:gsub('3', '٣')
:gsub('4', '٤')
:gsub('5', '٥')
:gsub('6', '٦')
:gsub('7', '٧')
:gsub('8', '٨')
:gsub('9', '٩')
:gsub('square kilometre', 'کیلۆمەتر دووجا')
:gsub('kilometre', 'کیلۆمەتر')
end
function formatDate(lang, dateString, fallback, format)
if not format then format = 'j xg Y' end
-- formatDate only supports positive (AD) dates
if dateString:sub(1, 1) == '-' then return fallback or dateString end
-- Work-around for a bug in Scribunto, more info: https://phabricator.wikimedia.org/T261072
dateString = dateString:gsub('%-00%-00T', '-01-01T')
return lang:formatDate(format, dateString, false)
end
function isEnglish(text)
return string.find(text, '[abcdefghijklmnopqrstuvwxyz]') ~= nil
end
-- Returns the best statements for the first property this item has
function getBestStatement(item, ...)
for i,v in ipairs(arg) do
local statements = item:getBestStatements(v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Returns the best statements for the first property this item has
function getBestStatementById(id, ...)
for i,v in ipairs(arg) do
local statements = mw.wikibase.getBestStatements( id, v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Gets the length of a table
-- https://stackoverflow.com/a/2705804/7003797
function len(t)
local count = 0
for _ in pairs(t) do count = count + 1 end
return count
end
-- checks if a string is empty
function isEmpty(s)
return s == nil or s == ''
end
local module_properties = { ['item'] = true, ['بەند'] = true, ['پێڕستی ڕەش'] = true, ['تەنیا کوردی'] = true }
-- Get all properties that are overriden by the template
function getOverridenProperties(args)
properties = {}
for key, value in pairs(args) do
if (not module_properties[key]) then -- If it was not a module property
properties[key:upper()] = value
end
end
return properties
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
local show_english_properties = true
if args.item or args['بەند'] then
itemId = args.item or args['بەند']
end
if args['تەنیا کوردی'] == true or args['تەنیا کوردی'] == 'بەڵێ' then
show_english_properties = false
end
local overriden_properties = getOverridenProperties(args)
local hidden_properties = {}
if args['پێڕستی ڕەش'] then
hidden_properties = mw.text.split(args['پێڕستی ڕەش'], "%s*[,،]%s*")
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
--Table
local dataTable = mw.html.create('table')
:addClass('infobox vcard')
:css({
['width'] = '22em'
})
-- Title
dataTable:tag('tr'):tag('th')
:addClass('fn')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
['background-color'] = '#007BA7',
['padding'] = '0.5em 0',
['margin'] = '0.5em 0',
['font-size'] = '125%',
['color'] = '#ffffff',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
-- Native name: P1559, Official name: P1448
local officialName = getBestStatement(item, 'P1448', 'P1559')
if officialName then
if officialName.language ~= 'ks' then -- Don't show official name if the official name was in Kurdish
local langName = mw.language.fetchLanguageName(officialName.language, 'ks')
dataTable:tag('tr'):tag('th')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '90%',
['font-weight'] = 'bold',
['max-width'] = '180px'
})
:wikitext('آبٲیی [[' .. langName ..']]: ' .. officialName.text)
end
end
--Image
local image = args['وێنە']
if (image == nil) then
local images = item:getBestStatements('P18')
if #images >= 1 then
image = images[1].mainsnak.datavalue.value
end
end
if image ~= nil then
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext('[[File:' .. image .. '|frameless|250px]]')
end
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(mergeTables(property_blacklist, hidden_properties))
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
-- Birth
local date_of_birth = getBestStatement(item, 'P569')
local date_of_death = getBestStatement(item, 'P570')
local instance_of = getBestStatement(item, 'P31')
local place_of_birth = getBestStatement(item, 'P19')
local place_of_death = getBestStatement(item, 'P20')
if instance_of and instance_of.id == 'Q5' and date_of_birth and date_of_birth.time:sub(1, 1) ~= '-' then -- human and birth date >= 0 AD
local birth = getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('پٲدٲیِش'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(birth))
if date_of_death then
local death = getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('وَفات'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(death))
end
end
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
local english_label = mw.wikibase.getLabelByLang(property, 'en'):upper()
local kurdish_label = mw.wikibase.getLabelByLang(property, 'ks')
-- These properties have datatype of quantity, but we want to show them!
if property == 'P1082' or -- population
property == 'P2046' or -- area
property == 'P2044' then -- elevation above sea level
datatype = 'number'
end
overriden_value = overriden_properties[english_label] or overriden_properties[kurdish_label]
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and
datatype ~= 'quantity' and datatype ~= 'wikibase-property' and
datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and
(not property_blacklist_hash[property] and not property_blacklist_hash[english_label] and not property_blacklist_hash[kurdish_label]) and
(show_english_properties or kurdish_label ~= nil or overriden_value) and
#item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property) -- label, value
local overriden = true
local value = overriden_value
if (value == nil) then
if datatype == 'time' then
local dateString = getBestStatement(item, property).time
if property == 'P1317' or property == 'P2031' then -- floruit and work period (start)
value = formatDate(lang, dateString, propertyValue.value, 'Y')
else
value = formatDate(lang, dateString, propertyValue.value)
end
else
value = propertyValue.value
end
overriden = false
elseif (value:find("^[Q]%d+") ~= nil) then -- Is a wikidata ID
value = '[[' .. mw.wikibase.getSitelink(value) .. ']]'
end
if (datatype == 'time' or datatype == 'number') then -- coordinate location
value = toKurdishNumbers(value)
end
row = dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em',
})
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(value))
end
end
--Map
local coordinates_statements = item:getBestStatements('P625')
if #coordinates_statements == 1 and coordinates_statements[1].mainsnak.datavalue and coordinates_statements[1].mainsnak.datavalue.value.globe == 'http://www.wikidata.org/entity/Q2' then
--We build the call to mapframe
local latitude = coordinates_statements[1].mainsnak.datavalue.value.latitude
local longitude = coordinates_statements[1].mainsnak.datavalue.value.longitude
local geojson = {
type = 'Feature',
geometry = {
type = 'Point',
coordinates = { longitude, latitude }
},
properties = {
title = item:getLabel() or mw.title.getCurrentTitle().text,
['marker-symbol'] = 'marker',
['marker-color'] = '#224422',
}
}
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(frame:extensionTag('mapframe', mw.text.jsonEncode(geojson), {
height = 250,
width = 250,
frameless = 'frameless',
align = 'center',
latitude = latitude,
longitude = longitude,
zoom = 6 -- 100 km
}))
end
local div_start = '<div style="border-style: solid; border-color:gray; border-width: 1px 0 0 0; margin-top: 2em; text-align: center;">'
local pen_icon = ' [[File:Wikidata-logo.svg|' .. edit_message .. '|22px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. ']]'
local edit_message_link = '[https://www.wikidata.org/wiki/' .. item.id .. ' وِکی ڈیٹا پؠٹھ کٔرِو اؠڈِٹ]'
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(div_start .. edit_message_link .. pen_icon .. '</div>')
return tostring(dataTable)
end
return p
mu29n2jq8nhd8r46bi20z9npjoq1ade
62261
62258
2022-08-09T14:51:20Z
511KeV
8268
Arabic numerals
Scribunto
text/plain
-- Please DO NOT edit this page unless you know what you are doing.
-- Maintainer: User:511KeV
-- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual
-- https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P735', -- Given name
'P734', -- Family name
'P1559', -- Native name
'P21', -- Sex or gender
'P373', -- Commons category
'P910', -- topic's main category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P2184', -- history of topic
'P1438', -- Jewish Encyclopedia ID
'P206', -- located in or next to body of water
'P7867', -- category for maps
'P8402', -- Open Data portal
'P1448', -- official name
'P569', -- date of birth
'P570', -- date of death
'P19', -- place of birth
'P20', -- place of death
'P27', -- country of citizenship
'P2747', -- Filmiroda rating
'P1552', -- has quality
'P7561', -- category for the interior of the item
'P1196', -- manner of death
'P6365', -- member category
'P465', -- sRGB color hex triplet
'P487', -- Unicode character
'P7084', -- related category
'P1814', -- name in kana
'P2001', -- Revised Romanization
'P8989', -- category for the view of the item
}
-- Merge two tables and return a new table
function mergeTables(first, second)
result = {}
for k,v in pairs(first) do
table.insert(result, v)
end
for k,v in pairs(second) do
table.insert(result, v)
end
return result
end
-- Turn index based tables into key based tables
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v:upper()] = true
end
return result
end
function getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
local birth_time = ''
if date_of_death then
birth_time = formatDate(lang, date_of_birth.time)
else
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
birth_time = string.format('{{Birth date and age|%s|%s|%s}}',
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
end
local birth = birth_time
if place_of_birth then
-- Try to get the Kurdish article name for the entity
local birth_location = mw.wikibase.getSitelink(place_of_birth.id, 'kswiki')
local link = true
if not birth_location then
-- If there was no Kurdish article for the entity, then get an article name from other wikis
birth_location = mw.wikibase.getLabel(place_of_birth.id)
link = false
end
if birth_location then
if link then birth_location = '[[' .. birth_location .. ']]' end
birth = birth .. '<br>' .. birth_location
local birth_country = getBestStatementById(place_of_birth.id, 'P17')
if birth_country then
local birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'kswiki')
local link = true
if not birth_country_label then
birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'enwiki')
link = false
end
if link then birth_country_label = '[[' .. birth_country_label .. ']]' end
birth = birth .. '، ' .. birth_country_label
end
end
end
return birth
end
function getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
local date_of_death_parts = mw.text.split(formatDate(lang, date_of_death.time, nil, 'Y-m-j'), '-')
local death_time = string.format('{{Death date and age|%s|%s|%s|%s|%s|%s}}',
date_of_death_parts[1], date_of_death_parts[2], date_of_death_parts[3],
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
local death = death_time
if place_of_death then
local death_location = mw.wikibase.getSitelink(place_of_death.id, 'kswiki')
local link = true
if not death_location then
death_location = mw.wikibase.getSitelink(place_of_death.id, 'enwiki')
link = false
end
if not death_location then
death_location = mw.wikibase.getLabel(place_of_death.id)
link = false
end
if death_location then
if link then death_location = '[[' .. death_location .. ']]' end
death = death .. '<br>' .. death_location
local death_country = getBestStatementById(place_of_death.id, 'P17')
if death_country then
local death_country_label = mw.wikibase.getSitelink(death_country.id, 'kswiki')
local link = true
if not death_country_label then
death_country_label = mw.wikibase.getSitelink(death_country.id, 'enwiki')
link = false
end
if link then death_country_label = '[[' .. death_country_label .. ']]' end
death = death .. '، ' .. death_country_label
end
end
end
return death
end
-- Convert Arabic numbers (0123456789) to Kurdish numbers (٠١٢٣٤٥٦٧٨٩)
function toKashmirinumbers(text)
return text:gsub('0', '0')
:gsub('1', '1')
:gsub('2', '2')
:gsub('3', '3')
:gsub('4', '4')
:gsub('5', '5')
:gsub('6', '6')
:gsub('7', '7')
:gsub('8', '8')
:gsub('9', '9')
:gsub('square kilometre', 'کِلومیٖٹَر چَکور')
:gsub('kilometre', 'کِلومیٖٹَر')
end
function formatDate(lang, dateString, fallback, format)
if not format then format = 'j xg Y' end
-- formatDate only supports positive (AD) dates
if dateString:sub(1, 1) == '-' then return fallback or dateString end
-- Work-around for a bug in Scribunto, more info: https://phabricator.wikimedia.org/T261072
dateString = dateString:gsub('%-00%-00T', '-01-01T')
return lang:formatDate(format, dateString, false)
end
function isEnglish(text)
return string.find(text, '[abcdefghijklmnopqrstuvwxyz]') ~= nil
end
-- Returns the best statements for the first property this item has
function getBestStatement(item, ...)
for i,v in ipairs(arg) do
local statements = item:getBestStatements(v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Returns the best statements for the first property this item has
function getBestStatementById(id, ...)
for i,v in ipairs(arg) do
local statements = mw.wikibase.getBestStatements( id, v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Gets the length of a table
-- https://stackoverflow.com/a/2705804/7003797
function len(t)
local count = 0
for _ in pairs(t) do count = count + 1 end
return count
end
-- checks if a string is empty
function isEmpty(s)
return s == nil or s == ''
end
local module_properties = { ['item'] = true, ['بەند'] = true, ['پێڕستی ڕەش'] = true, ['تەنیا کوردی'] = true }
-- Get all properties that are overriden by the template
function getOverridenProperties(args)
properties = {}
for key, value in pairs(args) do
if (not module_properties[key]) then -- If it was not a module property
properties[key:upper()] = value
end
end
return properties
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
local show_english_properties = true
if args.item or args['بەند'] then
itemId = args.item or args['بەند']
end
if args['تەنیا کوردی'] == true or args['تەنیا کوردی'] == 'بەڵێ' then
show_english_properties = false
end
local overriden_properties = getOverridenProperties(args)
local hidden_properties = {}
if args['پێڕستی ڕەش'] then
hidden_properties = mw.text.split(args['پێڕستی ڕەش'], "%s*[,،]%s*")
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
--Table
local dataTable = mw.html.create('table')
:addClass('infobox vcard')
:css({
['width'] = '22em'
})
-- Title
dataTable:tag('tr'):tag('th')
:addClass('fn')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
['background-color'] = '#007BA7',
['padding'] = '0.5em 0',
['margin'] = '0.5em 0',
['font-size'] = '125%',
['color'] = '#ffffff',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
-- Native name: P1559, Official name: P1448
local officialName = getBestStatement(item, 'P1448', 'P1559')
if officialName then
if officialName.language ~= 'ks' then -- Don't show official name if the official name was in Kurdish
local langName = mw.language.fetchLanguageName(officialName.language, 'ks')
dataTable:tag('tr'):tag('th')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '90%',
['font-weight'] = 'bold',
['max-width'] = '180px'
})
:wikitext('آبٲیی [[' .. langName ..']]: ' .. officialName.text)
end
end
--Image
local image = args['وێنە']
if (image == nil) then
local images = item:getBestStatements('P18')
if #images >= 1 then
image = images[1].mainsnak.datavalue.value
end
end
if image ~= nil then
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext('[[File:' .. image .. '|frameless|250px]]')
end
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(mergeTables(property_blacklist, hidden_properties))
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
-- Birth
local date_of_birth = getBestStatement(item, 'P569')
local date_of_death = getBestStatement(item, 'P570')
local instance_of = getBestStatement(item, 'P31')
local place_of_birth = getBestStatement(item, 'P19')
local place_of_death = getBestStatement(item, 'P20')
if instance_of and instance_of.id == 'Q5' and date_of_birth and date_of_birth.time:sub(1, 1) ~= '-' then -- human and birth date >= 0 AD
local birth = getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('پٲدٲیِش'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(birth))
if date_of_death then
local death = getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('وَفات'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(death))
end
end
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
local english_label = mw.wikibase.getLabelByLang(property, 'en'):upper()
local kurdish_label = mw.wikibase.getLabelByLang(property, 'ks')
-- These properties have datatype of quantity, but we want to show them!
if property == 'P1082' or -- population
property == 'P2046' or -- area
property == 'P2044' then -- elevation above sea level
datatype = 'number'
end
overriden_value = overriden_properties[english_label] or overriden_properties[kurdish_label]
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and
datatype ~= 'quantity' and datatype ~= 'wikibase-property' and
datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and
(not property_blacklist_hash[property] and not property_blacklist_hash[english_label] and not property_blacklist_hash[kurdish_label]) and
(show_english_properties or kurdish_label ~= nil or overriden_value) and
#item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property) -- label, value
local overriden = true
local value = overriden_value
if (value == nil) then
if datatype == 'time' then
local dateString = getBestStatement(item, property).time
if property == 'P1317' or property == 'P2031' then -- floruit and work period (start)
value = formatDate(lang, dateString, propertyValue.value, 'Y')
else
value = formatDate(lang, dateString, propertyValue.value)
end
else
value = propertyValue.value
end
overriden = false
elseif (value:find("^[Q]%d+") ~= nil) then -- Is a wikidata ID
value = '[[' .. mw.wikibase.getSitelink(value) .. ']]'
end
if (datatype == 'time' or datatype == 'number') then -- coordinate location
value = toKurdishNumbers(value)
end
row = dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em',
})
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(value))
end
end
--Map
local coordinates_statements = item:getBestStatements('P625')
if #coordinates_statements == 1 and coordinates_statements[1].mainsnak.datavalue and coordinates_statements[1].mainsnak.datavalue.value.globe == 'http://www.wikidata.org/entity/Q2' then
--We build the call to mapframe
local latitude = coordinates_statements[1].mainsnak.datavalue.value.latitude
local longitude = coordinates_statements[1].mainsnak.datavalue.value.longitude
local geojson = {
type = 'Feature',
geometry = {
type = 'Point',
coordinates = { longitude, latitude }
},
properties = {
title = item:getLabel() or mw.title.getCurrentTitle().text,
['marker-symbol'] = 'marker',
['marker-color'] = '#224422',
}
}
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(frame:extensionTag('mapframe', mw.text.jsonEncode(geojson), {
height = 250,
width = 250,
frameless = 'frameless',
align = 'center',
latitude = latitude,
longitude = longitude,
zoom = 6 -- 100 km
}))
end
local div_start = '<div style="border-style: solid; border-color:gray; border-width: 1px 0 0 0; margin-top: 2em; text-align: center;">'
local pen_icon = ' [[File:Wikidata-logo.svg|' .. edit_message .. '|22px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. ']]'
local edit_message_link = '[https://www.wikidata.org/wiki/' .. item.id .. ' وِکی ڈیٹا پؠٹھ کٔرِو اؠڈِٹ]'
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(div_start .. edit_message_link .. pen_icon .. '</div>')
return tostring(dataTable)
end
return p
6wj9rqcujkgr51jq9n9vlmm9ujygset
62262
62261
2022-08-09T14:52:47Z
511KeV
8268
Ad
Scribunto
text/plain
-- Please DO NOT edit this page unless you know what you are doing.
-- Maintainer: User:511KeV
-- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual
-- https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P735', -- Given name
'P734', -- Family name
'P1559', -- Native name
'P21', -- Sex or gender
'P373', -- Commons category
'P910', -- topic's main category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P2184', -- history of topic
'P1438', -- Jewish Encyclopedia ID
'P206', -- located in or next to body of water
'P7867', -- category for maps
'P8402', -- Open Data portal
'P1448', -- official name
'P569', -- date of birth
'P570', -- date of death
'P19', -- place of birth
'P20', -- place of death
'P27', -- country of citizenship
'P2747', -- Filmiroda rating
'P1552', -- has quality
'P7561', -- category for the interior of the item
'P1196', -- manner of death
'P6365', -- member category
'P465', -- sRGB color hex triplet
'P487', -- Unicode character
'P7084', -- related category
'P1814', -- name in kana
'P2001', -- Revised Romanization
'P8989', -- category for the view of the item
}
-- Merge two tables and return a new table
function mergeTables(first, second)
result = {}
for k,v in pairs(first) do
table.insert(result, v)
end
for k,v in pairs(second) do
table.insert(result, v)
end
return result
end
-- Turn index based tables into key based tables
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v:upper()] = true
end
return result
end
function getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
local birth_time = ''
if date_of_death then
birth_time = formatDate(lang, date_of_birth.time)
else
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
birth_time = string.format('{{Birth date and age|%s|%s|%s}}',
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
end
local birth = birth_time
if place_of_birth then
-- Try to get the Kurdish article name for the entity
local birth_location = mw.wikibase.getSitelink(place_of_birth.id, 'kswiki')
local link = true
if not birth_location then
-- If there was no Kurdish article for the entity, then get an article name from other wikis
birth_location = mw.wikibase.getLabel(place_of_birth.id)
link = false
end
if birth_location then
if link then birth_location = '[[' .. birth_location .. ']]' end
birth = birth .. '<br>' .. birth_location
local birth_country = getBestStatementById(place_of_birth.id, 'P17')
if birth_country then
local birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'kswiki')
local link = true
if not birth_country_label then
birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'enwiki')
link = false
end
if link then birth_country_label = '[[' .. birth_country_label .. ']]' end
birth = birth .. '، ' .. birth_country_label
end
end
end
return birth
end
function getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
local date_of_death_parts = mw.text.split(formatDate(lang, date_of_death.time, nil, 'Y-m-j'), '-')
local death_time = string.format('{{Death date and age|%s|%s|%s|%s|%s|%s}}',
date_of_death_parts[1], date_of_death_parts[2], date_of_death_parts[3],
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
local death = death_time
if place_of_death then
local death_location = mw.wikibase.getSitelink(place_of_death.id, 'kswiki')
local link = true
if not death_location then
death_location = mw.wikibase.getSitelink(place_of_death.id, 'enwiki')
link = false
end
if not death_location then
death_location = mw.wikibase.getLabel(place_of_death.id)
link = false
end
if death_location then
if link then death_location = '[[' .. death_location .. ']]' end
death = death .. '<br>' .. death_location
local death_country = getBestStatementById(place_of_death.id, 'P17')
if death_country then
local death_country_label = mw.wikibase.getSitelink(death_country.id, 'kswiki')
local link = true
if not death_country_label then
death_country_label = mw.wikibase.getSitelink(death_country.id, 'enwiki')
link = false
end
if link then death_country_label = '[[' .. death_country_label .. ']]' end
death = death .. '، ' .. death_country_label
end
end
end
return death
end
-- Convert Arabic numbers (0123456789) to Kurdish numbers (٠١٢٣٤٥٦٧٨٩)
function toKashmirinumbers(text)
return text:gsub('0', '0')
:gsub('1', '1')
:gsub('2', '2')
:gsub('3', '3')
:gsub('4', '4')
:gsub('5', '5')
:gsub('6', '6')
:gsub('7', '7')
:gsub('8', '8')
:gsub('9', '9')
:gsub('square kilometre', 'کِلومیٖٹَر چَکور')
:gsub('kilometre', 'کِلومیٖٹَر')
end
function formatDate(lang, dateString, fallback, format)
if not format then format = 'j xg Y' end
-- formatDate only supports positive (AD) dates
if dateString:sub(1, 1) == '-' then return fallback or dateString end
-- Work-around for a bug in Scribunto, more info: https://phabricator.wikimedia.org/T261072
dateString = dateString:gsub('%-00%-00T', '-01-01T')
return lang:formatDate(format, dateString, false)
end
function isEnglish(text)
return string.find(text, '[abcdefghijklmnopqrstuvwxyz]') ~= nil
end
-- Returns the best statements for the first property this item has
function getBestStatement(item, ...)
for i,v in ipairs(arg) do
local statements = item:getBestStatements(v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Returns the best statements for the first property this item has
function getBestStatementById(id, ...)
for i,v in ipairs(arg) do
local statements = mw.wikibase.getBestStatements( id, v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Gets the length of a table
-- https://stackoverflow.com/a/2705804/7003797
function len(t)
local count = 0
for _ in pairs(t) do count = count + 1 end
return count
end
-- checks if a string is empty
function isEmpty(s)
return s == nil or s == ''
end
local module_properties = { ['item'] = true, ['بەند'] = true, ['پێڕستی ڕەش'] = true, ['تەنیا کوردی'] = true }
-- Get all properties that are overriden by the template
function getOverridenProperties(args)
properties = {}
for key, value in pairs(args) do
if (not module_properties[key]) then -- If it was not a module property
properties[key:upper()] = value
end
end
return properties
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
local show_english_properties = true
if args.item or args['بەند'] then
itemId = args.item or args['بەند']
end
if args['تەنیا کوردی'] == true or args['تەنیا کوردی'] == 'بەڵێ' then
show_english_properties = false
end
local overriden_properties = getOverridenProperties(args)
local hidden_properties = {}
if args['پێڕستی ڕەش'] then
hidden_properties = mw.text.split(args['پێڕستی ڕەش'], "%s*[,،]%s*")
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
--Table
local dataTable = mw.html.create('table')
:addClass('infobox vcard')
:css({
['width'] = '22em'
})
-- Title
dataTable:tag('tr'):tag('th')
:addClass('fn')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
['background-color'] = '#007BA7',
['padding'] = '0.5em 0',
['margin'] = '0.5em 0',
['font-size'] = '125%',
['color'] = '#ffffff',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
-- Native name: P1559, Official name: P1448
local officialName = getBestStatement(item, 'P1448', 'P1559')
if officialName then
if officialName.language ~= 'ks' then -- Don't show official name if the official name was in Kurdish
local langName = mw.language.fetchLanguageName(officialName.language, 'ks')
dataTable:tag('tr'):tag('th')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '90%',
['font-weight'] = 'bold',
['max-width'] = '180px'
})
:wikitext('آبٲیی [[' .. langName ..']]: ' .. officialName.text)
end
end
--Image
local image = args['وێنە']
if (image == nil) then
local images = item:getBestStatements('P18')
if #images >= 1 then
image = images[1].mainsnak.datavalue.value
end
end
if image ~= nil then
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext('[[File:' .. image .. '|frameless|250px]]')
end
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(mergeTables(property_blacklist, hidden_properties))
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
-- Birth
local date_of_birth = getBestStatement(item, 'P569')
local date_of_death = getBestStatement(item, 'P570')
local instance_of = getBestStatement(item, 'P31')
local place_of_birth = getBestStatement(item, 'P19')
local place_of_death = getBestStatement(item, 'P20')
if instance_of and instance_of.id == 'Q5' and date_of_birth and date_of_birth.time:sub(1, 1) ~= '-' then -- human and birth date >= 0 AD
local birth = getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('پٲدٲیِش'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(birth))
if date_of_death then
local death = getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('وَفات'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(death))
end
end
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
local english_label = mw.wikibase.getLabelByLang(property, 'en'):upper()
local kurdish_label = mw.wikibase.getLabelByLang(property, 'ks')
-- These properties have datatype of quantity, but we want to show them!
if property == 'P1082' or -- population
property == 'P2046' or -- area
property == 'P2044' then -- elevation above sea level
datatype = 'number'
end
overriden_value = overriden_properties[english_label] or overriden_properties[kurdish_label]
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and
datatype ~= 'quantity' and datatype ~= 'wikibase-property' and
datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and
(not property_blacklist_hash[property] and not property_blacklist_hash[english_label] and not property_blacklist_hash[kurdish_label]) and
(show_english_properties or kurdish_label ~= nil or overriden_value) and
#item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property) -- label, value
local overriden = true
local value = overriden_value
if (value == nil) then
if datatype == 'time' then
local dateString = getBestStatement(item, property).time
if property == 'P1317' or property == 'P2031' then -- floruit and work period (start)
value = formatDate(lang, dateString, propertyValue.value, 'Y')
else
value = formatDate(lang, dateString, propertyValue.value)
end
else
value = propertyValue.value
end
overriden = false
elseif (value:find("^[Q]%d+") ~= nil) then -- Is a wikidata ID
value = '[[' .. mw.wikibase.getSitelink(value) .. ']]'
end
if (datatype == 'time' or datatype == 'number') then -- coordinate location
value = toKashmirinumbers(value)
end
row = dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em',
})
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(value))
end
end
--Map
local coordinates_statements = item:getBestStatements('P625')
if #coordinates_statements == 1 and coordinates_statements[1].mainsnak.datavalue and coordinates_statements[1].mainsnak.datavalue.value.globe == 'http://www.wikidata.org/entity/Q2' then
--We build the call to mapframe
local latitude = coordinates_statements[1].mainsnak.datavalue.value.latitude
local longitude = coordinates_statements[1].mainsnak.datavalue.value.longitude
local geojson = {
type = 'Feature',
geometry = {
type = 'Point',
coordinates = { longitude, latitude }
},
properties = {
title = item:getLabel() or mw.title.getCurrentTitle().text,
['marker-symbol'] = 'marker',
['marker-color'] = '#224422',
}
}
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(frame:extensionTag('mapframe', mw.text.jsonEncode(geojson), {
height = 250,
width = 250,
frameless = 'frameless',
align = 'center',
latitude = latitude,
longitude = longitude,
zoom = 6 -- 100 km
}))
end
local div_start = '<div style="border-style: solid; border-color:gray; border-width: 1px 0 0 0; margin-top: 2em; text-align: center;">'
local pen_icon = ' [[File:Wikidata-logo.svg|' .. edit_message .. '|22px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. ']]'
local edit_message_link = '[https://www.wikidata.org/wiki/' .. item.id .. ' وِکی ڈیٹا پؠٹھ کٔرِو اؠڈِٹ]'
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(div_start .. edit_message_link .. pen_icon .. '</div>')
return tostring(dataTable)
end
return p
jgeutb6r79u6mwiv66do95ezu0xnrwy
62263
62262
2022-08-09T14:58:03Z
511KeV
8268
تر
Scribunto
text/plain
-- Please DO NOT edit this page unless you know what you are doing.
-- Maintainer: User:511KeV
-- https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual
-- https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua
local property_blacklist = {
'P360', --is a list of
'P4224', --category contains
'P935', -- Commons gallery
'P1472', -- Commons Creator page
'P1612', -- Commons Institution page
'P373', -- Commons category
'P3722', -- Commons maps category
'P1151', -- topic's main Wikimedia portal
'P1424', -- topic's main template
'P910', -- topic's main category
'P1200', -- bodies of water basin category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P1465', -- category for people who died here
'P1791', -- category of people buried here
'P1740', -- category for films shot at this location
'P2033', -- Category for pictures taken with camera
'P2517', -- category for recipients of this award
'P4195', -- category for employees of the organization
'P1754', -- category related to list
'P301', -- category's main topic
'P971', -- category combines topics
'P3876', -- category for alumni of educational institution
'P1753', -- list related to category
'P3921', -- Wikidata SPARQL query equivalent
'P1204', -- Wikimedia portal's main topic
'P1423', -- template's main topic
'P1709', -- equivalent class
'P3950', -- narrower external class
'P2888', -- exact match
'P1382', -- coincident with
'P527', -- has part
'P2670', -- has parts of the class
'P3113', -- does not have part
'P2737', -- union of
'P2738', -- disjoint union of
'P2445', -- metasubclass of
'P1963', -- properties for this type
'P3176', -- uses property
'P1889', -- different from
'P460', -- said to be the same as
'P2959', -- permanent duplicated item
'P2860', -- cites
'P5125', -- wikimedia outline
'P5008', -- on focus list of Wikimedia project
'P2559', -- Wikidata usage instructions
'P1343', -- described by source
'P972', -- catalogu
'P1282', -- OSM tag or key
'P4839', -- Wolfram Language entity code
'P6104', -- Maintained by Wikiproject
'P5996', -- Category for films in this language
'P735', -- Given name
'P734', -- Family name
'P1559', -- Native name
'P21', -- Sex or gender
'P373', -- Commons category
'P910', -- topic's main category
'P1792', -- category of associated people
'P1464', -- category for people born here
'P2184', -- history of topic
'P1438', -- Jewish Encyclopedia ID
'P206', -- located in or next to body of water
'P7867', -- category for maps
'P8402', -- Open Data portal
'P1448', -- official name
'P569', -- date of birth
'P570', -- date of death
'P19', -- place of birth
'P20', -- place of death
'P27', -- country of citizenship
'P2747', -- Filmiroda rating
'P1552', -- has quality
'P7561', -- category for the interior of the item
'P1196', -- manner of death
'P6365', -- member category
'P465', -- sRGB color hex triplet
'P487', -- Unicode character
'P7084', -- related category
'P1814', -- name in kana
'P2001', -- Revised Romanization
'P8989', -- category for the view of the item
}
-- Merge two tables and return a new table
function mergeTables(first, second)
result = {}
for k,v in pairs(first) do
table.insert(result, v)
end
for k,v in pairs(second) do
table.insert(result, v)
end
return result
end
-- Turn index based tables into key based tables
function valuesToKeys(array)
local result = {}
for _, v in pairs(array) do
result[v:upper()] = true
end
return result
end
function getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
local birth_time = ''
if date_of_death then
birth_time = formatDate(lang, date_of_birth.time)
else
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
birth_time = string.format('{{Birth date and age|%s|%s|%s}}',
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
end
local birth = birth_time
if place_of_birth then
-- Try to get the Kurdish article name for the entity
local birth_location = mw.wikibase.getSitelink(place_of_birth.id, 'kswiki')
local link = true
if not birth_location then
-- If there was no Kurdish article for the entity, then get an article name from other wikis
birth_location = mw.wikibase.getLabel(place_of_birth.id)
link = false
end
if birth_location then
if link then birth_location = '[[' .. birth_location .. ']]' end
birth = birth .. '<br>' .. birth_location
local birth_country = getBestStatementById(place_of_birth.id, 'P17')
if birth_country then
local birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'kswiki')
local link = true
if not birth_country_label then
birth_country_label = mw.wikibase.getSitelink(birth_country.id, 'enwiki')
link = false
end
if link then birth_country_label = '[[' .. birth_country_label .. ']]' end
birth = birth .. '، ' .. birth_country_label
end
end
end
return birth
end
function getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
local date_of_birth_parts = mw.text.split(formatDate(lang, date_of_birth.time, nil, 'Y-m-j'), '-')
local date_of_death_parts = mw.text.split(formatDate(lang, date_of_death.time, nil, 'Y-m-j'), '-')
local death_time = string.format('{{Death date and age|%s|%s|%s|%s|%s|%s}}',
date_of_death_parts[1], date_of_death_parts[2], date_of_death_parts[3],
date_of_birth_parts[1], date_of_birth_parts[2], date_of_birth_parts[3])
local death = death_time
if place_of_death then
local death_location = mw.wikibase.getSitelink(place_of_death.id, 'kswiki')
local link = true
if not death_location then
death_location = mw.wikibase.getSitelink(place_of_death.id, 'enwiki')
link = false
end
if not death_location then
death_location = mw.wikibase.getLabel(place_of_death.id)
link = false
end
if death_location then
if link then death_location = '[[' .. death_location .. ']]' end
death = death .. '<br>' .. death_location
local death_country = getBestStatementById(place_of_death.id, 'P17')
if death_country then
local death_country_label = mw.wikibase.getSitelink(death_country.id, 'kswiki')
local link = true
if not death_country_label then
death_country_label = mw.wikibase.getSitelink(death_country.id, 'enwiki')
link = false
end
if link then death_country_label = '[[' .. death_country_label .. ']]' end
death = death .. '، ' .. death_country_label
end
end
end
return death
end
-- Convert Arabic numbers (0123456789) to Kurdish numbers (٠١٢٣٤٥٦٧٨٩)
function toKashmirinumbers(text)
return text:gsub('0', '0')
:gsub('1', '1')
:gsub('2', '2')
:gsub('3', '3')
:gsub('4', '4')
:gsub('5', '5')
:gsub('6', '6')
:gsub('7', '7')
:gsub('8', '8')
:gsub('9', '9')
:gsub('square kilometre', 'کِلومیٖٹَر چَکور')
:gsub('kilometre', 'کِلومیٖٹَر')
end
function formatDate(lang, dateString, fallback, format)
if not format then format = 'j xg Y' end
-- formatDate only supports positive (AD) dates
if dateString:sub(1, 1) == '-' then return fallback or dateString end
-- Work-around for a bug in Scribunto, more info: https://phabricator.wikimedia.org/T261072
dateString = dateString:gsub('%-00%-00T', '-01-01T')
return lang:formatDate(format, dateString, false)
end
function isEnglish(text)
return string.find(text, '[abcdefghijklmnopqrstuvwxyz]') ~= nil
end
-- Returns the best statements for the first property this item has
function getBestStatement(item, ...)
for i,v in ipairs(arg) do
local statements = item:getBestStatements(v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Returns the best statements for the first property this item has
function getBestStatementById(id, ...)
for i,v in ipairs(arg) do
local statements = mw.wikibase.getBestStatements( id, v)
if len(statements) >= 1 and statements[1] then
return statements[1].mainsnak.datavalue.value
end
end
return nil
end
-- Gets the length of a table
-- https://stackoverflow.com/a/2705804/7003797
function len(t)
local count = 0
for _ in pairs(t) do count = count + 1 end
return count
end
-- checks if a string is empty
function isEmpty(s)
return s == nil or s == ''
end
local module_properties = { ['item'] = true, ['بەند'] = true, ['پێڕستی ڕەش'] = true, ['تەنیا کوردی'] = true }
-- Get all properties that are overriden by the template
function getOverridenProperties(args)
properties = {}
for key, value in pairs(args) do
if (not module_properties[key]) then -- If it was not a module property
properties[key:upper()] = value
end
end
return properties
end
local p = {}
function p.databox(frame)
local args = frame:getParent().args
local itemId = nil
local show_english_properties = true
if args.item or args['بەند'] then
itemId = args.item or args['بەند']
end
if args['تەنیا کوردی'] == true or args['تەنیا کوردی'] == 'بەڵێ' then
show_english_properties = false
end
local overriden_properties = getOverridenProperties(args)
local hidden_properties = {}
if args['پێڕستی ڕەش'] then
hidden_properties = mw.text.split(args['پێڕستی ڕەش'], "%s*[,،]%s*")
end
local lang = mw.language.getContentLanguage()
local item = mw.wikibase.getEntity(itemId)
if item == nil then
mw.addWarning("Wikidata item not found")
return ""
end
--Table
local dataTable = mw.html.create('table')
:addClass('infobox vcard')
:css({
['width'] = '22em'
})
-- Title
dataTable:tag('tr'):tag('th')
:addClass('fn')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
['background-color'] = '#007BA7',
['padding'] = '0.5em 0',
['margin'] = '0.5em 0',
['font-size'] = '125%',
['color'] = '#ffffff',
['font-weight'] = 'bold',
})
:wikitext(item:getLabel() or mw.title.getCurrentTitle().text)
-- Native name: P1559, Official name: P1448
local officialName = getBestStatement(item, 'P1448', 'P1559')
if officialName then
if officialName.language ~= 'ks' then -- Don't show official name if the official name was in Kurdish
local langName = mw.language.fetchLanguageName(officialName.language, 'ks')
dataTable:tag('tr'):tag('th')
:attr('colspan', 2)
:css({
['text-align'] = 'center',
padding = '0.5em 0',
margin = '0.5em 0',
['font-size'] = '90%',
['font-weight'] = 'bold',
['max-width'] = '180px'
})
:wikitext('اَصٕل ناو [[' .. langName ..']]: ' .. officialName.text)
end
end
--Image
local image = args['وێنە']
if (image == nil) then
local images = item:getBestStatements('P18')
if #images >= 1 then
image = images[1].mainsnak.datavalue.value
end
end
if image ~= nil then
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext('[[File:' .. image .. '|frameless|250px]]')
end
local properties = mw.wikibase.orderProperties(item:getProperties())
local property_blacklist_hash = valuesToKeys(mergeTables(property_blacklist, hidden_properties))
property_blacklist_hash['P31'] = true --Special property
local edit_message = mw.message.new('vector-view-edit'):plain()
-- Birth
local date_of_birth = getBestStatement(item, 'P569')
local date_of_death = getBestStatement(item, 'P570')
local instance_of = getBestStatement(item, 'P31')
local place_of_birth = getBestStatement(item, 'P19')
local place_of_death = getBestStatement(item, 'P20')
if instance_of and instance_of.id == 'Q5' and date_of_birth and date_of_birth.time:sub(1, 1) ~= '-' then -- human and birth date >= 0 AD
local birth = getBirthStatement(lang, date_of_birth, date_of_death, place_of_birth)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('پٲدٲیِش'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(birth))
if date_of_death then
local death = getDeathStatement(lang, date_of_birth, date_of_death, place_of_death)
dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em'
})
:wikitext('وَفات'):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(death))
end
end
for _, property in pairs(properties) do
local datatype = item.claims[property][1].mainsnak.datatype
local english_label = mw.wikibase.getLabelByLang(property, 'en'):upper()
local kurdish_label = mw.wikibase.getLabelByLang(property, 'ks')
-- These properties have datatype of quantity, but we want to show them!
if property == 'P1082' or -- population
property == 'P2046' or -- area
property == 'P2044' then -- elevation above sea level
datatype = 'number'
end
overriden_value = overriden_properties[english_label] or overriden_properties[kurdish_label]
if datatype ~= 'commonsMedia' and datatype ~= 'external-id' and
datatype ~= 'quantity' and datatype ~= 'wikibase-property' and
datatype ~= 'geo-shape' and datatype ~= 'tabular-data' and
(not property_blacklist_hash[property] and not property_blacklist_hash[english_label] and not property_blacklist_hash[kurdish_label]) and
(show_english_properties or kurdish_label ~= nil or overriden_value) and
#item:getBestStatements(property) <= 5 then
local propertyValue = item:formatStatements(property) -- label, value
local overriden = true
local value = overriden_value
if (value == nil) then
if datatype == 'time' then
local dateString = getBestStatement(item, property).time
if property == 'P1317' or property == 'P2031' then -- floruit and work period (start)
value = formatDate(lang, dateString, propertyValue.value, 'Y')
else
value = formatDate(lang, dateString, propertyValue.value)
end
else
value = propertyValue.value
end
overriden = false
elseif (value:find("^[Q]%d+") ~= nil) then -- Is a wikidata ID
value = '[[' .. mw.wikibase.getSitelink(value) .. ']]'
end
if (datatype == 'time' or datatype == 'number') then -- coordinate location
value = toKashmirinumbers(value)
end
row = dataTable:tag('tr')
:tag('th')
:attr('scope', 'row')
:css({
['padding-top'] = '0.225em',
['line-height'] = '1.1em',
['padding-right'] = '0.65em',
})
:wikitext(lang:ucfirst(propertyValue.label)):done()
:tag('td')
:css({ ['line-height'] = '1.4em', ['max-width'] = '180px' })
:wikitext(frame:preprocess(value))
end
end
--Map
local coordinates_statements = item:getBestStatements('P625')
if #coordinates_statements == 1 and coordinates_statements[1].mainsnak.datavalue and coordinates_statements[1].mainsnak.datavalue.value.globe == 'http://www.wikidata.org/entity/Q2' then
--We build the call to mapframe
local latitude = coordinates_statements[1].mainsnak.datavalue.value.latitude
local longitude = coordinates_statements[1].mainsnak.datavalue.value.longitude
local geojson = {
type = 'Feature',
geometry = {
type = 'Point',
coordinates = { longitude, latitude }
},
properties = {
title = item:getLabel() or mw.title.getCurrentTitle().text,
['marker-symbol'] = 'marker',
['marker-color'] = '#224422',
}
}
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(frame:extensionTag('mapframe', mw.text.jsonEncode(geojson), {
height = 250,
width = 250,
frameless = 'frameless',
align = 'center',
latitude = latitude,
longitude = longitude,
zoom = 6 -- 100 km
}))
end
local div_start = '<div style="border-style: solid; border-color:gray; border-width: 1px 0 0 0; margin-top: 2em; text-align: center;">'
local pen_icon = ' [[File:Wikidata-logo.svg|' .. edit_message .. '|22px|baseline|class=noviewer|link=https://www.wikidata.org/wiki/' .. item.id .. ']]'
local edit_message_link = '[https://www.wikidata.org/wiki/' .. item.id .. ' وِکی ڈیٹا پؠٹھ کٔرِو اؠڈِٹ]'
dataTable:tag('tr'):tag('td')
:attr('colspan', 2)
:css({ ['text-align'] = 'center'})
:wikitext(div_start .. edit_message_link .. pen_icon .. '</div>')
return tostring(dataTable)
end
return p
e8udp9iwfujg1dlmr26yypmhqi9m77q
جون ایلیا
0
12826
62269
62202
2022-08-09T16:00:09Z
511KeV
8268
مِلاوُن [[زٲژ:اُردوٗ شٲیِر]] تٔژ زٲژ کِہ مَرَتھہٕ سٲتؠ
wikitext
text/x-wiki
{{Orphan|date=اَگَست 2022}}
{{Databox}}
'''جون ایلیا''' اوس اَکھ پٲکِستٲنؠ [[اُردوٗ زَبان|اُردوٗ]] شٲیِر- امس اوس سعید ہسین جون نکوی اسلی ناو -
{{stub}}
[[زٲژ:اُردوٗ شٲیِر]]
rc5p8nbjdiyotprgqtyq37o5mgg3chp
62270
62269
2022-08-09T16:00:40Z
511KeV
8268
مِلاوُن [[زٲژ:1931 پٲدٲیِش]] تٔژ زٲژ کِہ مَرَتھہٕ سٲتؠ
wikitext
text/x-wiki
{{Orphan|date=اَگَست 2022}}
{{Databox}}
'''جون ایلیا''' اوس اَکھ پٲکِستٲنؠ [[اُردوٗ زَبان|اُردوٗ]] شٲیِر- امس اوس سعید ہسین جون نکوی اسلی ناو -
{{stub}}
[[زٲژ:اُردوٗ شٲیِر]]
[[زٲژ:1931 پٲدٲیِش]]
oh52aprjx58ab38yyb7zn7aw0g6w58e
62271
62270
2022-08-09T16:01:29Z
511KeV
8268
مِلاوُن [[زٲژ:دَسَمبَر پٲدٲیِش]] تٔژ زٲژ کِہ مَرَتھہٕ سٲتؠ
wikitext
text/x-wiki
{{Orphan|date=اَگَست 2022}}
{{Databox}}
'''جون ایلیا''' اوس اَکھ پٲکِستٲنؠ [[اُردوٗ زَبان|اُردوٗ]] شٲیِر- امس اوس سعید ہسین جون نکوی اسلی ناو -
{{stub}}
[[زٲژ:اُردوٗ شٲیِر]]
[[زٲژ:1931 پٲدٲیِش]]
[[زٲژ:دَسَمبَر پٲدٲیِش]]
orccefb66auhjbpghbylz13teiuxfzu
اَنگیٖزۍ
0
12870
62265
2022-08-09T15:38:18Z
511KeV
8268
رج
wikitext
text/x-wiki
#Redirect [[اَنٛگریٖزی]]
r2i7z486pjlk1j5j9gjhwwd7d6agj3x
62266
62265
2022-08-09T15:38:52Z
511KeV
8268
رج
wikitext
text/x-wiki
#Redirect [[اَنٛگریٖزی زَبان]]
gzi68pk033vabsb34tn5slfme473hr4
زٲژ:1931 پٲدٲیِش
14
12871
62272
2022-08-09T16:15:09Z
511KeV
8268
Created page with "[[زٲژ:پٲدٲیِش مُطٲبِق لوٗکھ]]"
wikitext
text/x-wiki
[[زٲژ:پٲدٲیِش مُطٲبِق لوٗکھ]]
eoh0xtny090zrx59ysjbha834a88b0v
رُکُن کَتھ:Suhayl091
3
12872
62277
2022-08-10T07:13:08Z
511KeV
8268
Welcome
wikitext
text/x-wiki
{{Welcome}} <small><sub><span style="color:grey;"> </span></sub></small>[[User:511KeV|<span style="font-family:sans-serif; color:#FF1100; text-shadow:.2em .2em .4em #AfAfB1;">'''511KeV'''</span>]] [[User_talk:511KeV|<sup> '' (کتھ باتھ)''</sup>]] 07:13, 10 اَگَست 2022 (UTC)
nqd6399i2rzasotngntw3ol6qplc8ey