ਵਿਕੀਪੀਡੀਆ
pawiki
https://pa.wikipedia.org/wiki/%E0%A8%AE%E0%A9%81%E0%A9%B1%E0%A8%96_%E0%A8%B8%E0%A8%AB%E0%A8%BC%E0%A8%BE
MediaWiki 1.47.0-wmf.23
first-letter
ਮੀਡੀਆ
ਖ਼ਾਸ
ਗੱਲ-ਬਾਤ
ਵਰਤੋਂਕਾਰ
ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ
ਵਿਕੀਪੀਡੀਆ
ਵਿਕੀਪੀਡੀਆ ਗੱਲ-ਬਾਤ
ਤਸਵੀਰ
ਤਸਵੀਰ ਗੱਲ-ਬਾਤ
ਮੀਡੀਆਵਿਕੀ
ਮੀਡੀਆਵਿਕੀ ਗੱਲ-ਬਾਤ
ਫਰਮਾ
ਫਰਮਾ ਗੱਲ-ਬਾਤ
ਮਦਦ
ਮਦਦ ਗੱਲ-ਬਾਤ
ਸ਼੍ਰੇਣੀ
ਸ਼੍ਰੇਣੀ ਗੱਲ-ਬਾਤ
ਫਾਟਕ
ਫਾਟਕ ਗੱਲ-ਬਾਤ
TimedText
TimedText talk
ਮੌਡਿਊਲ
ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ
Package
Package talk
Event
Event talk
Topic
ਬੱਜੂਆਣਾ
0
26063
849470
840313
2026-10-09T11:41:19Z
Sidhu151102
62389
ਪਿੰਡ ਦਾ ਨਾਮ ਗਲਤ ਲਿਖਿਆ ਗਿਆ ਹੈ ਅਤੇ ਵਿੱਚ ਵੇਰਵੇ ਨਹੀਂ ਸਨ ਸੋ ਹੁਣ ਜੋੜ ਦਿੱਤੇ ਗਏ ਹਨ
849470
wikitext
text/x-wiki
{{ਜਾਣਕਾਰੀਡੱਬਾ ਬਸਤੀ
| ਨਾਂ = BAJJOANA
| ਬਸਤੀ_ਕਿਸਮ = [[ਪਿੰਡ]]
| ਚਿੱਤਰ_ਦਿੱਸਹੱਦ = [https://drive.google.com/file/d/1--DFgHL23NiNaj4N6IQU98wMmYEod0qz/view?usp=drivesdk]
| ਚਿੱਤਰ_ਸਿਰਲੇ = {https://drive.google.com/file/d/1--DFgHL23NiNaj4N6IQU98wMmYEod0qz/view?usp=drivesdk}
| ਉਪਨਾਮ = ਬੱਜੋਆਣਾ
| pushpin_ਨਕਸ਼ਾ = ਭਾਰਤ ਪੰਜਾਬ
| name = ਬੱਜੋਆਣਾ
| official_name = Bajjoana
| pushpin_label_position = ਖੱਬੇ
| pushpin_ਨਕਸ਼ਾ_ਸਿਰਲੇਖ = ਪੰਜਾਬ ਵਿੱਚ ਬੱਜੋਆਣਾ ਦੀ ਸਥਿਤੀ
| latd = 30.36
| latm =
| lats =
| latNS = N
| longd = 75.12
| longm =
| longs =
| longEW = E
| ਉਪਵਿਭਾਗ_ਕਿਸਮ = ਦੇਸ਼
| ਉਪਵਿਭਾਗ_ਨਾਂ = {{ਝੰਡਾ|ਭਾਰਤ}}
| ਉਪਵਿਭਾਗ_ਕਿਸਮ3 = ਤਹਿਸੀਲ
| ਉਪਵਿਭਾਗ_ਨਾਂ3 = ਨਥਾਣਾ
| ਉਪਵਿਭਾਗ_ਕਿਸਮ2 = [[ਜ਼ਿਲ੍ਹਾ]]
| ਉਪਵਿਭਾਗ_ਨਾਂ2 = [[ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹਾ|ਬਠਿੰਡਾ]]
| ਉਪਵਿਭਾਗ_ਕਿਸਮ1 = ਰਾਜ
| ਉਪਵਿਭਾਗ_ਨਾਂ1 = [[ਪੰਜਾਬ, ਭਾਰਤ|ਪੰਜਾਬ]]
| ਸਥਾਪਨਾ_ਸਿਰਲੇਖ =
| ਸਥਾਪਨਾ_ਮਿਤੀ = [{ਇਸਦੀ ਸਥਾਪਨਾ ਸੰਮਤ ੧੬੮੪ ਵਿੱਚ ਮਹਿਰਾਜ ਪਿੰਡ ਦੀ ਸਥਾਪਨਾ ਤੋਂ ਬਾਅਦ ਮੋਹਨ ਸਿੰਘ ਦੇ ਪੋਤਰੇ ਸੰਦਲੀ ਵੱਲੋ ਕੀਤੀ ਗਈ ਸੰਦਲੀ ਅਤੇ ਫੂਲਕੀਆਂ ਰਿਆਸਤ ਦੇ ਰਾਜੇ ਫੂਲ ਦਾ ਭਰਾ ਸੀ ਜਿਸ ਨੇ ਬੱਜੋਆਣਾ ਪਿੰਡ ਵਸਾਇਆ }]
| ਟਿਕਾਣਾ_ਕਿਸਮ =
| ਟਿਕਾਣਾ =
| ਮੁਖੀ_ਸਿਰਲੇਖ1 =
| ਮੁਖੀ_ਨਾਂ1 = [ਦਿਲਪ੍ਰੀਤ ਸਿੰਘ ਸਿੱਧੂ]
| ਮੁਖੀ_ਸਿਰਲੇਖ2 =
| ਮੁਖੀ_ਨਾਂ2 =
| ਮੁਖੀ_ਸਿਰਲੇਖ3 =
| ਮੁਖੀ_ਨਾਂ3 =
| unit_pref = ਦਸ਼ਮਿਕ
| ਖੇਤਰਫਲ_ਦਰਜਾ =
| ਖੇਤਰਫਲ_ਕੁੱਲ_ਕਿਮੀ2 =
| ਉਚਾਈ_ਮੀਟਰ = 216
| ਅਬਾਦੀ_ਕੁੱਲ =
| ਅਬਾਦੀ_ਦਰਜਾ =
| ਅਬਾਦੀ_ਘਣਤਾ_ਕਿਮੀ2 =
| ਅਬਾਦੀ_ਮੁੱਖ-ਨਗਰ =
| ਅਬਾਦੀ_ਮੁੱਖ-ਨਗਰ_ਪਗਨੋਟ =
| ਅਬਾਦੀ_ਵਾਸੀ-ਸੂਚਕ =
| ਅਬਾਦੀ_ਨੋਟ =
| demographics_ਕਿਸਮ1 = ਪੰਜਾਬੀ
| demographics1_ਸਿਰਲੇਖ1 = ਅਧਿਕਾਰਕ
| demographics1_ਜਾਣ1 = [[ਪੰਜਾਬੀ ਭਾਸ਼ਾ|ਪੰਜਾਬੀ]]
| ਸਮਾਂ_ਜੋਨ1 = [[ਭਾਰਤੀ ਮਿਆਰੀ ਸਮਾਂ]]
| utc_offset1 = +5:30
| ਡਾਕ_ਕੋਡ_ਕਿਸਮ = ਪਿਨ ਕੋਡ
| ਡਾਕ_ਕੋਡ = 151102 (ਡਾਕਖਾਨਾ: ਨਥਾਣਾ)
| ਖੇਤਰ_ਕੋਡ_ਕਿਸਮ = ਟੈਲੀਫੋਨ ਕੋਡ
| ਖੇਤਰ_ਕੋਡ = 01651
| iso_ਕੋਡ =
| registration_plate = PB 03, PB 40
}}
'''ਬੱਜੋਆਣਾ''', ਪੰਜਾਬ ਵਿੱਚ ਬਠਿੰਡੇ ਜ਼ਿਲ੍ਹੇ ਦਾ ਇੱਕ ਪਿੰਡ ਹੈ। ਇਹ ਤਹਿਸੀਲ [[ਨਥਾਣਾ (ਤਹਿਸੀਲ)|ਨਥਾਣਾ]] ਦੇ ਅਧੀਨ ਆਉਂਦਾ ਹੈ।<ref>{{cite web|title=ਬਲਾਕ ਅਨੁਸਾਰ ਪਿੰਡਾਂ ਦੀ ਸੂਚੀ|url=http://pbplanning.gov.in/districts.htm|publisher=ਪੰਜਾਬ ਰਾਜ ਪਲਾਨਿੰਗ ਬੋਰਡ|accessdate=4 ਅਗਸਤ 2013}}</ref><ref>[http://www.onefivenine.com/india/VillagesInDistrict/Bathinda Villages in Bathinda District, Punjab state]</ref>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
{{ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹਾ}}
{{ਅਧਾਰ}}
[[ਸ਼੍ਰੇਣੀ:ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹੇ ਦੇ ਪਿੰਡ]]
1ybqwk5is6no0d9gvyarljk8n036ocj
ਸਫਿੰਕਸ
0
37367
849451
849298
2026-10-09T07:39:39Z
Kent Wang
62359
/* ਗੈਲਰੀ */ Bust in the gardens of Palácio Nacional de Queluz 02.jpg
849451
wikitext
text/x-wiki
{{Infobox mythical creature
|name = ਸਫਿੰਕਸ (أبو الهول)
|image = Great Sphinx of Giza - 20080716a.jpg
|image_size=300px
|caption = ਗ਼ੀਜ਼ਾ ਦਾ ਵੱਡਾ ਸਫਿੰਕਸ, ਪਿਛੋਕੜ ਵਿੱਚ ਗ਼ੀਜ਼ਾ ਦਾ ਵੱਡਾ ਪਿਰਾਮਿਡ
|Grouping = [[ਦੰਤਕਥਾਈ ਪ੍ਰਾਣੀ]]
|Sub_Grouping = [[ਮਿਥਹਾਸਕ ਦੋਗਲੇ ਪ੍ਰਾਣੀ]]
|Habitat =
|AKA =
|Similar_creatures = [[ਗ੍ਰਿਫ਼ਿਨ]]
|Mythology = ਯੁਰੇਸ਼ੀਆਈ
}}
ਮਿਸਰ ਦੇ ਪੁਰਾਣੇ ਜ਼ਮਾਨੇ ਵਿੱਚ '''ਸਫਿੰਕਸ''' ([[ਯੂਨਾਨੀ ਭਾਸ਼ਾ|ਯੂਨਾਨੀ]]: Σφίγξ / ''ਸਫਿੰਕਸ''/, [[ਇਓਲਿਕ ਯੂਨਾਨੀ|ਬੋਇਓਤਾਈ]]: Φίξ ''/ਫਿਕਸ'', [[ਅਰਬੀ ਭਾਸ਼ਾ|ਅਰਬੀ]]: أبو الهول, ਅਬੂ ਅਲਹੋਲ) ਬਹੁਤ ਮਸ਼ਹੂਰ ਅਤੇ ਬਹੁਤ ਵੱਡੀ ਮੂਰਤੀ ਹੈ ਜਿਸਦਾ ਸਿਰ ਇੱਕ ਇਨਸਾਨ ਦਾ ਤੇ ਬਾਕੀ ਧੜ ਸ਼ੇਰ ਦਾ ਹੈ। ਇਹ [[ਗ਼ੀਜ਼ਾ]] ਦੇ ਇਲਾਕੇ ਵਿੱਚ ਹੈ। ਇਸ ਦੀ ਲੰਬਾਈ 189 ਫੁੱਟ ਤੇ ਉਚਾਈ 65 ਫੁੱਟ ਦੇ ਨੇੜੇ ਹੈ। ਦੂਰ ਤੋਂ ਵੇਖਣ ਵਿੱਚ ਇਹ ਪਹਾੜ ਵਰਗੀ ਨਜ਼ਰ ਆਉਂਦੀ ਹੈ। ਇਹ ਮੂਰਤੀ ਈਸਾ ਤੋਂ ਤਕਰੀਬਨ 3 ਹਜ਼ਾਰ ਸਾਲ ਪਹਿਲਾਂ ਇੱਕ ਵੱਡੀ ਚਟਾਨ ਨੂੰ ਤਰਾਸ਼ ਕੇ ਬਣਾਈ ਗਈ ਸੀ। ਇਸ ਦੇ ਪੰਜੇ ਤੇ ਧੜ ਬੈਠੇ ਹੋਏ ਸ਼ੇਰ ਦੇ ਤੇ ਸਿਰ ਇਨਸਾਨ ਦਾ ਹੈ। ਸੂਰਜ ਦੇਵਤਾ ਦੀ ਹੈਸੀਅਤ ਨਾਲ਼ ਉਸ ਦੀ ਪੂਜਾ ਵੀ ਕੀਤੀ ਜਾਂਦੀ ਸੀ। ਸਮਾਂ ਲੰਘਣ ਨਾਲ਼ ਉਸ ਦੀ ਸੂਰਤ ਵੀ ਬਿਗੜ ਗਈ ਹੈ, ਦਾੜ੍ਹੀ ਤੇ ਨੱਕ ਟੁੱਟ ਗਏ ਹਨ ਤੇ ਉਸ ਦਾ ਉਹ ਪਹਿਲੇ ਵਾਲ਼ਾ ਚਿਹਰਾ ਜਿਸਦਾ ਜ਼ਿਕਰ ਪੁਰਾਣੇ ਜ਼ਮਾਨੇ ਦੇ ਸੀਆਹਾਂ ਨੇ ਕੀਤਾ ਹੈ ਹੁਣ ਮੌਜੂਦ ਨਹੀਂ ਤੇ ਹੁਣ ਇਹਦੀ ਸ਼ਕਲ ਖ਼ੌਫ਼ਨਾਕ ਲੱਗਦੀ ਹੈ। ਇਸੇ ਵਜ੍ਹਾ ਤੋਂ ਅਰਬਾਂ ਨੇ ਇਸ ਦਾ ਨਾਂ ਅਬੂ ਅਲਹੋਲ (ਖ਼ੌਫ਼ ਦਾ ਪਿਓ) ਰੱਖਿਆ ਹੈ।
ਯੂਨਾਨੀ ਪਰੰਪਰਾ ਵਿੱਚ, ਇਸ ਦੀਆਂ [[ਸ਼ੇਰ]] ਦੀਆਂ ਜਾਂਘਾਂ ਵਾਲਾ, ਕਈ ਵਾਰ ਕਿਸੇ ਵੱਡੇ ਪੰਛੀ ਦੇ ਖੰਭ ਲੱਗੇ ਹੁੰਦੇ ਹਨ ਅਤੇ ਚਿਹਰਾ ਮਨੁੱਖ ਦਾ ਹੁੰਦਾ ਹੈ। ਮਿਥ ਅਨੁਸਾਰ ਇਹ ਧੋਖੇਬਾਜ਼ ਤੇ ਨਿਰਦਈ ਪ੍ਰਾਣੀ ਹੁੰਦਾ ਹੈ। ਉਹ ਲੋਕ ਜੋ ਇਸ ਦੀ ਬੁਝਾਰਤ ਦਾ ਜਵਾਬ ਨਹੀਂ ਦੇ ਸਕਦੇ, ਅਜਿਹੀਆਂ ਮਿਥਿਹਾਸਿਕ ਕਹਾਣੀ ਅਨੁਸਾਰ ਭਿਅੰਕਰ ਹੋਣੀ ਭੋਗਦੇ ਹਨ। ਯਾਨੀ ਕੋਈ ਖੂੰਖਾਰ ਦੈਂਤ ਉਨ੍ਹਾਂ ਨੂੰ ਨਿਗਲ ਜਾਂਦਾ ਹੈ।<ref>{{cite web |url=http://people.hsc.edu/drjclassics/texts/Oedipus/sphinx.shtm |title=Dr. J's Lecture on Oedipus and the Sphinx |publisher=People.hsc.edu |date= |accessdate=2014-05-15 |archive-url=https://web.archive.org/web/20230325043401/http://people.hsc.edu/drjclassics/texts/Oedipus/sphinx.shtm |archive-date=2023-03-25 |url-status=dead}}</ref> ਸਫਿੰਕਸ ਦਾ ਇਹ ਮਾਰੂ ਵਰਜਨ ਓਡੀਪਸ ਦੀ ਮਿੱਥ ਅਤੇ ਡਰਾਮੇ ਵਿੱਚ ਪੇਸ਼ ਹੋਇਆ ਹੈ।<ref>Kallich, Martin. "Oepidus and the Sphinx." Oepidus: Myth and Drama. N.p.: Western, 1968. N. pag. Print.</ref>
== ਗੈਲਰੀ ==
<gallery>
File:The Great Pyramid and the Sphinx.jpg|<!--The [[Great Sphinx of Giza]] in 1858-->
File:Museo Egizio di Torino-631 o.jpg|<!--Typical Egyptian sphinx with a human head. ([[Museo Egizio]], [[ٹیورن]])-->
File:Hatshepsut-SmallSphinx MetropolitanMuseum.png|<!--Sphinx of Egyptian pharaoh [[Hatshepsut]] with unusual ear and ruff features, 1503-1482 BC-->
File:028MAD Sphinx.jpg|<!--Ancient Greek sphinx from [[ڈیلفی]].-->
File:Sphinxes.jpg|<!--3000-year-old sphinxes were imported from Egypt to embellish public spaces in [[سینٹ پیٹرز برگ]] and other [[یورپ]]an [[دارالحکومت]].-->
File:Wien Schloss Belvedere DSC03014.JPG|<!--[[Belvedere (palace)|Upper Belvedere Palace]] in [[ویانا]].-->
File:Bundesarchiv Bild 170-770, Potsdam, Sanssouci, Sphinx im Park Sanssouci.jpg|<!--[[Park Sanssouci]] in [[Potsdam]]-->
File:Bust in the gardens of Palácio Nacional de Queluz 02.jpg|<!--[[Queluz National Palace|Queluz]] wingless rococo sphinx.-->
File:Enghien CHSph1JPG.jpg|<!--Classic Régence garden Sphinx in lead, Château Empain, Enghien, Belgium.-->
File:Sphinx - Park Schönbusch.jpg|<!--Park Schönbusch in [[Aschaffenburg]], [[Bavaria]], 1789-90.-->
File:IngresOdipusAndSphinx.jpg|<!--[[جین ڈومینک]], ''Oedipus and the Sphinx''.-->
File:Paris Hôtel de Ville 2497 07.jpg|<!--[[Hôtel de Ville, Paris]], 1870s.-->
File:Oedipus and the Sphinx MET DP-14201-023.jpg|<!--[[Symbolism (arts)|Symbolist]] ''Oedipus and the Sphinx'' by [[Gustave Moreau]].-->
File:Esfingedebotero.jpg|<!--A contemporary sphinx by [[Fernando Botero|Botero]], in [[میڈیلن]].-->
File:Jardin El Capricho Sfinxs at Plaza de los Emperadores05 cropped.jpg|<!--Sphinx at Plaza de los Emperadores (Parque de El Capricho, [[میدرد]]).-->
File:Foreign Affairs Building of Canada.jpg|<!--The [[Lester B. Pearson Building]] in [[اوٹاوا]] was designed to resemble the Sphinx.-->
File:Marble sphinx on a cavetto capital.jpg|<!--Marble sphinx on a cavetto capital, Attic, ca. 580-575 BC-->
File:Sphinx guinle 1.JPG|<!--Sphinx guarding the entrance of [[:pt:Parque Eduardo Guinle|Parque Eduardo Guinle]].-->
File:Sphinx guinle 2.JPG|<!--Sphinx guarding the entrance of [[:pt:Parque Eduardo Guinle|Parque Eduardo Guinle]].-->
</gallery>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
8wnnl93y82zq910g5ku4opy8s4hsi5g
ਨਾਨਾ ਪਾਟੇਕਰ
0
37424
849415
849412
2026-10-08T12:22:30Z
Kuldeepburjbhalaike
18176
updated infobox
849415
wikitext
text/x-wiki
{{Infobox person
| honorific_prefix =
| name = ਨਾਨਾ ਪਾਟੇਕਰ
| honorific_suffix =
| native_name =
| native_name_lang = ਮਰਾਠੀ
| image = Nana-patekiar.png
| image_size =
| alt = ਨਾਨਾ ਪਾਟੇਕਰ
| caption =ਨਾਨਾ ਪਾਟੇਕਰ 2026 ਵਿੱਚ
| birth_name = ਵਿਸ਼ਵਨਾਥ ਪਾਟੇਕਰ
| birth_date = {{Birth date|1951|01|01|df=y}}
| birth_place = ਮੁਰੁਦ-ਜੰਜੀਰਾ, ਬੰਬੇ ਰਾਜ, ਭਾਰਤ
| disappeared_date = <!-- {{Disappeared date and age|YYYY|MM|DD|YYYY|MM|DD}} (disappeared date then birth date) -->
| disappeared_place =
| disappeared_status =
| death_date = {{death date and age|df=y|2026|10|08|1951|01|01}}
| death_place = ਡੋਨਾ ਪੌਲਾ, ਪਣਜੀ, ਗੋਆ, ਭਾਰਤ
| death_cause =
| citizenship =ਭਾਰਤੀ
| education = ਸਰ ਜੇ.ਜੇ. ਇੰਸਟੀਚਿਊਟ ਆਫ਼ ਅਪਲਾਈਡ ਆਰਟ, ਮੁੰਬਈ
| occupation = {{hlist|ਅਦਾਕਾਰ|ਸਕ੍ਰੀਨ-ਲੇਖਕ|ਫਿਲਮ ਨਿਰਮਾਤਾ|ਫੌਜੀ ਅਧਿਕਾਰੀ}}
| years_active = 1978 – 2026
| spouse = | spouse = {{marriage|ਨੀਲਕਾਂਤੀ ਪਾਟੇਕਰ|1978}}
| partner =
| children = 2
| parents = ਦਿਨਕਰ ਪਾਟੇਕਰ<br/>ਸੰਜਨਾ ਪਾਟੇਕਰ
| relatives =
| callsign =
| awards = [[ਪਦਮ ਸ਼੍ਰੀ]] (2013)
| module = {{Infobox military person |embed=yes
| allegiance = {{flagu|ਭਾਰਤ}}
| branch = {{army|India}}
| service_years = 1990–2013
| rank = [[File: Lieutenant Colonel of the Indian Army.svg|21px]] ਲੈਫਟੀਨੈਂਟ ਕਰਨਲ
| unit = {{flagicon image|Territorial Army (Flag).svg}} ਟਰਸ਼ਰੀ ਆਰਮੀ<br>[[File:Marathali.gif|20px]] ਮਰਾਠਾ ਲਾਈਟ ਇਨਫੈਂਟਰੀ
| battles = [[ਕਾਰਗਿਲ ਜੰਗ|1999 ਕਾਰਗਿੱਲ ਜੰਗ]]
}}
}}
'''ਵਿਸ਼ਵਨਾਥ "ਨਾਨਾ" ਪਾਟੇਕਰ''' (ਜਨਮ 1 ਜਨਵਰੀ 1951) ਇੱਕ ਭਾਰਤੀ [[ਐਕਟਰ]] ਅਤੇ ਫ਼ਿਲਮਸਾਜ਼ ਹੈ। ਭਾਰਤੀ ਸਿਨੇਮਾ ਦੇ ਸਭ ਤੋਂ ਮਹਾਨ ਅਤੇ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਅਦਾਕਾਰਾਂ ਵਿੱਚੋਂ ਇੱਕ ਮੰਨੇ ਜਾਣ ਵਾਲੇ ਪਾਟੇਕਰ ਨੂੰ ਉਨ੍ਹਾਂ ਦੀ ਅਦਾਕਾਰੀ ਲਈ ਤਿੰਨ ਰਾਸ਼ਟਰੀ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ, ਚਾਰ ਫ਼ਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ, ਦੋ ਮਹਾਰਾਸ਼ਟਰ ਰਾਜ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ ਅਤੇ ਮਰਾਠੀ ਫ਼ਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ ਮਿਲੇ ਹਨ।<ref>{{Cite web |last=Mojib |first=Syed Ayan |date=2025-01-14 |title=Actor Profiles - Nana Patekar |url=https://www.outlookindia.com/entertainment-spotlight/profiles/nana-patekar |access-date=2026-02-28 |website=Outlook India |language=en}}</ref> ਸਿਨੇਮਾ ਅਤੇ ਕਲਾ ਦੇ ਖੇਤਰ ਵਿੱਚ ਪਾਏ ਯੋਗਦਾਨ ਲਈ ਉਨ੍ਹਾਂ ਨੂੰ 2013 ਵਿੱਚ 'ਪਦਮ ਸ਼੍ਰੀ' ਪੁਰਸਕਾਰ ਨਾਲ ਸਨਮਾਨਿਤ ਕੀਤਾ ਗਿਆ ਸੀ।<ref name="indianexpress.com">{{Cite web |title=Nana Patekar: News, Movies, Photos, Videos & Updates |url=https://indianexpress.com/about/nana-patekar/ |access-date=2026-02-28 |website=The Indian Express |language=en}}</ref>
1978 ਦੀ ਡਰਾਮਾ ਫ਼ਿਲਮ 'ਗਮਨ' ਨਾਲ ਬਾਲੀਵੁੱਡ ਵਿੱਚ ਆਪਣੀ ਅਦਾਕਾਰੀ ਦੀ ਸ਼ੁਰੂਆਤ ਕਰਨ ਤੋਂ ਬਾਅਦ,<ref name="indianexpress.com"/> ਪਾਟੇਕਰ ਨੇ ਕੁਝ ਮਰਾਠੀ ਅਤੇ ਕੁਝ ਬਾਲੀਵੁੱਡ ਫ਼ਿਲਮਾਂ ਵਿੱਚ ਕੰਮ ਕੀਤਾ। 1988 ਵਿੱਚ ਅਕੈਡਮੀ ਅਵਾਰਡ ਲਈ ਨਾਮਜ਼ਦ ਫ਼ਿਲਮ 'ਸਲਾਮ ਬੰਬੇ' ਵਿੱਚ ਕੰਮ ਕਰਨ ਤੋਂ ਬਾਅਦ, ਉਨ੍ਹਾਂ ਨੇ ਕ੍ਰਾਈਮ ਡਰਾਮਾ 'ਪਰਿੰਦਾ' (1989) ਵਿੱਚ ਆਪਣੀ ਅਦਾਕਾਰੀ ਲਈ 'ਸਰਵੋਤਮ ਸਹਾਇਕ ਅਦਾਕਾਰ' ਵਜੋਂ ਰਾਸ਼ਟਰੀ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ ਅਤੇ ਫ਼ਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ ਜਿੱਤਿਆ। ਇਸ ਤੋਂ ਬਾਅਦ ਉਹ ਆਪਣੀ ਨਿਰਦੇਸ਼ਨ ਹੇਠ ਬਣੀ ਪਹਿਲੀ ਫ਼ਿਲਮ 'ਪ੍ਰਹਾਰ: ਦ ਫਾਈਨਲ ਅਟੈਕ' (1991) ਵਿੱਚ ਨਜ਼ਰ ਆਏ।<ref>{{Cite news |last=Press Trust of India |title=Nana Patekar making biopic on social worker Baba Amte |url=http://www.business-standard.com/article/pti-stories/nana-patekar-making-biopic-on-social-worker-baba-amte-114112500930_1.html |archive-url=https://web.archive.org/web/20160816224048/http://www.business-standard.com/article/pti-stories/nana-patekar-making-biopic-on-social-worker-baba-amte-114112500930_1.html |archive-date=2016-08-16 |access-date=2026-02-28 |language=en-us}}</ref> ਪਾਟੇਕਰ ਨੇ 1990 ਦੇ ਦਹਾਕੇ ਦੀਆਂ ਕਈ ਵਪਾਰਕ ਤੌਰ 'ਤੇ ਸਫਲ ਫ਼ਿਲਮਾਂ ਵਿੱਚ ਕੰਮ ਕੀਤਾ ਅਤੇ ਆਪਣੀ ਅਦਾਕਾਰੀ ਲਈ ਖੂਬ ਪ੍ਰਸ਼ੰਸਾ ਖੱਟੀ; ਇਨ੍ਹਾਂ ਵਿੱਚ 'ਰਾਜੂ ਬਨ ਗਿਆ ਜੈਂਟਲਮੈਨ' (1992), 'ਅੰਗਾਰ' (1992) - ਜਿਸ ਲਈ ਉਨ੍ਹਾਂ ਨੇ 'ਸਰਵੋਤਮ ਖਲਨਾਇਕ' ਦਾ ਫ਼ਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ ਜਿੱਤਿਆ, 'ਤਿਰੰਗਾ' (1993) ਅਤੇ 'ਕ੍ਰਾਂਤੀਵੀਰ' (1994) - ਜਿਸ ਲਈ ਉਸ ਨੇ 'ਸਰਵੋਤਮ ਅਦਾਕਾਰ' ਵਜੋਂ ਰਾਸ਼ਟਰੀ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ ਅਤੇ ਫ਼ਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ ਜਿੱਤਿਆ, ਸ਼ਾਮਲ ਹਨ। ਉਨ੍ਹਾਂ ਨੂੰ 'ਅਗਨੀ ਸਾਕਸ਼ੀ' (1996) ਲਈ ਉਸ ਨੇ 'ਸਰਵੋਤਮ ਸਹਾਇਕ ਅਦਾਕਾਰ' ਵਜੋਂ ਆਪਣਾ ਦੂਜਾ ਰਾਸ਼ਟਰੀ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ ਜਿੱਤਿਆ - ਅਤੇ 'ਖਾਮੋਸ਼ੀ: ਦ ਮਿਊਜ਼ੀਕਲ' (1996) ਲਈ ਵੀ ਭਰਪੂਰ ਪ੍ਰਸ਼ੰਸਾ ਮਿਲੀ।
== ਜੀਵਨੀ ==
ਨਾਨਾ ਪਾਟੇਕਰ ਨੇ [[ਮਹਾਰਾਸ਼ਟਰ]], ਦੇ ਰਾਏਗੜ ਜ਼ਿਲ੍ਹੇ ਦੇ [[ਮੁਰੁਦ-ਜੰਜੀਰਾ]] ਵਿੱਚ ਦਿਨਕਰ ਪਾਟੇਕਰ (ਇੱਕ ਚਿੱਤਰਕਾਰ) ਅਤੇ ਉਸ ਦੀ ਪਤਨੀ ਸੰਜਨਾ ਬਾਈ ਪਾਟੇਕਰ ਦੇ ਘਰ ''' ਵਿਸ਼ਵਨਾਥ ਪਾਟੇਕਰ''' ਵਜੋਂ ਜਨਮ ਲਿਆ ਸੀ। ਉਹ ਸਰ ਜੇ.ਜੇ. ਇੰਸਟੀਚਿਊਟ ਆਫ਼ ਅਪਲਾਈਡ ਆਰਟ ਮੁੰਬਈ ਦਾ ਪੜ੍ਹਿਆ ਹੈ।<ref>{{cite web |url=http://www.kokanworld.com/details.aspx?pid=%2013 |title=About Nana Patekar |publisher=http://www.kokanworld.com |date= |accessdate=2010-10-06 |archive-date=2011-07-13 |archive-url=https://web.archive.org/web/20110713163522/http://www.kokanworld.com/details.aspx?pid=%2013 |dead-url=yes }}</ref>
==ਹਵਾਲੇ==
<references />
83kikrint1i2yzf31f7c3o6t8tia5s2
849416
849415
2026-10-08T12:35:51Z
Kuldeepburjbhalaike
18176
849416
wikitext
text/x-wiki
{{Infobox person
| honorific_prefix =
| name = ਨਾਨਾ ਪਾਟੇਕਰ
| honorific_suffix =
| native_name =
| native_name_lang = ਮਰਾਠੀ
| image = Nana-patekiar.png
| image_size =
| alt = ਨਾਨਾ ਪਾਟੇਕਰ
| caption =ਨਾਨਾ ਪਾਟੇਕਰ 2026 ਵਿੱਚ
| birth_name = ਵਿਸ਼ਵਨਾਥ ਪਾਟੇਕਰ
| birth_date = {{Birth date|1951|01|01|df=y}}
| birth_place = ਮੁਰੁਦ-ਜੰਜੀਰਾ, ਬੰਬੇ ਰਾਜ, ਭਾਰਤ
| disappeared_date = <!-- {{Disappeared date and age|YYYY|MM|DD|YYYY|MM|DD}} (disappeared date then birth date) -->
| disappeared_place =
| disappeared_status =
| death_date = {{death date and age|df=y|2026|10|08|1951|01|01}}
| death_place = ਡੋਨਾ ਪੌਲਾ, ਪਣਜੀ, ਗੋਆ, ਭਾਰਤ
| death_cause =
| citizenship =ਭਾਰਤੀ
| education = ਸਰ ਜੇ.ਜੇ. ਇੰਸਟੀਚਿਊਟ ਆਫ਼ ਅਪਲਾਈਡ ਆਰਟ, ਮੁੰਬਈ
| occupation = {{hlist|ਅਦਾਕਾਰ|ਸਕ੍ਰੀਨ-ਲੇਖਕ|ਫਿਲਮ ਨਿਰਮਾਤਾ|ਫੌਜੀ ਅਧਿਕਾਰੀ}}
| years_active = 1978 – 2026
| spouse = | spouse = {{marriage|ਨੀਲਕਾਂਤੀ ਪਾਟੇਕਰ|1978}}
| partner =
| children = 2
| parents = ਦਿਨਕਰ ਪਾਟੇਕਰ<br/>ਸੰਜਨਾ ਪਾਟੇਕਰ
| relatives =
| callsign =
| awards = [[ਪਦਮ ਸ਼੍ਰੀ]] (2013)
| module = {{Infobox military person |embed=yes
| allegiance = {{flagu|ਭਾਰਤ}}
| branch = {{army|India}}
| service_years = 1990–2013
| rank = [[File: Lieutenant Colonel of the Indian Army.svg|21px]] ਲੈਫਟੀਨੈਂਟ ਕਰਨਲ
| unit = {{flagicon image|Territorial Army (Flag).svg}} ਟਰਸ਼ਰੀ ਆਰਮੀ<br>[[File:Marathali.gif|20px]] ਮਰਾਠਾ ਲਾਈਟ ਇਨਫੈਂਟਰੀ
| battles = [[ਕਾਰਗਿਲ ਜੰਗ|1999 ਕਾਰਗਿੱਲ ਜੰਗ]]
}}
}}
'''ਵਿਸ਼ਵਨਾਥ ਪਾਟੇਕਰ''' (1 ਜਨਵਰੀ 1951 – 8 ਅਕਤੂਬਰ 2026)<ref>{{Cite web |date=2026-10-08 |title=Nana Patekar: Outspoken Indian actor Nana Patekar suddenly dies at 75 |url=https://www.bbc.com/news/articles/cj3vqr5rknpeo |access-date=2026-10-08 |website=www.bbc.com |language=en-GB}}</ref>, ਆਮ ਤੌਰ ਤੇ '''ਨਾਨਾ ਪਾਟੇਕਰ''', ਉਹ ਇੱਕ ਭਾਰਤੀ ਅਦਾਕਾਰ ਅਤੇ ਫਿਲਮ ਨਿਰਮਾਤਾ ਸੀ, ਜੋ ਮੁੱਖ ਤੌਰ 'ਤੇ [[ਹਿੰਦੀ ਭਾਸ਼ਾ|ਹਿੰਦੀ]] ਅਤੇ [[ਮਰਾਠੀ ਭਾਸ਼ਾ|ਮਰਾਠੀ]] ਸਿਨੇਮਾ ਵਿੱਚ ਕੰਮ ਕੀਤਾ।<ref>{{Cite web|url=https://www.indiatoday.in/movies/story/actor-nana-patekar-dies-at-hospital-in-goa-he-was-75-3012093-2026-10-08|title=Actor Nana Patekar dies at hospital in Goa. He was 75|first=|date=8 October 2026|website=India Today}}</ref> ਭਾਰਤੀ ਸਿਨੇਮਾ ਦੇ ਸਭ ਤੋਂ ਮਹਾਨ ਅਤੇ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਅਦਾਕਾਰਾਂ ਵਿੱਚੋਂ ਇੱਕ ਮੰਨੇ ਜਾਣ ਵਾਲੇ ਪਾਟੇਕਰ ਨੂੰ ਉਸ ਦੀ ਅਦਾਕਾਰੀ ਲਈ ਤਿੰਨ [[ਰਾਸ਼ਟਰੀ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ|ਰਾਸ਼ਟਰੀ ਫਿਲਮ ਪੁਰਸਕਾਰ]], ਚਾਰ [[ਫ਼ਿਲਮਫ਼ੇਅਰ ਪੁਰਸਕਾਰ|ਫਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ]], ਦੋ ਮਹਾਰਾਸ਼ਟਰ ਰਾਜ ਫਿਲਮ ਪੁਰਸਕਾਰ ਅਤੇ ਮਰਾਠੀ ਫਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ ਮਿਲੇ ਹਨ।<ref>{{Cite web |last=Mojib |first=Syed Ayan |date=2025-01-14 |title=Actor Profiles - Nana Patekar |url=https://www.outlookindia.com/entertainment-spotlight/profiles/nana-patekar |access-date=2026-02-28 |website=Outlook India |language=en}}</ref> ਉਸ ਨੂੰ ਸਿਨੇਮਾ ਅਤੇ ਕਲਾ ਦੇ ਖੇਤਰ ਵਿੱਚ ਪਾਏ ਯੋਗਦਾਨ ਲਈ 2013 ਵਿੱਚ [[ਪਦਮ ਸ਼੍ਰੀ]] ਪੁਰਸਕਾਰ ਨਾਲ ਸਨਮਾਨਿਤ ਕੀਤਾ ਗਿਆ ਸੀ।<ref name="indianexpress.com">{{Cite web |title=Nana Patekar: News, Movies, Photos, Videos & Updates |url=https://indianexpress.com/about/nana-patekar/ |access-date=2026-02-28 |website=The Indian Express |language=en}}</ref>
1978 ਦੀ ਡਰਾਮਾ ਫ਼ਿਲਮ ''ਗਮਨ'' ਨਾਲ ਬਾਲੀਵੁੱਡ ਵਿੱਚ ਆਪਣੀ ਅਦਾਕਾਰੀ ਦੀ ਸ਼ੁਰੂਆਤ ਕਰਨ ਤੋਂ ਬਾਅਦ,<ref name="indianexpress.com"/> ਪਾਟੇਕਰ ਨੇ ਕੁਝ ਮਰਾਠੀ ਅਤੇ ਕੁਝ ਬਾਲੀਵੁੱਡ ਫ਼ਿਲਮਾਂ ਵਿੱਚ ਕੰਮ ਕੀਤਾ। 1988 ਵਿੱਚ [[ਅਕੈਡਮੀ ਅਵਾਰਡ]] ਲਈ ਨਾਮਜ਼ਦ ਫ਼ਿਲਮ ''[[ਸਲਾਮ ਬੰਬੇ!|ਸਲਾਮ ਬੰਬੇ]]'' ਵਿੱਚ ਕੰਮ ਕਰਨ ਤੋਂ ਬਾਅਦ, ਉਨ੍ਹਾਂ ਨੇ ਕ੍ਰਾਈਮ ਡਰਾਮਾ ''ਪਰਿੰਦਾ'' (1989) ਵਿੱਚ ਆਪਣੀ ਅਦਾਕਾਰੀ ਲਈ 'ਸਰਵੋਤਮ ਸਹਾਇਕ ਅਦਾਕਾਰ' ਵਜੋਂ [[ਰਾਸ਼ਟਰੀ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ]] ਅਤੇ [[ਫ਼ਿਲਮਫ਼ੇਅਰ ਪੁਰਸਕਾਰ|ਫ਼ਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ]] ਜਿੱਤਿਆ। ਇਸ ਤੋਂ ਬਾਅਦ ਉਹ ਆਪਣੀ ਨਿਰਦੇਸ਼ਨ ਹੇਠ ਬਣੀ ਪਹਿਲੀ ਫ਼ਿਲਮ ''ਪ੍ਰਹਾਰ: ਦ ਫਾਈਨਲ ਅਟੈਕ'' (1991) ਵਿੱਚ ਨਜ਼ਰ ਆਏ।<ref>{{Cite news |last=Press Trust of India |title=Nana Patekar making biopic on social worker Baba Amte |url=http://www.business-standard.com/article/pti-stories/nana-patekar-making-biopic-on-social-worker-baba-amte-114112500930_1.html |archive-url=https://web.archive.org/web/20160816224048/http://www.business-standard.com/article/pti-stories/nana-patekar-making-biopic-on-social-worker-baba-amte-114112500930_1.html |archive-date=2016-08-16 |access-date=2026-02-28 |language=en-us}}</ref> ਪਾਟੇਕਰ ਨੇ 1990 ਦੇ ਦਹਾਕੇ ਦੀਆਂ ਕਈ ਵਪਾਰਕ ਤੌਰ 'ਤੇ ਸਫਲ ਫ਼ਿਲਮਾਂ ਵਿੱਚ ਕੰਮ ਕੀਤਾ ਅਤੇ ਆਪਣੀ ਅਦਾਕਾਰੀ ਲਈ ਖੂਬ ਪ੍ਰਸ਼ੰਸਾ ਖੱਟੀ; ਇਨ੍ਹਾਂ ਵਿੱਚ ''ਰਾਜੂ ਬਣ ਗਿਆ ਜੈਂਟਲਮੈਨ'' (1992), ''ਅੰਗਾਰ'' (1992) - ਜਿਸ ਲਈ ਉਨ੍ਹਾਂ ਨੇ 'ਸਰਵੋਤਮ ਖਲਨਾਇਕ' ਦਾ ਫ਼ਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ ਜਿੱਤਿਆ, ''ਤਿਰੰਗਾ'' (1993) ਅਤੇ ''ਕ੍ਰਾਂਤੀਵੀਰ'' (1994) - ਜਿਸ ਲਈ ਉਸ ਨੇ 'ਸਰਵੋਤਮ ਅਦਾਕਾਰ' ਵਜੋਂ ਰਾਸ਼ਟਰੀ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ ਅਤੇ ਫ਼ਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ ਜਿੱਤਿਆ, ਸ਼ਾਮਲ ਹਨ। ਉਸ ਨੂੰ ''ਅਗਨੀ ਸਾਕਸ਼ੀ'' (1996) ਲਈ ਉਸ ਨੇ 'ਸਰਵੋਤਮ ਸਹਾਇਕ ਅਦਾਕਾਰ' ਵਜੋਂ ਆਪਣਾ ਦੂਜਾ ਰਾਸ਼ਟਰੀ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ ਜਿੱਤਿਆ - ਅਤੇ ''ਖਾਮੋਸ਼ੀ: ਦ ਮਿਊਜ਼ੀਕਲ'' (1996) ਲਈ ਵੀ ਭਰਪੂਰ ਪ੍ਰਸ਼ੰਸਾ ਮਿਲੀ।
== ਜੀਵਨੀ ==
ਨਾਨਾ ਪਾਟੇਕਰ ਦਾ ਜਨਮ ਵਿਸ਼ਵਨਾਥ ਪਾਟੇਕਰ ਦੇ ਰੂਪ ਵਿੱਚ, ਮੁਰੂਦ-ਜੰਜੀਰਾ, ਮੌਜੂਦਾ [[ਰਾਏਗੜ੍ਹ ਜ਼ਿਲ੍ਹਾ, ਮਹਾਰਾਸ਼ਟਰ|ਰਾਏਗੜ੍ਹ ਜ਼ਿਲ੍ਹੇ]], [[ਮਹਾਰਾਸ਼ਟਰ]] ਵਿੱਚ ਇੱਕ ਮਰਾਠੀ ਪਰਿਵਾਰ ਵਿੱਚ ਹੋਇਆ ਸੀ।<ref name="TOI48667422">{{cite web |date=26 August 2015 |title=Nana Patekar: I learnt acting from the hunger and humiliation I faced at 13 – The Times of India . |url=http://timesofindia.indiatimes.com/entertainment/hindi/bollywood/news/Nana-Patekar-I-learnt-acting-from-the-hunger-and-humiliation-I-faced-at-13/articleshow/48667422.cms |url-status=live |archive-url=https://web.archive.org/web/20150828060154/http://timesofindia.indiatimes.com/entertainment/hindi/bollywood/news/Nana-Patekar-I-learnt-acting-from-the-hunger-and-humiliation-I-faced-at-13/articleshow/48667422.cms |archive-date=28 August 2015 |access-date=3 September 2015 |work=The Times of India}}</ref><ref>{{cite news|url=http://timesofindia.indiatimes.com/entertainment/hindi/bollywood/news/Nana-Patekar-breaks-his-khamoshi/articleshow/25392.cms|title=Nana Patekar breaks his khamoshi|work=[[The Times of India]]|access-date=9 October 2014|archive-url=https://web.archive.org/web/20141202210316/http://timesofindia.indiatimes.com/entertainment/hindi/bollywood/news/Nana-Patekar-breaks-his-khamoshi/articleshow/25392.cms|archive-date=2 December 2014|publisher=[[The Times Group]]|url-status=live}}</ref> ਉਹ ਸਰ ਜੇ.ਜੇ. ਇੰਸਟੀਚਿਊਟ ਆਫ਼ ਅਪਲਾਈਡ ਆਰਟ, [[ਮੁੰਬਈ]] ਦੇ ਸਾਬਕਾ ਵਿਦਿਆਰਥੀ ਸੀ।<ref>{{cite news|url=https://www.indiatoday.in/magazine/society-and-the-arts/films/story/19920131-after-successful-directorial-debut-nana-patekar-looks-to-broaden-his-cinematic-repertoire-765771-2013-06-27|title=Riveting persona|work=[[India Today]]|access-date=9 October 2014|archive-url=https://web.archive.org/web/20141021052116/http://indiatoday.intoday.in/story/after-successful-directorial-debut-nana-patekar-looks-to-broaden-his-cinematic-repertoire/1/306084.html|archive-date=21 October 2014|url-status=live}}</ref><ref>{{cite web |title=About Nana Patekar |url=http://www.kokanworld.com/details.aspx?pid=%2013 |url-status=dead |archive-url=https://web.archive.org/web/20110713163522/http://www.kokanworld.com/details.aspx?pid=%2013 |archive-date=13 July 2011 |access-date=6 October 2010 |publisher=Konkan World}}</ref>
==ਹਵਾਲੇ==
{{Reflist}}
== ਬਾਹਰੀ ਲਿੰਕ ==
{{Commons category||ਨਾਨਾ ਪਾਟੇਕਰ}}
* {{IMDb name|id=0007113}}
[[ਸ਼੍ਰੇਣੀ:ਹਿੰਦੀ ਸਿਨੇਮਾ ਵਿੱਚ ਮਰਦ ਅਦਾਕਾਰ]]
[[ਸ਼੍ਰੇਣੀ:ਜਨਮ 1949]]
[[ਸ਼੍ਰੇਣੀ:ਫ਼ਿਲਮਫ਼ੇਅਰ ਪੁਰਸਕਾਰ ਵਿਜੇਤਾ]]
[[ਸ਼੍ਰੇਣੀ:ਮੌਤ 2026]]
41mpyosdxnnl1v4a1o63rf1bulrdxse
849432
849416
2026-10-08T17:38:02Z
Nitesh Gill
8973
849432
wikitext
text/x-wiki
{{Infobox person
| honorific_prefix =
| name = ਨਾਨਾ ਪਾਟੇਕਰ
| honorific_suffix =
| native_name =
| native_name_lang = ਮਰਾਠੀ
| image = Nana-patekiar.png
| image_size =
| alt = ਨਾਨਾ ਪਾਟੇਕਰ
| caption =ਨਾਨਾ ਪਾਟੇਕਰ 2026 ਵਿੱਚ
| birth_name = ਵਿਸ਼ਵਨਾਥ ਪਾਟੇਕਰ
| birth_date = {{Birth date|1951|01|01|df=y}}
| birth_place = ਮੁਰੁਦ-ਜੰਜੀਰਾ, ਬੰਬੇ ਰਾਜ, ਭਾਰਤ
| disappeared_date = <!-- {{Disappeared date and age|YYYY|MM|DD|YYYY|MM|DD}} (disappeared date then birth date) -->
| disappeared_place =
| disappeared_status =
| death_date = {{death date and age|df=y|2026|10|08|1951|01|01}}
| death_place = ਡੋਨਾ ਪੌਲਾ, ਪਣਜੀ, ਗੋਆ, ਭਾਰਤ
| death_cause =
| citizenship =ਭਾਰਤੀ
| education = ਸਰ ਜੇ.ਜੇ. ਇੰਸਟੀਚਿਊਟ ਆਫ਼ ਅਪਲਾਈਡ ਆਰਟ, ਮੁੰਬਈ
| occupation = {{hlist|ਅਦਾਕਾਰ|ਸਕ੍ਰੀਨ-ਲੇਖਕ|ਫਿਲਮ ਨਿਰਮਾਤਾ|ਫੌਜੀ ਅਧਿਕਾਰੀ}}
| years_active = 1978 – 2026
| spouse = | spouse = {{marriage|ਨੀਲਕਾਂਤੀ ਪਾਟੇਕਰ|1978}}
| partner =
| children = 2
| parents = ਦਿਨਕਰ ਪਾਟੇਕਰ<br/>ਸੰਜਨਾ ਪਾਟੇਕਰ
| relatives =
| callsign =
| awards = [[ਪਦਮ ਸ਼੍ਰੀ]] (2013)
| module = {{Infobox military person |embed=yes
| allegiance = {{flagu|ਭਾਰਤ}}
| branch = {{army|India}}
| service_years = 1990–2013
| rank = [[File: Lieutenant Colonel of the Indian Army.svg|21px]] ਲੈਫਟੀਨੈਂਟ ਕਰਨਲ
| unit = {{flagicon image|Territorial Army (Flag).svg}} ਟਰਸ਼ਰੀ ਆਰਮੀ<br>[[File:Marathali.gif|20px]] ਮਰਾਠਾ ਲਾਈਟ ਇਨਫੈਂਟਰੀ
| battles = [[ਕਾਰਗਿਲ ਜੰਗ|1999 ਕਾਰਗਿੱਲ ਜੰਗ]]
}}
}}
'''ਵਿਸ਼ਵਨਾਥ ਪਾਟੇਕਰ''' (1 ਜਨਵਰੀ 1951 – 8 ਅਕਤੂਬਰ 2026)<ref>{{Cite web |date=2026-10-08 |title=Nana Patekar: Outspoken Indian actor Nana Patekar suddenly dies at 75 |url=https://www.bbc.com/news/articles/cj3vqr5rknpeo |access-date=2026-10-08 |website=www.bbc.com |language=en-GB}}</ref>, ਆਮ ਤੌਰ ਤੇ '''ਨਾਨਾ ਪਾਟੇਕਰ''', ਉਹ ਇੱਕ ਭਾਰਤੀ ਅਦਾਕਾਰ ਅਤੇ ਫਿਲਮ ਨਿਰਮਾਤਾ ਸੀ, ਜੋ ਮੁੱਖ ਤੌਰ 'ਤੇ [[ਹਿੰਦੀ ਭਾਸ਼ਾ|ਹਿੰਦੀ]] ਅਤੇ [[ਮਰਾਠੀ ਭਾਸ਼ਾ|ਮਰਾਠੀ]] ਸਿਨੇਮਾ ਵਿੱਚ ਕੰਮ ਕੀਤਾ।<ref>{{Cite web|url=https://www.indiatoday.in/movies/story/actor-nana-patekar-dies-at-hospital-in-goa-he-was-75-3012093-2026-10-08|title=Actor Nana Patekar dies at hospital in Goa. He was 75|first=|date=8 October 2026|website=India Today}}</ref> ਭਾਰਤੀ ਸਿਨੇਮਾ ਦੇ ਸਭ ਤੋਂ ਮਹਾਨ ਅਤੇ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਅਦਾਕਾਰਾਂ ਵਿੱਚੋਂ ਇੱਕ ਮੰਨੇ ਜਾਣ ਵਾਲੇ ਪਾਟੇਕਰ ਨੂੰ ਉਸ ਦੀ ਅਦਾਕਾਰੀ ਲਈ ਤਿੰਨ [[ਰਾਸ਼ਟਰੀ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ|ਰਾਸ਼ਟਰੀ ਫਿਲਮ ਪੁਰਸਕਾਰ]], ਚਾਰ [[ਫ਼ਿਲਮਫ਼ੇਅਰ ਪੁਰਸਕਾਰ|ਫਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ]], ਦੋ ਮਹਾਰਾਸ਼ਟਰ ਰਾਜ ਫਿਲਮ ਪੁਰਸਕਾਰ ਅਤੇ ਮਰਾਠੀ ਫਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ ਮਿਲੇ ਹਨ।<ref>{{Cite web |last=Mojib |first=Syed Ayan |date=2025-01-14 |title=Actor Profiles - Nana Patekar |url=https://www.outlookindia.com/entertainment-spotlight/profiles/nana-patekar |access-date=2026-02-28 |website=Outlook India |language=en}}</ref> ਉਸ ਨੂੰ ਸਿਨੇਮਾ ਅਤੇ ਕਲਾ ਦੇ ਖੇਤਰ ਵਿੱਚ ਪਾਏ ਯੋਗਦਾਨ ਲਈ 2013 ਵਿੱਚ [[ਪਦਮ ਸ਼੍ਰੀ]] ਪੁਰਸਕਾਰ ਨਾਲ ਸਨਮਾਨਿਤ ਕੀਤਾ ਗਿਆ ਸੀ।<ref name="indianexpress.com">{{Cite web |title=Nana Patekar: News, Movies, Photos, Videos & Updates |url=https://indianexpress.com/about/nana-patekar/ |access-date=2026-02-28 |website=The Indian Express |language=en}}</ref>
1978 ਦੀ ਡਰਾਮਾ ਫ਼ਿਲਮ ''ਗਮਨ'' ਨਾਲ ਬਾਲੀਵੁੱਡ ਵਿੱਚ ਆਪਣੀ ਅਦਾਕਾਰੀ ਦੀ ਸ਼ੁਰੂਆਤ ਕਰਨ ਤੋਂ ਬਾਅਦ,<ref name="indianexpress.com"/> ਪਾਟੇਕਰ ਨੇ ਕੁਝ ਮਰਾਠੀ ਅਤੇ ਕੁਝ ਬਾਲੀਵੁੱਡ ਫ਼ਿਲਮਾਂ ਵਿੱਚ ਕੰਮ ਕੀਤਾ। 1988 ਵਿੱਚ [[ਅਕੈਡਮੀ ਅਵਾਰਡ]] ਲਈ ਨਾਮਜ਼ਦ ਫ਼ਿਲਮ ''[[ਸਲਾਮ ਬੰਬੇ!|ਸਲਾਮ ਬੰਬੇ]]'' ਵਿੱਚ ਕੰਮ ਕਰਨ ਤੋਂ ਬਾਅਦ, ਉਨ੍ਹਾਂ ਨੇ ਕ੍ਰਾਈਮ ਡਰਾਮਾ ''ਪਰਿੰਦਾ'' (1989) ਵਿੱਚ ਆਪਣੀ ਅਦਾਕਾਰੀ ਲਈ 'ਸਰਵੋਤਮ ਸਹਾਇਕ ਅਦਾਕਾਰ' ਵਜੋਂ [[ਰਾਸ਼ਟਰੀ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ]] ਅਤੇ [[ਫ਼ਿਲਮਫ਼ੇਅਰ ਪੁਰਸਕਾਰ|ਫ਼ਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ]] ਜਿੱਤਿਆ। ਇਸ ਤੋਂ ਬਾਅਦ ਉਹ ਆਪਣੀ ਨਿਰਦੇਸ਼ਨ ਹੇਠ ਬਣੀ ਪਹਿਲੀ ਫ਼ਿਲਮ ''ਪ੍ਰਹਾਰ: ਦ ਫਾਈਨਲ ਅਟੈਕ'' (1991) ਵਿੱਚ ਨਜ਼ਰ ਆਏ।<ref>{{Cite news |last=Press Trust of India |title=Nana Patekar making biopic on social worker Baba Amte |url=http://www.business-standard.com/article/pti-stories/nana-patekar-making-biopic-on-social-worker-baba-amte-114112500930_1.html |archive-url=https://web.archive.org/web/20160816224048/http://www.business-standard.com/article/pti-stories/nana-patekar-making-biopic-on-social-worker-baba-amte-114112500930_1.html |archive-date=2016-08-16 |access-date=2026-02-28 |language=en-us}}</ref> ਪਾਟੇਕਰ ਨੇ 1990 ਦੇ ਦਹਾਕੇ ਦੀਆਂ ਕਈ ਵਪਾਰਕ ਤੌਰ 'ਤੇ ਸਫਲ ਫ਼ਿਲਮਾਂ ਵਿੱਚ ਕੰਮ ਕੀਤਾ ਅਤੇ ਆਪਣੀ ਅਦਾਕਾਰੀ ਲਈ ਖੂਬ ਪ੍ਰਸ਼ੰਸਾ ਖੱਟੀ; ਇਨ੍ਹਾਂ ਵਿੱਚ ''ਰਾਜੂ ਬਣ ਗਿਆ ਜੈਂਟਲਮੈਨ'' (1992), ''ਅੰਗਾਰ'' (1992) - ਜਿਸ ਲਈ ਉਨ੍ਹਾਂ ਨੇ 'ਸਰਵੋਤਮ ਖਲਨਾਇਕ' ਦਾ ਫ਼ਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ ਜਿੱਤਿਆ, ''ਤਿਰੰਗਾ'' (1993) ਅਤੇ ''ਕ੍ਰਾਂਤੀਵੀਰ'' (1994) - ਜਿਸ ਲਈ ਉਸ ਨੇ 'ਸਰਵੋਤਮ ਅਦਾਕਾਰ' ਵਜੋਂ ਰਾਸ਼ਟਰੀ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ ਅਤੇ ਫ਼ਿਲਮਫੇਅਰ ਪੁਰਸਕਾਰ ਜਿੱਤਿਆ, ਸ਼ਾਮਲ ਹਨ। ਉਸ ਨੂੰ ''ਅਗਨੀ ਸਾਕਸ਼ੀ'' (1996) ਲਈ ਉਸ ਨੇ 'ਸਰਵੋਤਮ ਸਹਾਇਕ ਅਦਾਕਾਰ' ਵਜੋਂ ਆਪਣਾ ਦੂਜਾ ਰਾਸ਼ਟਰੀ ਫ਼ਿਲਮ ਪੁਰਸਕਾਰ ਜਿੱਤਿਆ - ਅਤੇ ''ਖਾਮੋਸ਼ੀ: ਦ ਮਿਊਜ਼ੀਕਲ'' (1996) ਲਈ ਵੀ ਭਰਪੂਰ ਪ੍ਰਸ਼ੰਸਾ ਮਿਲੀ।
== ਜੀਵਨੀ ==
ਨਾਨਾ ਪਾਟੇਕਰ ਦਾ ਜਨਮ ਵਿਸ਼ਵਨਾਥ ਪਾਟੇਕਰ ਦੇ ਰੂਪ ਵਿੱਚ, ਮੁਰੂਦ-ਜੰਜੀਰਾ, ਮੌਜੂਦਾ [[ਰਾਏਗੜ੍ਹ ਜ਼ਿਲ੍ਹਾ, ਮਹਾਰਾਸ਼ਟਰ|ਰਾਏਗੜ੍ਹ ਜ਼ਿਲ੍ਹੇ]], [[ਮਹਾਰਾਸ਼ਟਰ]] ਵਿੱਚ ਇੱਕ ਮਰਾਠੀ ਪਰਿਵਾਰ ਵਿੱਚ ਹੋਇਆ ਸੀ।<ref name="TOI48667422">{{cite web |date=26 August 2015 |title=Nana Patekar: I learnt acting from the hunger and humiliation I faced at 13 – The Times of India . |url=http://timesofindia.indiatimes.com/entertainment/hindi/bollywood/news/Nana-Patekar-I-learnt-acting-from-the-hunger-and-humiliation-I-faced-at-13/articleshow/48667422.cms |url-status=live |archive-url=https://web.archive.org/web/20150828060154/http://timesofindia.indiatimes.com/entertainment/hindi/bollywood/news/Nana-Patekar-I-learnt-acting-from-the-hunger-and-humiliation-I-faced-at-13/articleshow/48667422.cms |archive-date=28 August 2015 |access-date=3 September 2015 |work=The Times of India}}</ref><ref>{{cite news|url=http://timesofindia.indiatimes.com/entertainment/hindi/bollywood/news/Nana-Patekar-breaks-his-khamoshi/articleshow/25392.cms|title=Nana Patekar breaks his khamoshi|work=[[The Times of India]]|access-date=9 October 2014|archive-url=https://web.archive.org/web/20141202210316/http://timesofindia.indiatimes.com/entertainment/hindi/bollywood/news/Nana-Patekar-breaks-his-khamoshi/articleshow/25392.cms|archive-date=2 December 2014|publisher=[[The Times Group]]|url-status=live}}</ref> ਉਹ ਸਰ ਜੇ.ਜੇ. ਇੰਸਟੀਚਿਊਟ ਆਫ਼ ਅਪਲਾਈਡ ਆਰਟ, [[ਮੁੰਬਈ]] ਦੇ ਸਾਬਕਾ ਵਿਦਿਆਰਥੀ ਸੀ।<ref>{{cite news|url=https://www.indiatoday.in/magazine/society-and-the-arts/films/story/19920131-after-successful-directorial-debut-nana-patekar-looks-to-broaden-his-cinematic-repertoire-765771-2013-06-27|title=Riveting persona|work=[[India Today]]|access-date=9 October 2014|archive-url=https://web.archive.org/web/20141021052116/http://indiatoday.intoday.in/story/after-successful-directorial-debut-nana-patekar-looks-to-broaden-his-cinematic-repertoire/1/306084.html|archive-date=21 October 2014|url-status=live}}</ref><ref>{{cite web |title=About Nana Patekar |url=http://www.kokanworld.com/details.aspx?pid=%2013 |url-status=dead |archive-url=https://web.archive.org/web/20110713163522/http://www.kokanworld.com/details.aspx?pid=%2013 |archive-date=13 July 2011 |access-date=6 October 2010 |publisher=Konkan World}}</ref>
== ਮੌਤ ==
8 ਅਕਤੂਬਰ 2026 ਦੀ ਸਵੇਰ ਨੂੰ, [[ਗੋਆ]] ਸਥਿਤ ਆਪਣੇ ਘਰ ਵਿੱਚ ਪਾਟੇਕਰ ਨੂੰ ਛਾਤੀ ਵਿੱਚ ਤੇਜ਼ ਦਰਦ ਹੋਇਆ, ਜਿਸ ਤੋਂ ਬਾਅਦ ਇੱਕ ਮੈਡੀਕਲ ਟੀਮ ਨੂੰ ਉਨ੍ਹਾਂ ਦੇ ਘਰ ਭੇਜਿਆ ਗਿਆ। ਉਹ ਬੇਹੋਸ਼ੀ ਦੀ ਹਾਲਤ ਵਿੱਚ ਮਿਲੇ ਅਤੇ ਸੀ.ਪੀ.ਆਰ. (CPR) ਦੀ ਕੋਸ਼ਿਸ਼ ਤੋਂ ਬਾਅਦ ਉਸ ਨੂੰ ਮਨੀਪਾਲ ਹਸਪਤਾਲ, ਗੋਆ ਲਿਜਾਇਆ ਗਿਆ, ਜਿੱਥੇ ਉਸੇ ਦਿਨ ਸਵੇਰੇ 5:20 ਵਜੇ ਦਿਲ ਦਾ ਦੌਰਾ ਪੈਣ ਕਾਰਨ ਉਨ੍ਹਾਂ ਨੂੰ ਮ੍ਰਿਤਕ ਐਲਾਨ ਦਿੱਤਾ ਗਿਆ।<ref>{{Cite news |title=Veteran Actor dies at 75 at his goa house |url=https://www.news18.com/movies/bollywood/nana-patekar-death-live-updates-veteran-actor-dies-at-75-goa-tributes-last-rites-liveblog-10371964.html}}</ref><ref>{{Cite web |title=Cardiac arrest led to death of actor Nana Patekar, says Doctor and Goa's Manipal Hospital |url=https://www.aninews.in/news/entertainment/bollywood/cardiac-arrest-led-to-death-of-actor-nana-patekar-says-doctor-and-goas-manipal-hospital20261008090122/ |access-date=8 October 2026 |website=ANI News |language=en}}</ref> ਆਪਣੀ ਮੌਤ ਤੋਂ ਚਾਰ ਦਿਨ ਪਹਿਲਾਂ, ਪਾਟੇਕਰ ਨੇ ਅਕਤੂਬਰ 2026 ਵਿੱਚ ਡੋਨਾ ਪੌਲਾ, ਗੋਆ ਵਿਖੇ 'ਸਮਰਾਟ ਕਲੱਬ ਇੰਟਰਨੈਸ਼ਨਲ' ਦੇ ਅਹੁਦਾ-ਗ੍ਰਹਿਣ ਸਮਾਰੋਹ (installation ceremony) ਵਿੱਚ ਆਖਰੀ ਵਾਰ ਜਨਤਕ ਤੌਰ 'ਤੇ ਸ਼ਿਰਕਤ ਕੀਤੀ, ਜਿੱਥੇ ਉਨ੍ਹਾਂ ਨੇ ਥੀਏਟਰ, ਜੀਵਨ ਅਤੇ ਮੌਤ ਬਾਰੇ ਗੱਲਬਾਤ ਕੀਤੀ। ਉਨ੍ਹਾਂ ਕਿਹਾ, "ਅਸੀਂ ਸਾਰਿਆਂ ਨੇ ਇੱਕ ਦਿਨ ਚਲੇ ਜਾਣਾ ਹੈ। ਮੈਨੂੰ ਨਹੀਂ ਪਤਾ ਕਿ ਮੈਂ ਕੱਲ੍ਹ ਇੱਥੇ ਹੋਵਾਂਗਾ ਜਾਂ ਨਹੀਂ। ਹਰ ਵਿਅਕਤੀ ਦਾ ਜੀਵਨ ਅੰਤ ਵਿੱਚ ਉਸ ਪੜਾਅ 'ਤੇ ਪਹੁੰਚੇਗਾ। ਪਰ ਅਜਿਹਾ ਹੋਣ ਤੋਂ ਪਹਿਲਾਂ, ਮੈਨੂੰ ਆਪਣੇ ਆਪ ਤੋਂ ਇਹ ਪੁੱਛਣਾ ਪਵੇਗਾ: ਕੀ ਮੈਂ ਉਹ ਕਰਨ ਦੇ ਯੋਗ ਹਾਂ ਜੋ ਮੈਂ ਕਰਨਾ ਚਾਹੁੰਦਾ ਹਾਂ?"<ref>{{Cite web |date=2026-10-08 |title=‘He never came out of it’: Doctor recalls Nana Patekar’s CPR and the missed ‘Golden Hour’ |url=https://indianexpress.com/article/lifestyle/health/nana-patekar-cardiac-arrest-doctor-on-cpr-missed-golden-hour-10912406/ |access-date=2026-10-08 |website=The Indian Express |language=en}}</ref>
==ਹਵਾਲੇ==
{{Reflist}}
== ਬਾਹਰੀ ਲਿੰਕ ==
{{Commons category||ਨਾਨਾ ਪਾਟੇਕਰ}}
* {{IMDb name|id=0007113}}
[[ਸ਼੍ਰੇਣੀ:ਹਿੰਦੀ ਸਿਨੇਮਾ ਵਿੱਚ ਮਰਦ ਅਦਾਕਾਰ]]
[[ਸ਼੍ਰੇਣੀ:ਜਨਮ 1949]]
[[ਸ਼੍ਰੇਣੀ:ਫ਼ਿਲਮਫ਼ੇਅਰ ਪੁਰਸਕਾਰ ਵਿਜੇਤਾ]]
[[ਸ਼੍ਰੇਣੀ:ਮੌਤ 2026]]
j44z5ynk902tjqu6t1ejkvr85ryidhf
ਨਵੀ ਪਿਲਾਈ
0
57402
849457
758629
2026-10-09T09:54:05Z
Kuldeepburjbhalaike
18176
849457
wikitext
text/x-wiki
{{Infobox officeholder
| name = ਨਵੀ ਪਿੱਲੈ
| image = Navi Pillay June 2014.jpg
| office = [[ਮਨੁੱਖੀ ਅਧਿਕਾਰਾਂ ਲਈ ਹਾਈ ਕਮਿਸ਼ਨਰ|ਸੰਯੁਕਤ ਰਾਸ਼ਟਰ ਮਨੁੱਖੀ ਅਧਿਕਾਰਾਂ ਲਈ ਹਾਈ ਕਮਿਸ਼ਨਰ]]
| 1blankname = ਸਕੱਤਰ ਜਨਰਲ
| 1namedata = [[ਬਾਨ ਕੀ ਮੂਨ]]
| deputy1 =
| term_start = 1 ਸਤੰਬਰ 2008
| term_end = 31 ਅਗਸਤ 2014
| predecessor1 = ਲੂਈਸ ਆਰਬਰ
| successor1 = ਪ੍ਰਿੰਸ ਜ਼ੈਦ ਬਿਨ ਰਾਦ
| office2 = ਅੰਤਰਰਾਸ਼ਟਰੀ ਅਪਰਾਧਿਕ ਅਦਾਲਤ ਦਾ ਜੱਜ
| term_start2 = 11 ਮਾਰਚ 2003
| term_end2 = 31 ਅਗਸਤ 2008
| predecessor2 =
| successor2 =
| office3 =
| term_start3 =
| term_end3 =
| predecessor3 =
| successor3 =
| office4 =
| term_start4 =
| term_end4 =
| predecessor4 =
| successor4 =
| office5 = ਸਾਊਥ ਅਫ਼ਰੀਕਾ ਹਾਈ ਕੋਰਟ ਦੀ ਜੱਜ
| nominator5 = [[ਨੈਲਸਨ ਮੰਡੇਲਾ|ਸਾਊਥ ਅਫ਼ਰੀਕਾ ਹਾਈ ਕੋਰਟ]]
| term_start5 = 1995
| term_end5 = 1995
| predecessor5 =
| successor5 =
| birth_name = ਨਵਨੇਥਮ ਨਾਇਡੂ
| birth_date = {{nowrap|{{birth date and age|1941|9|23|df=y}}}}
| birth_place = [[ਡਰਬਨ]], ਸਾਊਥ ਅਫ਼ਰੀਕਾ
| death_date =
| death_place =
| awards = [[ਨੋਬਲ ਸ਼ਾਂਤੀ ਇਨਾਮ]] (2026)
| spouse = {{marriage|Gaby Pillay|1965-01}}
| children = 2 ਪੁੱਤਰੀਆਂ
| education =
| caption = 2014 ਵਿੱਚ
}}
'''ਨਵੀ ਪਿਲਾਈ''' ਜਾਂ '''ਨਵੀ ਪਿੱਲੈ''' (ਤਾਮਿਲ:நவநீதம் பிள்ளை)1941 23 ਸਤੰਬਰ ਨੂੰ ਪੈਦਾ ਹੋਏ|ਉਹ ਦੱਖਣੀ ਅਫਰੀਕਾ 'ਚ ਇੱਕ ਜੱਜ ਸਨ। ਉਹ 2003 ਦੇ ਬਾਅਦ ਇੰਟਰਨੈਸ਼ਨਲ ਕ੍ਰਿਮੀਨਲ ਕੋਰਟ ਦੇ ਇੱਕ ਜੱਜ ਰਹੇ ਹਨ। ਉਹ ਇਸ ਕੰਮ ਉੱਤੇ ਇੱਕ ਚਾਰ ਸਾਲ ਦੀ ਮਿਆਦ ਦੀ ਸੇਵਾ ਕਰਨ ਲਈ, 1 ਸਤੰਬਰ, 2008 ਨੂੰ ਸੰਯੁਕਤ ਰਾਸ਼ਟਰ ਦੇ ਮਨੁੱਖੀ ਅਧਿਕਾਰ ਕਮਿਸ਼ਨਰ ਨੂੰ ਚੁਣੇ ਗਏ ਸਨ।<ref>reuters-factbox</ref>
==ਪਿਛੋਕੜ==
ਉਹ ਤਾਮਿਲ ਮੂਲ ਦੇ ਪਰੀਵਾਰ ਵਿੱਚ ਡਰਬਨ, ਨੇਟਲ [[ਦੱਖਣੀ ਅਫਰੀਕਾ ]]'ਚ ਪੈਦਾ ਹੋਏ ਸਨ।ਉਸ ਦੇ ਪਿਤਾ ਇੱਕ ਬੱਸ ਡਰਾਈਵਰ ਸਨ। ਜਨਵਰੀ 1965 ਨੁੰ, ਉਸ ਇੱਕ ਵਕੀਲ ਨਾਲ ਵਿਆਹ ਕੀਤਾ |
1963 ਵਿੱਚ ਨੇਟਲ ਯੂਨੀਵਰਸਿਟੀ ਤੋਂ BA ਡਿਗਰੀ ਅਤੇ 1965 ਵਿੱਚ ਇੱਕ ਐਲ.ਐਲ.ਬੀ. ਦੀ ਡਿਗਰੀ ਕੀਤੀ | 1988 ਵਿੱਚ ਹਾਰਵਰਡ ਲਾਅ ਸਕੂਲ ਤੋਂ LLM ਡਿਗਰੀ ਵਿੱਚ ਅਤੇ 1982 ਡਾਕਟਰ ਨਿਆਂਇਕ ਸਾਇੰਸ ਦੀ ਡਿਗਰੀ ਖੇਤਰ ਵਿੱਚ ਕੀਤੀ |
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
== ਬਾਹਰੀ ਲਿੰਕ ==
{{commons category|Navanethem Pillay|ਨਵਨੇਥਮ ਪਿੱਲੇ}}
[[ਸ਼੍ਰੇਣੀ:ਜਨਮ 1941]]
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
gre8y2bp5ff7w66m4odou3kf24agsbp
849458
849457
2026-10-09T09:54:36Z
Kuldeepburjbhalaike
18176
849458
wikitext
text/x-wiki
{{Infobox officeholder
| name = ਨਵੀ ਪਿੱਲੈ
| image = Navi Pillay June 2014.jpg
| office = ਸੰਯੁਕਤ ਰਾਸ਼ਟਰ ਮਨੁੱਖੀ ਅਧਿਕਾਰਾਂ ਲਈ ਹਾਈ ਕਮਿਸ਼ਨਰ
| 1blankname = ਸਕੱਤਰ ਜਨਰਲ
| 1namedata = [[ਬਾਨ ਕੀ ਮੂਨ]]
| deputy1 =
| term_start = 1 ਸਤੰਬਰ 2008
| term_end = 31 ਅਗਸਤ 2014
| predecessor1 = ਲੂਈਸ ਆਰਬਰ
| successor1 = ਪ੍ਰਿੰਸ ਜ਼ੈਦ ਬਿਨ ਰਾਦ
| office2 = ਅੰਤਰਰਾਸ਼ਟਰੀ ਅਪਰਾਧਿਕ ਅਦਾਲਤ ਦਾ ਜੱਜ
| term_start2 = 11 ਮਾਰਚ 2003
| term_end2 = 31 ਅਗਸਤ 2008
| predecessor2 =
| successor2 =
| office3 =
| term_start3 =
| term_end3 =
| predecessor3 =
| successor3 =
| office4 =
| term_start4 =
| term_end4 =
| predecessor4 =
| successor4 =
| office5 = ਸਾਊਥ ਅਫ਼ਰੀਕਾ ਹਾਈ ਕੋਰਟ ਦੀ ਜੱਜ
| nominator5 = [[ਨੈਲਸਨ ਮੰਡੇਲਾ|ਸਾਊਥ ਅਫ਼ਰੀਕਾ ਹਾਈ ਕੋਰਟ]]
| term_start5 = 1995
| term_end5 = 1995
| predecessor5 =
| successor5 =
| birth_name = ਨਵਨੇਥਮ ਨਾਇਡੂ
| birth_date = {{nowrap|{{birth date and age|1941|9|23|df=y}}}}
| birth_place = [[ਡਰਬਨ]], ਸਾਊਥ ਅਫ਼ਰੀਕਾ
| death_date =
| death_place =
| awards = [[ਨੋਬਲ ਸ਼ਾਂਤੀ ਇਨਾਮ]] (2026)
| spouse = {{marriage|Gaby Pillay|1965-01}}
| children = 2 ਪੁੱਤਰੀਆਂ
| education =
| caption = 2014 ਵਿੱਚ
}}
'''ਨਵੀ ਪਿਲਾਈ''' ਜਾਂ '''ਨਵੀ ਪਿੱਲੈ''' (ਤਾਮਿਲ:நவநீதம் பிள்ளை)1941 23 ਸਤੰਬਰ ਨੂੰ ਪੈਦਾ ਹੋਏ|ਉਹ ਦੱਖਣੀ ਅਫਰੀਕਾ 'ਚ ਇੱਕ ਜੱਜ ਸਨ। ਉਹ 2003 ਦੇ ਬਾਅਦ ਇੰਟਰਨੈਸ਼ਨਲ ਕ੍ਰਿਮੀਨਲ ਕੋਰਟ ਦੇ ਇੱਕ ਜੱਜ ਰਹੇ ਹਨ। ਉਹ ਇਸ ਕੰਮ ਉੱਤੇ ਇੱਕ ਚਾਰ ਸਾਲ ਦੀ ਮਿਆਦ ਦੀ ਸੇਵਾ ਕਰਨ ਲਈ, 1 ਸਤੰਬਰ, 2008 ਨੂੰ ਸੰਯੁਕਤ ਰਾਸ਼ਟਰ ਦੇ ਮਨੁੱਖੀ ਅਧਿਕਾਰ ਕਮਿਸ਼ਨਰ ਨੂੰ ਚੁਣੇ ਗਏ ਸਨ।<ref>reuters-factbox</ref>
==ਪਿਛੋਕੜ==
ਉਹ ਤਾਮਿਲ ਮੂਲ ਦੇ ਪਰੀਵਾਰ ਵਿੱਚ ਡਰਬਨ, ਨੇਟਲ [[ਦੱਖਣੀ ਅਫਰੀਕਾ ]]'ਚ ਪੈਦਾ ਹੋਏ ਸਨ।ਉਸ ਦੇ ਪਿਤਾ ਇੱਕ ਬੱਸ ਡਰਾਈਵਰ ਸਨ। ਜਨਵਰੀ 1965 ਨੁੰ, ਉਸ ਇੱਕ ਵਕੀਲ ਨਾਲ ਵਿਆਹ ਕੀਤਾ |
1963 ਵਿੱਚ ਨੇਟਲ ਯੂਨੀਵਰਸਿਟੀ ਤੋਂ BA ਡਿਗਰੀ ਅਤੇ 1965 ਵਿੱਚ ਇੱਕ ਐਲ.ਐਲ.ਬੀ. ਦੀ ਡਿਗਰੀ ਕੀਤੀ | 1988 ਵਿੱਚ ਹਾਰਵਰਡ ਲਾਅ ਸਕੂਲ ਤੋਂ LLM ਡਿਗਰੀ ਵਿੱਚ ਅਤੇ 1982 ਡਾਕਟਰ ਨਿਆਂਇਕ ਸਾਇੰਸ ਦੀ ਡਿਗਰੀ ਖੇਤਰ ਵਿੱਚ ਕੀਤੀ |
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
== ਬਾਹਰੀ ਲਿੰਕ ==
{{commons category|Navanethem Pillay|ਨਵਨੇਥਮ ਪਿੱਲੇ}}
[[ਸ਼੍ਰੇਣੀ:ਜਨਮ 1941]]
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
g7pnuoqidi2wyzw2mpvzrjop1p235t5
ਮਹਿਰਾਜ
0
60615
849469
830540
2026-10-09T11:10:24Z
~2026-54611-32
62388
ਪਿੰਡ ਦੇ ਨਾਮ ਵਿੱਚ ਗਲਤੀ ਸੀ
849469
wikitext
text/x-wiki
{{Infobox settlement
| name = ਮਹਿਰਾਜ
| native_name =
| native_name_lang = pa
| other_name =
| nickname =
| settlement_type = ਨਗਰ
| image_skyline =
| image_alt =
| image_caption =
| pushpin_map = India Punjab
| pushpin_label_position =
| pushpin_map_alt =
| pushpin_map_caption =ਪੰਜਾਬ, ਭਾਰਤ ਚ ਸਥਿਤੀ
| latd = 30.317
| latm =
| lats =
| latNS = N
| longd = 75.191
| longm =
| longs =
| longEW = E
| coordinates_display =
| subdivision_type = ਦੇਸ਼
| subdivision_name = {{flag|India}}
| subdivision_type1 = [[ਰਾਜ ਅਤੇ ਭਾਰਤ ਦੇ ਇਲਾਕੇ|ਰਾਜ]]
| subdivision_name1 = [[ਪੰਜਾਬ, ਭਾਰਤ|ਪੰਜਾਬ]]
| subdivision_type2 = [[ਭਾਰਤ ਦੇ ਜ਼ਿਲ੍ਹਿਆਂ ਦੀ ਸੂਚੀ|ਜ਼ਿਲ੍ਹਾ]]
| subdivision_name2 = [[ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹਾ|ਬਠਿੰਡਾ]]
| established_title = <!-- Established -->
| established_date =
| founder =
| named_for =
| parts_type = [[Taluka]]s
| parts =
| government_type =
| governing_body =
| unit_pref = Metric
| area_footnotes =
| area_rank =
| area_total_km2 =
| elevation_footnotes =
| elevation_m =
| population_total =
| population_as_of =
| population_rank =
| population_density_km2 = auto
| population_demonym =
| population_footnotes =
| demographics_type1 = ਭਾਸ਼ਾਵਾਂ
| demographics1_title1 = ਸਰਕਾਰੀ
| demographics1_info1 = [[ਗੁਰਮੁਖੀ|ਪੰਜਾਬੀ (ਗੁਰਮੁਖੀ)]]
| demographics1_title2 = Regional
| demographics1_info2 = [[ਪੰਜਾਬੀ ਭਾਸ਼ਾ|ਪੰਜਾਬੀ]]
| timezone1 = [[Indian Standard Time|IST]]
| utc_offset1 = +5:30
| postal_code_type = [[Postal Index Number|PIN]]
| postal_code =
| registration_plate =
| blank1_name_sec1 =ਨੇੜੇ ਦਾ ਸ਼ਹਿਰ
| blank1_info_sec1 = [[ਰਾਮਪੁਰਾ ਫੂਲ]], [[ਬਠਿੰਡਾ]]
| footnotes =
}}
'''ਮਹਿਰਾਜ''' [[ਪੰਜਾਬ, ਭਾਰਤ|ਭਾਰਤੀ ਪੰਜਾਬ]] (ਭਾਰਤ) ਦੇ [[ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹਾ]] ਦੀ ਇੱਕ ਨਗਰ ਹੈ।
ਇਸ ਦੇ ਗੁਆਂਢੀ [[ਰਾਮਪੁਰਾ ਫੂਲ]] Bajjoana ( ਬੱਜੋਆਣਾ ) ਲਹਿਰਾ ਬੇਗਾ ਹਨ।
ਜ਼ਿਲ੍ਹਾ ਬਠਿੰਡਾ ਦਾ ਪਿੰਡ ਮਹਿਰਾਜ ਰਾਮਪੁਰਾ ਫੂਲ ਤੋਂ ਛਿਪਦੇ ਵੱਲ 6 ਕਿਲੋਮੀਟਰ ਦੂਰੀ ’ਤੇ ਵਸਿਆ ਹੋਇਆ ਹੈ। ਇਸ ਨੂੰ ਪੰਜਾਬ ਦਾਂ ਸਭ ਤੋਂ ਵੱਡਾ ਪਿੰਡ ਮੰਨਿਆ ਜਾਂਦਾ ਹੈ। ਪਿੰਡ ਦਾ ਰਕਬਾ ਲਗਪਗ 17,700 ਏਕੜ, ਆਬਾਦੀ 28,000, ਵੋਟਰ 15,000, ਨੰਬਰਦਾਰ 30 ਤੇ ਚੌਕੀਦਾਰ 25 ਹਨ। ਹੁਣ ਇੱਥੇ ਨਗਰ ਪੰਚਾਇਤ ਹੈ, ਜਦੋਂਕਿ ਪਹਿਲਾਂ 9 ਪੰਚਾਇਤਾਂ ਸਨ। ਇਸ ਪਿੰਡ ’ਚੋਂ 22 ਪਿੰਡ ਬੱਝੇ ਹੋਏ ਹਨ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਬਾਹੀਆ ਆਖਦੇ ਹਨ। ਪਿੰਡ ਦੇ 22 ਅਗਵਾੜ ਹਨ।
==ਇਤਿਹਾਸ ==
ਇਹ ਰਾਜਪੂਤ ਰਾਜਾ ਜੈਸਲ ਰਾਓ ਦੇ ਸਿੱਧੂ ਗੋਤ ਵਾਲਿਆਂ ਦਾ ਪਿੰਡ ਹੈ, ਜੋ ਕਿਸੇ ਸਮੇਂ [[ਜੈਸਲਮੇਰ ਕਿਲ੍ਹਾ ਜੈਨ ਮੰਦਰ|ਜੈਸਲਮੇਰ]] ਦੇ ਰਾਜੇ ਹੁੰਦੇ ਹਨ। ਇਤਿਹਾਸ ਅਨੁਸਾਰ ਇਨ੍ਹਾਂ ਦਾ ਵਡੇਰਾ ਮਹਿਰਾਜ ਰਾਓ ਸੀ ਤੇ ਮਹਿਰਾਜ ਰਾਓ ਦਾ ਪੁੱਤਰ ਪੱਖੋ ਰਾਓ ਵੀਦੋਵਾਲ ਦਾ ਚੌਧਰੀ ਸੀ। ਮੁਗ਼ਲ ਬਾਦਸ਼ਾਹ ਨੇ ਉਸ ਦੀ ਧੀ ਦਾ ਡੋਲਾ ਮੰਗ ਲਿਆ ਸੀ। ਪੱਖੋ ਰਾਓ ਨੇ ਡੋਲਾ ਦੇਣ ਤੋਂ ਇਨਕਾਰ ਕਰ ਦਿੱਤਾ ਸੀ। ਇਸ ਗੱਲ ਦਾ [[ਮੁਗ਼ਲ ਬਾਦਸ਼ਾਹ]] ਨੂੰ ਬਹੁਤ ਗੁੱਸਾ ਸੀ। ਮੁਗਲਾਂ ਨੇ ਬਠਿੰਡੇ ਦੇ ਭੱਟੀਆਂ ਨੂੰ ਮਦਦ ਦੇ ਕੇ ਇਨ੍ਹਾਂ ਕੋਲੋਂ ਵੀਦੋਵਾਲ ਦੀ ਚੌਧਰ ਖੋਹ ਲਈ। ਇਹ ਸਰਕਾਰ ਦੇ ਬਾਗ਼ੀ ਹੋ ਗਏ। ਬਾਗ਼ੀ ਹੋਣ ਕਾਰਨ ਪੱਖੋ ਰਾਓ ਦੇ ਪੁੱਤਰ ਬਾਬਾ ਮੋਹਨ ਪਰਿਵਾਰ ਸਮੇਤ ਇਲਾਕੇ ਵਿੱਚ ਲੁਕ-ਛਿਪ ਕੇ ਦਿਨ ਕੱਟਣ ਲੱਗੇ। ਉਸ ਸਮੇਂ ਇਨ੍ਹਾਂ ਨੇ ਨਥਾਣੇ ਸੰਤ ਕਾਲੂ ਨਾਥ ਕੋਲ ਡੇਰਾ ਲਾਇਆ ਹੋਇਆ ਸੀ। ਉਦੋਂ ਪਿੰਡ ਮਾੜੀ ਸਿੱਖਾਂ ਵਿੱਚ ਭੁੱਲਰਾਂ ਦਾ ਮੇਲਾ ਲੱਗਦਾ ਸੀ। ਛੇਵੇਂ ਪਾਤਸ਼ਾਹ ਗੁਰੂ ਹਰਗੋਬਿੰਦ ਸਾਹਿਬ ਧਾਰਮਿਕ ਪ੍ਰਚਾਰ ਲਈ ਆਏ ਹੋਏ ਸਨ। ਸਿੱਧੂ ਭਾਈਚਾਰੇ ਨੇ ਛੇਵੇਂ ਗੁਰੂ ਨੂੰ ਅਰਜ਼ ਕੀਤੀ ਕਿ ਉਨ੍ਹਾਂ ਨੂੰ ਪਿੰਡ ਬੰਨ੍ਹਣ ਲਈ ਜ਼ਮੀਨ ਦਿਵਾਈ ਜਾਵੇ। ਗੁਰੂ ਜੀ ਨੇ ਇਲਾਕੇ ਦੇ ਚੌਧਰੀ ਲਾਲਾ ਕੌੜਾ ਅਤੇ ਬਘੇਲੇ ਨੂੰ ਕਿਹਾ ਕਿ ਇਨ੍ਹਾਂ ਨੂੰ ਜ਼ਮੀਨ ਦੇ ਦਿੱਤੀ ਜਾਵੇ ਪਰ ਲਾਲਾ ਕੌੜੇ ਨੇ ਗੁਰੂ ਜੀ ਦੀ ਗੱਲ ਨਾ ਮੰਨੀ। ਫੇਰ ਗੁਰੂ ਜੀ ਨੇ ਬਚਨ ਕੀਤਾ ‘‘ਕਾਲਿਆ, ਤੱਤੀਏਂ ਤੌੜੀਏ ਉੱਠ ਕੇ ਚਲੇ ਜਾਓ। ਜਿਧਰੋਂ ਆਏ ਹੋ ਓਧਰ ਹੀ ਚਲੇ ਜਾਣਾ, ਜਿੱਥੇ ਦਿਨ ਛਿਪ ਗਿਆ ਉੱਥੇ ਹੀ ਬੈਠ ਜਾਣਾ।’’ ਉਦੋਂ ਚੇਤ ਦਾ ਮਹੀਨਾ 1684 ਬਿਕਰਮੀ ਸੰਮਤ ਸੀ। ਬਾਬਾ ਮੋਹਣ ਅਤੇ ਉਸ ਦੇ ਚਾਰ ਪੁੱਤਰ ਕੁੱਲ ਚੰਦ, ਦਿਆ ਚੰਦ (ਕਾਲਾ), ਰੂਪ ਚੰਦ ਤੇ ਕਰਮ ਚੰਦ ਪਰਿਵਾਰ ਸਮੇਤ ਰਾਮਸਰਾ ਛੱਪੜ ਕੋਲ ਮੋੜ੍ਹੀ ਗੱਡ ਕੇ ਬਹਿ ਗਏ। ਦੂਜੇ ਦਿਨ ਜਦੋਂ ਲਾਲੇ ਕੌੜੇ ਨੂੰ ਇਸ ਦਾ ਪਤਾ ਲੱਗਾ ਤਾਂ ਉਨ੍ਹਾਂ ਮੋੜ੍ਹੀ ਪੁੱਟ ਕੇ ਖੂਹ ਵਿੱਚ ਸੁੱਟ ਦਿੱਤੀ। ਬਾਬੇ ਕਾਲੇ ਨੇ ਇਹ ਗੱਲ ਛੇਵੇਂ ਗੁਰੂ ਨੂੰ ਦੱਸੀ ਤਾਂ ਗੁਰੂ ਜੀ ਫ਼ਿਕਰ ਨਾ ਕਰਨ ਲਈ ਕਿਹਾ। ਇਸ ਮਗਰੋਂ ਦੋਹਾਂ ਧਿਰਾਂ ਵਿੱਚ ਲੜਾਈ ਵੀ ਹੋਈ ਸੀ ਤੇ ਛੇਵੇਂ ਗੁਰੂ ਦੀ ਮੇਹਰ ਸਦਕਾ ਪਿੰਡ ਮਹਿਰਾਜ ਬੱਝ ਗਿਆ। ਗੁਰਦੁਆਰਾ ਗੁਰੂਸਰ ਮਹਿਰਾਜ ਵਾਲੀ ਥਾਂ ’ਤੇ ਛੇਵੇਂ [[ਗੁਰੂ ਹਰਗੋਬਿੰਦ ਸਾਹਿਬ]] ਨੇ ਲੱਲਾ ਵੇਗ ਨਾਲ ਜੰਗ ਕੀਤੀ ਸੀ। ਇਸ ਜੰਗ ਵਿੱਚ 1200 ਸਿੱਖ ਸ਼ਹੀਦ ਹੋਏ ਸਨ। ਇਸ ਸਥਾਨ ’ਤੇ ਲੋਹੜੀ ਨੂੰ ਭਾਰੀ ਮੇਲਾ ਲੱਗਦਾ ਹੈ। ਪਿੰਡ ਵਿੱਚ ਗੁਰਦੁਆਰਾ ਰਾਮਸਰਾ ਸਣੇ ਕਈ ਗੁਰਦੁਆਰੇ ਹਨ। ਇਸ ਤੋਂ ਇਲਾਵਾ ਸਿੱਧ ਤਿਲਕ ਰਾਏ ਦਾ ਸਥਾਨ, ਸਮਾਧ ਬਾਬਾ ਕਾਲਾ, ਡੇਰਾ ਮਸਤਾਨ ਸਿੰਘ ਤੇ ਸ਼ਿਵ ਮੰਦਰ ਹੈ।
==1==
ਇਸ ਪਿੰਡ ਦੇ ਵਾਸੀਆਂ ਨੇ ਕਈ ਮੋਰਚਿਆਂ ਲਈ ਗ੍ਰਿਫ਼ਤਾਰੀਆਂ ਦਿੱਤੀਆਂ ਅਤੇ ਦੇਸ਼ ਲਈ ਸੇਵਾਵਾਂ ਨਿਭਾਈਆਂ। 1971 ਦੀ ਹਿੰਦ-ਪਾਕਿ ਜੰਗ ਸਮੇਂ ਮੱਖਣ ਸਿੰਘ ਨੇ ਸ਼ਹੀਦੀ ਪ੍ਰਾਪਤ ਕੀਤੀ। ਪਿੰਡ ਵਿੱਚ ਮੱਖਣ ਸਿੰਘ ਦਾ ਸੁੰਦਰ ਬੁੱਤ ਲੱਗਾ ਹੋਇਆ ਹੈ। ਅਕਾਲੀ ਮੋਰਚਿਆਂ ਵਿੱਚ ਗ੍ਰਿਫ਼ਤਾਰੀਆਂ ਦੇਣ ਵਾਲੇ ਸ਼ੇਰ ਸਿੰਘ, ਨਿਰੰਜਣ ਸਿੰਘ, ਦਿਆਲ ਸਿੰਘ, ਅਵਤਾਰ ਸਿੰਘ ਤੇ ਸੁਰਜੀਤ ਸਿੰਘ ਪਿੰਡ ਮਹਿਰਾਜ ਨਾਲ ਸਬੰਧਤ ਸਨ। ਇਨ੍ਹਾਂ ਨੇ ਅਨੇਕਾਂ ਵਾਰ ਜੇਲ੍ਹ ਯਾਤਰਾ ਕੀਤੀ। ਮਹਿਰਾਜ ਕੈਪਟਨ ਅਮਰਿੰਦਰ ਸਿੰਘ ਦੇ ਪੁਰਖਿਆਂ ਦਾ ਪਿੰਡ ਹੈ ਤੇ ਉਹ ਇਸ ਵਿੱਚ ਅਕਸਰ ਆਉਂਦੇ ਹਨ।
==ਸਿੱਖਿਆ ਸੰਸਥਾਵਾਂ ==
ਇਸ ਪਿੰਡ ਵੱਲੋਂ [[ਰਾਮਪੁਰਾ ਫੂਲ]] ਟੀਪੀਡੀ ਮਾਲਵਾ ਕਾਲਜ ਲਈ 25 ਏਕੜ ਜ਼ਮੀਨ ਦਾਨ ਵਜੋਂ ਦਿੱਤੀ ਗਈ। ਕੈਪਟਨ ਅਮਰਿੰਦਰ ਸਿੰਘ ਨੇ ਮੁੱਖ ਮੰਤਰੀ ਹੁੰਦਿਆਂ 4 ਕਰੋੜ ਦੀ ਮਦਦ ਦੇ ਕੇ ਇਸ ਨੂੰ ਇੰਜਨੀਅਰਿੰਗ ਕਾਲਜ ਬਣਾਇਆ, ਜਿੱਥੇ ਇਲਾਕੇ ਦੇ ਲੜਕੇ-ਲੜਕੀਆਂ ਉੱਚ ਵਿੱਦਿਆ ਹਾਸਲ ਕਰ ਰਹੇ ਹਨ। ਪਿੰਡ ਵਿੱਚ ਦੋ ਸੀਨੀਅਰ ਸੈਕੰਡਰੀ ਸਕੂਲ, ਅੱਠ ਐਲੀਮੈਂਟਰੀ ਸਕੂਲ ਤੇ ਕਈ ਪ੍ਰਾਇਮਰੀ ਅਤੇ ਪ੍ਰਾਈਵੇਟ ਸਕੂਲ ਹਨ। ਪਿੰਡ ਵਿੱਚ ਕਈ ਬੈਂਕਾਂ ਦੀਆਂ ਸ਼ਾਖ਼ਾਵਾਂ ਵੀ ਹਨ। ਸੰਗਮ ਪੈਲੇਸ, ਪੰਜਾਬ ਪੈਲੇਸ, ਕੋਲਡ ਸਟੋਰ, ਤੀਹ ਬਿਸਤਰਿਆਂ ਵਾਲਾ ਹਸਪਤਾਲ ਤੇ ਦੋ ਅਨਾਜ ਮੰਡੀਆਂ ਹਨ। ਪਿੰਡ ਵਿੱਚ ਸੀਵਰੇਜ ਸਿਸਟਮ, ਵਾਟਰ ਵਰਕਸ, ਪੱਕੀਆਂ ਸੜਕਾਂ, ਕਿਸਾਨ ਸਿੱਖਿਆ ਕੇਂਦਰ, ਸਟੇਡੀਅਮ ਤੇ ਪੰਚਾਇਤ ਘਰ ਆਦਿ ਦੀ ਸਹੂਲਤ ਵੀ ਹੈ।
ਇਸ ਪਿੰਡ ਦੇ ਕਈ ਵਿਅਕਤੀ ਉੱਚ ਅਹੁਦਿਆਂ ਤੋਂ ਸੇਵਾਮੁਕਤ ਹੋਏ ਹਨ। ਇਨ੍ਹਾਂ ਵਿੱਚ ਮੇਜਰ ਕਰਨਲ ਗੁਰਦਿਆਲ ਸਿੰਘ, ਮੇਜਰ ਕਰਨਲ ਭਾਨ ਸਿੰਘ, ਐਸਪੀ ਜਗਰੂਪ ਸਿੰਘ, ਡੂੰਗਰ ਸਿੰਘ, ਗੁਰਬਚਨ ਸਿੰਘ, ਸਿੱਖਿਆ ਸਕੱਤਰ ਜਗਜੀਤ ਸਿੰਘ, ਬੀਬੀ ਕੁਸਮਜੀਤ ਕੌਰ, ਜੋਗਿੰਦਰ ਸਿੰਘ ਤੇ ਚੇਅਰਮੈਨ ਦਵਿੰਦਰ ਸਿੰਘ ਦੇ ਨਾਮ ਸ਼ਾਮਲ ਹਨ। ਇਨ੍ਹਾਂ ਸੇਵਾਮੁਕਤ ਅਧਿਕਾਰੀਆਂ ਤੋਂ ਇਲਾਵਾ ਕਵੀਸ਼ਰ ਚੰਦ ਸਿੰਘ, ਅਰਜਨ ਸਿੰਘ ਤੇ ਲੇਖਕ ਭਗਵਾਨ ਸਿੰਘ ਵੀ ਮਹਿਰਾਜ ਦਾ ਮਾਣ ਹਨ।
{{ਅਧਾਰ}}
{{ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹਾ}}
[[ਸ਼੍ਰੇਣੀ:ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹੇ ਦੇ ਪਿੰਡ]]
a8346jnryxkzyqu8c4wqipp5pwibh4n
ਵਿਕੀਪੀਡੀਆ:ਸਕਰਿਬੁੰਟੋ
4
72800
849423
849364
2026-10-08T16:00:31Z
Nimmzo
62202
/* ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ */ If you run [[ਮੌਡਿਊਲ:jct]] in the Debug console for [[ਮੌਡਿਊਲ:Yesno]], you will encounter the same error at line 204. Running the Jct module in its own Debug console lets you test your changes without saving them. Do not load the Lua module with `local modJunction = require('ਮੌਡਿਊਲ:jct')`. The function `p.jct(frame)` is directly available after you initialize the frame with `local frame = mw.getCurrentFrame()` and set its arguments with `frame.args = {state="NY", "NY", "82"}`
849423
wikitext
text/x-wiki
{{WikiProject Lua/header}}
{{Namespaces}}
{{Information page|WP:Lua}}
[[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)|ਲੂਆ]] ਇੱਕ ਪ੍ਰੋਗ੍ਰਾਮਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜੋ ਹੁਣ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ, [[mw: Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਮੀਡੀਆਵਿਕੀ ਐਕਸਟੈਂਸ਼ਨ ਰਾਹੀਂ ਉਪਲਬਧ ਹੈ। ਲੁਆ ਕੋਡ ਨੂੰ ਹੁਣ ਵਿਕੀਪੀਡੀਆ ਟੈਂਪਲੈਂਟਾਂ ਵਿੱਚ ਸਕਿਰਬੰਟੋ ਦੇ <syntaxhighlight lang="lua" inline>{{#invoke:}}</syntaxhighlight> ਫੰਕਸ਼ਨ ਨੂੰ ਲਾਗੂ ਕਰਕੇ ਜੜਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਹ ਐਕਸਟੈਨਸ਼ਨ ਜੁਲਾਈ 2015 ਤੋਂ ਲੁਆ 5.1 {{as of|lc=y|2015|07}} ਨੂੰ ਸਪੋਰਟ ਕਰਦੀ ਹੈ।
== ਲੂਆ ਵਿੱਚ ਹੈਲੋ ਵਰਲਡ! ==
<code>[[ਮੌਡਿਊਲ:Bananas]]</code>: ਸਰਲਤਮ ਸੰਭਵ ਸਕ੍ਰਿਪਟ, ਜੋ ਕੋਈ ਵੀ ਆਰਜੂਮੈਂਟ ਵਾਲਾ ਇੱਕ ਸਿੰਗਲ ਫੰਕਸ਼ਨ ਦਿੰਦੀ ਹੈ
ਲੁਆ ਸੋਰਸ ਕੋਡ ਮੌਡਿਊਲਜ਼ (ਯਾਨਿ ਕਿ, <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>) ਨਾਮਕ ਪੰਨਿਆਂ ਵਿੱਚ ਜਮਾਂ ਹੁੰਦੇ ਜਾਂਦੇ ਹਨ। ਇਹ ਵਿਅਕਤੀਗਤ ਮੌਡਿਊਲਜ਼ ਫੇਰ ਟੈਂਪਲੈਂਟ ਪੰਨਿਆਂ ਉੱਤੇ <syntaxhighlight lang="wikitext" inline>{{#invoke:}}</syntaxhighlight> ਕੋਡ ਰਾਹੀਂ ਇਨਵੋਕ (ਬੁਲਾਏ) ਕੀਤੇ ਜਾਂਦੇ ਹਨ। (ਜਿਵੇਂ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/doc|doc]]</code>''' ਇਸ <syntaxhighlight lang="lua" inline>"Hello, world!"</syntaxhighlight> ਸ਼ਬਦਾਂ ਨੂੰ ਛਾਪਣ ਵਾਸਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas|</syntaxhighlight>'''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਕੋਡ ਵਰਤਦਾ ਹੈ।)
ਤੁਹਾਨੂੰ ਕੁਝ ਵੀ ਇੰਸਟਾਲ ਜਾਂ ਸੇਵ ਕਰਨ ਦੀ ਲੋੜ ਨਹੀਂ ਹੈ।
# ਆਪਣਾ ਯੂਜ਼ਰ ਪੰਨਾ ਸੰਪਾਦਿਤ ਕਰੋ।
# ਆਪਣੇ ਯੂਜ਼ਰ ਪੰਨੇ ’ਤੇ ਨਵੀਂ ਲਾਈਨ ਦੇ ਸ਼ੁਰੂ ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੀ ਕਾਲ ਚਿਪਕਾਓ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Bananas|hello}}
</syntaxhighlight></blockquote>
<ol start="3">
<li>'''<code>ਝਲਕ ਵਿਖਾਓ</code>''' ’ਤੇ ਕਲਿੱਕ ਕਰੋ। <syntaxhighlight lang="lua" inline>hello</syntaxhighlight> ਫੰਕਸ਼ਨ ਦੀ ਕਾਲ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੇ ਨਾਲ ਬਦਲ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ:</li>
</ol>
<blockquote><syntaxhighlight lang="lua" line>
Hello, world!
</syntaxhighlight></blockquote>
<ol start="4">
<li><code style="color:#bf3c2c;">ਰੱਦ ਕਰੋ</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ। ਪੁੱਛੇ ਜਾਣ ’ਤੇ, <code>Leave</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ।</li>
<li>ਤੁਹਾਡਾ ਯੂਜ਼ਰ ਪੰਨਾ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।</li>
</ol>
=== ਆਰਜੂਮੈਂਟਾਂ ਵਰਤਣਾ ===
ਆਰਜੂਮੈਂਟਾਂ ਮੌਡਿਊਲਾਂ ਵੱਲ ਉਸੇ ਤਰੀਕੇ ਨਾਲ ਪਾਸ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਜਿਸਤਰਾਂ ਫਰਮੇ ਪਾਸ ਹੁੰਦੇ ਹਨ। ਫੇਰ ਵੀ, ਨੋਟ ਕਰੋ ਕਿ ਪਹਿਲੇ ਪਾਈਪ ਅੱਖਰ ਤੋਂ ਬਾਦ ਦੇ ਅਗਲੇ ਅੱਖਰ ਹਮੇਸ਼ਾਂ ਹੀ ਫੰਕਸ਼ਨ ਦਾ ਨਾਮ ਹੁੰਦੇ ਹਨ; ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਦੂਜੀ ਪਾਈਪ ਤੋਂ ਬਾਦ ਦੇ ਟੈਕਸਟ ਹੁੰਦੇ ਹਨ।
<blockquote><syntaxhighlight lang="lua" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਆਰਗੂਮੈਂਟ}}
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:BananasArgs]]</code>: ਸਿੱਧ ਕਰਕੇ ਦਿਖਾਉਂਦੀ ਹੈ ਕਿ ਪੈਰਾਮੀਟਰਾਂ ਨੂੰ ਕਿਵੇਂ ਵਰਤਣਾ ਅਤੇ ਕ੍ਰਿਆਸ਼ੀਲ ਕਰਨਾ ਹੈ
ਉਦਾਹਰਨ ਦੇ ਤੌਰ ਤੇ, <code>ਮੌਡਿਊਲ:</code><code>BananasArgs</code> ਵਿੱਚ, '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-13|hello]]</code>''' ਫੰਕਸ਼ਨ ਵੱਖਰੇ ਲੋਕਾਂ ਦਾ ਸਵਾਗਤ ਕਰਨਾ ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਤੇ ਨਿਰਭਰ ਕਰਦਾ ਹੈ। ਇਹ ਇਸਤਰਾਂ ਕੰਮ ਕਰਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</blockquote>
;ਨਾਮਿਤ ਆਰਗੂਮੈਂਟ <code>|ਕੁੰਜੀ=ਮੁੱਲ</code>
<blockquote><syntaxhighlight lang="wikitext" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ1=ਮੁੱਲ1|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ2=ਮੁੱਲ2}}
</syntaxhighlight></blockquote>
BananasArgs ਕੋਲ ਇੱਕ '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-26|count_fruit]]</code>''' ਨਾਮਕ ਫੰਕਸ਼ਨ ਵੀ ਹੁੰਦਾ ਹੈ ਜੋ <code>|bananas=</code> and <code>|apples=</code> ਨਾਮਕ ਆਰਜੂਮੈਂਟ ਵਰਤਦਾ ਹੈ ਜਿਸਨਾਲ ਸਾਡੇ ਕੋਲ ਮੌਜੂਦ ਕੇਲਿਆਂ (ਬਾਨਾਨਾਜ਼) ਅਤੇ ਸੇਬਾਂ ਦੀ ਸੰਖਿਆ ਗਿਣੀ ਜਾਂਦੀ ਹੈ। ਇਸਨੂੰ ਆਰਗੂਮੈਂਟਾਂ ਦਾ ਕ੍ਰਮ ਬਦਲ ਕੇ ਚਲਾਇਆ ਜਾ ਸਕਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</blockquote>
ਜਿਆਦਾਤਰ ਮੌਡਿਊਲਜ਼ ਇੱਕ ਡੌਕੂਮੈਂਟੇਸ਼ਨ ਪੰਨਾ ਰੱਖਦੇ ਹੋਣਗੇ ਜਿਸਵਿੱਚ ਇਹ ਸਮਝਾਇਆ ਗਿਆ ਹੁੰਦਾ ਹੈ ਕਿ ਕਿਹੜੀਆਂ ਆਰਜੂਮੈਂਟਾਂ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ ਅਤੇ ਉਹਨਾਂ ਦੇ ਪ੍ਰਭਾਵ ਕੀ ਹੋਣਗੇ ।
== ਡੀਬੱਗ ਕੌਨਸੋਲ: ਲੂਆ ਸਿੱਖਣਾ ਸ਼ੁਰੂ ਕਰੋ ==
ਲੂਆ Scribunto ਦਾ <code>Debug Console</code> ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ ਲੂਆ ਸਿੱਖਣ ਲਈ ਇੱਕ ਸੁਰੱਖਿਅਤ, ਇੰਟਰਐਕਟਿਵ ਟੂਲ ਹੈ।
# [[ਮੌਡਿਊਲ:Yesno]] ਪੰਨੇ ‘ਤੇ <code>ਸਰੋਤ ਵੇਖੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰੋ।
# ਪੰਨੇ ਦੇ ਹੇਠਾਂ <code>Debug console</code> ਭਾਗ ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
# ਟਿੱਪਣੀ ਅਤੇ ਕਾਲ ਨੂੰ <span style="color:#eaecf0;">ਹਲਕਾ</span> <span style="color:blue;">ਨੀਲਾ</span> ਇਨਪੁੱਟ ਬਾਕਸ ਵਿੱਚ ਪੇਸਟ ਕਰੋ (ਜੋ <code>ਸਾਫ਼ ਕਰੋ</code> ਬਟਨ ਦੇ ਉੱਪਰ ਹੈ)।
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
--[[ਤੁਹਾਡਾ ਪਹਿਲਾ ਲੂਆ Hello World-ਜਿਹਾ ਪ੍ਰੋਗਰਾਮ]]--
print("ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ " .. _VERSION .. "!") -- ਲੂਆ ਸੰਸਕਰਣ ਨੂੰ `..` ਨਾਲ ਜੋੜੋ
</syntaxhighlight></blockquote>
<ol start="4">
<li>ਦੋ ਲੂਆ ਕਮਾਂਡਾਂ ਨੂੰ ਚਲਾਉਣ ਲਈ {{key press|Enter}} ਇੱਕ ਵਾਰ ਦਬਾਓ।</li>
<li>ਨਤੀਜਾ ਲੂਆ <syntaxhighlight lang="lua" inline>print</syntaxhighlight> ਕਮਾਂਡ ਲਾਈਨ ਦੇ ਹੇਠਾਂ ਦਿਖਾਈ ਦੇਵੇਗਾ:</li>
</ol>
<blockquote><syntaxhighlight lang="text" line start=3>
ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ Lua 5.1!
</syntaxhighlight></blockquote>
<ol start="6">
<li>ਪਿਛਲੀਆਂ ਲੂਆ ਕਮਾਂਡਾਂ ਵਿਚਕਾਰ ਜਾਣ ਲਈ {{key press|Up}} <code>Up arrow</code> ਦਬਾਓ।</li>
<li>ਚਾਹੋ ਤਾਂ <code>ਸਾਫ਼ ਕਰੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰਕੇ ਸਿਰਫ਼ <code>Debug Console</code> ਨੂੰ ਸਾਫ਼ ਕਰੋ; ਉੱਪਰ ਵਾਲਾ ਲੂਆ ਸੰਪਾਦਕ '''ਬਦਲਿਆ ਨਹੀਂ ਜਾਵੇਗਾ'''।</li>
</ol>
; ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ HTML ਜਨਰੇਟਰ
<code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ '''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>''' ਫੰਕਸ਼ਨ ਨੂੰ ਕਾਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- Debug console ਵਿੱਚ ਮੌਡਿਊਲ ਲੋਡ ਕਰੋ
print(modHi.hello()) -- "Hello, world!" ਦਿਖਾਓ
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
Hello, world!
</syntaxhighlight></blockquote>
;ਆਰਗੂਮੈਂਟ
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
local modArg = require('ਮੌਡਿਊਲ:BananasArgs')
local frame = mw.getCurrentFrame()
frame.args = {"ਜਸਪ੍ਰੀਤ"}; print("੧. " .. modArg.hello(frame))
frame.args = {"ਗੁਰਪ੍ਰੀਤ"}; print("੨. " .. modArg.hello(frame))
frame.args = {apples="3", bananas="4"}; print("੩. " .. modArg.count_fruit(frame))
frame.args = {bananas="5", apples="2"}; print("੪. " .. modArg.count_fruit(frame))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=7>
੧. Hello, ਜਸਪ੍ਰੀਤ!
੨. Hello, ਗੁਰਪ੍ਰੀਤ!
੩. I have 4 bananas and 3 apples
੪. I have 5 bananas and 2 apples
</syntaxhighlight></blockquote>
; ਪਛਾਣ ਫੰਕਸ਼ਨ
<code>callParserFunction</code> [[mw:Help:Extension:ParserFunctions##if|#if]]
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local yesno = require('ਮੌਡਿਊਲ:Yesno') -- #if yesno then ਆਪਣਾ ਇਨਪੁੱਟ ਪੈਰਾਮੀਟਰ ਵਾਪਸ ਕਰਦਾ ਹੈ
print(mw.getCurrentFrame():callParserFunction("#if", yesno("Yes"), "Yes", 'no'))
print(mw.getCurrentFrame():callParserFunction("#if", yesno('ਨਹੀਂ'), "ਹਾਂ", 'ਨਹੀਂ'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=4>
Yes
ਨਹੀਂ
</syntaxhighlight></blockquote>
# ਸੁਰੱਖਿਅਤ <code>ਮੌਡਿਊਲ:</code><code>Yesno</code> ਨੂੰ ਬੰਦ ਕਰੋ, ਜੋ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।
== ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਦੀ ਬੇਨਤੀ ਕਰੋ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਜਾਂ ਕਿਸੇ ਹੋਰ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟ ਉੱਤੇ ਕੋਈ ਖਾਸ ਕੰਮ ਕਰਨ ਲਈ ਕਿਸੇ ਲੂਆ ਸਕ੍ਰਿਪਟ ਨੂੰ ਲਿਖਣ ਵਾਸਤੇ ਸਹਾਇਤਾ ਲਈ [[:en:Wikipedia talk:Lua]] ਤੇ ਜਾਓ
== ਇਤਿਹਾਸ ==
[[mw:Manual:MediaWiki architecture#Magic words and templates|ਜਾਦੂਈ ਸ਼ਬਦ]], [[mw:Help:Extension:ParserFunctions|ਪਾਰਜ਼ਰਫੰਕਸ਼ਨ (ParserFunctions)]], [[mw:Extension:Lua|ਲੂਆ ਸ਼ਾਖਾ]], ਵਿਕੀ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਨੇ (JavaScript ਬਨਾਮ Lua), [[mw:Extension:WikiScripts]] ਮੁਕਾਬਲਾ ਕਰਾਇਆ, ਲੂਆ ਵਾਸਤੇ ਸ਼ੁਰੂਆਤੀ ਸਮਰਥਨ ਨਾਲ ਟਿੱਮ [[mw:Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਲਿਖਦਾ ਹੈ|
ਸਾਲਾਂ ਦੀ ਚਰਚਾ ਤੋਂ ਬਾਦ ਲੂਆ ਨੂੰ [[test2wiki:|test2.wikipedia.org]] ਉੱਤੇ ਪਰਖਣ ਵਾਸਤੇ 2012 ਵਿੱਚ ਇਨਸਟਾਲ ਕੀਤਾ ਗਿਆ, ਜਿਸ ਵਿੱਚ ਲੂਆ ਮੌਡਿਊਲਾਜ਼ ਨੂੰ ਵਿਕਸਿਤ ਕਰਨ ਵਾਲੇ ਪ੍ਰਯੋਗਾਂ ਲਈ ਸਾਰੇ ਸੰਪਾਦਕਾਂ ਨੂੰ ਖੁੱਲਾ ਸੱਦਾ ਦਿੱਤਾ ਗਿਆ | ਲੂਆ ਫਰਵਰੀ 2013 ਵਿੱਚ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ mediawiki.org ਅਤੇ Wikimedia test wikis ਉੱਤੇ ਪਰਖਣ ਤੋਂ ਬਾਦ ਇਨਸਟਾਲ ਕਰ ਦਿੱਤੀ ਗਈ|
== ਲੂਆ ਬਾਰੇ ==
:Brad Jorsch ਵੱਲੋਂ ਬਣਾਏ ਗਏ [[:File:WMF Tech Talk 2013-02-28 slides - Scribunto presentation.pdf|ਵਿਕੀਟੈਕਸਟ ਟੈਂਪਲੇਟ]] ਨੂੰ ਲੂਆ ਮੌਡਿਊਲ ਵਿੱਚ ਬਦਲਣ ਦਾ ਤਰੀਕਾ ਵੀ ਵੇਖੋ।
ਲੂਆ ਇੱਕ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜਿਸ ਦੀ ਵਰਤੋਂ ਡੇਟਾ ਦਾ ਵਿਸ਼ਲੇਸ਼ਣ ਕਰਨ, ਸਮੀਕਰਨਾਂ ਦੀ ਗਣਨਾ ਕਰਨ ਅਤੇ ਫੰਕਸ਼ਨਾਂ ਜਾਂ ਆਬਜੈਕਟ-ਓਰੀਐਂਟਡ ਪ੍ਰੋਗਰਾਮਿੰਗ ਰਾਹੀਂ ਨਤੀਜਿਆਂ ਨੂੰ ਫਾਰਮੈਟ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ। ਭਾਵੇਂ ਕੁਝ ਲੂਆ ਸਕ੍ਰਿਪਟਾਂ ਨੂੰ ਸਰਲ ਰੱਖਿਆ ਜਾ ਸਕਦਾ ਹੈ, ਪਰ ਆਸਾਨੀ ਨਾਲ ਸਮਝਣ ਲਈ ਲੂਆ ਟੇਬਲਾਂ, ਡਾਇਨਾਮਿਕ ਫੰਕਸ਼ਨਾਂ ਅਤੇ ਐਸੋਸੀਏਟਿਵ ਐਰੇਆਂ ਸਮੇਤ ਜਟਿਲ ਢਾਂਚਿਆਂ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ, ਜਿੱਥੇ ਇੰਡੈਕਸ ਸਬਸਕ੍ਰਿਪਟਾਂ ਇੰਡੈਕਸ ਨੰਬਰਾਂ ਦੇ ਨਾਲ-ਨਾਲ ਸ਼ਬਦ ਵੀ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਲੂਆ ਨੇਸਟਡ ਫੰਕਸ਼ਨਾਂ ਦੀ ਰਿਕਰਸ਼ਨ ਨੂੰ ਵੀ ਸਮਰਥਨ ਦਿੰਦਾ ਹੈ, ਇਸ ਲਈ ਬੇਹੱਦ ਜਟਿਲਤਾ ਤੋਂ ਬਚਣ ਲਈ ਸਾਵਧਾਨੀ ਵਰਤਣੀ ਚਾਹੀਦੀ ਹੈ, ਤਾਂ ਜੋ ਹੋਰ ਵਰਤੋਂਕਾਰ ਇਹ ਸਮਝ ਸਕਣ ਕਿ ਲੂਆ ਮੌਡਿਊਲ ਦੀ ਦੇਖਭਾਲ ਕਿਵੇਂ ਕਰਨੀ ਹੈ।
ਹੇਠਾਂ ਉੱਪਰ ਦਿੱਤੀਆਂ ਉਦਾਹਰਨਾਂ ਲਈ ਵਰਤੇ ਗਏ ਮੌਡਿਊਲ ਦੇ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦਾ ਇੱਕ ਅੰਸ਼ ਦਿੱਤਾ ਗਿਆ ਹੈ:
<syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਮੌਡਿਊਲ:BananasArgs#L-13]]--
local p = {} -- ਲੋੜੀਂਦੀ ਮੌਡਿਊਲ (p)ੈਕੇਜ ਟੇਬਲ, ਖਾਲੀ ਟੇਬਲ ਵਜੋਂ ਸ਼ੁਰੂ ਕੀਤੀ ਗਈ
function p.hello(frame) -- hello ਫੰਕਸ਼ਨ ਦੀ ਪਰਿਭਾਸ਼ਾ।
local name = frame.args[1] -- ਇਸ ਵਿੱਚ ਪਹਿਲਾ ਨਾਮ ਹੁੰਦਾ ਹੈ।
return "Hello, " .. name .. "!" -- `..` ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੰਕਸ਼ਨ ਦਾ ਨਤੀਜਾ ਇੱਕ ਸਤਰ ਵਜੋਂ ਜੋੜ ਕੇ ਵਾਪਸ ਕਰੋ।
end -- ਫੰਕਸ਼ਨ ਦਾ ਅੰਤ।
return p -- ਮੌਡਿਊਲ ਦੀ (p)ੈਕੇਜ ਟੇਬਲ ਵਾਪਸ ਕਰੋ।
</syntaxhighlight>
ਲੂਆ ਦਾ ਇੱਕ ਨਮੂਨਾ <code><nowiki><syntaxhighlight lang="lua" line highlight=1 copy> ... </syntaxhighlight></nowiki></code> ਟੈਗ ਨੂੰ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦੇ ਆਲੇ-ਦੁਆਲੇ ਰੱਖ ਕੇ ਉਜਾਗਰ ਕੀਤਾ ਜਾਂਦਾ ਹੈ। ਲੂਆ ਦੀਆਂ ਕੁਝ ਹੋਰ ਜਟਿਲ ਉਦਾਹਰਨਾਂ ਵੇਖਣ ਲਈ ਲੇਖ [[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)]] ਵੇਖੋ।
MediaWiki (ਅਤੇ ਇਸ ਕਰਕੇ ਵਿਕੀਪੀਡੀਆ) ਵਿੱਚ ਲੂਆ ਦੀ ਵਰਤੋਂ ਕਰਨ ਦੇ ਨਿਰਦੇਸ਼ਾਂ ਲਈ [[mw:Extension:Scribunto/ਲੂਆ reference manual]] ਵੇਖੋ।
== ਯੂਨਿਟ ਪਰਖਣਾ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ Lua ਸਕ੍ਰਿਪਟਾਂ ਲਈ ਇਕਾਈ ਟੈਸਟਿੰਗ ਫਰੇਮਵਰਕ [[ਮੌਡਿਊਲ:ScribuntoUnit]] ਵਿੱਚ ਉਪਲਬਧ ਹੈ।<br />
ਇਹ ਤੁਹਾਨੂੰ ਦਿੱਤੇ ਗਏ ਇਨਪੁੱਟਾਂ ਦੇ ਸਮੂਹ ਉੱਤੇ ਆਪਣੀ ਸਕ੍ਰਿਪਟ ਚਲਾਉਣ ਅਤੇ ਇਹ ਪੁਸ਼ਟੀ ਕਰਨ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ ਕਿ ਉਮੀਦ ਕੀਤੇ ਆਉਟਪੁੱਟ ਤਿਆਰ ਹੋਏ ਹਨ।<br />
ਇਕਾਈ ਟੈਸਟ ਖ਼ਾਸ ਤੌਰ ’ਤੇ ਰਿਗ੍ਰੈਸ਼ਨਾਂ ਨੂੰ ਤੇਜ਼ੀ ਨਾਲ ਖੋਜਣ ਲਈ ਲਾਭਦਾਇਕ ਹੁੰਦੇ ਹਨ, ਜਿੱਥੇ ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਵਿੱਚ ਕੀਤੀਆਂ ਤਬਦੀਲੀਆਂ ਨਵੀਆਂ ਸਮੱਸਿਆਵਾਂ ਪੈਦਾ ਕਰਦੀਆਂ ਹਨ।
ਰਿਵਾਜ ਅਨੁਸਾਰ, [[ਮੌਡਿਊਲ:Bananas]] ਵਰਗੇ ਮੌਡਿਊਲ ਲਈ ਇਕਾਈ ਟੈਸਟ <syntaxhighlight lang="lua" inline>ਮੌਡਿਊਲ:</syntaxhighlight><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/testcases|testcases]]</code>''' ਵਿੱਚ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।<br />
ਇਹ '''<code>[[ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:Bananas/testcases|ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:]]</code>'''<code>Bananas/testcases</code> ਉੱਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas/testcases|</syntaxhighlight>'''<code>run</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਨਾਲ ਚਲਾਏ ਜਾਂਦੇ ਹਨ।
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="wikitext" line highlight=1 copy>
{{#invoke:Bananas/testcases|run}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Bananas/testcases|run}}
</blockquote>
ਹਰ ਟੈਸਟ ਵਿਧੀ ਦੀ ਸ਼ੁਰੂਆਤ <syntaxhighlight lang="lua" inline>p:</syntaxhighlight>'''<code>test_</code>''' ਨਾਲ ਹੋਣੀ ਲਾਜ਼ਮੀ ਹੈ।
[[ਮੌਡਿਊਲ:Bananas/testcases]] ਤੋਂ ਇੱਕ ਉਦਾਹਰਨ ਹੇਠਾਂ ਦਿੱਤੀ ਗਈ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
--[[ਮੌਡਿਊਲ:Bananas/testcases]]--
local p = require('ਮੌਡਿਊਲ:ScribuntoUnit').new()
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- ਟੈਸਟ ਚਲਾਉਣ ਲਈ ਗੱਲ-ਬਾਤ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ।
function p:test_hi() -- [[ਮੌਡਿਊਲ:Bananas]] ਲਈ ਇਕਾਈ ਟੈਸਟ।
self:assertEquals('Hello, world!', modHi.hello())
end
return p
</syntaxhighlight></blockquote>
[[ਮੌਡਿਊਲ:ScribuntoUnit]] ਦੀ ਸ਼ੁਰੂਆਤ ਹੰਗਰੀ ਵਿਕੀਪੀਡੀਆ ਤੋਂ ਹੋਈ ਹੈ।<br />
ਇਹ ਅਸਲ ਤਰੁੱਟੀਆਂ ਪੈਦਾ ਕਰਦਾ ਹੈ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਸੁਰੱਖਿਅਤ ਕਾਲਾਂ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੜਿਆ ਜਾਂਦਾ ਹੈ। ਇਸ ਵਿੱਚ ਦਿੱਤੀ ਗਈ ਸ਼ੁੱਧਤਾ ਦੇ ਅੰਦਰ ਫਲੋਟਾਂ ਦੀ ਤੁਲਨਾ ਕਰਨ ਲਈ ਇੱਕ ਵਿਧੀ ਵੀ ਹੈ।
ਇਕਾਈ ਟੈਸਟਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨ ਵਾਲੇ ਸਾਰੇ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ ਲਈ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:ScribuntoUnit]] ਵੇਖੋ।
== ਵਿਕੀਪੀਡੀਆ ਵਿਸ਼ੇਸ਼ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ==
ਕੁੱਲ ਮਿਲਾ ਕੇ: Lua ਨੂੰ ਇਨਪੁੱਟ ਵਜੋਂ ਸਿਰਫ਼ <code><nowiki>{{#invoke:}}</nowiki></code> ਨੂੰ ਦਿੱਤੀਆਂ ਪਾਠ-ਸਤਰਾਂ ਅਤੇ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.title.new|mw.title.new(...)]]:getContent()</code> तथा <code>[[mw:Extension:Scribunto/Lua reference manual#frame:expandTemplate|frame:expandTemplate()]]</code> ਰਾਹੀਂ ਪ੍ਰਾਪਤ ਕੀਤੀ ਜਾ ਸਕਣ ਵਾਲੀ ਸਮੱਗਰੀ ਹੀ ਮਿਲ ਸਕਦੀ ਹੈ। Lua ਦੇ ਆਉਟਪੁੱਟ ਨੂੰ ਪਹਿਲਾਂ ਤੋਂ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤਾ ਜਾਂਦਾ, ਜਦੋਂ ਤੱਕ <code>[[mw:Extension:Scribunto/Lua reference manual#frame:preprocess|frame:preprocess()]]</code> ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਕਾਲ ਨਾ ਕੀਤਾ ਜਾਵੇ। ਇਸ ਦਾ ਅਰਥ ਹੈ ਕਿ ਆਉਟਪੁੱਟ ਵਿੱਚ ਟੈਂਪਲੇਟ ਕਾਲਾਂ ਅਤੇ ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਸਹੀ ਢੰਗ ਨਾਲ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(mw.title.getCurrentTitle())
print(mw.getCurrentFrame():preprocess('{{PAGENAME}}'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=3>
ਮੌਡਿਊਲ:Yesno
Yesno
</syntaxhighlight></blockquote>
ਇਹ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.ustring.len|mw.ustring.len]]</code> ਫੰਕਸ਼ਨ ਦੀ ਵਰਤੋਂ <code>[[mw:Extension:Scribunto/Lua reference manual#string.len|string.len]]</code> ਦੀ ਬਜਾਇ ਕਰਨੀ ਬਿਹਤਰ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਯੂਨੀਕੋਡ]]--
local code = mw.getContentLanguage().code
local lang = mw.getCurrentFrame():callParserFunction("#language", code)
local lenUnicode = mw.ustring.len(lang) -- ਅੱਖਰਾਂ ਦੀ ਗਿਣਤੀ
local lenByte, lenSharp = string.len(lang), #lang -- ਬਾਈਟਾਂ ਦੀ ਗਿਣਤੀ
local msg = "code: \"%s\". lang: \"%s\". mw.ustring.len = %d string.len = %d sharp = %d"
print((msg):format(code, lang, lenUnicode, lenByte, lenSharp))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=8>
code: "pa". lang: "ਪੰਜਾਬੀ". mw.ustring.len = 6 string.len = 18 sharp = 18
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</blockquote>
ਵਿਕੀ ਸਫ਼ੇ ਵਿੱਚ, ਸਾਰਾ Lua ਕੋਡ (ਜਿਸ ਵਿੱਚ ਲੰਬੇ ਅੰਕੜਾ-ਹਿਸਾਬ ਜਾਂ ਬੇਅੰਤ <syntaxhighlight lang="lua" inline>while</syntaxhighlight> ਜਾਂ <syntaxhighlight lang="lua" inline>repeat</syntaxhighlight> ਲੂਪ ਵੀ ਸ਼ਾਮਲ ਹਨ) '''10 ਸ'''ਕਿੰਟ ਦੇ CPU ਸਮੇਂ ਤੱਕ ਸੀਮਿਤ ਹੈ। ਤੁਸੀਂ ਰੈਂਡਰ ਕੀਤੇ ਸਫ਼ੇ ਦੇ ਸਰੋਤ ਕੋਡ ਵਿੱਚ ਦੇਖ ਸਕਦੇ ਹੋ ਕਿ ਕਿਸੇ ਟੈਂਪਲੇਟ ਜਾਂ ਮੌਡਿਊਲ ਨੂੰ ਪਾਰਸ ਹੋਣ ਵਿੱਚ ਕਿੰਨਾ ਸਮਾਂ ਲੱਗਿਆ।
ਮਿਆਰੀ Lua ਦੇ ਮੁਕਾਬਲੇ, Scribunto ਦਾ Lua ਸੁਰੱਖਿਅਤ ਫੰਕਸ਼ਨ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ (ਮਿਆਰੀ Lua ਤੋਂ [[mw:Extension:Scribunto/Lua_reference_manual#Differences_from_standard_Lua|ਅੰਤਰ]] ਵੇਖੋ)।
=== ਲੂਆ ਇਨਪੁੱਟ ਕਮੀਆਂ ===
Scribunto ਵਿੱਚ Lua ਕੋਡ ਸਿਰਫ਼ ਉਦੋਂ ਹੀ ਚਲਾਇਆ ਜਾਂਦਾ ਹੈ ਜਦੋਂ ਸਫ਼ੇ ਨੂੰ ਪਾਰਸ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੋਵੇ। ਇਸ ਲਈ, Lua ਨੂੰ ਮਿਲਣ ਵਾਲਾ ਇਕਲੌਤਾ ਯੂਜ਼ਰ ਇਨਪੁੱਟ ''ਸਫ਼ੇ ਦੀ ਸੋਧ'' ਰਾਹੀਂ ਹੀ ਹੋ ਸਕਦਾ ਹੈ - ਇਹ ਅਜਿਹਾ ਇਨਪੁੱਟ ਬਾਕਸ ਨਹੀਂ ਬਣਾ ਸਕਦਾ ਜਿਸ ਵਿੱਚ ਤੁਸੀਂ ਫੈਰਨਹਾਈਟ ਤਾਪਮਾਨ ਦਰਜ ਕਰੋ ਅਤੇ ਕਿਸੇ ਬਟਨ ਨੂੰ ਦਬਾਉਣ ’ਤੇ ਉਸ ਨਾਲ ਸੰਬੰਧਿਤ ਸੈਲਸੀਅਸ ਤਾਪਮਾਨ ਪ੍ਰਾਪਤ ਕਰ ਸਕੋ, ਜਾਂ ਇਸ ਗੱਲ ਦੇ ਆਧਾਰ ’ਤੇ ਮੈਂਡਲਬਰੋਟ ਸੈੱਟ ਦੇ ਕਿਸੇ ਹਿੱਸੇ ਦੀ ਮੁੜ ਗਣਨਾ ਕਰ ਸਕੋ ਕਿ ਤੁਸੀਂ ਮੂਲ ਸੈੱਟ ਦੇ ਕਿਹੜੇ ਹਿੱਸੇ ’ਤੇ ਕਲਿੱਕ ਕਰਦੇ ਹੋ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
local function toCelsius(tempFahrenheit) return (tempFahrenheit - 32) * 5 / 9 end
print(("toCelsius(32°F) = %s°C. toCelsius(68°F) = %d°C"):format(toCelsius(32), toCelsius(68)))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
toCelsius(32°F) = 0°C. toCelsius(68°F) = 20°C
</syntaxhighlight></blockquote>
Lua ਇਨਪੁੱਟ ਵਿਕੀਪੀਡੀਆ ਦੇ ਕਿਸੇ ਵੀ ਅਜਿਹੇ ਪਾਠ ਸਫ਼ੇ ਦੀ ਵਰਤੋਂ ਕਰ ਸਕਦਾ ਹੈ ਜਿਸ ਨੂੰ ਕਿਸੇ ਹੋਰ ਸਫ਼ੇ ਵਿੱਚ [[ਵਿਕੀਪੀਡੀਆ:Transclusion|ਸ਼ਾਮਲ]] ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੋਵੇ। ਇਸ ਵਿੱਚ ਚਿੱਤਰ ਫ਼ਾਈਲਾਂ, ਸਕੇਲੇਬਲ ਵੈਕਟਰ ਗ੍ਰਾਫ਼ਿਕਸ (SVG) ਫ਼ਾਈਲਾਂ, [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]] ਦੀਆਂ ਸੂਚੀਆਂ ਜਾਂ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:UnitTests]] ਵਰਗੇ ਖ਼ਾਸ ਸਫ਼ੇ ਸ਼ਾਮਲ ਨਹੀਂ ਹਨ।
== ਡੀਬੱਗ ਕਰਨਾ ==
=== ਨਾਂ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਵਿੱਚ ਸਮੱਸਿਆ ਨੂੰ ਸਰਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |state=NY |type=NY |route=343}}
</blockquote>
ਗਲਤੀ ਵਾਲੇ ਸੁਨੇਹੇ 'ਤੇ ਕਲਿੱਕ ਕਰੋ, ਫਿਰ ਲਾਈਨ 107 ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Infobox_road/route at line 107: bad argument #1 to 'wikitext' ('''string''' or number expected, got <s>boolean</s>).
</blockquote>
<code>wikitext</code> ਫੰਕਸ਼ਨ Boolean ਮੁੱਲ <code>false</code> ਨੂੰ ਸਵੀਕਾਰ ਨਹੀਂ ਕਰਦਾ।
<blockquote><syntaxhighlight lang="lua" start=107 line highlight=1>
container:tag('p'):cssText('margin:0.1em;'):wikitext(name)
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<code>|name=</code> ਪੈਰਾਮੀਟਰ ਪਰਿਭਾਸ਼ਿਤ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</blockquote>
=== ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਦੇ "ਮੁੱਖ ਜੰਕਸ਼ਨ" ਭਾਗ ਵਿੱਚ ਬਾਕੀ ਤਿੰਨ ਸਮੱਸਿਆਵਾਂ ਨੂੰ ਸਰਲ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{jct|state=NY|NY|82}}
</syntaxhighlight></blockquote>
<blockquote>
{{jct|state=NY|NY|82}}
</blockquote>
{{collapse top|title=ਲੂਆ ਕੋਡ ਵਿੱਚ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਜੋੜਨਾ}}
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local modJunction = require('ਮੌਡਿਊਲ:jct')
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(modJunction.jct(frame))
</syntaxhighlight></blockquote>
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Jct at line 204: attempt to concatenate local 'link' (a boolean value).<br />
Backtrace:<br />
ਮੌਡਿਊਲ:Jct:204: in function "routeText"
</blockquote>
[[ਮੌਡਿਊਲ:Jct#L-204]] ਵਿੱਚ, <code>link</code> ਦਾ ਮੁੱਲ <code>false</code> ਹੈ, ਪਰ ਇੱਥੇ ਇੱਕ ਸਤਰ ਦੀ ਲੋੜ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=12>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route
else
link = p.link(route)
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# Lua ਕੋਡ ਵਿੱਚ ਦੋ ਕਸਟਮ <syntaxhighlight lang="lua" inline>error()</syntaxhighlight> ਕਾਲਾਂ ਜੋੜ ਕੇ ਅਸਥਾਈ ਤੌਰ 'ਤੇ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਲਗਾਓ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=6,8>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route; error("link1=" .. tostring(link))
else
link = p.link(route); error("link2=" .. tostring(link))
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# "<s>ਸਫ਼ਾ ਛਾਪੋ</s>" (<s>ਤਬਦੀਲੀਆਂ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ</s>। <s>Publish changes</s>) 'ਤੇ '''<span style="color:red;">ਕਲਿੱਕ ਨਾ ਕਰੋ</span>'''।
<code>ਮੌਡਿਊਲ:</code>'''<code>[[ਮੌਡਿਊਲ:Jct|Jct]]</code>''' ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
{{collapse bottom}}
=== ਵਿਕੀਟੈਕਸਟ ===
ਸ਼ਾਮਲ ਕੀਤੇ ਗਏ ਵਿਕੀਪੀਡੀਆ ਸਿਰਲੇਖਾਂ ਵਿੱਚ ਅਕਸਰ <syntaxhighlight lang="lua" inline>"UNIQ5ae8f2aa414ff233-h-3--QINU"</syntaxhighlight> ਵਰਗਾ ਲੁਕਿਆ ਹੋਇਆ ਕੋਡ ਹੁੰਦਾ ਹੈ, ਜਿਸ ਨੂੰ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਢੰਗ ਨਾਲ ਪਾਰਸ ਕਰਨ ਲਈ ਹਟਾਉਣ ਦੀ ਲੋੜ ਪੈ ਸਕਦੀ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(string.reverse("UNIQ"))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=2>
QINU
</syntaxhighlight></blockquote>
ਪਾਈਪ <code><nowiki>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ</nowiki></code>'''<code><nowiki>|</nowiki></code>'''<code><nowiki>]]</nowiki></code> ਤੋਂ ਬਾਅਦ ਪ੍ਰਗਟਾਵੇ ਤੋਂ ਬਿਨਾਂ ਵਾਲੇ ਵਿਕੀਲਿੰਕ, ਜੇ ਆਉਟਪੁੱਟ ਵਜੋਂ ਵਾਪਸ ਕੀਤੇ ਜਾਣ, ਤਾਂ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ - ਇਨ੍ਹਾਂ ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਇਸ ਤਰ੍ਹਾਂ ਲਿਖਣ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ: <syntaxhighlight lang="lua" inline>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|</syntaxhighlight>'''<code>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|ਮਦਦ]]</code>'''<syntaxhighlight lang="lua" inline>]]</syntaxhighlight>।
ਸੇਵ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਹੋਣ ਵਾਲੀਆਂ ਹੋਰ ਤਬਦੀਲੀਆਂ ਵੀ, ਜਿਵੇਂ ਕਿ <code>~~<nowiki/>~~</code> ਨੂੰ ਦਸਤਖ਼ਤਾਂ ਨਾਲ ਬਦਲਣਾ, ਪ੍ਰਕਿਰਿਆ ਵਿੱਚ ਨਹੀਂ ਆਉਣਗੀਆਂ। ਟੈਂਪਲੇਟ ਟ੍ਰਾਂਸਕਲੂਜ਼ਨ, ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਕਾਲਾਂ ਅਤੇ ਵੇਰੀਏਬਲ ਬਦਲਾਅ (ਅਰਥਾਤ <code><nowiki>{{...}}</nowiki></code> ਵਾਲੀ ਕੋਈ ਵੀ ਚੀਜ਼) ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ। ਇਸੇ ਤਰ੍ਹਾਂ {{tag|ref|o}} ਜਾਂ {{tag|nowiki|o}} ਵਰਗੇ ਟੈਗ ਵੀ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ।
== ਬਦਲੇ ਹੋਏ ਫਰਮਿਆਂ ਦਾ ਨਾਮਕਰਨ==
{{lua|ਮੌਡਿਊਲ:Bananas}}
ਕਿਰਪਾ ਕਰਕੇ {{tl|lua}} ਫਰਮਿਆਂ ਨੂੰ ਉਹਨਾਂ ਸਾਰੇ ਫਰਮਿਆਂ ਦੇ ਡਾਕੂਮੈਂਟੇਸ਼ਨ ਉੱਪ-ਪੰਨਿਆਂ ਉੱਤੇ ਰੱਖੋ ਜੋ ਲੂਆ ਵਰਤਦੇ ਹਨ, ਇਹ ਲੂਆ ਵਰਤੋਂ ਅਤੇ ਫਰਮਾ ਪਰਿਵਰਤਨਾਂ ਦੇ ਸਹਿਯੋਗ ਵਿੱਚ ਮਦੱਦ ਕਰੇਗਾ|
{{clear}}
== ਇਹ ਵੀ ਦੇਖੋ ==
* [[ਖ਼ਾਸ:ਅਗੇਤਰ ਤਤਕਰਾ/ਮੌਡਿਊਲ:]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ
* [[:ਸ਼੍ਰੇਣੀ:Lua-based templates]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਦੇ ਸਮੂਹ
* [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]]
* [[:ਮੌਡਿਊਲ:Sandbox]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਨਾਲ ਪ੍ਰਯੋਗ ਕਰਨ ਲਈ ਇੱਕ pseudo-namespace ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ
; ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਪੀਡੀਆ-ਵਿਸ਼ੇਸ਼ ਸਰੋਤ
* [[Wikipedia:Lua style guide]] – ਇਕਸਾਰਤਾ ਰਾਹੀਂ ਕੋਡ ਦੀ ਪੜ੍ਹਨਯੋਗਤਾ ਸੁਧਾਰਨ ਲਈ ਮਿਆਰ
* [[:en:Help:Lua debugging]] – ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਡੀਬੱਗਿੰਗ ਬਾਰੇ ਇੱਕ ਕਿਵੇਂ-ਕਰਨਾ ਗਾਈਡ
* [[:en:Wikipedia talk:Lua]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਜਾਂ ਕੰਮਾਂ ਲਈ ਬੇਨਤੀਆਂ
== ਨੋਟਸ ==
{{reflist}}
{{Wikipedia technical help|collapsed}}
[[Category:Wikipedia modules]]
akffl8gsukym1ukte1xodxc696puemn
849424
849423
2026-10-08T16:10:15Z
Nimmzo
62202
/* ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ */ So the `type` is well defined. You can exclude the `then` branch. The issue is the `else` branch. Let's investigate the function `p.link(route)`
849424
wikitext
text/x-wiki
{{WikiProject Lua/header}}
{{Namespaces}}
{{Information page|WP:Lua}}
[[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)|ਲੂਆ]] ਇੱਕ ਪ੍ਰੋਗ੍ਰਾਮਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜੋ ਹੁਣ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ, [[mw: Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਮੀਡੀਆਵਿਕੀ ਐਕਸਟੈਂਸ਼ਨ ਰਾਹੀਂ ਉਪਲਬਧ ਹੈ। ਲੁਆ ਕੋਡ ਨੂੰ ਹੁਣ ਵਿਕੀਪੀਡੀਆ ਟੈਂਪਲੈਂਟਾਂ ਵਿੱਚ ਸਕਿਰਬੰਟੋ ਦੇ <syntaxhighlight lang="lua" inline>{{#invoke:}}</syntaxhighlight> ਫੰਕਸ਼ਨ ਨੂੰ ਲਾਗੂ ਕਰਕੇ ਜੜਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਹ ਐਕਸਟੈਨਸ਼ਨ ਜੁਲਾਈ 2015 ਤੋਂ ਲੁਆ 5.1 {{as of|lc=y|2015|07}} ਨੂੰ ਸਪੋਰਟ ਕਰਦੀ ਹੈ।
== ਲੂਆ ਵਿੱਚ ਹੈਲੋ ਵਰਲਡ! ==
<code>[[ਮੌਡਿਊਲ:Bananas]]</code>: ਸਰਲਤਮ ਸੰਭਵ ਸਕ੍ਰਿਪਟ, ਜੋ ਕੋਈ ਵੀ ਆਰਜੂਮੈਂਟ ਵਾਲਾ ਇੱਕ ਸਿੰਗਲ ਫੰਕਸ਼ਨ ਦਿੰਦੀ ਹੈ
ਲੁਆ ਸੋਰਸ ਕੋਡ ਮੌਡਿਊਲਜ਼ (ਯਾਨਿ ਕਿ, <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>) ਨਾਮਕ ਪੰਨਿਆਂ ਵਿੱਚ ਜਮਾਂ ਹੁੰਦੇ ਜਾਂਦੇ ਹਨ। ਇਹ ਵਿਅਕਤੀਗਤ ਮੌਡਿਊਲਜ਼ ਫੇਰ ਟੈਂਪਲੈਂਟ ਪੰਨਿਆਂ ਉੱਤੇ <syntaxhighlight lang="wikitext" inline>{{#invoke:}}</syntaxhighlight> ਕੋਡ ਰਾਹੀਂ ਇਨਵੋਕ (ਬੁਲਾਏ) ਕੀਤੇ ਜਾਂਦੇ ਹਨ। (ਜਿਵੇਂ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/doc|doc]]</code>''' ਇਸ <syntaxhighlight lang="lua" inline>"Hello, world!"</syntaxhighlight> ਸ਼ਬਦਾਂ ਨੂੰ ਛਾਪਣ ਵਾਸਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas|</syntaxhighlight>'''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਕੋਡ ਵਰਤਦਾ ਹੈ।)
ਤੁਹਾਨੂੰ ਕੁਝ ਵੀ ਇੰਸਟਾਲ ਜਾਂ ਸੇਵ ਕਰਨ ਦੀ ਲੋੜ ਨਹੀਂ ਹੈ।
# ਆਪਣਾ ਯੂਜ਼ਰ ਪੰਨਾ ਸੰਪਾਦਿਤ ਕਰੋ।
# ਆਪਣੇ ਯੂਜ਼ਰ ਪੰਨੇ ’ਤੇ ਨਵੀਂ ਲਾਈਨ ਦੇ ਸ਼ੁਰੂ ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੀ ਕਾਲ ਚਿਪਕਾਓ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Bananas|hello}}
</syntaxhighlight></blockquote>
<ol start="3">
<li>'''<code>ਝਲਕ ਵਿਖਾਓ</code>''' ’ਤੇ ਕਲਿੱਕ ਕਰੋ। <syntaxhighlight lang="lua" inline>hello</syntaxhighlight> ਫੰਕਸ਼ਨ ਦੀ ਕਾਲ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੇ ਨਾਲ ਬਦਲ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ:</li>
</ol>
<blockquote><syntaxhighlight lang="lua" line>
Hello, world!
</syntaxhighlight></blockquote>
<ol start="4">
<li><code style="color:#bf3c2c;">ਰੱਦ ਕਰੋ</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ। ਪੁੱਛੇ ਜਾਣ ’ਤੇ, <code>Leave</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ।</li>
<li>ਤੁਹਾਡਾ ਯੂਜ਼ਰ ਪੰਨਾ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।</li>
</ol>
=== ਆਰਜੂਮੈਂਟਾਂ ਵਰਤਣਾ ===
ਆਰਜੂਮੈਂਟਾਂ ਮੌਡਿਊਲਾਂ ਵੱਲ ਉਸੇ ਤਰੀਕੇ ਨਾਲ ਪਾਸ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਜਿਸਤਰਾਂ ਫਰਮੇ ਪਾਸ ਹੁੰਦੇ ਹਨ। ਫੇਰ ਵੀ, ਨੋਟ ਕਰੋ ਕਿ ਪਹਿਲੇ ਪਾਈਪ ਅੱਖਰ ਤੋਂ ਬਾਦ ਦੇ ਅਗਲੇ ਅੱਖਰ ਹਮੇਸ਼ਾਂ ਹੀ ਫੰਕਸ਼ਨ ਦਾ ਨਾਮ ਹੁੰਦੇ ਹਨ; ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਦੂਜੀ ਪਾਈਪ ਤੋਂ ਬਾਦ ਦੇ ਟੈਕਸਟ ਹੁੰਦੇ ਹਨ।
<blockquote><syntaxhighlight lang="lua" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਆਰਗੂਮੈਂਟ}}
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:BananasArgs]]</code>: ਸਿੱਧ ਕਰਕੇ ਦਿਖਾਉਂਦੀ ਹੈ ਕਿ ਪੈਰਾਮੀਟਰਾਂ ਨੂੰ ਕਿਵੇਂ ਵਰਤਣਾ ਅਤੇ ਕ੍ਰਿਆਸ਼ੀਲ ਕਰਨਾ ਹੈ
ਉਦਾਹਰਨ ਦੇ ਤੌਰ ਤੇ, <code>ਮੌਡਿਊਲ:</code><code>BananasArgs</code> ਵਿੱਚ, '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-13|hello]]</code>''' ਫੰਕਸ਼ਨ ਵੱਖਰੇ ਲੋਕਾਂ ਦਾ ਸਵਾਗਤ ਕਰਨਾ ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਤੇ ਨਿਰਭਰ ਕਰਦਾ ਹੈ। ਇਹ ਇਸਤਰਾਂ ਕੰਮ ਕਰਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</blockquote>
;ਨਾਮਿਤ ਆਰਗੂਮੈਂਟ <code>|ਕੁੰਜੀ=ਮੁੱਲ</code>
<blockquote><syntaxhighlight lang="wikitext" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ1=ਮੁੱਲ1|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ2=ਮੁੱਲ2}}
</syntaxhighlight></blockquote>
BananasArgs ਕੋਲ ਇੱਕ '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-26|count_fruit]]</code>''' ਨਾਮਕ ਫੰਕਸ਼ਨ ਵੀ ਹੁੰਦਾ ਹੈ ਜੋ <code>|bananas=</code> and <code>|apples=</code> ਨਾਮਕ ਆਰਜੂਮੈਂਟ ਵਰਤਦਾ ਹੈ ਜਿਸਨਾਲ ਸਾਡੇ ਕੋਲ ਮੌਜੂਦ ਕੇਲਿਆਂ (ਬਾਨਾਨਾਜ਼) ਅਤੇ ਸੇਬਾਂ ਦੀ ਸੰਖਿਆ ਗਿਣੀ ਜਾਂਦੀ ਹੈ। ਇਸਨੂੰ ਆਰਗੂਮੈਂਟਾਂ ਦਾ ਕ੍ਰਮ ਬਦਲ ਕੇ ਚਲਾਇਆ ਜਾ ਸਕਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</blockquote>
ਜਿਆਦਾਤਰ ਮੌਡਿਊਲਜ਼ ਇੱਕ ਡੌਕੂਮੈਂਟੇਸ਼ਨ ਪੰਨਾ ਰੱਖਦੇ ਹੋਣਗੇ ਜਿਸਵਿੱਚ ਇਹ ਸਮਝਾਇਆ ਗਿਆ ਹੁੰਦਾ ਹੈ ਕਿ ਕਿਹੜੀਆਂ ਆਰਜੂਮੈਂਟਾਂ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ ਅਤੇ ਉਹਨਾਂ ਦੇ ਪ੍ਰਭਾਵ ਕੀ ਹੋਣਗੇ ।
== ਡੀਬੱਗ ਕੌਨਸੋਲ: ਲੂਆ ਸਿੱਖਣਾ ਸ਼ੁਰੂ ਕਰੋ ==
ਲੂਆ Scribunto ਦਾ <code>Debug Console</code> ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ ਲੂਆ ਸਿੱਖਣ ਲਈ ਇੱਕ ਸੁਰੱਖਿਅਤ, ਇੰਟਰਐਕਟਿਵ ਟੂਲ ਹੈ।
# [[ਮੌਡਿਊਲ:Yesno]] ਪੰਨੇ ‘ਤੇ <code>ਸਰੋਤ ਵੇਖੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰੋ।
# ਪੰਨੇ ਦੇ ਹੇਠਾਂ <code>Debug console</code> ਭਾਗ ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
# ਟਿੱਪਣੀ ਅਤੇ ਕਾਲ ਨੂੰ <span style="color:#eaecf0;">ਹਲਕਾ</span> <span style="color:blue;">ਨੀਲਾ</span> ਇਨਪੁੱਟ ਬਾਕਸ ਵਿੱਚ ਪੇਸਟ ਕਰੋ (ਜੋ <code>ਸਾਫ਼ ਕਰੋ</code> ਬਟਨ ਦੇ ਉੱਪਰ ਹੈ)।
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
--[[ਤੁਹਾਡਾ ਪਹਿਲਾ ਲੂਆ Hello World-ਜਿਹਾ ਪ੍ਰੋਗਰਾਮ]]--
print("ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ " .. _VERSION .. "!") -- ਲੂਆ ਸੰਸਕਰਣ ਨੂੰ `..` ਨਾਲ ਜੋੜੋ
</syntaxhighlight></blockquote>
<ol start="4">
<li>ਦੋ ਲੂਆ ਕਮਾਂਡਾਂ ਨੂੰ ਚਲਾਉਣ ਲਈ {{key press|Enter}} ਇੱਕ ਵਾਰ ਦਬਾਓ।</li>
<li>ਨਤੀਜਾ ਲੂਆ <syntaxhighlight lang="lua" inline>print</syntaxhighlight> ਕਮਾਂਡ ਲਾਈਨ ਦੇ ਹੇਠਾਂ ਦਿਖਾਈ ਦੇਵੇਗਾ:</li>
</ol>
<blockquote><syntaxhighlight lang="text" line start=3>
ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ Lua 5.1!
</syntaxhighlight></blockquote>
<ol start="6">
<li>ਪਿਛਲੀਆਂ ਲੂਆ ਕਮਾਂਡਾਂ ਵਿਚਕਾਰ ਜਾਣ ਲਈ {{key press|Up}} <code>Up arrow</code> ਦਬਾਓ।</li>
<li>ਚਾਹੋ ਤਾਂ <code>ਸਾਫ਼ ਕਰੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰਕੇ ਸਿਰਫ਼ <code>Debug Console</code> ਨੂੰ ਸਾਫ਼ ਕਰੋ; ਉੱਪਰ ਵਾਲਾ ਲੂਆ ਸੰਪਾਦਕ '''ਬਦਲਿਆ ਨਹੀਂ ਜਾਵੇਗਾ'''।</li>
</ol>
; ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ HTML ਜਨਰੇਟਰ
<code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ '''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>''' ਫੰਕਸ਼ਨ ਨੂੰ ਕਾਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- Debug console ਵਿੱਚ ਮੌਡਿਊਲ ਲੋਡ ਕਰੋ
print(modHi.hello()) -- "Hello, world!" ਦਿਖਾਓ
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
Hello, world!
</syntaxhighlight></blockquote>
;ਆਰਗੂਮੈਂਟ
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
local modArg = require('ਮੌਡਿਊਲ:BananasArgs')
local frame = mw.getCurrentFrame()
frame.args = {"ਜਸਪ੍ਰੀਤ"}; print("੧. " .. modArg.hello(frame))
frame.args = {"ਗੁਰਪ੍ਰੀਤ"}; print("੨. " .. modArg.hello(frame))
frame.args = {apples="3", bananas="4"}; print("੩. " .. modArg.count_fruit(frame))
frame.args = {bananas="5", apples="2"}; print("੪. " .. modArg.count_fruit(frame))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=7>
੧. Hello, ਜਸਪ੍ਰੀਤ!
੨. Hello, ਗੁਰਪ੍ਰੀਤ!
੩. I have 4 bananas and 3 apples
੪. I have 5 bananas and 2 apples
</syntaxhighlight></blockquote>
; ਪਛਾਣ ਫੰਕਸ਼ਨ
<code>callParserFunction</code> [[mw:Help:Extension:ParserFunctions##if|#if]]
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local yesno = require('ਮੌਡਿਊਲ:Yesno') -- #if yesno then ਆਪਣਾ ਇਨਪੁੱਟ ਪੈਰਾਮੀਟਰ ਵਾਪਸ ਕਰਦਾ ਹੈ
print(mw.getCurrentFrame():callParserFunction("#if", yesno("Yes"), "Yes", 'no'))
print(mw.getCurrentFrame():callParserFunction("#if", yesno('ਨਹੀਂ'), "ਹਾਂ", 'ਨਹੀਂ'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=4>
Yes
ਨਹੀਂ
</syntaxhighlight></blockquote>
# ਸੁਰੱਖਿਅਤ <code>ਮੌਡਿਊਲ:</code><code>Yesno</code> ਨੂੰ ਬੰਦ ਕਰੋ, ਜੋ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।
== ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਦੀ ਬੇਨਤੀ ਕਰੋ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਜਾਂ ਕਿਸੇ ਹੋਰ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟ ਉੱਤੇ ਕੋਈ ਖਾਸ ਕੰਮ ਕਰਨ ਲਈ ਕਿਸੇ ਲੂਆ ਸਕ੍ਰਿਪਟ ਨੂੰ ਲਿਖਣ ਵਾਸਤੇ ਸਹਾਇਤਾ ਲਈ [[:en:Wikipedia talk:Lua]] ਤੇ ਜਾਓ
== ਇਤਿਹਾਸ ==
[[mw:Manual:MediaWiki architecture#Magic words and templates|ਜਾਦੂਈ ਸ਼ਬਦ]], [[mw:Help:Extension:ParserFunctions|ਪਾਰਜ਼ਰਫੰਕਸ਼ਨ (ParserFunctions)]], [[mw:Extension:Lua|ਲੂਆ ਸ਼ਾਖਾ]], ਵਿਕੀ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਨੇ (JavaScript ਬਨਾਮ Lua), [[mw:Extension:WikiScripts]] ਮੁਕਾਬਲਾ ਕਰਾਇਆ, ਲੂਆ ਵਾਸਤੇ ਸ਼ੁਰੂਆਤੀ ਸਮਰਥਨ ਨਾਲ ਟਿੱਮ [[mw:Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਲਿਖਦਾ ਹੈ|
ਸਾਲਾਂ ਦੀ ਚਰਚਾ ਤੋਂ ਬਾਦ ਲੂਆ ਨੂੰ [[test2wiki:|test2.wikipedia.org]] ਉੱਤੇ ਪਰਖਣ ਵਾਸਤੇ 2012 ਵਿੱਚ ਇਨਸਟਾਲ ਕੀਤਾ ਗਿਆ, ਜਿਸ ਵਿੱਚ ਲੂਆ ਮੌਡਿਊਲਾਜ਼ ਨੂੰ ਵਿਕਸਿਤ ਕਰਨ ਵਾਲੇ ਪ੍ਰਯੋਗਾਂ ਲਈ ਸਾਰੇ ਸੰਪਾਦਕਾਂ ਨੂੰ ਖੁੱਲਾ ਸੱਦਾ ਦਿੱਤਾ ਗਿਆ | ਲੂਆ ਫਰਵਰੀ 2013 ਵਿੱਚ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ mediawiki.org ਅਤੇ Wikimedia test wikis ਉੱਤੇ ਪਰਖਣ ਤੋਂ ਬਾਦ ਇਨਸਟਾਲ ਕਰ ਦਿੱਤੀ ਗਈ|
== ਲੂਆ ਬਾਰੇ ==
:Brad Jorsch ਵੱਲੋਂ ਬਣਾਏ ਗਏ [[:File:WMF Tech Talk 2013-02-28 slides - Scribunto presentation.pdf|ਵਿਕੀਟੈਕਸਟ ਟੈਂਪਲੇਟ]] ਨੂੰ ਲੂਆ ਮੌਡਿਊਲ ਵਿੱਚ ਬਦਲਣ ਦਾ ਤਰੀਕਾ ਵੀ ਵੇਖੋ।
ਲੂਆ ਇੱਕ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜਿਸ ਦੀ ਵਰਤੋਂ ਡੇਟਾ ਦਾ ਵਿਸ਼ਲੇਸ਼ਣ ਕਰਨ, ਸਮੀਕਰਨਾਂ ਦੀ ਗਣਨਾ ਕਰਨ ਅਤੇ ਫੰਕਸ਼ਨਾਂ ਜਾਂ ਆਬਜੈਕਟ-ਓਰੀਐਂਟਡ ਪ੍ਰੋਗਰਾਮਿੰਗ ਰਾਹੀਂ ਨਤੀਜਿਆਂ ਨੂੰ ਫਾਰਮੈਟ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ। ਭਾਵੇਂ ਕੁਝ ਲੂਆ ਸਕ੍ਰਿਪਟਾਂ ਨੂੰ ਸਰਲ ਰੱਖਿਆ ਜਾ ਸਕਦਾ ਹੈ, ਪਰ ਆਸਾਨੀ ਨਾਲ ਸਮਝਣ ਲਈ ਲੂਆ ਟੇਬਲਾਂ, ਡਾਇਨਾਮਿਕ ਫੰਕਸ਼ਨਾਂ ਅਤੇ ਐਸੋਸੀਏਟਿਵ ਐਰੇਆਂ ਸਮੇਤ ਜਟਿਲ ਢਾਂਚਿਆਂ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ, ਜਿੱਥੇ ਇੰਡੈਕਸ ਸਬਸਕ੍ਰਿਪਟਾਂ ਇੰਡੈਕਸ ਨੰਬਰਾਂ ਦੇ ਨਾਲ-ਨਾਲ ਸ਼ਬਦ ਵੀ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਲੂਆ ਨੇਸਟਡ ਫੰਕਸ਼ਨਾਂ ਦੀ ਰਿਕਰਸ਼ਨ ਨੂੰ ਵੀ ਸਮਰਥਨ ਦਿੰਦਾ ਹੈ, ਇਸ ਲਈ ਬੇਹੱਦ ਜਟਿਲਤਾ ਤੋਂ ਬਚਣ ਲਈ ਸਾਵਧਾਨੀ ਵਰਤਣੀ ਚਾਹੀਦੀ ਹੈ, ਤਾਂ ਜੋ ਹੋਰ ਵਰਤੋਂਕਾਰ ਇਹ ਸਮਝ ਸਕਣ ਕਿ ਲੂਆ ਮੌਡਿਊਲ ਦੀ ਦੇਖਭਾਲ ਕਿਵੇਂ ਕਰਨੀ ਹੈ।
ਹੇਠਾਂ ਉੱਪਰ ਦਿੱਤੀਆਂ ਉਦਾਹਰਨਾਂ ਲਈ ਵਰਤੇ ਗਏ ਮੌਡਿਊਲ ਦੇ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦਾ ਇੱਕ ਅੰਸ਼ ਦਿੱਤਾ ਗਿਆ ਹੈ:
<syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਮੌਡਿਊਲ:BananasArgs#L-13]]--
local p = {} -- ਲੋੜੀਂਦੀ ਮੌਡਿਊਲ (p)ੈਕੇਜ ਟੇਬਲ, ਖਾਲੀ ਟੇਬਲ ਵਜੋਂ ਸ਼ੁਰੂ ਕੀਤੀ ਗਈ
function p.hello(frame) -- hello ਫੰਕਸ਼ਨ ਦੀ ਪਰਿਭਾਸ਼ਾ।
local name = frame.args[1] -- ਇਸ ਵਿੱਚ ਪਹਿਲਾ ਨਾਮ ਹੁੰਦਾ ਹੈ।
return "Hello, " .. name .. "!" -- `..` ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੰਕਸ਼ਨ ਦਾ ਨਤੀਜਾ ਇੱਕ ਸਤਰ ਵਜੋਂ ਜੋੜ ਕੇ ਵਾਪਸ ਕਰੋ।
end -- ਫੰਕਸ਼ਨ ਦਾ ਅੰਤ।
return p -- ਮੌਡਿਊਲ ਦੀ (p)ੈਕੇਜ ਟੇਬਲ ਵਾਪਸ ਕਰੋ।
</syntaxhighlight>
ਲੂਆ ਦਾ ਇੱਕ ਨਮੂਨਾ <code><nowiki><syntaxhighlight lang="lua" line highlight=1 copy> ... </syntaxhighlight></nowiki></code> ਟੈਗ ਨੂੰ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦੇ ਆਲੇ-ਦੁਆਲੇ ਰੱਖ ਕੇ ਉਜਾਗਰ ਕੀਤਾ ਜਾਂਦਾ ਹੈ। ਲੂਆ ਦੀਆਂ ਕੁਝ ਹੋਰ ਜਟਿਲ ਉਦਾਹਰਨਾਂ ਵੇਖਣ ਲਈ ਲੇਖ [[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)]] ਵੇਖੋ।
MediaWiki (ਅਤੇ ਇਸ ਕਰਕੇ ਵਿਕੀਪੀਡੀਆ) ਵਿੱਚ ਲੂਆ ਦੀ ਵਰਤੋਂ ਕਰਨ ਦੇ ਨਿਰਦੇਸ਼ਾਂ ਲਈ [[mw:Extension:Scribunto/ਲੂਆ reference manual]] ਵੇਖੋ।
== ਯੂਨਿਟ ਪਰਖਣਾ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ Lua ਸਕ੍ਰਿਪਟਾਂ ਲਈ ਇਕਾਈ ਟੈਸਟਿੰਗ ਫਰੇਮਵਰਕ [[ਮੌਡਿਊਲ:ScribuntoUnit]] ਵਿੱਚ ਉਪਲਬਧ ਹੈ।<br />
ਇਹ ਤੁਹਾਨੂੰ ਦਿੱਤੇ ਗਏ ਇਨਪੁੱਟਾਂ ਦੇ ਸਮੂਹ ਉੱਤੇ ਆਪਣੀ ਸਕ੍ਰਿਪਟ ਚਲਾਉਣ ਅਤੇ ਇਹ ਪੁਸ਼ਟੀ ਕਰਨ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ ਕਿ ਉਮੀਦ ਕੀਤੇ ਆਉਟਪੁੱਟ ਤਿਆਰ ਹੋਏ ਹਨ।<br />
ਇਕਾਈ ਟੈਸਟ ਖ਼ਾਸ ਤੌਰ ’ਤੇ ਰਿਗ੍ਰੈਸ਼ਨਾਂ ਨੂੰ ਤੇਜ਼ੀ ਨਾਲ ਖੋਜਣ ਲਈ ਲਾਭਦਾਇਕ ਹੁੰਦੇ ਹਨ, ਜਿੱਥੇ ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਵਿੱਚ ਕੀਤੀਆਂ ਤਬਦੀਲੀਆਂ ਨਵੀਆਂ ਸਮੱਸਿਆਵਾਂ ਪੈਦਾ ਕਰਦੀਆਂ ਹਨ।
ਰਿਵਾਜ ਅਨੁਸਾਰ, [[ਮੌਡਿਊਲ:Bananas]] ਵਰਗੇ ਮੌਡਿਊਲ ਲਈ ਇਕਾਈ ਟੈਸਟ <syntaxhighlight lang="lua" inline>ਮੌਡਿਊਲ:</syntaxhighlight><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/testcases|testcases]]</code>''' ਵਿੱਚ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।<br />
ਇਹ '''<code>[[ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:Bananas/testcases|ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:]]</code>'''<code>Bananas/testcases</code> ਉੱਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas/testcases|</syntaxhighlight>'''<code>run</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਨਾਲ ਚਲਾਏ ਜਾਂਦੇ ਹਨ।
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="wikitext" line highlight=1 copy>
{{#invoke:Bananas/testcases|run}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Bananas/testcases|run}}
</blockquote>
ਹਰ ਟੈਸਟ ਵਿਧੀ ਦੀ ਸ਼ੁਰੂਆਤ <syntaxhighlight lang="lua" inline>p:</syntaxhighlight>'''<code>test_</code>''' ਨਾਲ ਹੋਣੀ ਲਾਜ਼ਮੀ ਹੈ।
[[ਮੌਡਿਊਲ:Bananas/testcases]] ਤੋਂ ਇੱਕ ਉਦਾਹਰਨ ਹੇਠਾਂ ਦਿੱਤੀ ਗਈ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
--[[ਮੌਡਿਊਲ:Bananas/testcases]]--
local p = require('ਮੌਡਿਊਲ:ScribuntoUnit').new()
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- ਟੈਸਟ ਚਲਾਉਣ ਲਈ ਗੱਲ-ਬਾਤ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ।
function p:test_hi() -- [[ਮੌਡਿਊਲ:Bananas]] ਲਈ ਇਕਾਈ ਟੈਸਟ।
self:assertEquals('Hello, world!', modHi.hello())
end
return p
</syntaxhighlight></blockquote>
[[ਮੌਡਿਊਲ:ScribuntoUnit]] ਦੀ ਸ਼ੁਰੂਆਤ ਹੰਗਰੀ ਵਿਕੀਪੀਡੀਆ ਤੋਂ ਹੋਈ ਹੈ।<br />
ਇਹ ਅਸਲ ਤਰੁੱਟੀਆਂ ਪੈਦਾ ਕਰਦਾ ਹੈ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਸੁਰੱਖਿਅਤ ਕਾਲਾਂ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੜਿਆ ਜਾਂਦਾ ਹੈ। ਇਸ ਵਿੱਚ ਦਿੱਤੀ ਗਈ ਸ਼ੁੱਧਤਾ ਦੇ ਅੰਦਰ ਫਲੋਟਾਂ ਦੀ ਤੁਲਨਾ ਕਰਨ ਲਈ ਇੱਕ ਵਿਧੀ ਵੀ ਹੈ।
ਇਕਾਈ ਟੈਸਟਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨ ਵਾਲੇ ਸਾਰੇ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ ਲਈ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:ScribuntoUnit]] ਵੇਖੋ।
== ਵਿਕੀਪੀਡੀਆ ਵਿਸ਼ੇਸ਼ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ==
ਕੁੱਲ ਮਿਲਾ ਕੇ: Lua ਨੂੰ ਇਨਪੁੱਟ ਵਜੋਂ ਸਿਰਫ਼ <code><nowiki>{{#invoke:}}</nowiki></code> ਨੂੰ ਦਿੱਤੀਆਂ ਪਾਠ-ਸਤਰਾਂ ਅਤੇ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.title.new|mw.title.new(...)]]:getContent()</code> तथा <code>[[mw:Extension:Scribunto/Lua reference manual#frame:expandTemplate|frame:expandTemplate()]]</code> ਰਾਹੀਂ ਪ੍ਰਾਪਤ ਕੀਤੀ ਜਾ ਸਕਣ ਵਾਲੀ ਸਮੱਗਰੀ ਹੀ ਮਿਲ ਸਕਦੀ ਹੈ। Lua ਦੇ ਆਉਟਪੁੱਟ ਨੂੰ ਪਹਿਲਾਂ ਤੋਂ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤਾ ਜਾਂਦਾ, ਜਦੋਂ ਤੱਕ <code>[[mw:Extension:Scribunto/Lua reference manual#frame:preprocess|frame:preprocess()]]</code> ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਕਾਲ ਨਾ ਕੀਤਾ ਜਾਵੇ। ਇਸ ਦਾ ਅਰਥ ਹੈ ਕਿ ਆਉਟਪੁੱਟ ਵਿੱਚ ਟੈਂਪਲੇਟ ਕਾਲਾਂ ਅਤੇ ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਸਹੀ ਢੰਗ ਨਾਲ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(mw.title.getCurrentTitle())
print(mw.getCurrentFrame():preprocess('{{PAGENAME}}'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=3>
ਮੌਡਿਊਲ:Yesno
Yesno
</syntaxhighlight></blockquote>
ਇਹ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.ustring.len|mw.ustring.len]]</code> ਫੰਕਸ਼ਨ ਦੀ ਵਰਤੋਂ <code>[[mw:Extension:Scribunto/Lua reference manual#string.len|string.len]]</code> ਦੀ ਬਜਾਇ ਕਰਨੀ ਬਿਹਤਰ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਯੂਨੀਕੋਡ]]--
local code = mw.getContentLanguage().code
local lang = mw.getCurrentFrame():callParserFunction("#language", code)
local lenUnicode = mw.ustring.len(lang) -- ਅੱਖਰਾਂ ਦੀ ਗਿਣਤੀ
local lenByte, lenSharp = string.len(lang), #lang -- ਬਾਈਟਾਂ ਦੀ ਗਿਣਤੀ
local msg = "code: \"%s\". lang: \"%s\". mw.ustring.len = %d string.len = %d sharp = %d"
print((msg):format(code, lang, lenUnicode, lenByte, lenSharp))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=8>
code: "pa". lang: "ਪੰਜਾਬੀ". mw.ustring.len = 6 string.len = 18 sharp = 18
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</blockquote>
ਵਿਕੀ ਸਫ਼ੇ ਵਿੱਚ, ਸਾਰਾ Lua ਕੋਡ (ਜਿਸ ਵਿੱਚ ਲੰਬੇ ਅੰਕੜਾ-ਹਿਸਾਬ ਜਾਂ ਬੇਅੰਤ <syntaxhighlight lang="lua" inline>while</syntaxhighlight> ਜਾਂ <syntaxhighlight lang="lua" inline>repeat</syntaxhighlight> ਲੂਪ ਵੀ ਸ਼ਾਮਲ ਹਨ) '''10 ਸ'''ਕਿੰਟ ਦੇ CPU ਸਮੇਂ ਤੱਕ ਸੀਮਿਤ ਹੈ। ਤੁਸੀਂ ਰੈਂਡਰ ਕੀਤੇ ਸਫ਼ੇ ਦੇ ਸਰੋਤ ਕੋਡ ਵਿੱਚ ਦੇਖ ਸਕਦੇ ਹੋ ਕਿ ਕਿਸੇ ਟੈਂਪਲੇਟ ਜਾਂ ਮੌਡਿਊਲ ਨੂੰ ਪਾਰਸ ਹੋਣ ਵਿੱਚ ਕਿੰਨਾ ਸਮਾਂ ਲੱਗਿਆ।
ਮਿਆਰੀ Lua ਦੇ ਮੁਕਾਬਲੇ, Scribunto ਦਾ Lua ਸੁਰੱਖਿਅਤ ਫੰਕਸ਼ਨ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ (ਮਿਆਰੀ Lua ਤੋਂ [[mw:Extension:Scribunto/Lua_reference_manual#Differences_from_standard_Lua|ਅੰਤਰ]] ਵੇਖੋ)।
=== ਲੂਆ ਇਨਪੁੱਟ ਕਮੀਆਂ ===
Scribunto ਵਿੱਚ Lua ਕੋਡ ਸਿਰਫ਼ ਉਦੋਂ ਹੀ ਚਲਾਇਆ ਜਾਂਦਾ ਹੈ ਜਦੋਂ ਸਫ਼ੇ ਨੂੰ ਪਾਰਸ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੋਵੇ। ਇਸ ਲਈ, Lua ਨੂੰ ਮਿਲਣ ਵਾਲਾ ਇਕਲੌਤਾ ਯੂਜ਼ਰ ਇਨਪੁੱਟ ''ਸਫ਼ੇ ਦੀ ਸੋਧ'' ਰਾਹੀਂ ਹੀ ਹੋ ਸਕਦਾ ਹੈ - ਇਹ ਅਜਿਹਾ ਇਨਪੁੱਟ ਬਾਕਸ ਨਹੀਂ ਬਣਾ ਸਕਦਾ ਜਿਸ ਵਿੱਚ ਤੁਸੀਂ ਫੈਰਨਹਾਈਟ ਤਾਪਮਾਨ ਦਰਜ ਕਰੋ ਅਤੇ ਕਿਸੇ ਬਟਨ ਨੂੰ ਦਬਾਉਣ ’ਤੇ ਉਸ ਨਾਲ ਸੰਬੰਧਿਤ ਸੈਲਸੀਅਸ ਤਾਪਮਾਨ ਪ੍ਰਾਪਤ ਕਰ ਸਕੋ, ਜਾਂ ਇਸ ਗੱਲ ਦੇ ਆਧਾਰ ’ਤੇ ਮੈਂਡਲਬਰੋਟ ਸੈੱਟ ਦੇ ਕਿਸੇ ਹਿੱਸੇ ਦੀ ਮੁੜ ਗਣਨਾ ਕਰ ਸਕੋ ਕਿ ਤੁਸੀਂ ਮੂਲ ਸੈੱਟ ਦੇ ਕਿਹੜੇ ਹਿੱਸੇ ’ਤੇ ਕਲਿੱਕ ਕਰਦੇ ਹੋ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
local function toCelsius(tempFahrenheit) return (tempFahrenheit - 32) * 5 / 9 end
print(("toCelsius(32°F) = %s°C. toCelsius(68°F) = %d°C"):format(toCelsius(32), toCelsius(68)))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
toCelsius(32°F) = 0°C. toCelsius(68°F) = 20°C
</syntaxhighlight></blockquote>
Lua ਇਨਪੁੱਟ ਵਿਕੀਪੀਡੀਆ ਦੇ ਕਿਸੇ ਵੀ ਅਜਿਹੇ ਪਾਠ ਸਫ਼ੇ ਦੀ ਵਰਤੋਂ ਕਰ ਸਕਦਾ ਹੈ ਜਿਸ ਨੂੰ ਕਿਸੇ ਹੋਰ ਸਫ਼ੇ ਵਿੱਚ [[ਵਿਕੀਪੀਡੀਆ:Transclusion|ਸ਼ਾਮਲ]] ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੋਵੇ। ਇਸ ਵਿੱਚ ਚਿੱਤਰ ਫ਼ਾਈਲਾਂ, ਸਕੇਲੇਬਲ ਵੈਕਟਰ ਗ੍ਰਾਫ਼ਿਕਸ (SVG) ਫ਼ਾਈਲਾਂ, [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]] ਦੀਆਂ ਸੂਚੀਆਂ ਜਾਂ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:UnitTests]] ਵਰਗੇ ਖ਼ਾਸ ਸਫ਼ੇ ਸ਼ਾਮਲ ਨਹੀਂ ਹਨ।
== ਡੀਬੱਗ ਕਰਨਾ ==
=== ਨਾਂ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਵਿੱਚ ਸਮੱਸਿਆ ਨੂੰ ਸਰਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |state=NY |type=NY |route=343}}
</blockquote>
ਗਲਤੀ ਵਾਲੇ ਸੁਨੇਹੇ 'ਤੇ ਕਲਿੱਕ ਕਰੋ, ਫਿਰ ਲਾਈਨ 107 ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Infobox_road/route at line 107: bad argument #1 to 'wikitext' ('''string''' or number expected, got <s>boolean</s>).
</blockquote>
<code>wikitext</code> ਫੰਕਸ਼ਨ Boolean ਮੁੱਲ <code>false</code> ਨੂੰ ਸਵੀਕਾਰ ਨਹੀਂ ਕਰਦਾ।
<blockquote><syntaxhighlight lang="lua" start=107 line highlight=1>
container:tag('p'):cssText('margin:0.1em;'):wikitext(name)
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<code>|name=</code> ਪੈਰਾਮੀਟਰ ਪਰਿਭਾਸ਼ਿਤ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</blockquote>
=== ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਦੇ "ਮੁੱਖ ਜੰਕਸ਼ਨ" ਭਾਗ ਵਿੱਚ ਬਾਕੀ ਤਿੰਨ ਸਮੱਸਿਆਵਾਂ ਨੂੰ ਸਰਲ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{jct|state=NY|NY|82}}
</syntaxhighlight></blockquote>
<blockquote>
{{jct|state=NY|NY|82}}
</blockquote>
{{collapse top|title=ਲੂਆ ਕੋਡ ਵਿੱਚ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਜੋੜਨਾ}}
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local modJunction = require('ਮੌਡਿਊਲ:jct')
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(modJunction.jct(frame))
</syntaxhighlight></blockquote>
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Jct at line 204: attempt to concatenate local 'link' (a boolean value).<br />
Backtrace:<br />
ਮੌਡਿਊਲ:Jct:204: in function "routeText"
</blockquote>
[[ਮੌਡਿਊਲ:Jct#L-204]] ਵਿੱਚ, <code>link</code> ਦਾ ਮੁੱਲ <code>false</code> ਹੈ, ਪਰ ਇੱਥੇ ਇੱਕ ਸਤਰ ਦੀ ਲੋੜ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=12>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route
else
link = p.link(route)
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# Lua ਕੋਡ ਵਿੱਚ ਦੋ ਕਸਟਮ <syntaxhighlight lang="lua" inline>error()</syntaxhighlight> ਕਾਲਾਂ ਜੋੜ ਕੇ ਅਸਥਾਈ ਤੌਰ 'ਤੇ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਲਗਾਓ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=6,8>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route; error("link1=" .. tostring(link))
else
link = p.link(route); error("link2=" .. tostring(link))
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# "<s>ਸਫ਼ਾ ਛਾਪੋ</s>" (<s>ਤਬਦੀਲੀਆਂ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ</s>। <s>Publish changes</s>) 'ਤੇ '''<span style="color:red;">ਕਲਿੱਕ ਨਾ ਕਰੋ</span>'''।
<code>ਮੌਡਿਊਲ:</code>'''<code>[[ਮੌਡਿਊਲ:Jct|Jct]]</code>''' ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
# ਦੂਜੀ ਕਸਟਮ ਗਲਤੀ ਦਿਖਾਈ ਦੇਵੇਗੀ।
<blockquote style="color:#bf3c2c;">
Lua error at line 200: link2=false.
</blockquote>
{{collapse bottom}}
=== ਵਿਕੀਟੈਕਸਟ ===
ਸ਼ਾਮਲ ਕੀਤੇ ਗਏ ਵਿਕੀਪੀਡੀਆ ਸਿਰਲੇਖਾਂ ਵਿੱਚ ਅਕਸਰ <syntaxhighlight lang="lua" inline>"UNIQ5ae8f2aa414ff233-h-3--QINU"</syntaxhighlight> ਵਰਗਾ ਲੁਕਿਆ ਹੋਇਆ ਕੋਡ ਹੁੰਦਾ ਹੈ, ਜਿਸ ਨੂੰ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਢੰਗ ਨਾਲ ਪਾਰਸ ਕਰਨ ਲਈ ਹਟਾਉਣ ਦੀ ਲੋੜ ਪੈ ਸਕਦੀ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(string.reverse("UNIQ"))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=2>
QINU
</syntaxhighlight></blockquote>
ਪਾਈਪ <code><nowiki>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ</nowiki></code>'''<code><nowiki>|</nowiki></code>'''<code><nowiki>]]</nowiki></code> ਤੋਂ ਬਾਅਦ ਪ੍ਰਗਟਾਵੇ ਤੋਂ ਬਿਨਾਂ ਵਾਲੇ ਵਿਕੀਲਿੰਕ, ਜੇ ਆਉਟਪੁੱਟ ਵਜੋਂ ਵਾਪਸ ਕੀਤੇ ਜਾਣ, ਤਾਂ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ - ਇਨ੍ਹਾਂ ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਇਸ ਤਰ੍ਹਾਂ ਲਿਖਣ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ: <syntaxhighlight lang="lua" inline>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|</syntaxhighlight>'''<code>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|ਮਦਦ]]</code>'''<syntaxhighlight lang="lua" inline>]]</syntaxhighlight>।
ਸੇਵ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਹੋਣ ਵਾਲੀਆਂ ਹੋਰ ਤਬਦੀਲੀਆਂ ਵੀ, ਜਿਵੇਂ ਕਿ <code>~~<nowiki/>~~</code> ਨੂੰ ਦਸਤਖ਼ਤਾਂ ਨਾਲ ਬਦਲਣਾ, ਪ੍ਰਕਿਰਿਆ ਵਿੱਚ ਨਹੀਂ ਆਉਣਗੀਆਂ। ਟੈਂਪਲੇਟ ਟ੍ਰਾਂਸਕਲੂਜ਼ਨ, ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਕਾਲਾਂ ਅਤੇ ਵੇਰੀਏਬਲ ਬਦਲਾਅ (ਅਰਥਾਤ <code><nowiki>{{...}}</nowiki></code> ਵਾਲੀ ਕੋਈ ਵੀ ਚੀਜ਼) ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ। ਇਸੇ ਤਰ੍ਹਾਂ {{tag|ref|o}} ਜਾਂ {{tag|nowiki|o}} ਵਰਗੇ ਟੈਗ ਵੀ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ।
== ਬਦਲੇ ਹੋਏ ਫਰਮਿਆਂ ਦਾ ਨਾਮਕਰਨ==
{{lua|ਮੌਡਿਊਲ:Bananas}}
ਕਿਰਪਾ ਕਰਕੇ {{tl|lua}} ਫਰਮਿਆਂ ਨੂੰ ਉਹਨਾਂ ਸਾਰੇ ਫਰਮਿਆਂ ਦੇ ਡਾਕੂਮੈਂਟੇਸ਼ਨ ਉੱਪ-ਪੰਨਿਆਂ ਉੱਤੇ ਰੱਖੋ ਜੋ ਲੂਆ ਵਰਤਦੇ ਹਨ, ਇਹ ਲੂਆ ਵਰਤੋਂ ਅਤੇ ਫਰਮਾ ਪਰਿਵਰਤਨਾਂ ਦੇ ਸਹਿਯੋਗ ਵਿੱਚ ਮਦੱਦ ਕਰੇਗਾ|
{{clear}}
== ਇਹ ਵੀ ਦੇਖੋ ==
* [[ਖ਼ਾਸ:ਅਗੇਤਰ ਤਤਕਰਾ/ਮੌਡਿਊਲ:]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ
* [[:ਸ਼੍ਰੇਣੀ:Lua-based templates]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਦੇ ਸਮੂਹ
* [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]]
* [[:ਮੌਡਿਊਲ:Sandbox]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਨਾਲ ਪ੍ਰਯੋਗ ਕਰਨ ਲਈ ਇੱਕ pseudo-namespace ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ
; ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਪੀਡੀਆ-ਵਿਸ਼ੇਸ਼ ਸਰੋਤ
* [[Wikipedia:Lua style guide]] – ਇਕਸਾਰਤਾ ਰਾਹੀਂ ਕੋਡ ਦੀ ਪੜ੍ਹਨਯੋਗਤਾ ਸੁਧਾਰਨ ਲਈ ਮਿਆਰ
* [[:en:Help:Lua debugging]] – ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਡੀਬੱਗਿੰਗ ਬਾਰੇ ਇੱਕ ਕਿਵੇਂ-ਕਰਨਾ ਗਾਈਡ
* [[:en:Wikipedia talk:Lua]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਜਾਂ ਕੰਮਾਂ ਲਈ ਬੇਨਤੀਆਂ
== ਨੋਟਸ ==
{{reflist}}
{{Wikipedia technical help|collapsed}}
[[Category:Wikipedia modules]]
a2yqmd8mp98ljukyng3rbuvfcuttwiu
849425
849424
2026-10-08T16:20:13Z
Nimmzo
62202
/* ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ */ When there is no `link`, the function `p.link` returns the `abbr`eviation of the street, which is not known. Hence `false`
849425
wikitext
text/x-wiki
{{WikiProject Lua/header}}
{{Namespaces}}
{{Information page|WP:Lua}}
[[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)|ਲੂਆ]] ਇੱਕ ਪ੍ਰੋਗ੍ਰਾਮਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜੋ ਹੁਣ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ, [[mw: Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਮੀਡੀਆਵਿਕੀ ਐਕਸਟੈਂਸ਼ਨ ਰਾਹੀਂ ਉਪਲਬਧ ਹੈ। ਲੁਆ ਕੋਡ ਨੂੰ ਹੁਣ ਵਿਕੀਪੀਡੀਆ ਟੈਂਪਲੈਂਟਾਂ ਵਿੱਚ ਸਕਿਰਬੰਟੋ ਦੇ <syntaxhighlight lang="lua" inline>{{#invoke:}}</syntaxhighlight> ਫੰਕਸ਼ਨ ਨੂੰ ਲਾਗੂ ਕਰਕੇ ਜੜਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਹ ਐਕਸਟੈਨਸ਼ਨ ਜੁਲਾਈ 2015 ਤੋਂ ਲੁਆ 5.1 {{as of|lc=y|2015|07}} ਨੂੰ ਸਪੋਰਟ ਕਰਦੀ ਹੈ।
== ਲੂਆ ਵਿੱਚ ਹੈਲੋ ਵਰਲਡ! ==
<code>[[ਮੌਡਿਊਲ:Bananas]]</code>: ਸਰਲਤਮ ਸੰਭਵ ਸਕ੍ਰਿਪਟ, ਜੋ ਕੋਈ ਵੀ ਆਰਜੂਮੈਂਟ ਵਾਲਾ ਇੱਕ ਸਿੰਗਲ ਫੰਕਸ਼ਨ ਦਿੰਦੀ ਹੈ
ਲੁਆ ਸੋਰਸ ਕੋਡ ਮੌਡਿਊਲਜ਼ (ਯਾਨਿ ਕਿ, <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>) ਨਾਮਕ ਪੰਨਿਆਂ ਵਿੱਚ ਜਮਾਂ ਹੁੰਦੇ ਜਾਂਦੇ ਹਨ। ਇਹ ਵਿਅਕਤੀਗਤ ਮੌਡਿਊਲਜ਼ ਫੇਰ ਟੈਂਪਲੈਂਟ ਪੰਨਿਆਂ ਉੱਤੇ <syntaxhighlight lang="wikitext" inline>{{#invoke:}}</syntaxhighlight> ਕੋਡ ਰਾਹੀਂ ਇਨਵੋਕ (ਬੁਲਾਏ) ਕੀਤੇ ਜਾਂਦੇ ਹਨ। (ਜਿਵੇਂ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/doc|doc]]</code>''' ਇਸ <syntaxhighlight lang="lua" inline>"Hello, world!"</syntaxhighlight> ਸ਼ਬਦਾਂ ਨੂੰ ਛਾਪਣ ਵਾਸਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas|</syntaxhighlight>'''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਕੋਡ ਵਰਤਦਾ ਹੈ।)
ਤੁਹਾਨੂੰ ਕੁਝ ਵੀ ਇੰਸਟਾਲ ਜਾਂ ਸੇਵ ਕਰਨ ਦੀ ਲੋੜ ਨਹੀਂ ਹੈ।
# ਆਪਣਾ ਯੂਜ਼ਰ ਪੰਨਾ ਸੰਪਾਦਿਤ ਕਰੋ।
# ਆਪਣੇ ਯੂਜ਼ਰ ਪੰਨੇ ’ਤੇ ਨਵੀਂ ਲਾਈਨ ਦੇ ਸ਼ੁਰੂ ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੀ ਕਾਲ ਚਿਪਕਾਓ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Bananas|hello}}
</syntaxhighlight></blockquote>
<ol start="3">
<li>'''<code>ਝਲਕ ਵਿਖਾਓ</code>''' ’ਤੇ ਕਲਿੱਕ ਕਰੋ। <syntaxhighlight lang="lua" inline>hello</syntaxhighlight> ਫੰਕਸ਼ਨ ਦੀ ਕਾਲ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੇ ਨਾਲ ਬਦਲ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ:</li>
</ol>
<blockquote><syntaxhighlight lang="lua" line>
Hello, world!
</syntaxhighlight></blockquote>
<ol start="4">
<li><code style="color:#bf3c2c;">ਰੱਦ ਕਰੋ</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ। ਪੁੱਛੇ ਜਾਣ ’ਤੇ, <code>Leave</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ।</li>
<li>ਤੁਹਾਡਾ ਯੂਜ਼ਰ ਪੰਨਾ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।</li>
</ol>
=== ਆਰਜੂਮੈਂਟਾਂ ਵਰਤਣਾ ===
ਆਰਜੂਮੈਂਟਾਂ ਮੌਡਿਊਲਾਂ ਵੱਲ ਉਸੇ ਤਰੀਕੇ ਨਾਲ ਪਾਸ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਜਿਸਤਰਾਂ ਫਰਮੇ ਪਾਸ ਹੁੰਦੇ ਹਨ। ਫੇਰ ਵੀ, ਨੋਟ ਕਰੋ ਕਿ ਪਹਿਲੇ ਪਾਈਪ ਅੱਖਰ ਤੋਂ ਬਾਦ ਦੇ ਅਗਲੇ ਅੱਖਰ ਹਮੇਸ਼ਾਂ ਹੀ ਫੰਕਸ਼ਨ ਦਾ ਨਾਮ ਹੁੰਦੇ ਹਨ; ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਦੂਜੀ ਪਾਈਪ ਤੋਂ ਬਾਦ ਦੇ ਟੈਕਸਟ ਹੁੰਦੇ ਹਨ।
<blockquote><syntaxhighlight lang="lua" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਆਰਗੂਮੈਂਟ}}
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:BananasArgs]]</code>: ਸਿੱਧ ਕਰਕੇ ਦਿਖਾਉਂਦੀ ਹੈ ਕਿ ਪੈਰਾਮੀਟਰਾਂ ਨੂੰ ਕਿਵੇਂ ਵਰਤਣਾ ਅਤੇ ਕ੍ਰਿਆਸ਼ੀਲ ਕਰਨਾ ਹੈ
ਉਦਾਹਰਨ ਦੇ ਤੌਰ ਤੇ, <code>ਮੌਡਿਊਲ:</code><code>BananasArgs</code> ਵਿੱਚ, '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-13|hello]]</code>''' ਫੰਕਸ਼ਨ ਵੱਖਰੇ ਲੋਕਾਂ ਦਾ ਸਵਾਗਤ ਕਰਨਾ ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਤੇ ਨਿਰਭਰ ਕਰਦਾ ਹੈ। ਇਹ ਇਸਤਰਾਂ ਕੰਮ ਕਰਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</blockquote>
;ਨਾਮਿਤ ਆਰਗੂਮੈਂਟ <code>|ਕੁੰਜੀ=ਮੁੱਲ</code>
<blockquote><syntaxhighlight lang="wikitext" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ1=ਮੁੱਲ1|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ2=ਮੁੱਲ2}}
</syntaxhighlight></blockquote>
BananasArgs ਕੋਲ ਇੱਕ '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-26|count_fruit]]</code>''' ਨਾਮਕ ਫੰਕਸ਼ਨ ਵੀ ਹੁੰਦਾ ਹੈ ਜੋ <code>|bananas=</code> and <code>|apples=</code> ਨਾਮਕ ਆਰਜੂਮੈਂਟ ਵਰਤਦਾ ਹੈ ਜਿਸਨਾਲ ਸਾਡੇ ਕੋਲ ਮੌਜੂਦ ਕੇਲਿਆਂ (ਬਾਨਾਨਾਜ਼) ਅਤੇ ਸੇਬਾਂ ਦੀ ਸੰਖਿਆ ਗਿਣੀ ਜਾਂਦੀ ਹੈ। ਇਸਨੂੰ ਆਰਗੂਮੈਂਟਾਂ ਦਾ ਕ੍ਰਮ ਬਦਲ ਕੇ ਚਲਾਇਆ ਜਾ ਸਕਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</blockquote>
ਜਿਆਦਾਤਰ ਮੌਡਿਊਲਜ਼ ਇੱਕ ਡੌਕੂਮੈਂਟੇਸ਼ਨ ਪੰਨਾ ਰੱਖਦੇ ਹੋਣਗੇ ਜਿਸਵਿੱਚ ਇਹ ਸਮਝਾਇਆ ਗਿਆ ਹੁੰਦਾ ਹੈ ਕਿ ਕਿਹੜੀਆਂ ਆਰਜੂਮੈਂਟਾਂ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ ਅਤੇ ਉਹਨਾਂ ਦੇ ਪ੍ਰਭਾਵ ਕੀ ਹੋਣਗੇ ।
== ਡੀਬੱਗ ਕੌਨਸੋਲ: ਲੂਆ ਸਿੱਖਣਾ ਸ਼ੁਰੂ ਕਰੋ ==
ਲੂਆ Scribunto ਦਾ <code>Debug Console</code> ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ ਲੂਆ ਸਿੱਖਣ ਲਈ ਇੱਕ ਸੁਰੱਖਿਅਤ, ਇੰਟਰਐਕਟਿਵ ਟੂਲ ਹੈ।
# [[ਮੌਡਿਊਲ:Yesno]] ਪੰਨੇ ‘ਤੇ <code>ਸਰੋਤ ਵੇਖੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰੋ।
# ਪੰਨੇ ਦੇ ਹੇਠਾਂ <code>Debug console</code> ਭਾਗ ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
# ਟਿੱਪਣੀ ਅਤੇ ਕਾਲ ਨੂੰ <span style="color:#eaecf0;">ਹਲਕਾ</span> <span style="color:blue;">ਨੀਲਾ</span> ਇਨਪੁੱਟ ਬਾਕਸ ਵਿੱਚ ਪੇਸਟ ਕਰੋ (ਜੋ <code>ਸਾਫ਼ ਕਰੋ</code> ਬਟਨ ਦੇ ਉੱਪਰ ਹੈ)।
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
--[[ਤੁਹਾਡਾ ਪਹਿਲਾ ਲੂਆ Hello World-ਜਿਹਾ ਪ੍ਰੋਗਰਾਮ]]--
print("ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ " .. _VERSION .. "!") -- ਲੂਆ ਸੰਸਕਰਣ ਨੂੰ `..` ਨਾਲ ਜੋੜੋ
</syntaxhighlight></blockquote>
<ol start="4">
<li>ਦੋ ਲੂਆ ਕਮਾਂਡਾਂ ਨੂੰ ਚਲਾਉਣ ਲਈ {{key press|Enter}} ਇੱਕ ਵਾਰ ਦਬਾਓ।</li>
<li>ਨਤੀਜਾ ਲੂਆ <syntaxhighlight lang="lua" inline>print</syntaxhighlight> ਕਮਾਂਡ ਲਾਈਨ ਦੇ ਹੇਠਾਂ ਦਿਖਾਈ ਦੇਵੇਗਾ:</li>
</ol>
<blockquote><syntaxhighlight lang="text" line start=3>
ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ Lua 5.1!
</syntaxhighlight></blockquote>
<ol start="6">
<li>ਪਿਛਲੀਆਂ ਲੂਆ ਕਮਾਂਡਾਂ ਵਿਚਕਾਰ ਜਾਣ ਲਈ {{key press|Up}} <code>Up arrow</code> ਦਬਾਓ।</li>
<li>ਚਾਹੋ ਤਾਂ <code>ਸਾਫ਼ ਕਰੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰਕੇ ਸਿਰਫ਼ <code>Debug Console</code> ਨੂੰ ਸਾਫ਼ ਕਰੋ; ਉੱਪਰ ਵਾਲਾ ਲੂਆ ਸੰਪਾਦਕ '''ਬਦਲਿਆ ਨਹੀਂ ਜਾਵੇਗਾ'''।</li>
</ol>
; ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ HTML ਜਨਰੇਟਰ
<code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ '''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>''' ਫੰਕਸ਼ਨ ਨੂੰ ਕਾਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- Debug console ਵਿੱਚ ਮੌਡਿਊਲ ਲੋਡ ਕਰੋ
print(modHi.hello()) -- "Hello, world!" ਦਿਖਾਓ
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
Hello, world!
</syntaxhighlight></blockquote>
;ਆਰਗੂਮੈਂਟ
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
local modArg = require('ਮੌਡਿਊਲ:BananasArgs')
local frame = mw.getCurrentFrame()
frame.args = {"ਜਸਪ੍ਰੀਤ"}; print("੧. " .. modArg.hello(frame))
frame.args = {"ਗੁਰਪ੍ਰੀਤ"}; print("੨. " .. modArg.hello(frame))
frame.args = {apples="3", bananas="4"}; print("੩. " .. modArg.count_fruit(frame))
frame.args = {bananas="5", apples="2"}; print("੪. " .. modArg.count_fruit(frame))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=7>
੧. Hello, ਜਸਪ੍ਰੀਤ!
੨. Hello, ਗੁਰਪ੍ਰੀਤ!
੩. I have 4 bananas and 3 apples
੪. I have 5 bananas and 2 apples
</syntaxhighlight></blockquote>
; ਪਛਾਣ ਫੰਕਸ਼ਨ
<code>callParserFunction</code> [[mw:Help:Extension:ParserFunctions##if|#if]]
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local yesno = require('ਮੌਡਿਊਲ:Yesno') -- #if yesno then ਆਪਣਾ ਇਨਪੁੱਟ ਪੈਰਾਮੀਟਰ ਵਾਪਸ ਕਰਦਾ ਹੈ
print(mw.getCurrentFrame():callParserFunction("#if", yesno("Yes"), "Yes", 'no'))
print(mw.getCurrentFrame():callParserFunction("#if", yesno('ਨਹੀਂ'), "ਹਾਂ", 'ਨਹੀਂ'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=4>
Yes
ਨਹੀਂ
</syntaxhighlight></blockquote>
# ਸੁਰੱਖਿਅਤ <code>ਮੌਡਿਊਲ:</code><code>Yesno</code> ਨੂੰ ਬੰਦ ਕਰੋ, ਜੋ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।
== ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਦੀ ਬੇਨਤੀ ਕਰੋ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਜਾਂ ਕਿਸੇ ਹੋਰ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟ ਉੱਤੇ ਕੋਈ ਖਾਸ ਕੰਮ ਕਰਨ ਲਈ ਕਿਸੇ ਲੂਆ ਸਕ੍ਰਿਪਟ ਨੂੰ ਲਿਖਣ ਵਾਸਤੇ ਸਹਾਇਤਾ ਲਈ [[:en:Wikipedia talk:Lua]] ਤੇ ਜਾਓ
== ਇਤਿਹਾਸ ==
[[mw:Manual:MediaWiki architecture#Magic words and templates|ਜਾਦੂਈ ਸ਼ਬਦ]], [[mw:Help:Extension:ParserFunctions|ਪਾਰਜ਼ਰਫੰਕਸ਼ਨ (ParserFunctions)]], [[mw:Extension:Lua|ਲੂਆ ਸ਼ਾਖਾ]], ਵਿਕੀ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਨੇ (JavaScript ਬਨਾਮ Lua), [[mw:Extension:WikiScripts]] ਮੁਕਾਬਲਾ ਕਰਾਇਆ, ਲੂਆ ਵਾਸਤੇ ਸ਼ੁਰੂਆਤੀ ਸਮਰਥਨ ਨਾਲ ਟਿੱਮ [[mw:Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਲਿਖਦਾ ਹੈ|
ਸਾਲਾਂ ਦੀ ਚਰਚਾ ਤੋਂ ਬਾਦ ਲੂਆ ਨੂੰ [[test2wiki:|test2.wikipedia.org]] ਉੱਤੇ ਪਰਖਣ ਵਾਸਤੇ 2012 ਵਿੱਚ ਇਨਸਟਾਲ ਕੀਤਾ ਗਿਆ, ਜਿਸ ਵਿੱਚ ਲੂਆ ਮੌਡਿਊਲਾਜ਼ ਨੂੰ ਵਿਕਸਿਤ ਕਰਨ ਵਾਲੇ ਪ੍ਰਯੋਗਾਂ ਲਈ ਸਾਰੇ ਸੰਪਾਦਕਾਂ ਨੂੰ ਖੁੱਲਾ ਸੱਦਾ ਦਿੱਤਾ ਗਿਆ | ਲੂਆ ਫਰਵਰੀ 2013 ਵਿੱਚ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ mediawiki.org ਅਤੇ Wikimedia test wikis ਉੱਤੇ ਪਰਖਣ ਤੋਂ ਬਾਦ ਇਨਸਟਾਲ ਕਰ ਦਿੱਤੀ ਗਈ|
== ਲੂਆ ਬਾਰੇ ==
:Brad Jorsch ਵੱਲੋਂ ਬਣਾਏ ਗਏ [[:File:WMF Tech Talk 2013-02-28 slides - Scribunto presentation.pdf|ਵਿਕੀਟੈਕਸਟ ਟੈਂਪਲੇਟ]] ਨੂੰ ਲੂਆ ਮੌਡਿਊਲ ਵਿੱਚ ਬਦਲਣ ਦਾ ਤਰੀਕਾ ਵੀ ਵੇਖੋ।
ਲੂਆ ਇੱਕ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜਿਸ ਦੀ ਵਰਤੋਂ ਡੇਟਾ ਦਾ ਵਿਸ਼ਲੇਸ਼ਣ ਕਰਨ, ਸਮੀਕਰਨਾਂ ਦੀ ਗਣਨਾ ਕਰਨ ਅਤੇ ਫੰਕਸ਼ਨਾਂ ਜਾਂ ਆਬਜੈਕਟ-ਓਰੀਐਂਟਡ ਪ੍ਰੋਗਰਾਮਿੰਗ ਰਾਹੀਂ ਨਤੀਜਿਆਂ ਨੂੰ ਫਾਰਮੈਟ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ। ਭਾਵੇਂ ਕੁਝ ਲੂਆ ਸਕ੍ਰਿਪਟਾਂ ਨੂੰ ਸਰਲ ਰੱਖਿਆ ਜਾ ਸਕਦਾ ਹੈ, ਪਰ ਆਸਾਨੀ ਨਾਲ ਸਮਝਣ ਲਈ ਲੂਆ ਟੇਬਲਾਂ, ਡਾਇਨਾਮਿਕ ਫੰਕਸ਼ਨਾਂ ਅਤੇ ਐਸੋਸੀਏਟਿਵ ਐਰੇਆਂ ਸਮੇਤ ਜਟਿਲ ਢਾਂਚਿਆਂ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ, ਜਿੱਥੇ ਇੰਡੈਕਸ ਸਬਸਕ੍ਰਿਪਟਾਂ ਇੰਡੈਕਸ ਨੰਬਰਾਂ ਦੇ ਨਾਲ-ਨਾਲ ਸ਼ਬਦ ਵੀ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਲੂਆ ਨੇਸਟਡ ਫੰਕਸ਼ਨਾਂ ਦੀ ਰਿਕਰਸ਼ਨ ਨੂੰ ਵੀ ਸਮਰਥਨ ਦਿੰਦਾ ਹੈ, ਇਸ ਲਈ ਬੇਹੱਦ ਜਟਿਲਤਾ ਤੋਂ ਬਚਣ ਲਈ ਸਾਵਧਾਨੀ ਵਰਤਣੀ ਚਾਹੀਦੀ ਹੈ, ਤਾਂ ਜੋ ਹੋਰ ਵਰਤੋਂਕਾਰ ਇਹ ਸਮਝ ਸਕਣ ਕਿ ਲੂਆ ਮੌਡਿਊਲ ਦੀ ਦੇਖਭਾਲ ਕਿਵੇਂ ਕਰਨੀ ਹੈ।
ਹੇਠਾਂ ਉੱਪਰ ਦਿੱਤੀਆਂ ਉਦਾਹਰਨਾਂ ਲਈ ਵਰਤੇ ਗਏ ਮੌਡਿਊਲ ਦੇ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦਾ ਇੱਕ ਅੰਸ਼ ਦਿੱਤਾ ਗਿਆ ਹੈ:
<syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਮੌਡਿਊਲ:BananasArgs#L-13]]--
local p = {} -- ਲੋੜੀਂਦੀ ਮੌਡਿਊਲ (p)ੈਕੇਜ ਟੇਬਲ, ਖਾਲੀ ਟੇਬਲ ਵਜੋਂ ਸ਼ੁਰੂ ਕੀਤੀ ਗਈ
function p.hello(frame) -- hello ਫੰਕਸ਼ਨ ਦੀ ਪਰਿਭਾਸ਼ਾ।
local name = frame.args[1] -- ਇਸ ਵਿੱਚ ਪਹਿਲਾ ਨਾਮ ਹੁੰਦਾ ਹੈ।
return "Hello, " .. name .. "!" -- `..` ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੰਕਸ਼ਨ ਦਾ ਨਤੀਜਾ ਇੱਕ ਸਤਰ ਵਜੋਂ ਜੋੜ ਕੇ ਵਾਪਸ ਕਰੋ।
end -- ਫੰਕਸ਼ਨ ਦਾ ਅੰਤ।
return p -- ਮੌਡਿਊਲ ਦੀ (p)ੈਕੇਜ ਟੇਬਲ ਵਾਪਸ ਕਰੋ।
</syntaxhighlight>
ਲੂਆ ਦਾ ਇੱਕ ਨਮੂਨਾ <code><nowiki><syntaxhighlight lang="lua" line highlight=1 copy> ... </syntaxhighlight></nowiki></code> ਟੈਗ ਨੂੰ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦੇ ਆਲੇ-ਦੁਆਲੇ ਰੱਖ ਕੇ ਉਜਾਗਰ ਕੀਤਾ ਜਾਂਦਾ ਹੈ। ਲੂਆ ਦੀਆਂ ਕੁਝ ਹੋਰ ਜਟਿਲ ਉਦਾਹਰਨਾਂ ਵੇਖਣ ਲਈ ਲੇਖ [[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)]] ਵੇਖੋ।
MediaWiki (ਅਤੇ ਇਸ ਕਰਕੇ ਵਿਕੀਪੀਡੀਆ) ਵਿੱਚ ਲੂਆ ਦੀ ਵਰਤੋਂ ਕਰਨ ਦੇ ਨਿਰਦੇਸ਼ਾਂ ਲਈ [[mw:Extension:Scribunto/ਲੂਆ reference manual]] ਵੇਖੋ।
== ਯੂਨਿਟ ਪਰਖਣਾ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ Lua ਸਕ੍ਰਿਪਟਾਂ ਲਈ ਇਕਾਈ ਟੈਸਟਿੰਗ ਫਰੇਮਵਰਕ [[ਮੌਡਿਊਲ:ScribuntoUnit]] ਵਿੱਚ ਉਪਲਬਧ ਹੈ।<br />
ਇਹ ਤੁਹਾਨੂੰ ਦਿੱਤੇ ਗਏ ਇਨਪੁੱਟਾਂ ਦੇ ਸਮੂਹ ਉੱਤੇ ਆਪਣੀ ਸਕ੍ਰਿਪਟ ਚਲਾਉਣ ਅਤੇ ਇਹ ਪੁਸ਼ਟੀ ਕਰਨ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ ਕਿ ਉਮੀਦ ਕੀਤੇ ਆਉਟਪੁੱਟ ਤਿਆਰ ਹੋਏ ਹਨ।<br />
ਇਕਾਈ ਟੈਸਟ ਖ਼ਾਸ ਤੌਰ ’ਤੇ ਰਿਗ੍ਰੈਸ਼ਨਾਂ ਨੂੰ ਤੇਜ਼ੀ ਨਾਲ ਖੋਜਣ ਲਈ ਲਾਭਦਾਇਕ ਹੁੰਦੇ ਹਨ, ਜਿੱਥੇ ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਵਿੱਚ ਕੀਤੀਆਂ ਤਬਦੀਲੀਆਂ ਨਵੀਆਂ ਸਮੱਸਿਆਵਾਂ ਪੈਦਾ ਕਰਦੀਆਂ ਹਨ।
ਰਿਵਾਜ ਅਨੁਸਾਰ, [[ਮੌਡਿਊਲ:Bananas]] ਵਰਗੇ ਮੌਡਿਊਲ ਲਈ ਇਕਾਈ ਟੈਸਟ <syntaxhighlight lang="lua" inline>ਮੌਡਿਊਲ:</syntaxhighlight><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/testcases|testcases]]</code>''' ਵਿੱਚ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।<br />
ਇਹ '''<code>[[ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:Bananas/testcases|ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:]]</code>'''<code>Bananas/testcases</code> ਉੱਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas/testcases|</syntaxhighlight>'''<code>run</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਨਾਲ ਚਲਾਏ ਜਾਂਦੇ ਹਨ।
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="wikitext" line highlight=1 copy>
{{#invoke:Bananas/testcases|run}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Bananas/testcases|run}}
</blockquote>
ਹਰ ਟੈਸਟ ਵਿਧੀ ਦੀ ਸ਼ੁਰੂਆਤ <syntaxhighlight lang="lua" inline>p:</syntaxhighlight>'''<code>test_</code>''' ਨਾਲ ਹੋਣੀ ਲਾਜ਼ਮੀ ਹੈ।
[[ਮੌਡਿਊਲ:Bananas/testcases]] ਤੋਂ ਇੱਕ ਉਦਾਹਰਨ ਹੇਠਾਂ ਦਿੱਤੀ ਗਈ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
--[[ਮੌਡਿਊਲ:Bananas/testcases]]--
local p = require('ਮੌਡਿਊਲ:ScribuntoUnit').new()
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- ਟੈਸਟ ਚਲਾਉਣ ਲਈ ਗੱਲ-ਬਾਤ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ।
function p:test_hi() -- [[ਮੌਡਿਊਲ:Bananas]] ਲਈ ਇਕਾਈ ਟੈਸਟ।
self:assertEquals('Hello, world!', modHi.hello())
end
return p
</syntaxhighlight></blockquote>
[[ਮੌਡਿਊਲ:ScribuntoUnit]] ਦੀ ਸ਼ੁਰੂਆਤ ਹੰਗਰੀ ਵਿਕੀਪੀਡੀਆ ਤੋਂ ਹੋਈ ਹੈ।<br />
ਇਹ ਅਸਲ ਤਰੁੱਟੀਆਂ ਪੈਦਾ ਕਰਦਾ ਹੈ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਸੁਰੱਖਿਅਤ ਕਾਲਾਂ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੜਿਆ ਜਾਂਦਾ ਹੈ। ਇਸ ਵਿੱਚ ਦਿੱਤੀ ਗਈ ਸ਼ੁੱਧਤਾ ਦੇ ਅੰਦਰ ਫਲੋਟਾਂ ਦੀ ਤੁਲਨਾ ਕਰਨ ਲਈ ਇੱਕ ਵਿਧੀ ਵੀ ਹੈ।
ਇਕਾਈ ਟੈਸਟਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨ ਵਾਲੇ ਸਾਰੇ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ ਲਈ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:ScribuntoUnit]] ਵੇਖੋ।
== ਵਿਕੀਪੀਡੀਆ ਵਿਸ਼ੇਸ਼ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ==
ਕੁੱਲ ਮਿਲਾ ਕੇ: Lua ਨੂੰ ਇਨਪੁੱਟ ਵਜੋਂ ਸਿਰਫ਼ <code><nowiki>{{#invoke:}}</nowiki></code> ਨੂੰ ਦਿੱਤੀਆਂ ਪਾਠ-ਸਤਰਾਂ ਅਤੇ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.title.new|mw.title.new(...)]]:getContent()</code> तथा <code>[[mw:Extension:Scribunto/Lua reference manual#frame:expandTemplate|frame:expandTemplate()]]</code> ਰਾਹੀਂ ਪ੍ਰਾਪਤ ਕੀਤੀ ਜਾ ਸਕਣ ਵਾਲੀ ਸਮੱਗਰੀ ਹੀ ਮਿਲ ਸਕਦੀ ਹੈ। Lua ਦੇ ਆਉਟਪੁੱਟ ਨੂੰ ਪਹਿਲਾਂ ਤੋਂ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤਾ ਜਾਂਦਾ, ਜਦੋਂ ਤੱਕ <code>[[mw:Extension:Scribunto/Lua reference manual#frame:preprocess|frame:preprocess()]]</code> ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਕਾਲ ਨਾ ਕੀਤਾ ਜਾਵੇ। ਇਸ ਦਾ ਅਰਥ ਹੈ ਕਿ ਆਉਟਪੁੱਟ ਵਿੱਚ ਟੈਂਪਲੇਟ ਕਾਲਾਂ ਅਤੇ ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਸਹੀ ਢੰਗ ਨਾਲ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(mw.title.getCurrentTitle())
print(mw.getCurrentFrame():preprocess('{{PAGENAME}}'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=3>
ਮੌਡਿਊਲ:Yesno
Yesno
</syntaxhighlight></blockquote>
ਇਹ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.ustring.len|mw.ustring.len]]</code> ਫੰਕਸ਼ਨ ਦੀ ਵਰਤੋਂ <code>[[mw:Extension:Scribunto/Lua reference manual#string.len|string.len]]</code> ਦੀ ਬਜਾਇ ਕਰਨੀ ਬਿਹਤਰ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਯੂਨੀਕੋਡ]]--
local code = mw.getContentLanguage().code
local lang = mw.getCurrentFrame():callParserFunction("#language", code)
local lenUnicode = mw.ustring.len(lang) -- ਅੱਖਰਾਂ ਦੀ ਗਿਣਤੀ
local lenByte, lenSharp = string.len(lang), #lang -- ਬਾਈਟਾਂ ਦੀ ਗਿਣਤੀ
local msg = "code: \"%s\". lang: \"%s\". mw.ustring.len = %d string.len = %d sharp = %d"
print((msg):format(code, lang, lenUnicode, lenByte, lenSharp))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=8>
code: "pa". lang: "ਪੰਜਾਬੀ". mw.ustring.len = 6 string.len = 18 sharp = 18
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</blockquote>
ਵਿਕੀ ਸਫ਼ੇ ਵਿੱਚ, ਸਾਰਾ Lua ਕੋਡ (ਜਿਸ ਵਿੱਚ ਲੰਬੇ ਅੰਕੜਾ-ਹਿਸਾਬ ਜਾਂ ਬੇਅੰਤ <syntaxhighlight lang="lua" inline>while</syntaxhighlight> ਜਾਂ <syntaxhighlight lang="lua" inline>repeat</syntaxhighlight> ਲੂਪ ਵੀ ਸ਼ਾਮਲ ਹਨ) '''10 ਸ'''ਕਿੰਟ ਦੇ CPU ਸਮੇਂ ਤੱਕ ਸੀਮਿਤ ਹੈ। ਤੁਸੀਂ ਰੈਂਡਰ ਕੀਤੇ ਸਫ਼ੇ ਦੇ ਸਰੋਤ ਕੋਡ ਵਿੱਚ ਦੇਖ ਸਕਦੇ ਹੋ ਕਿ ਕਿਸੇ ਟੈਂਪਲੇਟ ਜਾਂ ਮੌਡਿਊਲ ਨੂੰ ਪਾਰਸ ਹੋਣ ਵਿੱਚ ਕਿੰਨਾ ਸਮਾਂ ਲੱਗਿਆ।
ਮਿਆਰੀ Lua ਦੇ ਮੁਕਾਬਲੇ, Scribunto ਦਾ Lua ਸੁਰੱਖਿਅਤ ਫੰਕਸ਼ਨ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ (ਮਿਆਰੀ Lua ਤੋਂ [[mw:Extension:Scribunto/Lua_reference_manual#Differences_from_standard_Lua|ਅੰਤਰ]] ਵੇਖੋ)।
=== ਲੂਆ ਇਨਪੁੱਟ ਕਮੀਆਂ ===
Scribunto ਵਿੱਚ Lua ਕੋਡ ਸਿਰਫ਼ ਉਦੋਂ ਹੀ ਚਲਾਇਆ ਜਾਂਦਾ ਹੈ ਜਦੋਂ ਸਫ਼ੇ ਨੂੰ ਪਾਰਸ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੋਵੇ। ਇਸ ਲਈ, Lua ਨੂੰ ਮਿਲਣ ਵਾਲਾ ਇਕਲੌਤਾ ਯੂਜ਼ਰ ਇਨਪੁੱਟ ''ਸਫ਼ੇ ਦੀ ਸੋਧ'' ਰਾਹੀਂ ਹੀ ਹੋ ਸਕਦਾ ਹੈ - ਇਹ ਅਜਿਹਾ ਇਨਪੁੱਟ ਬਾਕਸ ਨਹੀਂ ਬਣਾ ਸਕਦਾ ਜਿਸ ਵਿੱਚ ਤੁਸੀਂ ਫੈਰਨਹਾਈਟ ਤਾਪਮਾਨ ਦਰਜ ਕਰੋ ਅਤੇ ਕਿਸੇ ਬਟਨ ਨੂੰ ਦਬਾਉਣ ’ਤੇ ਉਸ ਨਾਲ ਸੰਬੰਧਿਤ ਸੈਲਸੀਅਸ ਤਾਪਮਾਨ ਪ੍ਰਾਪਤ ਕਰ ਸਕੋ, ਜਾਂ ਇਸ ਗੱਲ ਦੇ ਆਧਾਰ ’ਤੇ ਮੈਂਡਲਬਰੋਟ ਸੈੱਟ ਦੇ ਕਿਸੇ ਹਿੱਸੇ ਦੀ ਮੁੜ ਗਣਨਾ ਕਰ ਸਕੋ ਕਿ ਤੁਸੀਂ ਮੂਲ ਸੈੱਟ ਦੇ ਕਿਹੜੇ ਹਿੱਸੇ ’ਤੇ ਕਲਿੱਕ ਕਰਦੇ ਹੋ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
local function toCelsius(tempFahrenheit) return (tempFahrenheit - 32) * 5 / 9 end
print(("toCelsius(32°F) = %s°C. toCelsius(68°F) = %d°C"):format(toCelsius(32), toCelsius(68)))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
toCelsius(32°F) = 0°C. toCelsius(68°F) = 20°C
</syntaxhighlight></blockquote>
Lua ਇਨਪੁੱਟ ਵਿਕੀਪੀਡੀਆ ਦੇ ਕਿਸੇ ਵੀ ਅਜਿਹੇ ਪਾਠ ਸਫ਼ੇ ਦੀ ਵਰਤੋਂ ਕਰ ਸਕਦਾ ਹੈ ਜਿਸ ਨੂੰ ਕਿਸੇ ਹੋਰ ਸਫ਼ੇ ਵਿੱਚ [[ਵਿਕੀਪੀਡੀਆ:Transclusion|ਸ਼ਾਮਲ]] ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੋਵੇ। ਇਸ ਵਿੱਚ ਚਿੱਤਰ ਫ਼ਾਈਲਾਂ, ਸਕੇਲੇਬਲ ਵੈਕਟਰ ਗ੍ਰਾਫ਼ਿਕਸ (SVG) ਫ਼ਾਈਲਾਂ, [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]] ਦੀਆਂ ਸੂਚੀਆਂ ਜਾਂ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:UnitTests]] ਵਰਗੇ ਖ਼ਾਸ ਸਫ਼ੇ ਸ਼ਾਮਲ ਨਹੀਂ ਹਨ।
== ਡੀਬੱਗ ਕਰਨਾ ==
=== ਨਾਂ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਵਿੱਚ ਸਮੱਸਿਆ ਨੂੰ ਸਰਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |state=NY |type=NY |route=343}}
</blockquote>
ਗਲਤੀ ਵਾਲੇ ਸੁਨੇਹੇ 'ਤੇ ਕਲਿੱਕ ਕਰੋ, ਫਿਰ ਲਾਈਨ 107 ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Infobox_road/route at line 107: bad argument #1 to 'wikitext' ('''string''' or number expected, got <s>boolean</s>).
</blockquote>
<code>wikitext</code> ਫੰਕਸ਼ਨ Boolean ਮੁੱਲ <code>false</code> ਨੂੰ ਸਵੀਕਾਰ ਨਹੀਂ ਕਰਦਾ।
<blockquote><syntaxhighlight lang="lua" start=107 line highlight=1>
container:tag('p'):cssText('margin:0.1em;'):wikitext(name)
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<code>|name=</code> ਪੈਰਾਮੀਟਰ ਪਰਿਭਾਸ਼ਿਤ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</blockquote>
=== ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਦੇ "ਮੁੱਖ ਜੰਕਸ਼ਨ" ਭਾਗ ਵਿੱਚ ਬਾਕੀ ਤਿੰਨ ਸਮੱਸਿਆਵਾਂ ਨੂੰ ਸਰਲ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{jct|state=NY|NY|82}}
</syntaxhighlight></blockquote>
<blockquote>
{{jct|state=NY|NY|82}}
</blockquote>
{{collapse top|title=ਲੂਆ ਕੋਡ ਵਿੱਚ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਜੋੜਨਾ}}
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local modJunction = require('ਮੌਡਿਊਲ:jct')
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(modJunction.jct(frame))
</syntaxhighlight></blockquote>
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Jct at line 204: attempt to concatenate local 'link' (a boolean value).<br />
Backtrace:<br />
ਮੌਡਿਊਲ:Jct:204: in function "routeText"
</blockquote>
[[ਮੌਡਿਊਲ:Jct#L-204]] ਵਿੱਚ, <code>link</code> ਦਾ ਮੁੱਲ <code>false</code> ਹੈ, ਪਰ ਇੱਥੇ ਇੱਕ ਸਤਰ ਦੀ ਲੋੜ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=12>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route
else
link = p.link(route)
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# Lua ਕੋਡ ਵਿੱਚ ਦੋ ਕਸਟਮ <syntaxhighlight lang="lua" inline>error()</syntaxhighlight> ਕਾਲਾਂ ਜੋੜ ਕੇ ਅਸਥਾਈ ਤੌਰ 'ਤੇ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਲਗਾਓ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=6,8>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route; error("link1=" .. tostring(link))
else
link = p.link(route); error("link2=" .. tostring(link))
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# "<s>ਸਫ਼ਾ ਛਾਪੋ</s>" (<s>ਤਬਦੀਲੀਆਂ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ</s>। <s>Publish changes</s>) 'ਤੇ '''<span style="color:red;">ਕਲਿੱਕ ਨਾ ਕਰੋ</span>'''।
<code>ਮੌਡਿਊਲ:</code>'''<code>[[ਮੌਡਿਊਲ:Jct|Jct]]</code>''' ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
# ਦੂਜੀ ਕਸਟਮ ਗਲਤੀ ਦਿਖਾਈ ਦੇਵੇਗੀ।
<blockquote style="color:#bf3c2c;">
Lua error at line 200: link2=false.
</blockquote>
# ਦੋਵੇਂ ਕਸਟਮ ਗਲਤੀ ਕਾਲਾਂ ਹਟਾਓ। ਸਮੱਸਿਆ <code>p.link</code> ਫੰਕਸ਼ਨ ਵਿੱਚ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=2,4>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr')
end
</syntaxhighlight></blockquote>
{{collapse bottom}}
=== ਵਿਕੀਟੈਕਸਟ ===
ਸ਼ਾਮਲ ਕੀਤੇ ਗਏ ਵਿਕੀਪੀਡੀਆ ਸਿਰਲੇਖਾਂ ਵਿੱਚ ਅਕਸਰ <syntaxhighlight lang="lua" inline>"UNIQ5ae8f2aa414ff233-h-3--QINU"</syntaxhighlight> ਵਰਗਾ ਲੁਕਿਆ ਹੋਇਆ ਕੋਡ ਹੁੰਦਾ ਹੈ, ਜਿਸ ਨੂੰ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਢੰਗ ਨਾਲ ਪਾਰਸ ਕਰਨ ਲਈ ਹਟਾਉਣ ਦੀ ਲੋੜ ਪੈ ਸਕਦੀ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(string.reverse("UNIQ"))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=2>
QINU
</syntaxhighlight></blockquote>
ਪਾਈਪ <code><nowiki>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ</nowiki></code>'''<code><nowiki>|</nowiki></code>'''<code><nowiki>]]</nowiki></code> ਤੋਂ ਬਾਅਦ ਪ੍ਰਗਟਾਵੇ ਤੋਂ ਬਿਨਾਂ ਵਾਲੇ ਵਿਕੀਲਿੰਕ, ਜੇ ਆਉਟਪੁੱਟ ਵਜੋਂ ਵਾਪਸ ਕੀਤੇ ਜਾਣ, ਤਾਂ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ - ਇਨ੍ਹਾਂ ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਇਸ ਤਰ੍ਹਾਂ ਲਿਖਣ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ: <syntaxhighlight lang="lua" inline>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|</syntaxhighlight>'''<code>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|ਮਦਦ]]</code>'''<syntaxhighlight lang="lua" inline>]]</syntaxhighlight>।
ਸੇਵ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਹੋਣ ਵਾਲੀਆਂ ਹੋਰ ਤਬਦੀਲੀਆਂ ਵੀ, ਜਿਵੇਂ ਕਿ <code>~~<nowiki/>~~</code> ਨੂੰ ਦਸਤਖ਼ਤਾਂ ਨਾਲ ਬਦਲਣਾ, ਪ੍ਰਕਿਰਿਆ ਵਿੱਚ ਨਹੀਂ ਆਉਣਗੀਆਂ। ਟੈਂਪਲੇਟ ਟ੍ਰਾਂਸਕਲੂਜ਼ਨ, ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਕਾਲਾਂ ਅਤੇ ਵੇਰੀਏਬਲ ਬਦਲਾਅ (ਅਰਥਾਤ <code><nowiki>{{...}}</nowiki></code> ਵਾਲੀ ਕੋਈ ਵੀ ਚੀਜ਼) ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ। ਇਸੇ ਤਰ੍ਹਾਂ {{tag|ref|o}} ਜਾਂ {{tag|nowiki|o}} ਵਰਗੇ ਟੈਗ ਵੀ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ।
== ਬਦਲੇ ਹੋਏ ਫਰਮਿਆਂ ਦਾ ਨਾਮਕਰਨ==
{{lua|ਮੌਡਿਊਲ:Bananas}}
ਕਿਰਪਾ ਕਰਕੇ {{tl|lua}} ਫਰਮਿਆਂ ਨੂੰ ਉਹਨਾਂ ਸਾਰੇ ਫਰਮਿਆਂ ਦੇ ਡਾਕੂਮੈਂਟੇਸ਼ਨ ਉੱਪ-ਪੰਨਿਆਂ ਉੱਤੇ ਰੱਖੋ ਜੋ ਲੂਆ ਵਰਤਦੇ ਹਨ, ਇਹ ਲੂਆ ਵਰਤੋਂ ਅਤੇ ਫਰਮਾ ਪਰਿਵਰਤਨਾਂ ਦੇ ਸਹਿਯੋਗ ਵਿੱਚ ਮਦੱਦ ਕਰੇਗਾ|
{{clear}}
== ਇਹ ਵੀ ਦੇਖੋ ==
* [[ਖ਼ਾਸ:ਅਗੇਤਰ ਤਤਕਰਾ/ਮੌਡਿਊਲ:]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ
* [[:ਸ਼੍ਰੇਣੀ:Lua-based templates]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਦੇ ਸਮੂਹ
* [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]]
* [[:ਮੌਡਿਊਲ:Sandbox]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਨਾਲ ਪ੍ਰਯੋਗ ਕਰਨ ਲਈ ਇੱਕ pseudo-namespace ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ
; ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਪੀਡੀਆ-ਵਿਸ਼ੇਸ਼ ਸਰੋਤ
* [[Wikipedia:Lua style guide]] – ਇਕਸਾਰਤਾ ਰਾਹੀਂ ਕੋਡ ਦੀ ਪੜ੍ਹਨਯੋਗਤਾ ਸੁਧਾਰਨ ਲਈ ਮਿਆਰ
* [[:en:Help:Lua debugging]] – ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਡੀਬੱਗਿੰਗ ਬਾਰੇ ਇੱਕ ਕਿਵੇਂ-ਕਰਨਾ ਗਾਈਡ
* [[:en:Wikipedia talk:Lua]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਜਾਂ ਕੰਮਾਂ ਲਈ ਬੇਨਤੀਆਂ
== ਨੋਟਸ ==
{{reflist}}
{{Wikipedia technical help|collapsed}}
[[Category:Wikipedia modules]]
dwqml66bhetmnesus54ecxz77yfi9vo
849426
849425
2026-10-08T16:30:29Z
Nimmzo
62202
/* ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ */ There are no `link` and no `abbr`eviation because the wiki page [[:en:New York State Route 82]] could not exist in pa.wikipedia.org
849426
wikitext
text/x-wiki
{{WikiProject Lua/header}}
{{Namespaces}}
{{Information page|WP:Lua}}
[[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)|ਲੂਆ]] ਇੱਕ ਪ੍ਰੋਗ੍ਰਾਮਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜੋ ਹੁਣ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ, [[mw: Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਮੀਡੀਆਵਿਕੀ ਐਕਸਟੈਂਸ਼ਨ ਰਾਹੀਂ ਉਪਲਬਧ ਹੈ। ਲੁਆ ਕੋਡ ਨੂੰ ਹੁਣ ਵਿਕੀਪੀਡੀਆ ਟੈਂਪਲੈਂਟਾਂ ਵਿੱਚ ਸਕਿਰਬੰਟੋ ਦੇ <syntaxhighlight lang="lua" inline>{{#invoke:}}</syntaxhighlight> ਫੰਕਸ਼ਨ ਨੂੰ ਲਾਗੂ ਕਰਕੇ ਜੜਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਹ ਐਕਸਟੈਨਸ਼ਨ ਜੁਲਾਈ 2015 ਤੋਂ ਲੁਆ 5.1 {{as of|lc=y|2015|07}} ਨੂੰ ਸਪੋਰਟ ਕਰਦੀ ਹੈ।
== ਲੂਆ ਵਿੱਚ ਹੈਲੋ ਵਰਲਡ! ==
<code>[[ਮੌਡਿਊਲ:Bananas]]</code>: ਸਰਲਤਮ ਸੰਭਵ ਸਕ੍ਰਿਪਟ, ਜੋ ਕੋਈ ਵੀ ਆਰਜੂਮੈਂਟ ਵਾਲਾ ਇੱਕ ਸਿੰਗਲ ਫੰਕਸ਼ਨ ਦਿੰਦੀ ਹੈ
ਲੁਆ ਸੋਰਸ ਕੋਡ ਮੌਡਿਊਲਜ਼ (ਯਾਨਿ ਕਿ, <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>) ਨਾਮਕ ਪੰਨਿਆਂ ਵਿੱਚ ਜਮਾਂ ਹੁੰਦੇ ਜਾਂਦੇ ਹਨ। ਇਹ ਵਿਅਕਤੀਗਤ ਮੌਡਿਊਲਜ਼ ਫੇਰ ਟੈਂਪਲੈਂਟ ਪੰਨਿਆਂ ਉੱਤੇ <syntaxhighlight lang="wikitext" inline>{{#invoke:}}</syntaxhighlight> ਕੋਡ ਰਾਹੀਂ ਇਨਵੋਕ (ਬੁਲਾਏ) ਕੀਤੇ ਜਾਂਦੇ ਹਨ। (ਜਿਵੇਂ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/doc|doc]]</code>''' ਇਸ <syntaxhighlight lang="lua" inline>"Hello, world!"</syntaxhighlight> ਸ਼ਬਦਾਂ ਨੂੰ ਛਾਪਣ ਵਾਸਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas|</syntaxhighlight>'''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਕੋਡ ਵਰਤਦਾ ਹੈ।)
ਤੁਹਾਨੂੰ ਕੁਝ ਵੀ ਇੰਸਟਾਲ ਜਾਂ ਸੇਵ ਕਰਨ ਦੀ ਲੋੜ ਨਹੀਂ ਹੈ।
# ਆਪਣਾ ਯੂਜ਼ਰ ਪੰਨਾ ਸੰਪਾਦਿਤ ਕਰੋ।
# ਆਪਣੇ ਯੂਜ਼ਰ ਪੰਨੇ ’ਤੇ ਨਵੀਂ ਲਾਈਨ ਦੇ ਸ਼ੁਰੂ ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੀ ਕਾਲ ਚਿਪਕਾਓ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Bananas|hello}}
</syntaxhighlight></blockquote>
<ol start="3">
<li>'''<code>ਝਲਕ ਵਿਖਾਓ</code>''' ’ਤੇ ਕਲਿੱਕ ਕਰੋ। <syntaxhighlight lang="lua" inline>hello</syntaxhighlight> ਫੰਕਸ਼ਨ ਦੀ ਕਾਲ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੇ ਨਾਲ ਬਦਲ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ:</li>
</ol>
<blockquote><syntaxhighlight lang="lua" line>
Hello, world!
</syntaxhighlight></blockquote>
<ol start="4">
<li><code style="color:#bf3c2c;">ਰੱਦ ਕਰੋ</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ। ਪੁੱਛੇ ਜਾਣ ’ਤੇ, <code>Leave</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ।</li>
<li>ਤੁਹਾਡਾ ਯੂਜ਼ਰ ਪੰਨਾ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।</li>
</ol>
=== ਆਰਜੂਮੈਂਟਾਂ ਵਰਤਣਾ ===
ਆਰਜੂਮੈਂਟਾਂ ਮੌਡਿਊਲਾਂ ਵੱਲ ਉਸੇ ਤਰੀਕੇ ਨਾਲ ਪਾਸ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਜਿਸਤਰਾਂ ਫਰਮੇ ਪਾਸ ਹੁੰਦੇ ਹਨ। ਫੇਰ ਵੀ, ਨੋਟ ਕਰੋ ਕਿ ਪਹਿਲੇ ਪਾਈਪ ਅੱਖਰ ਤੋਂ ਬਾਦ ਦੇ ਅਗਲੇ ਅੱਖਰ ਹਮੇਸ਼ਾਂ ਹੀ ਫੰਕਸ਼ਨ ਦਾ ਨਾਮ ਹੁੰਦੇ ਹਨ; ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਦੂਜੀ ਪਾਈਪ ਤੋਂ ਬਾਦ ਦੇ ਟੈਕਸਟ ਹੁੰਦੇ ਹਨ।
<blockquote><syntaxhighlight lang="lua" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਆਰਗੂਮੈਂਟ}}
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:BananasArgs]]</code>: ਸਿੱਧ ਕਰਕੇ ਦਿਖਾਉਂਦੀ ਹੈ ਕਿ ਪੈਰਾਮੀਟਰਾਂ ਨੂੰ ਕਿਵੇਂ ਵਰਤਣਾ ਅਤੇ ਕ੍ਰਿਆਸ਼ੀਲ ਕਰਨਾ ਹੈ
ਉਦਾਹਰਨ ਦੇ ਤੌਰ ਤੇ, <code>ਮੌਡਿਊਲ:</code><code>BananasArgs</code> ਵਿੱਚ, '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-13|hello]]</code>''' ਫੰਕਸ਼ਨ ਵੱਖਰੇ ਲੋਕਾਂ ਦਾ ਸਵਾਗਤ ਕਰਨਾ ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਤੇ ਨਿਰਭਰ ਕਰਦਾ ਹੈ। ਇਹ ਇਸਤਰਾਂ ਕੰਮ ਕਰਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</blockquote>
;ਨਾਮਿਤ ਆਰਗੂਮੈਂਟ <code>|ਕੁੰਜੀ=ਮੁੱਲ</code>
<blockquote><syntaxhighlight lang="wikitext" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ1=ਮੁੱਲ1|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ2=ਮੁੱਲ2}}
</syntaxhighlight></blockquote>
BananasArgs ਕੋਲ ਇੱਕ '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-26|count_fruit]]</code>''' ਨਾਮਕ ਫੰਕਸ਼ਨ ਵੀ ਹੁੰਦਾ ਹੈ ਜੋ <code>|bananas=</code> and <code>|apples=</code> ਨਾਮਕ ਆਰਜੂਮੈਂਟ ਵਰਤਦਾ ਹੈ ਜਿਸਨਾਲ ਸਾਡੇ ਕੋਲ ਮੌਜੂਦ ਕੇਲਿਆਂ (ਬਾਨਾਨਾਜ਼) ਅਤੇ ਸੇਬਾਂ ਦੀ ਸੰਖਿਆ ਗਿਣੀ ਜਾਂਦੀ ਹੈ। ਇਸਨੂੰ ਆਰਗੂਮੈਂਟਾਂ ਦਾ ਕ੍ਰਮ ਬਦਲ ਕੇ ਚਲਾਇਆ ਜਾ ਸਕਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</blockquote>
ਜਿਆਦਾਤਰ ਮੌਡਿਊਲਜ਼ ਇੱਕ ਡੌਕੂਮੈਂਟੇਸ਼ਨ ਪੰਨਾ ਰੱਖਦੇ ਹੋਣਗੇ ਜਿਸਵਿੱਚ ਇਹ ਸਮਝਾਇਆ ਗਿਆ ਹੁੰਦਾ ਹੈ ਕਿ ਕਿਹੜੀਆਂ ਆਰਜੂਮੈਂਟਾਂ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ ਅਤੇ ਉਹਨਾਂ ਦੇ ਪ੍ਰਭਾਵ ਕੀ ਹੋਣਗੇ ।
== ਡੀਬੱਗ ਕੌਨਸੋਲ: ਲੂਆ ਸਿੱਖਣਾ ਸ਼ੁਰੂ ਕਰੋ ==
ਲੂਆ Scribunto ਦਾ <code>Debug Console</code> ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ ਲੂਆ ਸਿੱਖਣ ਲਈ ਇੱਕ ਸੁਰੱਖਿਅਤ, ਇੰਟਰਐਕਟਿਵ ਟੂਲ ਹੈ।
# [[ਮੌਡਿਊਲ:Yesno]] ਪੰਨੇ ‘ਤੇ <code>ਸਰੋਤ ਵੇਖੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰੋ।
# ਪੰਨੇ ਦੇ ਹੇਠਾਂ <code>Debug console</code> ਭਾਗ ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
# ਟਿੱਪਣੀ ਅਤੇ ਕਾਲ ਨੂੰ <span style="color:#eaecf0;">ਹਲਕਾ</span> <span style="color:blue;">ਨੀਲਾ</span> ਇਨਪੁੱਟ ਬਾਕਸ ਵਿੱਚ ਪੇਸਟ ਕਰੋ (ਜੋ <code>ਸਾਫ਼ ਕਰੋ</code> ਬਟਨ ਦੇ ਉੱਪਰ ਹੈ)।
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
--[[ਤੁਹਾਡਾ ਪਹਿਲਾ ਲੂਆ Hello World-ਜਿਹਾ ਪ੍ਰੋਗਰਾਮ]]--
print("ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ " .. _VERSION .. "!") -- ਲੂਆ ਸੰਸਕਰਣ ਨੂੰ `..` ਨਾਲ ਜੋੜੋ
</syntaxhighlight></blockquote>
<ol start="4">
<li>ਦੋ ਲੂਆ ਕਮਾਂਡਾਂ ਨੂੰ ਚਲਾਉਣ ਲਈ {{key press|Enter}} ਇੱਕ ਵਾਰ ਦਬਾਓ।</li>
<li>ਨਤੀਜਾ ਲੂਆ <syntaxhighlight lang="lua" inline>print</syntaxhighlight> ਕਮਾਂਡ ਲਾਈਨ ਦੇ ਹੇਠਾਂ ਦਿਖਾਈ ਦੇਵੇਗਾ:</li>
</ol>
<blockquote><syntaxhighlight lang="text" line start=3>
ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ Lua 5.1!
</syntaxhighlight></blockquote>
<ol start="6">
<li>ਪਿਛਲੀਆਂ ਲੂਆ ਕਮਾਂਡਾਂ ਵਿਚਕਾਰ ਜਾਣ ਲਈ {{key press|Up}} <code>Up arrow</code> ਦਬਾਓ।</li>
<li>ਚਾਹੋ ਤਾਂ <code>ਸਾਫ਼ ਕਰੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰਕੇ ਸਿਰਫ਼ <code>Debug Console</code> ਨੂੰ ਸਾਫ਼ ਕਰੋ; ਉੱਪਰ ਵਾਲਾ ਲੂਆ ਸੰਪਾਦਕ '''ਬਦਲਿਆ ਨਹੀਂ ਜਾਵੇਗਾ'''।</li>
</ol>
; ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ HTML ਜਨਰੇਟਰ
<code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ '''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>''' ਫੰਕਸ਼ਨ ਨੂੰ ਕਾਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- Debug console ਵਿੱਚ ਮੌਡਿਊਲ ਲੋਡ ਕਰੋ
print(modHi.hello()) -- "Hello, world!" ਦਿਖਾਓ
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
Hello, world!
</syntaxhighlight></blockquote>
;ਆਰਗੂਮੈਂਟ
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
local modArg = require('ਮੌਡਿਊਲ:BananasArgs')
local frame = mw.getCurrentFrame()
frame.args = {"ਜਸਪ੍ਰੀਤ"}; print("੧. " .. modArg.hello(frame))
frame.args = {"ਗੁਰਪ੍ਰੀਤ"}; print("੨. " .. modArg.hello(frame))
frame.args = {apples="3", bananas="4"}; print("੩. " .. modArg.count_fruit(frame))
frame.args = {bananas="5", apples="2"}; print("੪. " .. modArg.count_fruit(frame))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=7>
੧. Hello, ਜਸਪ੍ਰੀਤ!
੨. Hello, ਗੁਰਪ੍ਰੀਤ!
੩. I have 4 bananas and 3 apples
੪. I have 5 bananas and 2 apples
</syntaxhighlight></blockquote>
; ਪਛਾਣ ਫੰਕਸ਼ਨ
<code>callParserFunction</code> [[mw:Help:Extension:ParserFunctions##if|#if]]
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local yesno = require('ਮੌਡਿਊਲ:Yesno') -- #if yesno then ਆਪਣਾ ਇਨਪੁੱਟ ਪੈਰਾਮੀਟਰ ਵਾਪਸ ਕਰਦਾ ਹੈ
print(mw.getCurrentFrame():callParserFunction("#if", yesno("Yes"), "Yes", 'no'))
print(mw.getCurrentFrame():callParserFunction("#if", yesno('ਨਹੀਂ'), "ਹਾਂ", 'ਨਹੀਂ'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=4>
Yes
ਨਹੀਂ
</syntaxhighlight></blockquote>
# ਸੁਰੱਖਿਅਤ <code>ਮੌਡਿਊਲ:</code><code>Yesno</code> ਨੂੰ ਬੰਦ ਕਰੋ, ਜੋ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।
== ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਦੀ ਬੇਨਤੀ ਕਰੋ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਜਾਂ ਕਿਸੇ ਹੋਰ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟ ਉੱਤੇ ਕੋਈ ਖਾਸ ਕੰਮ ਕਰਨ ਲਈ ਕਿਸੇ ਲੂਆ ਸਕ੍ਰਿਪਟ ਨੂੰ ਲਿਖਣ ਵਾਸਤੇ ਸਹਾਇਤਾ ਲਈ [[:en:Wikipedia talk:Lua]] ਤੇ ਜਾਓ
== ਇਤਿਹਾਸ ==
[[mw:Manual:MediaWiki architecture#Magic words and templates|ਜਾਦੂਈ ਸ਼ਬਦ]], [[mw:Help:Extension:ParserFunctions|ਪਾਰਜ਼ਰਫੰਕਸ਼ਨ (ParserFunctions)]], [[mw:Extension:Lua|ਲੂਆ ਸ਼ਾਖਾ]], ਵਿਕੀ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਨੇ (JavaScript ਬਨਾਮ Lua), [[mw:Extension:WikiScripts]] ਮੁਕਾਬਲਾ ਕਰਾਇਆ, ਲੂਆ ਵਾਸਤੇ ਸ਼ੁਰੂਆਤੀ ਸਮਰਥਨ ਨਾਲ ਟਿੱਮ [[mw:Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਲਿਖਦਾ ਹੈ|
ਸਾਲਾਂ ਦੀ ਚਰਚਾ ਤੋਂ ਬਾਦ ਲੂਆ ਨੂੰ [[test2wiki:|test2.wikipedia.org]] ਉੱਤੇ ਪਰਖਣ ਵਾਸਤੇ 2012 ਵਿੱਚ ਇਨਸਟਾਲ ਕੀਤਾ ਗਿਆ, ਜਿਸ ਵਿੱਚ ਲੂਆ ਮੌਡਿਊਲਾਜ਼ ਨੂੰ ਵਿਕਸਿਤ ਕਰਨ ਵਾਲੇ ਪ੍ਰਯੋਗਾਂ ਲਈ ਸਾਰੇ ਸੰਪਾਦਕਾਂ ਨੂੰ ਖੁੱਲਾ ਸੱਦਾ ਦਿੱਤਾ ਗਿਆ | ਲੂਆ ਫਰਵਰੀ 2013 ਵਿੱਚ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ mediawiki.org ਅਤੇ Wikimedia test wikis ਉੱਤੇ ਪਰਖਣ ਤੋਂ ਬਾਦ ਇਨਸਟਾਲ ਕਰ ਦਿੱਤੀ ਗਈ|
== ਲੂਆ ਬਾਰੇ ==
:Brad Jorsch ਵੱਲੋਂ ਬਣਾਏ ਗਏ [[:File:WMF Tech Talk 2013-02-28 slides - Scribunto presentation.pdf|ਵਿਕੀਟੈਕਸਟ ਟੈਂਪਲੇਟ]] ਨੂੰ ਲੂਆ ਮੌਡਿਊਲ ਵਿੱਚ ਬਦਲਣ ਦਾ ਤਰੀਕਾ ਵੀ ਵੇਖੋ।
ਲੂਆ ਇੱਕ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜਿਸ ਦੀ ਵਰਤੋਂ ਡੇਟਾ ਦਾ ਵਿਸ਼ਲੇਸ਼ਣ ਕਰਨ, ਸਮੀਕਰਨਾਂ ਦੀ ਗਣਨਾ ਕਰਨ ਅਤੇ ਫੰਕਸ਼ਨਾਂ ਜਾਂ ਆਬਜੈਕਟ-ਓਰੀਐਂਟਡ ਪ੍ਰੋਗਰਾਮਿੰਗ ਰਾਹੀਂ ਨਤੀਜਿਆਂ ਨੂੰ ਫਾਰਮੈਟ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ। ਭਾਵੇਂ ਕੁਝ ਲੂਆ ਸਕ੍ਰਿਪਟਾਂ ਨੂੰ ਸਰਲ ਰੱਖਿਆ ਜਾ ਸਕਦਾ ਹੈ, ਪਰ ਆਸਾਨੀ ਨਾਲ ਸਮਝਣ ਲਈ ਲੂਆ ਟੇਬਲਾਂ, ਡਾਇਨਾਮਿਕ ਫੰਕਸ਼ਨਾਂ ਅਤੇ ਐਸੋਸੀਏਟਿਵ ਐਰੇਆਂ ਸਮੇਤ ਜਟਿਲ ਢਾਂਚਿਆਂ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ, ਜਿੱਥੇ ਇੰਡੈਕਸ ਸਬਸਕ੍ਰਿਪਟਾਂ ਇੰਡੈਕਸ ਨੰਬਰਾਂ ਦੇ ਨਾਲ-ਨਾਲ ਸ਼ਬਦ ਵੀ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਲੂਆ ਨੇਸਟਡ ਫੰਕਸ਼ਨਾਂ ਦੀ ਰਿਕਰਸ਼ਨ ਨੂੰ ਵੀ ਸਮਰਥਨ ਦਿੰਦਾ ਹੈ, ਇਸ ਲਈ ਬੇਹੱਦ ਜਟਿਲਤਾ ਤੋਂ ਬਚਣ ਲਈ ਸਾਵਧਾਨੀ ਵਰਤਣੀ ਚਾਹੀਦੀ ਹੈ, ਤਾਂ ਜੋ ਹੋਰ ਵਰਤੋਂਕਾਰ ਇਹ ਸਮਝ ਸਕਣ ਕਿ ਲੂਆ ਮੌਡਿਊਲ ਦੀ ਦੇਖਭਾਲ ਕਿਵੇਂ ਕਰਨੀ ਹੈ।
ਹੇਠਾਂ ਉੱਪਰ ਦਿੱਤੀਆਂ ਉਦਾਹਰਨਾਂ ਲਈ ਵਰਤੇ ਗਏ ਮੌਡਿਊਲ ਦੇ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦਾ ਇੱਕ ਅੰਸ਼ ਦਿੱਤਾ ਗਿਆ ਹੈ:
<syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਮੌਡਿਊਲ:BananasArgs#L-13]]--
local p = {} -- ਲੋੜੀਂਦੀ ਮੌਡਿਊਲ (p)ੈਕੇਜ ਟੇਬਲ, ਖਾਲੀ ਟੇਬਲ ਵਜੋਂ ਸ਼ੁਰੂ ਕੀਤੀ ਗਈ
function p.hello(frame) -- hello ਫੰਕਸ਼ਨ ਦੀ ਪਰਿਭਾਸ਼ਾ।
local name = frame.args[1] -- ਇਸ ਵਿੱਚ ਪਹਿਲਾ ਨਾਮ ਹੁੰਦਾ ਹੈ।
return "Hello, " .. name .. "!" -- `..` ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੰਕਸ਼ਨ ਦਾ ਨਤੀਜਾ ਇੱਕ ਸਤਰ ਵਜੋਂ ਜੋੜ ਕੇ ਵਾਪਸ ਕਰੋ।
end -- ਫੰਕਸ਼ਨ ਦਾ ਅੰਤ।
return p -- ਮੌਡਿਊਲ ਦੀ (p)ੈਕੇਜ ਟੇਬਲ ਵਾਪਸ ਕਰੋ।
</syntaxhighlight>
ਲੂਆ ਦਾ ਇੱਕ ਨਮੂਨਾ <code><nowiki><syntaxhighlight lang="lua" line highlight=1 copy> ... </syntaxhighlight></nowiki></code> ਟੈਗ ਨੂੰ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦੇ ਆਲੇ-ਦੁਆਲੇ ਰੱਖ ਕੇ ਉਜਾਗਰ ਕੀਤਾ ਜਾਂਦਾ ਹੈ। ਲੂਆ ਦੀਆਂ ਕੁਝ ਹੋਰ ਜਟਿਲ ਉਦਾਹਰਨਾਂ ਵੇਖਣ ਲਈ ਲੇਖ [[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)]] ਵੇਖੋ।
MediaWiki (ਅਤੇ ਇਸ ਕਰਕੇ ਵਿਕੀਪੀਡੀਆ) ਵਿੱਚ ਲੂਆ ਦੀ ਵਰਤੋਂ ਕਰਨ ਦੇ ਨਿਰਦੇਸ਼ਾਂ ਲਈ [[mw:Extension:Scribunto/ਲੂਆ reference manual]] ਵੇਖੋ।
== ਯੂਨਿਟ ਪਰਖਣਾ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ Lua ਸਕ੍ਰਿਪਟਾਂ ਲਈ ਇਕਾਈ ਟੈਸਟਿੰਗ ਫਰੇਮਵਰਕ [[ਮੌਡਿਊਲ:ScribuntoUnit]] ਵਿੱਚ ਉਪਲਬਧ ਹੈ।<br />
ਇਹ ਤੁਹਾਨੂੰ ਦਿੱਤੇ ਗਏ ਇਨਪੁੱਟਾਂ ਦੇ ਸਮੂਹ ਉੱਤੇ ਆਪਣੀ ਸਕ੍ਰਿਪਟ ਚਲਾਉਣ ਅਤੇ ਇਹ ਪੁਸ਼ਟੀ ਕਰਨ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ ਕਿ ਉਮੀਦ ਕੀਤੇ ਆਉਟਪੁੱਟ ਤਿਆਰ ਹੋਏ ਹਨ।<br />
ਇਕਾਈ ਟੈਸਟ ਖ਼ਾਸ ਤੌਰ ’ਤੇ ਰਿਗ੍ਰੈਸ਼ਨਾਂ ਨੂੰ ਤੇਜ਼ੀ ਨਾਲ ਖੋਜਣ ਲਈ ਲਾਭਦਾਇਕ ਹੁੰਦੇ ਹਨ, ਜਿੱਥੇ ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਵਿੱਚ ਕੀਤੀਆਂ ਤਬਦੀਲੀਆਂ ਨਵੀਆਂ ਸਮੱਸਿਆਵਾਂ ਪੈਦਾ ਕਰਦੀਆਂ ਹਨ।
ਰਿਵਾਜ ਅਨੁਸਾਰ, [[ਮੌਡਿਊਲ:Bananas]] ਵਰਗੇ ਮੌਡਿਊਲ ਲਈ ਇਕਾਈ ਟੈਸਟ <syntaxhighlight lang="lua" inline>ਮੌਡਿਊਲ:</syntaxhighlight><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/testcases|testcases]]</code>''' ਵਿੱਚ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।<br />
ਇਹ '''<code>[[ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:Bananas/testcases|ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:]]</code>'''<code>Bananas/testcases</code> ਉੱਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas/testcases|</syntaxhighlight>'''<code>run</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਨਾਲ ਚਲਾਏ ਜਾਂਦੇ ਹਨ।
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="wikitext" line highlight=1 copy>
{{#invoke:Bananas/testcases|run}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Bananas/testcases|run}}
</blockquote>
ਹਰ ਟੈਸਟ ਵਿਧੀ ਦੀ ਸ਼ੁਰੂਆਤ <syntaxhighlight lang="lua" inline>p:</syntaxhighlight>'''<code>test_</code>''' ਨਾਲ ਹੋਣੀ ਲਾਜ਼ਮੀ ਹੈ।
[[ਮੌਡਿਊਲ:Bananas/testcases]] ਤੋਂ ਇੱਕ ਉਦਾਹਰਨ ਹੇਠਾਂ ਦਿੱਤੀ ਗਈ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
--[[ਮੌਡਿਊਲ:Bananas/testcases]]--
local p = require('ਮੌਡਿਊਲ:ScribuntoUnit').new()
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- ਟੈਸਟ ਚਲਾਉਣ ਲਈ ਗੱਲ-ਬਾਤ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ।
function p:test_hi() -- [[ਮੌਡਿਊਲ:Bananas]] ਲਈ ਇਕਾਈ ਟੈਸਟ।
self:assertEquals('Hello, world!', modHi.hello())
end
return p
</syntaxhighlight></blockquote>
[[ਮੌਡਿਊਲ:ScribuntoUnit]] ਦੀ ਸ਼ੁਰੂਆਤ ਹੰਗਰੀ ਵਿਕੀਪੀਡੀਆ ਤੋਂ ਹੋਈ ਹੈ।<br />
ਇਹ ਅਸਲ ਤਰੁੱਟੀਆਂ ਪੈਦਾ ਕਰਦਾ ਹੈ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਸੁਰੱਖਿਅਤ ਕਾਲਾਂ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੜਿਆ ਜਾਂਦਾ ਹੈ। ਇਸ ਵਿੱਚ ਦਿੱਤੀ ਗਈ ਸ਼ੁੱਧਤਾ ਦੇ ਅੰਦਰ ਫਲੋਟਾਂ ਦੀ ਤੁਲਨਾ ਕਰਨ ਲਈ ਇੱਕ ਵਿਧੀ ਵੀ ਹੈ।
ਇਕਾਈ ਟੈਸਟਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨ ਵਾਲੇ ਸਾਰੇ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ ਲਈ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:ScribuntoUnit]] ਵੇਖੋ।
== ਵਿਕੀਪੀਡੀਆ ਵਿਸ਼ੇਸ਼ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ==
ਕੁੱਲ ਮਿਲਾ ਕੇ: Lua ਨੂੰ ਇਨਪੁੱਟ ਵਜੋਂ ਸਿਰਫ਼ <code><nowiki>{{#invoke:}}</nowiki></code> ਨੂੰ ਦਿੱਤੀਆਂ ਪਾਠ-ਸਤਰਾਂ ਅਤੇ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.title.new|mw.title.new(...)]]:getContent()</code> तथा <code>[[mw:Extension:Scribunto/Lua reference manual#frame:expandTemplate|frame:expandTemplate()]]</code> ਰਾਹੀਂ ਪ੍ਰਾਪਤ ਕੀਤੀ ਜਾ ਸਕਣ ਵਾਲੀ ਸਮੱਗਰੀ ਹੀ ਮਿਲ ਸਕਦੀ ਹੈ। Lua ਦੇ ਆਉਟਪੁੱਟ ਨੂੰ ਪਹਿਲਾਂ ਤੋਂ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤਾ ਜਾਂਦਾ, ਜਦੋਂ ਤੱਕ <code>[[mw:Extension:Scribunto/Lua reference manual#frame:preprocess|frame:preprocess()]]</code> ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਕਾਲ ਨਾ ਕੀਤਾ ਜਾਵੇ। ਇਸ ਦਾ ਅਰਥ ਹੈ ਕਿ ਆਉਟਪੁੱਟ ਵਿੱਚ ਟੈਂਪਲੇਟ ਕਾਲਾਂ ਅਤੇ ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਸਹੀ ਢੰਗ ਨਾਲ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(mw.title.getCurrentTitle())
print(mw.getCurrentFrame():preprocess('{{PAGENAME}}'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=3>
ਮੌਡਿਊਲ:Yesno
Yesno
</syntaxhighlight></blockquote>
ਇਹ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.ustring.len|mw.ustring.len]]</code> ਫੰਕਸ਼ਨ ਦੀ ਵਰਤੋਂ <code>[[mw:Extension:Scribunto/Lua reference manual#string.len|string.len]]</code> ਦੀ ਬਜਾਇ ਕਰਨੀ ਬਿਹਤਰ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਯੂਨੀਕੋਡ]]--
local code = mw.getContentLanguage().code
local lang = mw.getCurrentFrame():callParserFunction("#language", code)
local lenUnicode = mw.ustring.len(lang) -- ਅੱਖਰਾਂ ਦੀ ਗਿਣਤੀ
local lenByte, lenSharp = string.len(lang), #lang -- ਬਾਈਟਾਂ ਦੀ ਗਿਣਤੀ
local msg = "code: \"%s\". lang: \"%s\". mw.ustring.len = %d string.len = %d sharp = %d"
print((msg):format(code, lang, lenUnicode, lenByte, lenSharp))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=8>
code: "pa". lang: "ਪੰਜਾਬੀ". mw.ustring.len = 6 string.len = 18 sharp = 18
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</blockquote>
ਵਿਕੀ ਸਫ਼ੇ ਵਿੱਚ, ਸਾਰਾ Lua ਕੋਡ (ਜਿਸ ਵਿੱਚ ਲੰਬੇ ਅੰਕੜਾ-ਹਿਸਾਬ ਜਾਂ ਬੇਅੰਤ <syntaxhighlight lang="lua" inline>while</syntaxhighlight> ਜਾਂ <syntaxhighlight lang="lua" inline>repeat</syntaxhighlight> ਲੂਪ ਵੀ ਸ਼ਾਮਲ ਹਨ) '''10 ਸ'''ਕਿੰਟ ਦੇ CPU ਸਮੇਂ ਤੱਕ ਸੀਮਿਤ ਹੈ। ਤੁਸੀਂ ਰੈਂਡਰ ਕੀਤੇ ਸਫ਼ੇ ਦੇ ਸਰੋਤ ਕੋਡ ਵਿੱਚ ਦੇਖ ਸਕਦੇ ਹੋ ਕਿ ਕਿਸੇ ਟੈਂਪਲੇਟ ਜਾਂ ਮੌਡਿਊਲ ਨੂੰ ਪਾਰਸ ਹੋਣ ਵਿੱਚ ਕਿੰਨਾ ਸਮਾਂ ਲੱਗਿਆ।
ਮਿਆਰੀ Lua ਦੇ ਮੁਕਾਬਲੇ, Scribunto ਦਾ Lua ਸੁਰੱਖਿਅਤ ਫੰਕਸ਼ਨ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ (ਮਿਆਰੀ Lua ਤੋਂ [[mw:Extension:Scribunto/Lua_reference_manual#Differences_from_standard_Lua|ਅੰਤਰ]] ਵੇਖੋ)।
=== ਲੂਆ ਇਨਪੁੱਟ ਕਮੀਆਂ ===
Scribunto ਵਿੱਚ Lua ਕੋਡ ਸਿਰਫ਼ ਉਦੋਂ ਹੀ ਚਲਾਇਆ ਜਾਂਦਾ ਹੈ ਜਦੋਂ ਸਫ਼ੇ ਨੂੰ ਪਾਰਸ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੋਵੇ। ਇਸ ਲਈ, Lua ਨੂੰ ਮਿਲਣ ਵਾਲਾ ਇਕਲੌਤਾ ਯੂਜ਼ਰ ਇਨਪੁੱਟ ''ਸਫ਼ੇ ਦੀ ਸੋਧ'' ਰਾਹੀਂ ਹੀ ਹੋ ਸਕਦਾ ਹੈ - ਇਹ ਅਜਿਹਾ ਇਨਪੁੱਟ ਬਾਕਸ ਨਹੀਂ ਬਣਾ ਸਕਦਾ ਜਿਸ ਵਿੱਚ ਤੁਸੀਂ ਫੈਰਨਹਾਈਟ ਤਾਪਮਾਨ ਦਰਜ ਕਰੋ ਅਤੇ ਕਿਸੇ ਬਟਨ ਨੂੰ ਦਬਾਉਣ ’ਤੇ ਉਸ ਨਾਲ ਸੰਬੰਧਿਤ ਸੈਲਸੀਅਸ ਤਾਪਮਾਨ ਪ੍ਰਾਪਤ ਕਰ ਸਕੋ, ਜਾਂ ਇਸ ਗੱਲ ਦੇ ਆਧਾਰ ’ਤੇ ਮੈਂਡਲਬਰੋਟ ਸੈੱਟ ਦੇ ਕਿਸੇ ਹਿੱਸੇ ਦੀ ਮੁੜ ਗਣਨਾ ਕਰ ਸਕੋ ਕਿ ਤੁਸੀਂ ਮੂਲ ਸੈੱਟ ਦੇ ਕਿਹੜੇ ਹਿੱਸੇ ’ਤੇ ਕਲਿੱਕ ਕਰਦੇ ਹੋ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
local function toCelsius(tempFahrenheit) return (tempFahrenheit - 32) * 5 / 9 end
print(("toCelsius(32°F) = %s°C. toCelsius(68°F) = %d°C"):format(toCelsius(32), toCelsius(68)))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
toCelsius(32°F) = 0°C. toCelsius(68°F) = 20°C
</syntaxhighlight></blockquote>
Lua ਇਨਪੁੱਟ ਵਿਕੀਪੀਡੀਆ ਦੇ ਕਿਸੇ ਵੀ ਅਜਿਹੇ ਪਾਠ ਸਫ਼ੇ ਦੀ ਵਰਤੋਂ ਕਰ ਸਕਦਾ ਹੈ ਜਿਸ ਨੂੰ ਕਿਸੇ ਹੋਰ ਸਫ਼ੇ ਵਿੱਚ [[ਵਿਕੀਪੀਡੀਆ:Transclusion|ਸ਼ਾਮਲ]] ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੋਵੇ। ਇਸ ਵਿੱਚ ਚਿੱਤਰ ਫ਼ਾਈਲਾਂ, ਸਕੇਲੇਬਲ ਵੈਕਟਰ ਗ੍ਰਾਫ਼ਿਕਸ (SVG) ਫ਼ਾਈਲਾਂ, [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]] ਦੀਆਂ ਸੂਚੀਆਂ ਜਾਂ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:UnitTests]] ਵਰਗੇ ਖ਼ਾਸ ਸਫ਼ੇ ਸ਼ਾਮਲ ਨਹੀਂ ਹਨ।
== ਡੀਬੱਗ ਕਰਨਾ ==
=== ਨਾਂ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਵਿੱਚ ਸਮੱਸਿਆ ਨੂੰ ਸਰਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |state=NY |type=NY |route=343}}
</blockquote>
ਗਲਤੀ ਵਾਲੇ ਸੁਨੇਹੇ 'ਤੇ ਕਲਿੱਕ ਕਰੋ, ਫਿਰ ਲਾਈਨ 107 ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Infobox_road/route at line 107: bad argument #1 to 'wikitext' ('''string''' or number expected, got <s>boolean</s>).
</blockquote>
<code>wikitext</code> ਫੰਕਸ਼ਨ Boolean ਮੁੱਲ <code>false</code> ਨੂੰ ਸਵੀਕਾਰ ਨਹੀਂ ਕਰਦਾ।
<blockquote><syntaxhighlight lang="lua" start=107 line highlight=1>
container:tag('p'):cssText('margin:0.1em;'):wikitext(name)
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<code>|name=</code> ਪੈਰਾਮੀਟਰ ਪਰਿਭਾਸ਼ਿਤ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</blockquote>
=== ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਦੇ "ਮੁੱਖ ਜੰਕਸ਼ਨ" ਭਾਗ ਵਿੱਚ ਬਾਕੀ ਤਿੰਨ ਸਮੱਸਿਆਵਾਂ ਨੂੰ ਸਰਲ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{jct|state=NY|NY|82}}
</syntaxhighlight></blockquote>
<blockquote>
{{jct|state=NY|NY|82}}
</blockquote>
{{collapse top|title=ਲੂਆ ਕੋਡ ਵਿੱਚ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਜੋੜਨਾ}}
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local modJunction = require('ਮੌਡਿਊਲ:jct')
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(modJunction.jct(frame))
</syntaxhighlight></blockquote>
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Jct at line 204: attempt to concatenate local 'link' (a boolean value).<br />
Backtrace:<br />
ਮੌਡਿਊਲ:Jct:204: in function "routeText"
</blockquote>
[[ਮੌਡਿਊਲ:Jct#L-204]] ਵਿੱਚ, <code>link</code> ਦਾ ਮੁੱਲ <code>false</code> ਹੈ, ਪਰ ਇੱਥੇ ਇੱਕ ਸਤਰ ਦੀ ਲੋੜ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=12>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route
else
link = p.link(route)
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# Lua ਕੋਡ ਵਿੱਚ ਦੋ ਕਸਟਮ <syntaxhighlight lang="lua" inline>error()</syntaxhighlight> ਕਾਲਾਂ ਜੋੜ ਕੇ ਅਸਥਾਈ ਤੌਰ 'ਤੇ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਲਗਾਓ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=6,8>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route; error("link1=" .. tostring(link))
else
link = p.link(route); error("link2=" .. tostring(link))
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# "<s>ਸਫ਼ਾ ਛਾਪੋ</s>" (<s>ਤਬਦੀਲੀਆਂ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ</s>। <s>Publish changes</s>) 'ਤੇ '''<span style="color:red;">ਕਲਿੱਕ ਨਾ ਕਰੋ</span>'''।
<code>ਮੌਡਿਊਲ:</code>'''<code>[[ਮੌਡਿਊਲ:Jct|Jct]]</code>''' ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
# ਦੂਜੀ ਕਸਟਮ ਗਲਤੀ ਦਿਖਾਈ ਦੇਵੇਗੀ।
<blockquote style="color:#bf3c2c;">
Lua error at line 200: link2=false.
</blockquote>
# ਦੋਵੇਂ ਕਸਟਮ ਗਲਤੀ ਕਾਲਾਂ ਹਟਾਓ। ਸਮੱਸਿਆ <code>p.link</code> ਫੰਕਸ਼ਨ ਵਿੱਚ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=2,4>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr')
if nolink then
return abbr
else
local link = parser(route, 'link')
if not link or link == '' then
return abbr
else
return format("[[%s|%s]]", link, abbr)
end
end
end
</syntaxhighlight></blockquote>
ਵਿਕੀ ਸਫ਼ਾ [[:en:New York State Route 82]] ਮੌਜੂਦ ਨਹੀਂ ਹੈ। ਇਸ ਲਈ <code>link</code> ਅਤੇ <code>abbr</code> ਦੋਵਾਂ ਦਾ ਮੁੱਲ <code>false</code> ਹੈ।
{{collapse bottom}}
=== ਵਿਕੀਟੈਕਸਟ ===
ਸ਼ਾਮਲ ਕੀਤੇ ਗਏ ਵਿਕੀਪੀਡੀਆ ਸਿਰਲੇਖਾਂ ਵਿੱਚ ਅਕਸਰ <syntaxhighlight lang="lua" inline>"UNIQ5ae8f2aa414ff233-h-3--QINU"</syntaxhighlight> ਵਰਗਾ ਲੁਕਿਆ ਹੋਇਆ ਕੋਡ ਹੁੰਦਾ ਹੈ, ਜਿਸ ਨੂੰ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਢੰਗ ਨਾਲ ਪਾਰਸ ਕਰਨ ਲਈ ਹਟਾਉਣ ਦੀ ਲੋੜ ਪੈ ਸਕਦੀ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(string.reverse("UNIQ"))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=2>
QINU
</syntaxhighlight></blockquote>
ਪਾਈਪ <code><nowiki>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ</nowiki></code>'''<code><nowiki>|</nowiki></code>'''<code><nowiki>]]</nowiki></code> ਤੋਂ ਬਾਅਦ ਪ੍ਰਗਟਾਵੇ ਤੋਂ ਬਿਨਾਂ ਵਾਲੇ ਵਿਕੀਲਿੰਕ, ਜੇ ਆਉਟਪੁੱਟ ਵਜੋਂ ਵਾਪਸ ਕੀਤੇ ਜਾਣ, ਤਾਂ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ - ਇਨ੍ਹਾਂ ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਇਸ ਤਰ੍ਹਾਂ ਲਿਖਣ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ: <syntaxhighlight lang="lua" inline>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|</syntaxhighlight>'''<code>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|ਮਦਦ]]</code>'''<syntaxhighlight lang="lua" inline>]]</syntaxhighlight>।
ਸੇਵ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਹੋਣ ਵਾਲੀਆਂ ਹੋਰ ਤਬਦੀਲੀਆਂ ਵੀ, ਜਿਵੇਂ ਕਿ <code>~~<nowiki/>~~</code> ਨੂੰ ਦਸਤਖ਼ਤਾਂ ਨਾਲ ਬਦਲਣਾ, ਪ੍ਰਕਿਰਿਆ ਵਿੱਚ ਨਹੀਂ ਆਉਣਗੀਆਂ। ਟੈਂਪਲੇਟ ਟ੍ਰਾਂਸਕਲੂਜ਼ਨ, ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਕਾਲਾਂ ਅਤੇ ਵੇਰੀਏਬਲ ਬਦਲਾਅ (ਅਰਥਾਤ <code><nowiki>{{...}}</nowiki></code> ਵਾਲੀ ਕੋਈ ਵੀ ਚੀਜ਼) ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ। ਇਸੇ ਤਰ੍ਹਾਂ {{tag|ref|o}} ਜਾਂ {{tag|nowiki|o}} ਵਰਗੇ ਟੈਗ ਵੀ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ।
== ਬਦਲੇ ਹੋਏ ਫਰਮਿਆਂ ਦਾ ਨਾਮਕਰਨ==
{{lua|ਮੌਡਿਊਲ:Bananas}}
ਕਿਰਪਾ ਕਰਕੇ {{tl|lua}} ਫਰਮਿਆਂ ਨੂੰ ਉਹਨਾਂ ਸਾਰੇ ਫਰਮਿਆਂ ਦੇ ਡਾਕੂਮੈਂਟੇਸ਼ਨ ਉੱਪ-ਪੰਨਿਆਂ ਉੱਤੇ ਰੱਖੋ ਜੋ ਲੂਆ ਵਰਤਦੇ ਹਨ, ਇਹ ਲੂਆ ਵਰਤੋਂ ਅਤੇ ਫਰਮਾ ਪਰਿਵਰਤਨਾਂ ਦੇ ਸਹਿਯੋਗ ਵਿੱਚ ਮਦੱਦ ਕਰੇਗਾ|
{{clear}}
== ਇਹ ਵੀ ਦੇਖੋ ==
* [[ਖ਼ਾਸ:ਅਗੇਤਰ ਤਤਕਰਾ/ਮੌਡਿਊਲ:]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ
* [[:ਸ਼੍ਰੇਣੀ:Lua-based templates]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਦੇ ਸਮੂਹ
* [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]]
* [[:ਮੌਡਿਊਲ:Sandbox]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਨਾਲ ਪ੍ਰਯੋਗ ਕਰਨ ਲਈ ਇੱਕ pseudo-namespace ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ
; ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਪੀਡੀਆ-ਵਿਸ਼ੇਸ਼ ਸਰੋਤ
* [[Wikipedia:Lua style guide]] – ਇਕਸਾਰਤਾ ਰਾਹੀਂ ਕੋਡ ਦੀ ਪੜ੍ਹਨਯੋਗਤਾ ਸੁਧਾਰਨ ਲਈ ਮਿਆਰ
* [[:en:Help:Lua debugging]] – ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਡੀਬੱਗਿੰਗ ਬਾਰੇ ਇੱਕ ਕਿਵੇਂ-ਕਰਨਾ ਗਾਈਡ
* [[:en:Wikipedia talk:Lua]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਜਾਂ ਕੰਮਾਂ ਲਈ ਬੇਨਤੀਆਂ
== ਨੋਟਸ ==
{{reflist}}
{{Wikipedia technical help|collapsed}}
[[Category:Wikipedia modules]]
k029uukgzivxzps6q8ge99l5esm39an
849428
849426
2026-10-08T16:40:36Z
Nimmzo
62202
/* ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ */ 1. Update the Lua code so that it handles undefined abbreviations (the underlined expression in a wikilink). 2. Make it return the empty string "" by adding ` or ''`. This is the same solution than at the end of the line 203. If something fails, the string is initialized with the empty string instead of the boolean `false`
849428
wikitext
text/x-wiki
{{WikiProject Lua/header}}
{{Namespaces}}
{{Information page|WP:Lua}}
[[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)|ਲੂਆ]] ਇੱਕ ਪ੍ਰੋਗ੍ਰਾਮਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜੋ ਹੁਣ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ, [[mw: Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਮੀਡੀਆਵਿਕੀ ਐਕਸਟੈਂਸ਼ਨ ਰਾਹੀਂ ਉਪਲਬਧ ਹੈ। ਲੁਆ ਕੋਡ ਨੂੰ ਹੁਣ ਵਿਕੀਪੀਡੀਆ ਟੈਂਪਲੈਂਟਾਂ ਵਿੱਚ ਸਕਿਰਬੰਟੋ ਦੇ <syntaxhighlight lang="lua" inline>{{#invoke:}}</syntaxhighlight> ਫੰਕਸ਼ਨ ਨੂੰ ਲਾਗੂ ਕਰਕੇ ਜੜਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਹ ਐਕਸਟੈਨਸ਼ਨ ਜੁਲਾਈ 2015 ਤੋਂ ਲੁਆ 5.1 {{as of|lc=y|2015|07}} ਨੂੰ ਸਪੋਰਟ ਕਰਦੀ ਹੈ।
== ਲੂਆ ਵਿੱਚ ਹੈਲੋ ਵਰਲਡ! ==
<code>[[ਮੌਡਿਊਲ:Bananas]]</code>: ਸਰਲਤਮ ਸੰਭਵ ਸਕ੍ਰਿਪਟ, ਜੋ ਕੋਈ ਵੀ ਆਰਜੂਮੈਂਟ ਵਾਲਾ ਇੱਕ ਸਿੰਗਲ ਫੰਕਸ਼ਨ ਦਿੰਦੀ ਹੈ
ਲੁਆ ਸੋਰਸ ਕੋਡ ਮੌਡਿਊਲਜ਼ (ਯਾਨਿ ਕਿ, <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>) ਨਾਮਕ ਪੰਨਿਆਂ ਵਿੱਚ ਜਮਾਂ ਹੁੰਦੇ ਜਾਂਦੇ ਹਨ। ਇਹ ਵਿਅਕਤੀਗਤ ਮੌਡਿਊਲਜ਼ ਫੇਰ ਟੈਂਪਲੈਂਟ ਪੰਨਿਆਂ ਉੱਤੇ <syntaxhighlight lang="wikitext" inline>{{#invoke:}}</syntaxhighlight> ਕੋਡ ਰਾਹੀਂ ਇਨਵੋਕ (ਬੁਲਾਏ) ਕੀਤੇ ਜਾਂਦੇ ਹਨ। (ਜਿਵੇਂ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/doc|doc]]</code>''' ਇਸ <syntaxhighlight lang="lua" inline>"Hello, world!"</syntaxhighlight> ਸ਼ਬਦਾਂ ਨੂੰ ਛਾਪਣ ਵਾਸਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas|</syntaxhighlight>'''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਕੋਡ ਵਰਤਦਾ ਹੈ।)
ਤੁਹਾਨੂੰ ਕੁਝ ਵੀ ਇੰਸਟਾਲ ਜਾਂ ਸੇਵ ਕਰਨ ਦੀ ਲੋੜ ਨਹੀਂ ਹੈ।
# ਆਪਣਾ ਯੂਜ਼ਰ ਪੰਨਾ ਸੰਪਾਦਿਤ ਕਰੋ।
# ਆਪਣੇ ਯੂਜ਼ਰ ਪੰਨੇ ’ਤੇ ਨਵੀਂ ਲਾਈਨ ਦੇ ਸ਼ੁਰੂ ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੀ ਕਾਲ ਚਿਪਕਾਓ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Bananas|hello}}
</syntaxhighlight></blockquote>
<ol start="3">
<li>'''<code>ਝਲਕ ਵਿਖਾਓ</code>''' ’ਤੇ ਕਲਿੱਕ ਕਰੋ। <syntaxhighlight lang="lua" inline>hello</syntaxhighlight> ਫੰਕਸ਼ਨ ਦੀ ਕਾਲ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੇ ਨਾਲ ਬਦਲ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ:</li>
</ol>
<blockquote><syntaxhighlight lang="lua" line>
Hello, world!
</syntaxhighlight></blockquote>
<ol start="4">
<li><code style="color:#bf3c2c;">ਰੱਦ ਕਰੋ</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ। ਪੁੱਛੇ ਜਾਣ ’ਤੇ, <code>Leave</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ।</li>
<li>ਤੁਹਾਡਾ ਯੂਜ਼ਰ ਪੰਨਾ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।</li>
</ol>
=== ਆਰਜੂਮੈਂਟਾਂ ਵਰਤਣਾ ===
ਆਰਜੂਮੈਂਟਾਂ ਮੌਡਿਊਲਾਂ ਵੱਲ ਉਸੇ ਤਰੀਕੇ ਨਾਲ ਪਾਸ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਜਿਸਤਰਾਂ ਫਰਮੇ ਪਾਸ ਹੁੰਦੇ ਹਨ। ਫੇਰ ਵੀ, ਨੋਟ ਕਰੋ ਕਿ ਪਹਿਲੇ ਪਾਈਪ ਅੱਖਰ ਤੋਂ ਬਾਦ ਦੇ ਅਗਲੇ ਅੱਖਰ ਹਮੇਸ਼ਾਂ ਹੀ ਫੰਕਸ਼ਨ ਦਾ ਨਾਮ ਹੁੰਦੇ ਹਨ; ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਦੂਜੀ ਪਾਈਪ ਤੋਂ ਬਾਦ ਦੇ ਟੈਕਸਟ ਹੁੰਦੇ ਹਨ।
<blockquote><syntaxhighlight lang="lua" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਆਰਗੂਮੈਂਟ}}
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:BananasArgs]]</code>: ਸਿੱਧ ਕਰਕੇ ਦਿਖਾਉਂਦੀ ਹੈ ਕਿ ਪੈਰਾਮੀਟਰਾਂ ਨੂੰ ਕਿਵੇਂ ਵਰਤਣਾ ਅਤੇ ਕ੍ਰਿਆਸ਼ੀਲ ਕਰਨਾ ਹੈ
ਉਦਾਹਰਨ ਦੇ ਤੌਰ ਤੇ, <code>ਮੌਡਿਊਲ:</code><code>BananasArgs</code> ਵਿੱਚ, '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-13|hello]]</code>''' ਫੰਕਸ਼ਨ ਵੱਖਰੇ ਲੋਕਾਂ ਦਾ ਸਵਾਗਤ ਕਰਨਾ ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਤੇ ਨਿਰਭਰ ਕਰਦਾ ਹੈ। ਇਹ ਇਸਤਰਾਂ ਕੰਮ ਕਰਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</blockquote>
;ਨਾਮਿਤ ਆਰਗੂਮੈਂਟ <code>|ਕੁੰਜੀ=ਮੁੱਲ</code>
<blockquote><syntaxhighlight lang="wikitext" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ1=ਮੁੱਲ1|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ2=ਮੁੱਲ2}}
</syntaxhighlight></blockquote>
BananasArgs ਕੋਲ ਇੱਕ '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-26|count_fruit]]</code>''' ਨਾਮਕ ਫੰਕਸ਼ਨ ਵੀ ਹੁੰਦਾ ਹੈ ਜੋ <code>|bananas=</code> and <code>|apples=</code> ਨਾਮਕ ਆਰਜੂਮੈਂਟ ਵਰਤਦਾ ਹੈ ਜਿਸਨਾਲ ਸਾਡੇ ਕੋਲ ਮੌਜੂਦ ਕੇਲਿਆਂ (ਬਾਨਾਨਾਜ਼) ਅਤੇ ਸੇਬਾਂ ਦੀ ਸੰਖਿਆ ਗਿਣੀ ਜਾਂਦੀ ਹੈ। ਇਸਨੂੰ ਆਰਗੂਮੈਂਟਾਂ ਦਾ ਕ੍ਰਮ ਬਦਲ ਕੇ ਚਲਾਇਆ ਜਾ ਸਕਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</blockquote>
ਜਿਆਦਾਤਰ ਮੌਡਿਊਲਜ਼ ਇੱਕ ਡੌਕੂਮੈਂਟੇਸ਼ਨ ਪੰਨਾ ਰੱਖਦੇ ਹੋਣਗੇ ਜਿਸਵਿੱਚ ਇਹ ਸਮਝਾਇਆ ਗਿਆ ਹੁੰਦਾ ਹੈ ਕਿ ਕਿਹੜੀਆਂ ਆਰਜੂਮੈਂਟਾਂ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ ਅਤੇ ਉਹਨਾਂ ਦੇ ਪ੍ਰਭਾਵ ਕੀ ਹੋਣਗੇ ।
== ਡੀਬੱਗ ਕੌਨਸੋਲ: ਲੂਆ ਸਿੱਖਣਾ ਸ਼ੁਰੂ ਕਰੋ ==
ਲੂਆ Scribunto ਦਾ <code>Debug Console</code> ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ ਲੂਆ ਸਿੱਖਣ ਲਈ ਇੱਕ ਸੁਰੱਖਿਅਤ, ਇੰਟਰਐਕਟਿਵ ਟੂਲ ਹੈ।
# [[ਮੌਡਿਊਲ:Yesno]] ਪੰਨੇ ‘ਤੇ <code>ਸਰੋਤ ਵੇਖੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰੋ।
# ਪੰਨੇ ਦੇ ਹੇਠਾਂ <code>Debug console</code> ਭਾਗ ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
# ਟਿੱਪਣੀ ਅਤੇ ਕਾਲ ਨੂੰ <span style="color:#eaecf0;">ਹਲਕਾ</span> <span style="color:blue;">ਨੀਲਾ</span> ਇਨਪੁੱਟ ਬਾਕਸ ਵਿੱਚ ਪੇਸਟ ਕਰੋ (ਜੋ <code>ਸਾਫ਼ ਕਰੋ</code> ਬਟਨ ਦੇ ਉੱਪਰ ਹੈ)।
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
--[[ਤੁਹਾਡਾ ਪਹਿਲਾ ਲੂਆ Hello World-ਜਿਹਾ ਪ੍ਰੋਗਰਾਮ]]--
print("ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ " .. _VERSION .. "!") -- ਲੂਆ ਸੰਸਕਰਣ ਨੂੰ `..` ਨਾਲ ਜੋੜੋ
</syntaxhighlight></blockquote>
<ol start="4">
<li>ਦੋ ਲੂਆ ਕਮਾਂਡਾਂ ਨੂੰ ਚਲਾਉਣ ਲਈ {{key press|Enter}} ਇੱਕ ਵਾਰ ਦਬਾਓ।</li>
<li>ਨਤੀਜਾ ਲੂਆ <syntaxhighlight lang="lua" inline>print</syntaxhighlight> ਕਮਾਂਡ ਲਾਈਨ ਦੇ ਹੇਠਾਂ ਦਿਖਾਈ ਦੇਵੇਗਾ:</li>
</ol>
<blockquote><syntaxhighlight lang="text" line start=3>
ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ Lua 5.1!
</syntaxhighlight></blockquote>
<ol start="6">
<li>ਪਿਛਲੀਆਂ ਲੂਆ ਕਮਾਂਡਾਂ ਵਿਚਕਾਰ ਜਾਣ ਲਈ {{key press|Up}} <code>Up arrow</code> ਦਬਾਓ।</li>
<li>ਚਾਹੋ ਤਾਂ <code>ਸਾਫ਼ ਕਰੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰਕੇ ਸਿਰਫ਼ <code>Debug Console</code> ਨੂੰ ਸਾਫ਼ ਕਰੋ; ਉੱਪਰ ਵਾਲਾ ਲੂਆ ਸੰਪਾਦਕ '''ਬਦਲਿਆ ਨਹੀਂ ਜਾਵੇਗਾ'''।</li>
</ol>
; ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ HTML ਜਨਰੇਟਰ
<code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ '''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>''' ਫੰਕਸ਼ਨ ਨੂੰ ਕਾਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- Debug console ਵਿੱਚ ਮੌਡਿਊਲ ਲੋਡ ਕਰੋ
print(modHi.hello()) -- "Hello, world!" ਦਿਖਾਓ
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
Hello, world!
</syntaxhighlight></blockquote>
;ਆਰਗੂਮੈਂਟ
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
local modArg = require('ਮੌਡਿਊਲ:BananasArgs')
local frame = mw.getCurrentFrame()
frame.args = {"ਜਸਪ੍ਰੀਤ"}; print("੧. " .. modArg.hello(frame))
frame.args = {"ਗੁਰਪ੍ਰੀਤ"}; print("੨. " .. modArg.hello(frame))
frame.args = {apples="3", bananas="4"}; print("੩. " .. modArg.count_fruit(frame))
frame.args = {bananas="5", apples="2"}; print("੪. " .. modArg.count_fruit(frame))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=7>
੧. Hello, ਜਸਪ੍ਰੀਤ!
੨. Hello, ਗੁਰਪ੍ਰੀਤ!
੩. I have 4 bananas and 3 apples
੪. I have 5 bananas and 2 apples
</syntaxhighlight></blockquote>
; ਪਛਾਣ ਫੰਕਸ਼ਨ
<code>callParserFunction</code> [[mw:Help:Extension:ParserFunctions##if|#if]]
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local yesno = require('ਮੌਡਿਊਲ:Yesno') -- #if yesno then ਆਪਣਾ ਇਨਪੁੱਟ ਪੈਰਾਮੀਟਰ ਵਾਪਸ ਕਰਦਾ ਹੈ
print(mw.getCurrentFrame():callParserFunction("#if", yesno("Yes"), "Yes", 'no'))
print(mw.getCurrentFrame():callParserFunction("#if", yesno('ਨਹੀਂ'), "ਹਾਂ", 'ਨਹੀਂ'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=4>
Yes
ਨਹੀਂ
</syntaxhighlight></blockquote>
# ਸੁਰੱਖਿਅਤ <code>ਮੌਡਿਊਲ:</code><code>Yesno</code> ਨੂੰ ਬੰਦ ਕਰੋ, ਜੋ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।
== ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਦੀ ਬੇਨਤੀ ਕਰੋ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਜਾਂ ਕਿਸੇ ਹੋਰ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟ ਉੱਤੇ ਕੋਈ ਖਾਸ ਕੰਮ ਕਰਨ ਲਈ ਕਿਸੇ ਲੂਆ ਸਕ੍ਰਿਪਟ ਨੂੰ ਲਿਖਣ ਵਾਸਤੇ ਸਹਾਇਤਾ ਲਈ [[:en:Wikipedia talk:Lua]] ਤੇ ਜਾਓ
== ਇਤਿਹਾਸ ==
[[mw:Manual:MediaWiki architecture#Magic words and templates|ਜਾਦੂਈ ਸ਼ਬਦ]], [[mw:Help:Extension:ParserFunctions|ਪਾਰਜ਼ਰਫੰਕਸ਼ਨ (ParserFunctions)]], [[mw:Extension:Lua|ਲੂਆ ਸ਼ਾਖਾ]], ਵਿਕੀ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਨੇ (JavaScript ਬਨਾਮ Lua), [[mw:Extension:WikiScripts]] ਮੁਕਾਬਲਾ ਕਰਾਇਆ, ਲੂਆ ਵਾਸਤੇ ਸ਼ੁਰੂਆਤੀ ਸਮਰਥਨ ਨਾਲ ਟਿੱਮ [[mw:Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਲਿਖਦਾ ਹੈ|
ਸਾਲਾਂ ਦੀ ਚਰਚਾ ਤੋਂ ਬਾਦ ਲੂਆ ਨੂੰ [[test2wiki:|test2.wikipedia.org]] ਉੱਤੇ ਪਰਖਣ ਵਾਸਤੇ 2012 ਵਿੱਚ ਇਨਸਟਾਲ ਕੀਤਾ ਗਿਆ, ਜਿਸ ਵਿੱਚ ਲੂਆ ਮੌਡਿਊਲਾਜ਼ ਨੂੰ ਵਿਕਸਿਤ ਕਰਨ ਵਾਲੇ ਪ੍ਰਯੋਗਾਂ ਲਈ ਸਾਰੇ ਸੰਪਾਦਕਾਂ ਨੂੰ ਖੁੱਲਾ ਸੱਦਾ ਦਿੱਤਾ ਗਿਆ | ਲੂਆ ਫਰਵਰੀ 2013 ਵਿੱਚ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ mediawiki.org ਅਤੇ Wikimedia test wikis ਉੱਤੇ ਪਰਖਣ ਤੋਂ ਬਾਦ ਇਨਸਟਾਲ ਕਰ ਦਿੱਤੀ ਗਈ|
== ਲੂਆ ਬਾਰੇ ==
:Brad Jorsch ਵੱਲੋਂ ਬਣਾਏ ਗਏ [[:File:WMF Tech Talk 2013-02-28 slides - Scribunto presentation.pdf|ਵਿਕੀਟੈਕਸਟ ਟੈਂਪਲੇਟ]] ਨੂੰ ਲੂਆ ਮੌਡਿਊਲ ਵਿੱਚ ਬਦਲਣ ਦਾ ਤਰੀਕਾ ਵੀ ਵੇਖੋ।
ਲੂਆ ਇੱਕ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜਿਸ ਦੀ ਵਰਤੋਂ ਡੇਟਾ ਦਾ ਵਿਸ਼ਲੇਸ਼ਣ ਕਰਨ, ਸਮੀਕਰਨਾਂ ਦੀ ਗਣਨਾ ਕਰਨ ਅਤੇ ਫੰਕਸ਼ਨਾਂ ਜਾਂ ਆਬਜੈਕਟ-ਓਰੀਐਂਟਡ ਪ੍ਰੋਗਰਾਮਿੰਗ ਰਾਹੀਂ ਨਤੀਜਿਆਂ ਨੂੰ ਫਾਰਮੈਟ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ। ਭਾਵੇਂ ਕੁਝ ਲੂਆ ਸਕ੍ਰਿਪਟਾਂ ਨੂੰ ਸਰਲ ਰੱਖਿਆ ਜਾ ਸਕਦਾ ਹੈ, ਪਰ ਆਸਾਨੀ ਨਾਲ ਸਮਝਣ ਲਈ ਲੂਆ ਟੇਬਲਾਂ, ਡਾਇਨਾਮਿਕ ਫੰਕਸ਼ਨਾਂ ਅਤੇ ਐਸੋਸੀਏਟਿਵ ਐਰੇਆਂ ਸਮੇਤ ਜਟਿਲ ਢਾਂਚਿਆਂ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ, ਜਿੱਥੇ ਇੰਡੈਕਸ ਸਬਸਕ੍ਰਿਪਟਾਂ ਇੰਡੈਕਸ ਨੰਬਰਾਂ ਦੇ ਨਾਲ-ਨਾਲ ਸ਼ਬਦ ਵੀ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਲੂਆ ਨੇਸਟਡ ਫੰਕਸ਼ਨਾਂ ਦੀ ਰਿਕਰਸ਼ਨ ਨੂੰ ਵੀ ਸਮਰਥਨ ਦਿੰਦਾ ਹੈ, ਇਸ ਲਈ ਬੇਹੱਦ ਜਟਿਲਤਾ ਤੋਂ ਬਚਣ ਲਈ ਸਾਵਧਾਨੀ ਵਰਤਣੀ ਚਾਹੀਦੀ ਹੈ, ਤਾਂ ਜੋ ਹੋਰ ਵਰਤੋਂਕਾਰ ਇਹ ਸਮਝ ਸਕਣ ਕਿ ਲੂਆ ਮੌਡਿਊਲ ਦੀ ਦੇਖਭਾਲ ਕਿਵੇਂ ਕਰਨੀ ਹੈ।
ਹੇਠਾਂ ਉੱਪਰ ਦਿੱਤੀਆਂ ਉਦਾਹਰਨਾਂ ਲਈ ਵਰਤੇ ਗਏ ਮੌਡਿਊਲ ਦੇ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦਾ ਇੱਕ ਅੰਸ਼ ਦਿੱਤਾ ਗਿਆ ਹੈ:
<syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਮੌਡਿਊਲ:BananasArgs#L-13]]--
local p = {} -- ਲੋੜੀਂਦੀ ਮੌਡਿਊਲ (p)ੈਕੇਜ ਟੇਬਲ, ਖਾਲੀ ਟੇਬਲ ਵਜੋਂ ਸ਼ੁਰੂ ਕੀਤੀ ਗਈ
function p.hello(frame) -- hello ਫੰਕਸ਼ਨ ਦੀ ਪਰਿਭਾਸ਼ਾ।
local name = frame.args[1] -- ਇਸ ਵਿੱਚ ਪਹਿਲਾ ਨਾਮ ਹੁੰਦਾ ਹੈ।
return "Hello, " .. name .. "!" -- `..` ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੰਕਸ਼ਨ ਦਾ ਨਤੀਜਾ ਇੱਕ ਸਤਰ ਵਜੋਂ ਜੋੜ ਕੇ ਵਾਪਸ ਕਰੋ।
end -- ਫੰਕਸ਼ਨ ਦਾ ਅੰਤ।
return p -- ਮੌਡਿਊਲ ਦੀ (p)ੈਕੇਜ ਟੇਬਲ ਵਾਪਸ ਕਰੋ।
</syntaxhighlight>
ਲੂਆ ਦਾ ਇੱਕ ਨਮੂਨਾ <code><nowiki><syntaxhighlight lang="lua" line highlight=1 copy> ... </syntaxhighlight></nowiki></code> ਟੈਗ ਨੂੰ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦੇ ਆਲੇ-ਦੁਆਲੇ ਰੱਖ ਕੇ ਉਜਾਗਰ ਕੀਤਾ ਜਾਂਦਾ ਹੈ। ਲੂਆ ਦੀਆਂ ਕੁਝ ਹੋਰ ਜਟਿਲ ਉਦਾਹਰਨਾਂ ਵੇਖਣ ਲਈ ਲੇਖ [[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)]] ਵੇਖੋ।
MediaWiki (ਅਤੇ ਇਸ ਕਰਕੇ ਵਿਕੀਪੀਡੀਆ) ਵਿੱਚ ਲੂਆ ਦੀ ਵਰਤੋਂ ਕਰਨ ਦੇ ਨਿਰਦੇਸ਼ਾਂ ਲਈ [[mw:Extension:Scribunto/ਲੂਆ reference manual]] ਵੇਖੋ।
== ਯੂਨਿਟ ਪਰਖਣਾ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ Lua ਸਕ੍ਰਿਪਟਾਂ ਲਈ ਇਕਾਈ ਟੈਸਟਿੰਗ ਫਰੇਮਵਰਕ [[ਮੌਡਿਊਲ:ScribuntoUnit]] ਵਿੱਚ ਉਪਲਬਧ ਹੈ।<br />
ਇਹ ਤੁਹਾਨੂੰ ਦਿੱਤੇ ਗਏ ਇਨਪੁੱਟਾਂ ਦੇ ਸਮੂਹ ਉੱਤੇ ਆਪਣੀ ਸਕ੍ਰਿਪਟ ਚਲਾਉਣ ਅਤੇ ਇਹ ਪੁਸ਼ਟੀ ਕਰਨ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ ਕਿ ਉਮੀਦ ਕੀਤੇ ਆਉਟਪੁੱਟ ਤਿਆਰ ਹੋਏ ਹਨ।<br />
ਇਕਾਈ ਟੈਸਟ ਖ਼ਾਸ ਤੌਰ ’ਤੇ ਰਿਗ੍ਰੈਸ਼ਨਾਂ ਨੂੰ ਤੇਜ਼ੀ ਨਾਲ ਖੋਜਣ ਲਈ ਲਾਭਦਾਇਕ ਹੁੰਦੇ ਹਨ, ਜਿੱਥੇ ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਵਿੱਚ ਕੀਤੀਆਂ ਤਬਦੀਲੀਆਂ ਨਵੀਆਂ ਸਮੱਸਿਆਵਾਂ ਪੈਦਾ ਕਰਦੀਆਂ ਹਨ।
ਰਿਵਾਜ ਅਨੁਸਾਰ, [[ਮੌਡਿਊਲ:Bananas]] ਵਰਗੇ ਮੌਡਿਊਲ ਲਈ ਇਕਾਈ ਟੈਸਟ <syntaxhighlight lang="lua" inline>ਮੌਡਿਊਲ:</syntaxhighlight><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/testcases|testcases]]</code>''' ਵਿੱਚ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।<br />
ਇਹ '''<code>[[ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:Bananas/testcases|ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:]]</code>'''<code>Bananas/testcases</code> ਉੱਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas/testcases|</syntaxhighlight>'''<code>run</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਨਾਲ ਚਲਾਏ ਜਾਂਦੇ ਹਨ।
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="wikitext" line highlight=1 copy>
{{#invoke:Bananas/testcases|run}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Bananas/testcases|run}}
</blockquote>
ਹਰ ਟੈਸਟ ਵਿਧੀ ਦੀ ਸ਼ੁਰੂਆਤ <syntaxhighlight lang="lua" inline>p:</syntaxhighlight>'''<code>test_</code>''' ਨਾਲ ਹੋਣੀ ਲਾਜ਼ਮੀ ਹੈ।
[[ਮੌਡਿਊਲ:Bananas/testcases]] ਤੋਂ ਇੱਕ ਉਦਾਹਰਨ ਹੇਠਾਂ ਦਿੱਤੀ ਗਈ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
--[[ਮੌਡਿਊਲ:Bananas/testcases]]--
local p = require('ਮੌਡਿਊਲ:ScribuntoUnit').new()
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- ਟੈਸਟ ਚਲਾਉਣ ਲਈ ਗੱਲ-ਬਾਤ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ।
function p:test_hi() -- [[ਮੌਡਿਊਲ:Bananas]] ਲਈ ਇਕਾਈ ਟੈਸਟ।
self:assertEquals('Hello, world!', modHi.hello())
end
return p
</syntaxhighlight></blockquote>
[[ਮੌਡਿਊਲ:ScribuntoUnit]] ਦੀ ਸ਼ੁਰੂਆਤ ਹੰਗਰੀ ਵਿਕੀਪੀਡੀਆ ਤੋਂ ਹੋਈ ਹੈ।<br />
ਇਹ ਅਸਲ ਤਰੁੱਟੀਆਂ ਪੈਦਾ ਕਰਦਾ ਹੈ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਸੁਰੱਖਿਅਤ ਕਾਲਾਂ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੜਿਆ ਜਾਂਦਾ ਹੈ। ਇਸ ਵਿੱਚ ਦਿੱਤੀ ਗਈ ਸ਼ੁੱਧਤਾ ਦੇ ਅੰਦਰ ਫਲੋਟਾਂ ਦੀ ਤੁਲਨਾ ਕਰਨ ਲਈ ਇੱਕ ਵਿਧੀ ਵੀ ਹੈ।
ਇਕਾਈ ਟੈਸਟਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨ ਵਾਲੇ ਸਾਰੇ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ ਲਈ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:ScribuntoUnit]] ਵੇਖੋ।
== ਵਿਕੀਪੀਡੀਆ ਵਿਸ਼ੇਸ਼ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ==
ਕੁੱਲ ਮਿਲਾ ਕੇ: Lua ਨੂੰ ਇਨਪੁੱਟ ਵਜੋਂ ਸਿਰਫ਼ <code><nowiki>{{#invoke:}}</nowiki></code> ਨੂੰ ਦਿੱਤੀਆਂ ਪਾਠ-ਸਤਰਾਂ ਅਤੇ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.title.new|mw.title.new(...)]]:getContent()</code> तथा <code>[[mw:Extension:Scribunto/Lua reference manual#frame:expandTemplate|frame:expandTemplate()]]</code> ਰਾਹੀਂ ਪ੍ਰਾਪਤ ਕੀਤੀ ਜਾ ਸਕਣ ਵਾਲੀ ਸਮੱਗਰੀ ਹੀ ਮਿਲ ਸਕਦੀ ਹੈ। Lua ਦੇ ਆਉਟਪੁੱਟ ਨੂੰ ਪਹਿਲਾਂ ਤੋਂ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤਾ ਜਾਂਦਾ, ਜਦੋਂ ਤੱਕ <code>[[mw:Extension:Scribunto/Lua reference manual#frame:preprocess|frame:preprocess()]]</code> ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਕਾਲ ਨਾ ਕੀਤਾ ਜਾਵੇ। ਇਸ ਦਾ ਅਰਥ ਹੈ ਕਿ ਆਉਟਪੁੱਟ ਵਿੱਚ ਟੈਂਪਲੇਟ ਕਾਲਾਂ ਅਤੇ ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਸਹੀ ਢੰਗ ਨਾਲ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(mw.title.getCurrentTitle())
print(mw.getCurrentFrame():preprocess('{{PAGENAME}}'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=3>
ਮੌਡਿਊਲ:Yesno
Yesno
</syntaxhighlight></blockquote>
ਇਹ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.ustring.len|mw.ustring.len]]</code> ਫੰਕਸ਼ਨ ਦੀ ਵਰਤੋਂ <code>[[mw:Extension:Scribunto/Lua reference manual#string.len|string.len]]</code> ਦੀ ਬਜਾਇ ਕਰਨੀ ਬਿਹਤਰ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਯੂਨੀਕੋਡ]]--
local code = mw.getContentLanguage().code
local lang = mw.getCurrentFrame():callParserFunction("#language", code)
local lenUnicode = mw.ustring.len(lang) -- ਅੱਖਰਾਂ ਦੀ ਗਿਣਤੀ
local lenByte, lenSharp = string.len(lang), #lang -- ਬਾਈਟਾਂ ਦੀ ਗਿਣਤੀ
local msg = "code: \"%s\". lang: \"%s\". mw.ustring.len = %d string.len = %d sharp = %d"
print((msg):format(code, lang, lenUnicode, lenByte, lenSharp))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=8>
code: "pa". lang: "ਪੰਜਾਬੀ". mw.ustring.len = 6 string.len = 18 sharp = 18
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</blockquote>
ਵਿਕੀ ਸਫ਼ੇ ਵਿੱਚ, ਸਾਰਾ Lua ਕੋਡ (ਜਿਸ ਵਿੱਚ ਲੰਬੇ ਅੰਕੜਾ-ਹਿਸਾਬ ਜਾਂ ਬੇਅੰਤ <syntaxhighlight lang="lua" inline>while</syntaxhighlight> ਜਾਂ <syntaxhighlight lang="lua" inline>repeat</syntaxhighlight> ਲੂਪ ਵੀ ਸ਼ਾਮਲ ਹਨ) '''10 ਸ'''ਕਿੰਟ ਦੇ CPU ਸਮੇਂ ਤੱਕ ਸੀਮਿਤ ਹੈ। ਤੁਸੀਂ ਰੈਂਡਰ ਕੀਤੇ ਸਫ਼ੇ ਦੇ ਸਰੋਤ ਕੋਡ ਵਿੱਚ ਦੇਖ ਸਕਦੇ ਹੋ ਕਿ ਕਿਸੇ ਟੈਂਪਲੇਟ ਜਾਂ ਮੌਡਿਊਲ ਨੂੰ ਪਾਰਸ ਹੋਣ ਵਿੱਚ ਕਿੰਨਾ ਸਮਾਂ ਲੱਗਿਆ।
ਮਿਆਰੀ Lua ਦੇ ਮੁਕਾਬਲੇ, Scribunto ਦਾ Lua ਸੁਰੱਖਿਅਤ ਫੰਕਸ਼ਨ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ (ਮਿਆਰੀ Lua ਤੋਂ [[mw:Extension:Scribunto/Lua_reference_manual#Differences_from_standard_Lua|ਅੰਤਰ]] ਵੇਖੋ)।
=== ਲੂਆ ਇਨਪੁੱਟ ਕਮੀਆਂ ===
Scribunto ਵਿੱਚ Lua ਕੋਡ ਸਿਰਫ਼ ਉਦੋਂ ਹੀ ਚਲਾਇਆ ਜਾਂਦਾ ਹੈ ਜਦੋਂ ਸਫ਼ੇ ਨੂੰ ਪਾਰਸ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੋਵੇ। ਇਸ ਲਈ, Lua ਨੂੰ ਮਿਲਣ ਵਾਲਾ ਇਕਲੌਤਾ ਯੂਜ਼ਰ ਇਨਪੁੱਟ ''ਸਫ਼ੇ ਦੀ ਸੋਧ'' ਰਾਹੀਂ ਹੀ ਹੋ ਸਕਦਾ ਹੈ - ਇਹ ਅਜਿਹਾ ਇਨਪੁੱਟ ਬਾਕਸ ਨਹੀਂ ਬਣਾ ਸਕਦਾ ਜਿਸ ਵਿੱਚ ਤੁਸੀਂ ਫੈਰਨਹਾਈਟ ਤਾਪਮਾਨ ਦਰਜ ਕਰੋ ਅਤੇ ਕਿਸੇ ਬਟਨ ਨੂੰ ਦਬਾਉਣ ’ਤੇ ਉਸ ਨਾਲ ਸੰਬੰਧਿਤ ਸੈਲਸੀਅਸ ਤਾਪਮਾਨ ਪ੍ਰਾਪਤ ਕਰ ਸਕੋ, ਜਾਂ ਇਸ ਗੱਲ ਦੇ ਆਧਾਰ ’ਤੇ ਮੈਂਡਲਬਰੋਟ ਸੈੱਟ ਦੇ ਕਿਸੇ ਹਿੱਸੇ ਦੀ ਮੁੜ ਗਣਨਾ ਕਰ ਸਕੋ ਕਿ ਤੁਸੀਂ ਮੂਲ ਸੈੱਟ ਦੇ ਕਿਹੜੇ ਹਿੱਸੇ ’ਤੇ ਕਲਿੱਕ ਕਰਦੇ ਹੋ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
local function toCelsius(tempFahrenheit) return (tempFahrenheit - 32) * 5 / 9 end
print(("toCelsius(32°F) = %s°C. toCelsius(68°F) = %d°C"):format(toCelsius(32), toCelsius(68)))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
toCelsius(32°F) = 0°C. toCelsius(68°F) = 20°C
</syntaxhighlight></blockquote>
Lua ਇਨਪੁੱਟ ਵਿਕੀਪੀਡੀਆ ਦੇ ਕਿਸੇ ਵੀ ਅਜਿਹੇ ਪਾਠ ਸਫ਼ੇ ਦੀ ਵਰਤੋਂ ਕਰ ਸਕਦਾ ਹੈ ਜਿਸ ਨੂੰ ਕਿਸੇ ਹੋਰ ਸਫ਼ੇ ਵਿੱਚ [[ਵਿਕੀਪੀਡੀਆ:Transclusion|ਸ਼ਾਮਲ]] ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੋਵੇ। ਇਸ ਵਿੱਚ ਚਿੱਤਰ ਫ਼ਾਈਲਾਂ, ਸਕੇਲੇਬਲ ਵੈਕਟਰ ਗ੍ਰਾਫ਼ਿਕਸ (SVG) ਫ਼ਾਈਲਾਂ, [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]] ਦੀਆਂ ਸੂਚੀਆਂ ਜਾਂ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:UnitTests]] ਵਰਗੇ ਖ਼ਾਸ ਸਫ਼ੇ ਸ਼ਾਮਲ ਨਹੀਂ ਹਨ।
== ਡੀਬੱਗ ਕਰਨਾ ==
=== ਨਾਂ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਵਿੱਚ ਸਮੱਸਿਆ ਨੂੰ ਸਰਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |state=NY |type=NY |route=343}}
</blockquote>
ਗਲਤੀ ਵਾਲੇ ਸੁਨੇਹੇ 'ਤੇ ਕਲਿੱਕ ਕਰੋ, ਫਿਰ ਲਾਈਨ 107 ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Infobox_road/route at line 107: bad argument #1 to 'wikitext' ('''string''' or number expected, got <s>boolean</s>).
</blockquote>
<code>wikitext</code> ਫੰਕਸ਼ਨ Boolean ਮੁੱਲ <code>false</code> ਨੂੰ ਸਵੀਕਾਰ ਨਹੀਂ ਕਰਦਾ।
<blockquote><syntaxhighlight lang="lua" start=107 line highlight=1>
container:tag('p'):cssText('margin:0.1em;'):wikitext(name)
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<code>|name=</code> ਪੈਰਾਮੀਟਰ ਪਰਿਭਾਸ਼ਿਤ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</blockquote>
=== ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਦੇ "ਮੁੱਖ ਜੰਕਸ਼ਨ" ਭਾਗ ਵਿੱਚ ਬਾਕੀ ਤਿੰਨ ਸਮੱਸਿਆਵਾਂ ਨੂੰ ਸਰਲ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{jct|state=NY|NY|82}}
</syntaxhighlight></blockquote>
<blockquote>
{{jct|state=NY|NY|82}}
</blockquote>
{{collapse top|title=ਲੂਆ ਕੋਡ ਵਿੱਚ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਜੋੜਨਾ}}
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local modJunction = require('ਮੌਡਿਊਲ:jct')
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(modJunction.jct(frame))
</syntaxhighlight></blockquote>
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Jct at line 204: attempt to concatenate local 'link' (a boolean value).<br />
Backtrace:<br />
ਮੌਡਿਊਲ:Jct:204: in function "routeText"
</blockquote>
[[ਮੌਡਿਊਲ:Jct#L-204]] ਵਿੱਚ, <code>link</code> ਦਾ ਮੁੱਲ <code>false</code> ਹੈ, ਪਰ ਇੱਥੇ ਇੱਕ ਸਤਰ ਦੀ ਲੋੜ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=12>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route
else
link = p.link(route)
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# Lua ਕੋਡ ਵਿੱਚ ਦੋ ਕਸਟਮ <syntaxhighlight lang="lua" inline>error()</syntaxhighlight> ਕਾਲਾਂ ਜੋੜ ਕੇ ਅਸਥਾਈ ਤੌਰ 'ਤੇ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਲਗਾਓ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=6,8>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route; error("link1=" .. tostring(link))
else
link = p.link(route); error("link2=" .. tostring(link))
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# "<s>ਸਫ਼ਾ ਛਾਪੋ</s>" (<s>ਤਬਦੀਲੀਆਂ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ</s>। <s>Publish changes</s>) 'ਤੇ '''<span style="color:red;">ਕਲਿੱਕ ਨਾ ਕਰੋ</span>'''।
<code>ਮੌਡਿਊਲ:</code>'''<code>[[ਮੌਡਿਊਲ:Jct|Jct]]</code>''' ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
# ਦੂਜੀ ਕਸਟਮ ਗਲਤੀ ਦਿਖਾਈ ਦੇਵੇਗੀ।
<blockquote style="color:#bf3c2c;">
Lua error at line 200: link2=false.
</blockquote>
# ਦੋਵੇਂ ਕਸਟਮ ਗਲਤੀ ਕਾਲਾਂ ਹਟਾਓ। ਸਮੱਸਿਆ <code>p.link</code> ਫੰਕਸ਼ਨ ਵਿੱਚ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=2,4>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr')
if nolink then
return abbr
else
local link = parser(route, 'link')
if not link or link == '' then
return abbr
else
return format("[[%s|%s]]", link, abbr)
end
end
end
</syntaxhighlight></blockquote>
ਵਿਕੀ ਸਫ਼ਾ [[:en:New York State Route 82]] ਮੌਜੂਦ ਨਹੀਂ ਹੈ। ਇਸ ਲਈ <code>link</code> ਅਤੇ <code>abbr</code> ਦੋਵਾਂ ਦਾ ਮੁੱਲ <code>false</code> ਹੈ।
# ਜਦੋਂ ਸੰਖੇਪ ਰੂਪ ਪਰਿਭਾਸ਼ਿਤ ਨਾ ਹੋਵੇ, ਤਾਂ ਉਸਨੂੰ ਸੰਭਾਲਣ ਲਈ Lua ਕੋਡ ਵਿੱਚ ਸੁਧਾਰ ਕਰੋ।
# <syntaxhighlight lang="lua" inline>false</syntaxhighlight> ਦੀ ਥਾਂ <syntaxhighlight lang="lua" inline> or ''</syntaxhighlight> ਜੋੜ ਕੇ ਖਾਲੀ ਸਤਰ <syntaxhighlight lang="lua" inline>""</syntaxhighlight> ਵਾਪਸ ਕਰੋ।
{{collapse bottom}}
=== ਵਿਕੀਟੈਕਸਟ ===
ਸ਼ਾਮਲ ਕੀਤੇ ਗਏ ਵਿਕੀਪੀਡੀਆ ਸਿਰਲੇਖਾਂ ਵਿੱਚ ਅਕਸਰ <syntaxhighlight lang="lua" inline>"UNIQ5ae8f2aa414ff233-h-3--QINU"</syntaxhighlight> ਵਰਗਾ ਲੁਕਿਆ ਹੋਇਆ ਕੋਡ ਹੁੰਦਾ ਹੈ, ਜਿਸ ਨੂੰ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਢੰਗ ਨਾਲ ਪਾਰਸ ਕਰਨ ਲਈ ਹਟਾਉਣ ਦੀ ਲੋੜ ਪੈ ਸਕਦੀ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(string.reverse("UNIQ"))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=2>
QINU
</syntaxhighlight></blockquote>
ਪਾਈਪ <code><nowiki>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ</nowiki></code>'''<code><nowiki>|</nowiki></code>'''<code><nowiki>]]</nowiki></code> ਤੋਂ ਬਾਅਦ ਪ੍ਰਗਟਾਵੇ ਤੋਂ ਬਿਨਾਂ ਵਾਲੇ ਵਿਕੀਲਿੰਕ, ਜੇ ਆਉਟਪੁੱਟ ਵਜੋਂ ਵਾਪਸ ਕੀਤੇ ਜਾਣ, ਤਾਂ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ - ਇਨ੍ਹਾਂ ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਇਸ ਤਰ੍ਹਾਂ ਲਿਖਣ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ: <syntaxhighlight lang="lua" inline>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|</syntaxhighlight>'''<code>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|ਮਦਦ]]</code>'''<syntaxhighlight lang="lua" inline>]]</syntaxhighlight>।
ਸੇਵ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਹੋਣ ਵਾਲੀਆਂ ਹੋਰ ਤਬਦੀਲੀਆਂ ਵੀ, ਜਿਵੇਂ ਕਿ <code>~~<nowiki/>~~</code> ਨੂੰ ਦਸਤਖ਼ਤਾਂ ਨਾਲ ਬਦਲਣਾ, ਪ੍ਰਕਿਰਿਆ ਵਿੱਚ ਨਹੀਂ ਆਉਣਗੀਆਂ। ਟੈਂਪਲੇਟ ਟ੍ਰਾਂਸਕਲੂਜ਼ਨ, ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਕਾਲਾਂ ਅਤੇ ਵੇਰੀਏਬਲ ਬਦਲਾਅ (ਅਰਥਾਤ <code><nowiki>{{...}}</nowiki></code> ਵਾਲੀ ਕੋਈ ਵੀ ਚੀਜ਼) ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ। ਇਸੇ ਤਰ੍ਹਾਂ {{tag|ref|o}} ਜਾਂ {{tag|nowiki|o}} ਵਰਗੇ ਟੈਗ ਵੀ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ।
== ਬਦਲੇ ਹੋਏ ਫਰਮਿਆਂ ਦਾ ਨਾਮਕਰਨ==
{{lua|ਮੌਡਿਊਲ:Bananas}}
ਕਿਰਪਾ ਕਰਕੇ {{tl|lua}} ਫਰਮਿਆਂ ਨੂੰ ਉਹਨਾਂ ਸਾਰੇ ਫਰਮਿਆਂ ਦੇ ਡਾਕੂਮੈਂਟੇਸ਼ਨ ਉੱਪ-ਪੰਨਿਆਂ ਉੱਤੇ ਰੱਖੋ ਜੋ ਲੂਆ ਵਰਤਦੇ ਹਨ, ਇਹ ਲੂਆ ਵਰਤੋਂ ਅਤੇ ਫਰਮਾ ਪਰਿਵਰਤਨਾਂ ਦੇ ਸਹਿਯੋਗ ਵਿੱਚ ਮਦੱਦ ਕਰੇਗਾ|
{{clear}}
== ਇਹ ਵੀ ਦੇਖੋ ==
* [[ਖ਼ਾਸ:ਅਗੇਤਰ ਤਤਕਰਾ/ਮੌਡਿਊਲ:]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ
* [[:ਸ਼੍ਰੇਣੀ:Lua-based templates]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਦੇ ਸਮੂਹ
* [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]]
* [[:ਮੌਡਿਊਲ:Sandbox]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਨਾਲ ਪ੍ਰਯੋਗ ਕਰਨ ਲਈ ਇੱਕ pseudo-namespace ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ
; ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਪੀਡੀਆ-ਵਿਸ਼ੇਸ਼ ਸਰੋਤ
* [[Wikipedia:Lua style guide]] – ਇਕਸਾਰਤਾ ਰਾਹੀਂ ਕੋਡ ਦੀ ਪੜ੍ਹਨਯੋਗਤਾ ਸੁਧਾਰਨ ਲਈ ਮਿਆਰ
* [[:en:Help:Lua debugging]] – ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਡੀਬੱਗਿੰਗ ਬਾਰੇ ਇੱਕ ਕਿਵੇਂ-ਕਰਨਾ ਗਾਈਡ
* [[:en:Wikipedia talk:Lua]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਜਾਂ ਕੰਮਾਂ ਲਈ ਬੇਨਤੀਆਂ
== ਨੋਟਸ ==
{{reflist}}
{{Wikipedia technical help|collapsed}}
[[Category:Wikipedia modules]]
og7y1kataf58jfgvl3jc0jtv7y6dr3o
849429
849428
2026-10-08T16:50:11Z
Nimmzo
62202
/* ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ */ At line 179, add at the end: ` or ''`. If `parser(route, 'abbr')` is `false`, then returns the empty string
849429
wikitext
text/x-wiki
{{WikiProject Lua/header}}
{{Namespaces}}
{{Information page|WP:Lua}}
[[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)|ਲੂਆ]] ਇੱਕ ਪ੍ਰੋਗ੍ਰਾਮਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜੋ ਹੁਣ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ, [[mw: Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਮੀਡੀਆਵਿਕੀ ਐਕਸਟੈਂਸ਼ਨ ਰਾਹੀਂ ਉਪਲਬਧ ਹੈ। ਲੁਆ ਕੋਡ ਨੂੰ ਹੁਣ ਵਿਕੀਪੀਡੀਆ ਟੈਂਪਲੈਂਟਾਂ ਵਿੱਚ ਸਕਿਰਬੰਟੋ ਦੇ <syntaxhighlight lang="lua" inline>{{#invoke:}}</syntaxhighlight> ਫੰਕਸ਼ਨ ਨੂੰ ਲਾਗੂ ਕਰਕੇ ਜੜਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਹ ਐਕਸਟੈਨਸ਼ਨ ਜੁਲਾਈ 2015 ਤੋਂ ਲੁਆ 5.1 {{as of|lc=y|2015|07}} ਨੂੰ ਸਪੋਰਟ ਕਰਦੀ ਹੈ।
== ਲੂਆ ਵਿੱਚ ਹੈਲੋ ਵਰਲਡ! ==
<code>[[ਮੌਡਿਊਲ:Bananas]]</code>: ਸਰਲਤਮ ਸੰਭਵ ਸਕ੍ਰਿਪਟ, ਜੋ ਕੋਈ ਵੀ ਆਰਜੂਮੈਂਟ ਵਾਲਾ ਇੱਕ ਸਿੰਗਲ ਫੰਕਸ਼ਨ ਦਿੰਦੀ ਹੈ
ਲੁਆ ਸੋਰਸ ਕੋਡ ਮੌਡਿਊਲਜ਼ (ਯਾਨਿ ਕਿ, <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>) ਨਾਮਕ ਪੰਨਿਆਂ ਵਿੱਚ ਜਮਾਂ ਹੁੰਦੇ ਜਾਂਦੇ ਹਨ। ਇਹ ਵਿਅਕਤੀਗਤ ਮੌਡਿਊਲਜ਼ ਫੇਰ ਟੈਂਪਲੈਂਟ ਪੰਨਿਆਂ ਉੱਤੇ <syntaxhighlight lang="wikitext" inline>{{#invoke:}}</syntaxhighlight> ਕੋਡ ਰਾਹੀਂ ਇਨਵੋਕ (ਬੁਲਾਏ) ਕੀਤੇ ਜਾਂਦੇ ਹਨ। (ਜਿਵੇਂ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/doc|doc]]</code>''' ਇਸ <syntaxhighlight lang="lua" inline>"Hello, world!"</syntaxhighlight> ਸ਼ਬਦਾਂ ਨੂੰ ਛਾਪਣ ਵਾਸਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas|</syntaxhighlight>'''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਕੋਡ ਵਰਤਦਾ ਹੈ।)
ਤੁਹਾਨੂੰ ਕੁਝ ਵੀ ਇੰਸਟਾਲ ਜਾਂ ਸੇਵ ਕਰਨ ਦੀ ਲੋੜ ਨਹੀਂ ਹੈ।
# ਆਪਣਾ ਯੂਜ਼ਰ ਪੰਨਾ ਸੰਪਾਦਿਤ ਕਰੋ।
# ਆਪਣੇ ਯੂਜ਼ਰ ਪੰਨੇ ’ਤੇ ਨਵੀਂ ਲਾਈਨ ਦੇ ਸ਼ੁਰੂ ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੀ ਕਾਲ ਚਿਪਕਾਓ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Bananas|hello}}
</syntaxhighlight></blockquote>
<ol start="3">
<li>'''<code>ਝਲਕ ਵਿਖਾਓ</code>''' ’ਤੇ ਕਲਿੱਕ ਕਰੋ। <syntaxhighlight lang="lua" inline>hello</syntaxhighlight> ਫੰਕਸ਼ਨ ਦੀ ਕਾਲ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੇ ਨਾਲ ਬਦਲ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ:</li>
</ol>
<blockquote><syntaxhighlight lang="lua" line>
Hello, world!
</syntaxhighlight></blockquote>
<ol start="4">
<li><code style="color:#bf3c2c;">ਰੱਦ ਕਰੋ</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ। ਪੁੱਛੇ ਜਾਣ ’ਤੇ, <code>Leave</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ।</li>
<li>ਤੁਹਾਡਾ ਯੂਜ਼ਰ ਪੰਨਾ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।</li>
</ol>
=== ਆਰਜੂਮੈਂਟਾਂ ਵਰਤਣਾ ===
ਆਰਜੂਮੈਂਟਾਂ ਮੌਡਿਊਲਾਂ ਵੱਲ ਉਸੇ ਤਰੀਕੇ ਨਾਲ ਪਾਸ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਜਿਸਤਰਾਂ ਫਰਮੇ ਪਾਸ ਹੁੰਦੇ ਹਨ। ਫੇਰ ਵੀ, ਨੋਟ ਕਰੋ ਕਿ ਪਹਿਲੇ ਪਾਈਪ ਅੱਖਰ ਤੋਂ ਬਾਦ ਦੇ ਅਗਲੇ ਅੱਖਰ ਹਮੇਸ਼ਾਂ ਹੀ ਫੰਕਸ਼ਨ ਦਾ ਨਾਮ ਹੁੰਦੇ ਹਨ; ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਦੂਜੀ ਪਾਈਪ ਤੋਂ ਬਾਦ ਦੇ ਟੈਕਸਟ ਹੁੰਦੇ ਹਨ।
<blockquote><syntaxhighlight lang="lua" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਆਰਗੂਮੈਂਟ}}
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:BananasArgs]]</code>: ਸਿੱਧ ਕਰਕੇ ਦਿਖਾਉਂਦੀ ਹੈ ਕਿ ਪੈਰਾਮੀਟਰਾਂ ਨੂੰ ਕਿਵੇਂ ਵਰਤਣਾ ਅਤੇ ਕ੍ਰਿਆਸ਼ੀਲ ਕਰਨਾ ਹੈ
ਉਦਾਹਰਨ ਦੇ ਤੌਰ ਤੇ, <code>ਮੌਡਿਊਲ:</code><code>BananasArgs</code> ਵਿੱਚ, '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-13|hello]]</code>''' ਫੰਕਸ਼ਨ ਵੱਖਰੇ ਲੋਕਾਂ ਦਾ ਸਵਾਗਤ ਕਰਨਾ ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਤੇ ਨਿਰਭਰ ਕਰਦਾ ਹੈ। ਇਹ ਇਸਤਰਾਂ ਕੰਮ ਕਰਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</blockquote>
;ਨਾਮਿਤ ਆਰਗੂਮੈਂਟ <code>|ਕੁੰਜੀ=ਮੁੱਲ</code>
<blockquote><syntaxhighlight lang="wikitext" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ1=ਮੁੱਲ1|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ2=ਮੁੱਲ2}}
</syntaxhighlight></blockquote>
BananasArgs ਕੋਲ ਇੱਕ '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-26|count_fruit]]</code>''' ਨਾਮਕ ਫੰਕਸ਼ਨ ਵੀ ਹੁੰਦਾ ਹੈ ਜੋ <code>|bananas=</code> and <code>|apples=</code> ਨਾਮਕ ਆਰਜੂਮੈਂਟ ਵਰਤਦਾ ਹੈ ਜਿਸਨਾਲ ਸਾਡੇ ਕੋਲ ਮੌਜੂਦ ਕੇਲਿਆਂ (ਬਾਨਾਨਾਜ਼) ਅਤੇ ਸੇਬਾਂ ਦੀ ਸੰਖਿਆ ਗਿਣੀ ਜਾਂਦੀ ਹੈ। ਇਸਨੂੰ ਆਰਗੂਮੈਂਟਾਂ ਦਾ ਕ੍ਰਮ ਬਦਲ ਕੇ ਚਲਾਇਆ ਜਾ ਸਕਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</blockquote>
ਜਿਆਦਾਤਰ ਮੌਡਿਊਲਜ਼ ਇੱਕ ਡੌਕੂਮੈਂਟੇਸ਼ਨ ਪੰਨਾ ਰੱਖਦੇ ਹੋਣਗੇ ਜਿਸਵਿੱਚ ਇਹ ਸਮਝਾਇਆ ਗਿਆ ਹੁੰਦਾ ਹੈ ਕਿ ਕਿਹੜੀਆਂ ਆਰਜੂਮੈਂਟਾਂ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ ਅਤੇ ਉਹਨਾਂ ਦੇ ਪ੍ਰਭਾਵ ਕੀ ਹੋਣਗੇ ।
== ਡੀਬੱਗ ਕੌਨਸੋਲ: ਲੂਆ ਸਿੱਖਣਾ ਸ਼ੁਰੂ ਕਰੋ ==
ਲੂਆ Scribunto ਦਾ <code>Debug Console</code> ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ ਲੂਆ ਸਿੱਖਣ ਲਈ ਇੱਕ ਸੁਰੱਖਿਅਤ, ਇੰਟਰਐਕਟਿਵ ਟੂਲ ਹੈ।
# [[ਮੌਡਿਊਲ:Yesno]] ਪੰਨੇ ‘ਤੇ <code>ਸਰੋਤ ਵੇਖੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰੋ।
# ਪੰਨੇ ਦੇ ਹੇਠਾਂ <code>Debug console</code> ਭਾਗ ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
# ਟਿੱਪਣੀ ਅਤੇ ਕਾਲ ਨੂੰ <span style="color:#eaecf0;">ਹਲਕਾ</span> <span style="color:blue;">ਨੀਲਾ</span> ਇਨਪੁੱਟ ਬਾਕਸ ਵਿੱਚ ਪੇਸਟ ਕਰੋ (ਜੋ <code>ਸਾਫ਼ ਕਰੋ</code> ਬਟਨ ਦੇ ਉੱਪਰ ਹੈ)।
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
--[[ਤੁਹਾਡਾ ਪਹਿਲਾ ਲੂਆ Hello World-ਜਿਹਾ ਪ੍ਰੋਗਰਾਮ]]--
print("ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ " .. _VERSION .. "!") -- ਲੂਆ ਸੰਸਕਰਣ ਨੂੰ `..` ਨਾਲ ਜੋੜੋ
</syntaxhighlight></blockquote>
<ol start="4">
<li>ਦੋ ਲੂਆ ਕਮਾਂਡਾਂ ਨੂੰ ਚਲਾਉਣ ਲਈ {{key press|Enter}} ਇੱਕ ਵਾਰ ਦਬਾਓ।</li>
<li>ਨਤੀਜਾ ਲੂਆ <syntaxhighlight lang="lua" inline>print</syntaxhighlight> ਕਮਾਂਡ ਲਾਈਨ ਦੇ ਹੇਠਾਂ ਦਿਖਾਈ ਦੇਵੇਗਾ:</li>
</ol>
<blockquote><syntaxhighlight lang="text" line start=3>
ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ Lua 5.1!
</syntaxhighlight></blockquote>
<ol start="6">
<li>ਪਿਛਲੀਆਂ ਲੂਆ ਕਮਾਂਡਾਂ ਵਿਚਕਾਰ ਜਾਣ ਲਈ {{key press|Up}} <code>Up arrow</code> ਦਬਾਓ।</li>
<li>ਚਾਹੋ ਤਾਂ <code>ਸਾਫ਼ ਕਰੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰਕੇ ਸਿਰਫ਼ <code>Debug Console</code> ਨੂੰ ਸਾਫ਼ ਕਰੋ; ਉੱਪਰ ਵਾਲਾ ਲੂਆ ਸੰਪਾਦਕ '''ਬਦਲਿਆ ਨਹੀਂ ਜਾਵੇਗਾ'''।</li>
</ol>
; ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ HTML ਜਨਰੇਟਰ
<code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ '''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>''' ਫੰਕਸ਼ਨ ਨੂੰ ਕਾਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- Debug console ਵਿੱਚ ਮੌਡਿਊਲ ਲੋਡ ਕਰੋ
print(modHi.hello()) -- "Hello, world!" ਦਿਖਾਓ
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
Hello, world!
</syntaxhighlight></blockquote>
;ਆਰਗੂਮੈਂਟ
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
local modArg = require('ਮੌਡਿਊਲ:BananasArgs')
local frame = mw.getCurrentFrame()
frame.args = {"ਜਸਪ੍ਰੀਤ"}; print("੧. " .. modArg.hello(frame))
frame.args = {"ਗੁਰਪ੍ਰੀਤ"}; print("੨. " .. modArg.hello(frame))
frame.args = {apples="3", bananas="4"}; print("੩. " .. modArg.count_fruit(frame))
frame.args = {bananas="5", apples="2"}; print("੪. " .. modArg.count_fruit(frame))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=7>
੧. Hello, ਜਸਪ੍ਰੀਤ!
੨. Hello, ਗੁਰਪ੍ਰੀਤ!
੩. I have 4 bananas and 3 apples
੪. I have 5 bananas and 2 apples
</syntaxhighlight></blockquote>
; ਪਛਾਣ ਫੰਕਸ਼ਨ
<code>callParserFunction</code> [[mw:Help:Extension:ParserFunctions##if|#if]]
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local yesno = require('ਮੌਡਿਊਲ:Yesno') -- #if yesno then ਆਪਣਾ ਇਨਪੁੱਟ ਪੈਰਾਮੀਟਰ ਵਾਪਸ ਕਰਦਾ ਹੈ
print(mw.getCurrentFrame():callParserFunction("#if", yesno("Yes"), "Yes", 'no'))
print(mw.getCurrentFrame():callParserFunction("#if", yesno('ਨਹੀਂ'), "ਹਾਂ", 'ਨਹੀਂ'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=4>
Yes
ਨਹੀਂ
</syntaxhighlight></blockquote>
# ਸੁਰੱਖਿਅਤ <code>ਮੌਡਿਊਲ:</code><code>Yesno</code> ਨੂੰ ਬੰਦ ਕਰੋ, ਜੋ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।
== ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਦੀ ਬੇਨਤੀ ਕਰੋ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਜਾਂ ਕਿਸੇ ਹੋਰ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟ ਉੱਤੇ ਕੋਈ ਖਾਸ ਕੰਮ ਕਰਨ ਲਈ ਕਿਸੇ ਲੂਆ ਸਕ੍ਰਿਪਟ ਨੂੰ ਲਿਖਣ ਵਾਸਤੇ ਸਹਾਇਤਾ ਲਈ [[:en:Wikipedia talk:Lua]] ਤੇ ਜਾਓ
== ਇਤਿਹਾਸ ==
[[mw:Manual:MediaWiki architecture#Magic words and templates|ਜਾਦੂਈ ਸ਼ਬਦ]], [[mw:Help:Extension:ParserFunctions|ਪਾਰਜ਼ਰਫੰਕਸ਼ਨ (ParserFunctions)]], [[mw:Extension:Lua|ਲੂਆ ਸ਼ਾਖਾ]], ਵਿਕੀ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਨੇ (JavaScript ਬਨਾਮ Lua), [[mw:Extension:WikiScripts]] ਮੁਕਾਬਲਾ ਕਰਾਇਆ, ਲੂਆ ਵਾਸਤੇ ਸ਼ੁਰੂਆਤੀ ਸਮਰਥਨ ਨਾਲ ਟਿੱਮ [[mw:Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਲਿਖਦਾ ਹੈ|
ਸਾਲਾਂ ਦੀ ਚਰਚਾ ਤੋਂ ਬਾਦ ਲੂਆ ਨੂੰ [[test2wiki:|test2.wikipedia.org]] ਉੱਤੇ ਪਰਖਣ ਵਾਸਤੇ 2012 ਵਿੱਚ ਇਨਸਟਾਲ ਕੀਤਾ ਗਿਆ, ਜਿਸ ਵਿੱਚ ਲੂਆ ਮੌਡਿਊਲਾਜ਼ ਨੂੰ ਵਿਕਸਿਤ ਕਰਨ ਵਾਲੇ ਪ੍ਰਯੋਗਾਂ ਲਈ ਸਾਰੇ ਸੰਪਾਦਕਾਂ ਨੂੰ ਖੁੱਲਾ ਸੱਦਾ ਦਿੱਤਾ ਗਿਆ | ਲੂਆ ਫਰਵਰੀ 2013 ਵਿੱਚ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ mediawiki.org ਅਤੇ Wikimedia test wikis ਉੱਤੇ ਪਰਖਣ ਤੋਂ ਬਾਦ ਇਨਸਟਾਲ ਕਰ ਦਿੱਤੀ ਗਈ|
== ਲੂਆ ਬਾਰੇ ==
:Brad Jorsch ਵੱਲੋਂ ਬਣਾਏ ਗਏ [[:File:WMF Tech Talk 2013-02-28 slides - Scribunto presentation.pdf|ਵਿਕੀਟੈਕਸਟ ਟੈਂਪਲੇਟ]] ਨੂੰ ਲੂਆ ਮੌਡਿਊਲ ਵਿੱਚ ਬਦਲਣ ਦਾ ਤਰੀਕਾ ਵੀ ਵੇਖੋ।
ਲੂਆ ਇੱਕ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜਿਸ ਦੀ ਵਰਤੋਂ ਡੇਟਾ ਦਾ ਵਿਸ਼ਲੇਸ਼ਣ ਕਰਨ, ਸਮੀਕਰਨਾਂ ਦੀ ਗਣਨਾ ਕਰਨ ਅਤੇ ਫੰਕਸ਼ਨਾਂ ਜਾਂ ਆਬਜੈਕਟ-ਓਰੀਐਂਟਡ ਪ੍ਰੋਗਰਾਮਿੰਗ ਰਾਹੀਂ ਨਤੀਜਿਆਂ ਨੂੰ ਫਾਰਮੈਟ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ। ਭਾਵੇਂ ਕੁਝ ਲੂਆ ਸਕ੍ਰਿਪਟਾਂ ਨੂੰ ਸਰਲ ਰੱਖਿਆ ਜਾ ਸਕਦਾ ਹੈ, ਪਰ ਆਸਾਨੀ ਨਾਲ ਸਮਝਣ ਲਈ ਲੂਆ ਟੇਬਲਾਂ, ਡਾਇਨਾਮਿਕ ਫੰਕਸ਼ਨਾਂ ਅਤੇ ਐਸੋਸੀਏਟਿਵ ਐਰੇਆਂ ਸਮੇਤ ਜਟਿਲ ਢਾਂਚਿਆਂ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ, ਜਿੱਥੇ ਇੰਡੈਕਸ ਸਬਸਕ੍ਰਿਪਟਾਂ ਇੰਡੈਕਸ ਨੰਬਰਾਂ ਦੇ ਨਾਲ-ਨਾਲ ਸ਼ਬਦ ਵੀ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਲੂਆ ਨੇਸਟਡ ਫੰਕਸ਼ਨਾਂ ਦੀ ਰਿਕਰਸ਼ਨ ਨੂੰ ਵੀ ਸਮਰਥਨ ਦਿੰਦਾ ਹੈ, ਇਸ ਲਈ ਬੇਹੱਦ ਜਟਿਲਤਾ ਤੋਂ ਬਚਣ ਲਈ ਸਾਵਧਾਨੀ ਵਰਤਣੀ ਚਾਹੀਦੀ ਹੈ, ਤਾਂ ਜੋ ਹੋਰ ਵਰਤੋਂਕਾਰ ਇਹ ਸਮਝ ਸਕਣ ਕਿ ਲੂਆ ਮੌਡਿਊਲ ਦੀ ਦੇਖਭਾਲ ਕਿਵੇਂ ਕਰਨੀ ਹੈ।
ਹੇਠਾਂ ਉੱਪਰ ਦਿੱਤੀਆਂ ਉਦਾਹਰਨਾਂ ਲਈ ਵਰਤੇ ਗਏ ਮੌਡਿਊਲ ਦੇ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦਾ ਇੱਕ ਅੰਸ਼ ਦਿੱਤਾ ਗਿਆ ਹੈ:
<syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਮੌਡਿਊਲ:BananasArgs#L-13]]--
local p = {} -- ਲੋੜੀਂਦੀ ਮੌਡਿਊਲ (p)ੈਕੇਜ ਟੇਬਲ, ਖਾਲੀ ਟੇਬਲ ਵਜੋਂ ਸ਼ੁਰੂ ਕੀਤੀ ਗਈ
function p.hello(frame) -- hello ਫੰਕਸ਼ਨ ਦੀ ਪਰਿਭਾਸ਼ਾ।
local name = frame.args[1] -- ਇਸ ਵਿੱਚ ਪਹਿਲਾ ਨਾਮ ਹੁੰਦਾ ਹੈ।
return "Hello, " .. name .. "!" -- `..` ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੰਕਸ਼ਨ ਦਾ ਨਤੀਜਾ ਇੱਕ ਸਤਰ ਵਜੋਂ ਜੋੜ ਕੇ ਵਾਪਸ ਕਰੋ।
end -- ਫੰਕਸ਼ਨ ਦਾ ਅੰਤ।
return p -- ਮੌਡਿਊਲ ਦੀ (p)ੈਕੇਜ ਟੇਬਲ ਵਾਪਸ ਕਰੋ।
</syntaxhighlight>
ਲੂਆ ਦਾ ਇੱਕ ਨਮੂਨਾ <code><nowiki><syntaxhighlight lang="lua" line highlight=1 copy> ... </syntaxhighlight></nowiki></code> ਟੈਗ ਨੂੰ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦੇ ਆਲੇ-ਦੁਆਲੇ ਰੱਖ ਕੇ ਉਜਾਗਰ ਕੀਤਾ ਜਾਂਦਾ ਹੈ। ਲੂਆ ਦੀਆਂ ਕੁਝ ਹੋਰ ਜਟਿਲ ਉਦਾਹਰਨਾਂ ਵੇਖਣ ਲਈ ਲੇਖ [[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)]] ਵੇਖੋ।
MediaWiki (ਅਤੇ ਇਸ ਕਰਕੇ ਵਿਕੀਪੀਡੀਆ) ਵਿੱਚ ਲੂਆ ਦੀ ਵਰਤੋਂ ਕਰਨ ਦੇ ਨਿਰਦੇਸ਼ਾਂ ਲਈ [[mw:Extension:Scribunto/ਲੂਆ reference manual]] ਵੇਖੋ।
== ਯੂਨਿਟ ਪਰਖਣਾ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ Lua ਸਕ੍ਰਿਪਟਾਂ ਲਈ ਇਕਾਈ ਟੈਸਟਿੰਗ ਫਰੇਮਵਰਕ [[ਮੌਡਿਊਲ:ScribuntoUnit]] ਵਿੱਚ ਉਪਲਬਧ ਹੈ।<br />
ਇਹ ਤੁਹਾਨੂੰ ਦਿੱਤੇ ਗਏ ਇਨਪੁੱਟਾਂ ਦੇ ਸਮੂਹ ਉੱਤੇ ਆਪਣੀ ਸਕ੍ਰਿਪਟ ਚਲਾਉਣ ਅਤੇ ਇਹ ਪੁਸ਼ਟੀ ਕਰਨ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ ਕਿ ਉਮੀਦ ਕੀਤੇ ਆਉਟਪੁੱਟ ਤਿਆਰ ਹੋਏ ਹਨ।<br />
ਇਕਾਈ ਟੈਸਟ ਖ਼ਾਸ ਤੌਰ ’ਤੇ ਰਿਗ੍ਰੈਸ਼ਨਾਂ ਨੂੰ ਤੇਜ਼ੀ ਨਾਲ ਖੋਜਣ ਲਈ ਲਾਭਦਾਇਕ ਹੁੰਦੇ ਹਨ, ਜਿੱਥੇ ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਵਿੱਚ ਕੀਤੀਆਂ ਤਬਦੀਲੀਆਂ ਨਵੀਆਂ ਸਮੱਸਿਆਵਾਂ ਪੈਦਾ ਕਰਦੀਆਂ ਹਨ।
ਰਿਵਾਜ ਅਨੁਸਾਰ, [[ਮੌਡਿਊਲ:Bananas]] ਵਰਗੇ ਮੌਡਿਊਲ ਲਈ ਇਕਾਈ ਟੈਸਟ <syntaxhighlight lang="lua" inline>ਮੌਡਿਊਲ:</syntaxhighlight><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/testcases|testcases]]</code>''' ਵਿੱਚ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।<br />
ਇਹ '''<code>[[ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:Bananas/testcases|ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:]]</code>'''<code>Bananas/testcases</code> ਉੱਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas/testcases|</syntaxhighlight>'''<code>run</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਨਾਲ ਚਲਾਏ ਜਾਂਦੇ ਹਨ।
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="wikitext" line highlight=1 copy>
{{#invoke:Bananas/testcases|run}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Bananas/testcases|run}}
</blockquote>
ਹਰ ਟੈਸਟ ਵਿਧੀ ਦੀ ਸ਼ੁਰੂਆਤ <syntaxhighlight lang="lua" inline>p:</syntaxhighlight>'''<code>test_</code>''' ਨਾਲ ਹੋਣੀ ਲਾਜ਼ਮੀ ਹੈ।
[[ਮੌਡਿਊਲ:Bananas/testcases]] ਤੋਂ ਇੱਕ ਉਦਾਹਰਨ ਹੇਠਾਂ ਦਿੱਤੀ ਗਈ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
--[[ਮੌਡਿਊਲ:Bananas/testcases]]--
local p = require('ਮੌਡਿਊਲ:ScribuntoUnit').new()
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- ਟੈਸਟ ਚਲਾਉਣ ਲਈ ਗੱਲ-ਬਾਤ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ।
function p:test_hi() -- [[ਮੌਡਿਊਲ:Bananas]] ਲਈ ਇਕਾਈ ਟੈਸਟ।
self:assertEquals('Hello, world!', modHi.hello())
end
return p
</syntaxhighlight></blockquote>
[[ਮੌਡਿਊਲ:ScribuntoUnit]] ਦੀ ਸ਼ੁਰੂਆਤ ਹੰਗਰੀ ਵਿਕੀਪੀਡੀਆ ਤੋਂ ਹੋਈ ਹੈ।<br />
ਇਹ ਅਸਲ ਤਰੁੱਟੀਆਂ ਪੈਦਾ ਕਰਦਾ ਹੈ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਸੁਰੱਖਿਅਤ ਕਾਲਾਂ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੜਿਆ ਜਾਂਦਾ ਹੈ। ਇਸ ਵਿੱਚ ਦਿੱਤੀ ਗਈ ਸ਼ੁੱਧਤਾ ਦੇ ਅੰਦਰ ਫਲੋਟਾਂ ਦੀ ਤੁਲਨਾ ਕਰਨ ਲਈ ਇੱਕ ਵਿਧੀ ਵੀ ਹੈ।
ਇਕਾਈ ਟੈਸਟਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨ ਵਾਲੇ ਸਾਰੇ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ ਲਈ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:ScribuntoUnit]] ਵੇਖੋ।
== ਵਿਕੀਪੀਡੀਆ ਵਿਸ਼ੇਸ਼ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ==
ਕੁੱਲ ਮਿਲਾ ਕੇ: Lua ਨੂੰ ਇਨਪੁੱਟ ਵਜੋਂ ਸਿਰਫ਼ <code><nowiki>{{#invoke:}}</nowiki></code> ਨੂੰ ਦਿੱਤੀਆਂ ਪਾਠ-ਸਤਰਾਂ ਅਤੇ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.title.new|mw.title.new(...)]]:getContent()</code> तथा <code>[[mw:Extension:Scribunto/Lua reference manual#frame:expandTemplate|frame:expandTemplate()]]</code> ਰਾਹੀਂ ਪ੍ਰਾਪਤ ਕੀਤੀ ਜਾ ਸਕਣ ਵਾਲੀ ਸਮੱਗਰੀ ਹੀ ਮਿਲ ਸਕਦੀ ਹੈ। Lua ਦੇ ਆਉਟਪੁੱਟ ਨੂੰ ਪਹਿਲਾਂ ਤੋਂ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤਾ ਜਾਂਦਾ, ਜਦੋਂ ਤੱਕ <code>[[mw:Extension:Scribunto/Lua reference manual#frame:preprocess|frame:preprocess()]]</code> ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਕਾਲ ਨਾ ਕੀਤਾ ਜਾਵੇ। ਇਸ ਦਾ ਅਰਥ ਹੈ ਕਿ ਆਉਟਪੁੱਟ ਵਿੱਚ ਟੈਂਪਲੇਟ ਕਾਲਾਂ ਅਤੇ ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਸਹੀ ਢੰਗ ਨਾਲ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(mw.title.getCurrentTitle())
print(mw.getCurrentFrame():preprocess('{{PAGENAME}}'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=3>
ਮੌਡਿਊਲ:Yesno
Yesno
</syntaxhighlight></blockquote>
ਇਹ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.ustring.len|mw.ustring.len]]</code> ਫੰਕਸ਼ਨ ਦੀ ਵਰਤੋਂ <code>[[mw:Extension:Scribunto/Lua reference manual#string.len|string.len]]</code> ਦੀ ਬਜਾਇ ਕਰਨੀ ਬਿਹਤਰ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਯੂਨੀਕੋਡ]]--
local code = mw.getContentLanguage().code
local lang = mw.getCurrentFrame():callParserFunction("#language", code)
local lenUnicode = mw.ustring.len(lang) -- ਅੱਖਰਾਂ ਦੀ ਗਿਣਤੀ
local lenByte, lenSharp = string.len(lang), #lang -- ਬਾਈਟਾਂ ਦੀ ਗਿਣਤੀ
local msg = "code: \"%s\". lang: \"%s\". mw.ustring.len = %d string.len = %d sharp = %d"
print((msg):format(code, lang, lenUnicode, lenByte, lenSharp))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=8>
code: "pa". lang: "ਪੰਜਾਬੀ". mw.ustring.len = 6 string.len = 18 sharp = 18
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</blockquote>
ਵਿਕੀ ਸਫ਼ੇ ਵਿੱਚ, ਸਾਰਾ Lua ਕੋਡ (ਜਿਸ ਵਿੱਚ ਲੰਬੇ ਅੰਕੜਾ-ਹਿਸਾਬ ਜਾਂ ਬੇਅੰਤ <syntaxhighlight lang="lua" inline>while</syntaxhighlight> ਜਾਂ <syntaxhighlight lang="lua" inline>repeat</syntaxhighlight> ਲੂਪ ਵੀ ਸ਼ਾਮਲ ਹਨ) '''10 ਸ'''ਕਿੰਟ ਦੇ CPU ਸਮੇਂ ਤੱਕ ਸੀਮਿਤ ਹੈ। ਤੁਸੀਂ ਰੈਂਡਰ ਕੀਤੇ ਸਫ਼ੇ ਦੇ ਸਰੋਤ ਕੋਡ ਵਿੱਚ ਦੇਖ ਸਕਦੇ ਹੋ ਕਿ ਕਿਸੇ ਟੈਂਪਲੇਟ ਜਾਂ ਮੌਡਿਊਲ ਨੂੰ ਪਾਰਸ ਹੋਣ ਵਿੱਚ ਕਿੰਨਾ ਸਮਾਂ ਲੱਗਿਆ।
ਮਿਆਰੀ Lua ਦੇ ਮੁਕਾਬਲੇ, Scribunto ਦਾ Lua ਸੁਰੱਖਿਅਤ ਫੰਕਸ਼ਨ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ (ਮਿਆਰੀ Lua ਤੋਂ [[mw:Extension:Scribunto/Lua_reference_manual#Differences_from_standard_Lua|ਅੰਤਰ]] ਵੇਖੋ)।
=== ਲੂਆ ਇਨਪੁੱਟ ਕਮੀਆਂ ===
Scribunto ਵਿੱਚ Lua ਕੋਡ ਸਿਰਫ਼ ਉਦੋਂ ਹੀ ਚਲਾਇਆ ਜਾਂਦਾ ਹੈ ਜਦੋਂ ਸਫ਼ੇ ਨੂੰ ਪਾਰਸ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੋਵੇ। ਇਸ ਲਈ, Lua ਨੂੰ ਮਿਲਣ ਵਾਲਾ ਇਕਲੌਤਾ ਯੂਜ਼ਰ ਇਨਪੁੱਟ ''ਸਫ਼ੇ ਦੀ ਸੋਧ'' ਰਾਹੀਂ ਹੀ ਹੋ ਸਕਦਾ ਹੈ - ਇਹ ਅਜਿਹਾ ਇਨਪੁੱਟ ਬਾਕਸ ਨਹੀਂ ਬਣਾ ਸਕਦਾ ਜਿਸ ਵਿੱਚ ਤੁਸੀਂ ਫੈਰਨਹਾਈਟ ਤਾਪਮਾਨ ਦਰਜ ਕਰੋ ਅਤੇ ਕਿਸੇ ਬਟਨ ਨੂੰ ਦਬਾਉਣ ’ਤੇ ਉਸ ਨਾਲ ਸੰਬੰਧਿਤ ਸੈਲਸੀਅਸ ਤਾਪਮਾਨ ਪ੍ਰਾਪਤ ਕਰ ਸਕੋ, ਜਾਂ ਇਸ ਗੱਲ ਦੇ ਆਧਾਰ ’ਤੇ ਮੈਂਡਲਬਰੋਟ ਸੈੱਟ ਦੇ ਕਿਸੇ ਹਿੱਸੇ ਦੀ ਮੁੜ ਗਣਨਾ ਕਰ ਸਕੋ ਕਿ ਤੁਸੀਂ ਮੂਲ ਸੈੱਟ ਦੇ ਕਿਹੜੇ ਹਿੱਸੇ ’ਤੇ ਕਲਿੱਕ ਕਰਦੇ ਹੋ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
local function toCelsius(tempFahrenheit) return (tempFahrenheit - 32) * 5 / 9 end
print(("toCelsius(32°F) = %s°C. toCelsius(68°F) = %d°C"):format(toCelsius(32), toCelsius(68)))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
toCelsius(32°F) = 0°C. toCelsius(68°F) = 20°C
</syntaxhighlight></blockquote>
Lua ਇਨਪੁੱਟ ਵਿਕੀਪੀਡੀਆ ਦੇ ਕਿਸੇ ਵੀ ਅਜਿਹੇ ਪਾਠ ਸਫ਼ੇ ਦੀ ਵਰਤੋਂ ਕਰ ਸਕਦਾ ਹੈ ਜਿਸ ਨੂੰ ਕਿਸੇ ਹੋਰ ਸਫ਼ੇ ਵਿੱਚ [[ਵਿਕੀਪੀਡੀਆ:Transclusion|ਸ਼ਾਮਲ]] ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੋਵੇ। ਇਸ ਵਿੱਚ ਚਿੱਤਰ ਫ਼ਾਈਲਾਂ, ਸਕੇਲੇਬਲ ਵੈਕਟਰ ਗ੍ਰਾਫ਼ਿਕਸ (SVG) ਫ਼ਾਈਲਾਂ, [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]] ਦੀਆਂ ਸੂਚੀਆਂ ਜਾਂ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:UnitTests]] ਵਰਗੇ ਖ਼ਾਸ ਸਫ਼ੇ ਸ਼ਾਮਲ ਨਹੀਂ ਹਨ।
== ਡੀਬੱਗ ਕਰਨਾ ==
=== ਨਾਂ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਵਿੱਚ ਸਮੱਸਿਆ ਨੂੰ ਸਰਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |state=NY |type=NY |route=343}}
</blockquote>
ਗਲਤੀ ਵਾਲੇ ਸੁਨੇਹੇ 'ਤੇ ਕਲਿੱਕ ਕਰੋ, ਫਿਰ ਲਾਈਨ 107 ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Infobox_road/route at line 107: bad argument #1 to 'wikitext' ('''string''' or number expected, got <s>boolean</s>).
</blockquote>
<code>wikitext</code> ਫੰਕਸ਼ਨ Boolean ਮੁੱਲ <code>false</code> ਨੂੰ ਸਵੀਕਾਰ ਨਹੀਂ ਕਰਦਾ।
<blockquote><syntaxhighlight lang="lua" start=107 line highlight=1>
container:tag('p'):cssText('margin:0.1em;'):wikitext(name)
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<code>|name=</code> ਪੈਰਾਮੀਟਰ ਪਰਿਭਾਸ਼ਿਤ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</blockquote>
=== ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਦੇ "ਮੁੱਖ ਜੰਕਸ਼ਨ" ਭਾਗ ਵਿੱਚ ਬਾਕੀ ਤਿੰਨ ਸਮੱਸਿਆਵਾਂ ਨੂੰ ਸਰਲ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{jct|state=NY|NY|82}}
</syntaxhighlight></blockquote>
<blockquote>
{{jct|state=NY|NY|82}}
</blockquote>
{{collapse top|title=ਲੂਆ ਕੋਡ ਵਿੱਚ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਜੋੜਨਾ}}
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local modJunction = require('ਮੌਡਿਊਲ:jct')
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(modJunction.jct(frame))
</syntaxhighlight></blockquote>
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Jct at line 204: attempt to concatenate local 'link' (a boolean value).<br />
Backtrace:<br />
ਮੌਡਿਊਲ:Jct:204: in function "routeText"
</blockquote>
[[ਮੌਡਿਊਲ:Jct#L-204]] ਵਿੱਚ, <code>link</code> ਦਾ ਮੁੱਲ <code>false</code> ਹੈ, ਪਰ ਇੱਥੇ ਇੱਕ ਸਤਰ ਦੀ ਲੋੜ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=12>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route
else
link = p.link(route)
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# Lua ਕੋਡ ਵਿੱਚ ਦੋ ਕਸਟਮ <syntaxhighlight lang="lua" inline>error()</syntaxhighlight> ਕਾਲਾਂ ਜੋੜ ਕੇ ਅਸਥਾਈ ਤੌਰ 'ਤੇ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਲਗਾਓ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=6,8>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route; error("link1=" .. tostring(link))
else
link = p.link(route); error("link2=" .. tostring(link))
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# "<s>ਸਫ਼ਾ ਛਾਪੋ</s>" (<s>ਤਬਦੀਲੀਆਂ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ</s>। <s>Publish changes</s>) 'ਤੇ '''<span style="color:red;">ਕਲਿੱਕ ਨਾ ਕਰੋ</span>'''।
<code>ਮੌਡਿਊਲ:</code>'''<code>[[ਮੌਡਿਊਲ:Jct|Jct]]</code>''' ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
# ਦੂਜੀ ਕਸਟਮ ਗਲਤੀ ਦਿਖਾਈ ਦੇਵੇਗੀ।
<blockquote style="color:#bf3c2c;">
Lua error at line 200: link2=false.
</blockquote>
# ਦੋਵੇਂ ਕਸਟਮ ਗਲਤੀ ਕਾਲਾਂ ਹਟਾਓ। ਸਮੱਸਿਆ <code>p.link</code> ਫੰਕਸ਼ਨ ਵਿੱਚ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=2,4>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr')
if nolink then
return abbr
else
local link = parser(route, 'link')
if not link or link == '' then
return abbr
else
return format("[[%s|%s]]", link, abbr)
end
end
end
</syntaxhighlight></blockquote>
ਵਿਕੀ ਸਫ਼ਾ [[:en:New York State Route 82]] ਮੌਜੂਦ ਨਹੀਂ ਹੈ। ਇਸ ਲਈ <code>link</code> ਅਤੇ <code>abbr</code> ਦੋਵਾਂ ਦਾ ਮੁੱਲ <code>false</code> ਹੈ।
# ਜਦੋਂ ਸੰਖੇਪ ਰੂਪ ਪਰਿਭਾਸ਼ਿਤ ਨਾ ਹੋਵੇ, ਤਾਂ ਉਸਨੂੰ ਸੰਭਾਲਣ ਲਈ Lua ਕੋਡ ਵਿੱਚ ਸੁਧਾਰ ਕਰੋ।
# <syntaxhighlight lang="lua" inline>false</syntaxhighlight> ਦੀ ਥਾਂ <syntaxhighlight lang="lua" inline> or ''</syntaxhighlight> ਜੋੜ ਕੇ ਖਾਲੀ ਸਤਰ <syntaxhighlight lang="lua" inline>""</syntaxhighlight> ਵਾਪਸ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=4>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr') or ''
if nolink then
return abbr
else
local link = parser(route, 'link')
if not link or link == '' then
return abbr
else
return format("[[%s|%s]]", link, abbr)
end
end
end
</syntaxhighlight></blockquote>
{{collapse bottom}}
=== ਵਿਕੀਟੈਕਸਟ ===
ਸ਼ਾਮਲ ਕੀਤੇ ਗਏ ਵਿਕੀਪੀਡੀਆ ਸਿਰਲੇਖਾਂ ਵਿੱਚ ਅਕਸਰ <syntaxhighlight lang="lua" inline>"UNIQ5ae8f2aa414ff233-h-3--QINU"</syntaxhighlight> ਵਰਗਾ ਲੁਕਿਆ ਹੋਇਆ ਕੋਡ ਹੁੰਦਾ ਹੈ, ਜਿਸ ਨੂੰ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਢੰਗ ਨਾਲ ਪਾਰਸ ਕਰਨ ਲਈ ਹਟਾਉਣ ਦੀ ਲੋੜ ਪੈ ਸਕਦੀ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(string.reverse("UNIQ"))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=2>
QINU
</syntaxhighlight></blockquote>
ਪਾਈਪ <code><nowiki>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ</nowiki></code>'''<code><nowiki>|</nowiki></code>'''<code><nowiki>]]</nowiki></code> ਤੋਂ ਬਾਅਦ ਪ੍ਰਗਟਾਵੇ ਤੋਂ ਬਿਨਾਂ ਵਾਲੇ ਵਿਕੀਲਿੰਕ, ਜੇ ਆਉਟਪੁੱਟ ਵਜੋਂ ਵਾਪਸ ਕੀਤੇ ਜਾਣ, ਤਾਂ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ - ਇਨ੍ਹਾਂ ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਇਸ ਤਰ੍ਹਾਂ ਲਿਖਣ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ: <syntaxhighlight lang="lua" inline>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|</syntaxhighlight>'''<code>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|ਮਦਦ]]</code>'''<syntaxhighlight lang="lua" inline>]]</syntaxhighlight>।
ਸੇਵ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਹੋਣ ਵਾਲੀਆਂ ਹੋਰ ਤਬਦੀਲੀਆਂ ਵੀ, ਜਿਵੇਂ ਕਿ <code>~~<nowiki/>~~</code> ਨੂੰ ਦਸਤਖ਼ਤਾਂ ਨਾਲ ਬਦਲਣਾ, ਪ੍ਰਕਿਰਿਆ ਵਿੱਚ ਨਹੀਂ ਆਉਣਗੀਆਂ। ਟੈਂਪਲੇਟ ਟ੍ਰਾਂਸਕਲੂਜ਼ਨ, ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਕਾਲਾਂ ਅਤੇ ਵੇਰੀਏਬਲ ਬਦਲਾਅ (ਅਰਥਾਤ <code><nowiki>{{...}}</nowiki></code> ਵਾਲੀ ਕੋਈ ਵੀ ਚੀਜ਼) ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ। ਇਸੇ ਤਰ੍ਹਾਂ {{tag|ref|o}} ਜਾਂ {{tag|nowiki|o}} ਵਰਗੇ ਟੈਗ ਵੀ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ।
== ਬਦਲੇ ਹੋਏ ਫਰਮਿਆਂ ਦਾ ਨਾਮਕਰਨ==
{{lua|ਮੌਡਿਊਲ:Bananas}}
ਕਿਰਪਾ ਕਰਕੇ {{tl|lua}} ਫਰਮਿਆਂ ਨੂੰ ਉਹਨਾਂ ਸਾਰੇ ਫਰਮਿਆਂ ਦੇ ਡਾਕੂਮੈਂਟੇਸ਼ਨ ਉੱਪ-ਪੰਨਿਆਂ ਉੱਤੇ ਰੱਖੋ ਜੋ ਲੂਆ ਵਰਤਦੇ ਹਨ, ਇਹ ਲੂਆ ਵਰਤੋਂ ਅਤੇ ਫਰਮਾ ਪਰਿਵਰਤਨਾਂ ਦੇ ਸਹਿਯੋਗ ਵਿੱਚ ਮਦੱਦ ਕਰੇਗਾ|
{{clear}}
== ਇਹ ਵੀ ਦੇਖੋ ==
* [[ਖ਼ਾਸ:ਅਗੇਤਰ ਤਤਕਰਾ/ਮੌਡਿਊਲ:]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ
* [[:ਸ਼੍ਰੇਣੀ:Lua-based templates]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਦੇ ਸਮੂਹ
* [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]]
* [[:ਮੌਡਿਊਲ:Sandbox]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਨਾਲ ਪ੍ਰਯੋਗ ਕਰਨ ਲਈ ਇੱਕ pseudo-namespace ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ
; ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਪੀਡੀਆ-ਵਿਸ਼ੇਸ਼ ਸਰੋਤ
* [[Wikipedia:Lua style guide]] – ਇਕਸਾਰਤਾ ਰਾਹੀਂ ਕੋਡ ਦੀ ਪੜ੍ਹਨਯੋਗਤਾ ਸੁਧਾਰਨ ਲਈ ਮਿਆਰ
* [[:en:Help:Lua debugging]] – ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਡੀਬੱਗਿੰਗ ਬਾਰੇ ਇੱਕ ਕਿਵੇਂ-ਕਰਨਾ ਗਾਈਡ
* [[:en:Wikipedia talk:Lua]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਜਾਂ ਕੰਮਾਂ ਲਈ ਬੇਨਤੀਆਂ
== ਨੋਟਸ ==
{{reflist}}
{{Wikipedia technical help|collapsed}}
[[Category:Wikipedia modules]]
b6znjngli2oseqdwh7vmsnkcqw7a35q
849430
849429
2026-10-08T17:00:07Z
Nimmzo
62202
/* ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ */ Run again Jct in Debug console
849430
wikitext
text/x-wiki
{{WikiProject Lua/header}}
{{Namespaces}}
{{Information page|WP:Lua}}
[[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)|ਲੂਆ]] ਇੱਕ ਪ੍ਰੋਗ੍ਰਾਮਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜੋ ਹੁਣ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ, [[mw: Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਮੀਡੀਆਵਿਕੀ ਐਕਸਟੈਂਸ਼ਨ ਰਾਹੀਂ ਉਪਲਬਧ ਹੈ। ਲੁਆ ਕੋਡ ਨੂੰ ਹੁਣ ਵਿਕੀਪੀਡੀਆ ਟੈਂਪਲੈਂਟਾਂ ਵਿੱਚ ਸਕਿਰਬੰਟੋ ਦੇ <syntaxhighlight lang="lua" inline>{{#invoke:}}</syntaxhighlight> ਫੰਕਸ਼ਨ ਨੂੰ ਲਾਗੂ ਕਰਕੇ ਜੜਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਹ ਐਕਸਟੈਨਸ਼ਨ ਜੁਲਾਈ 2015 ਤੋਂ ਲੁਆ 5.1 {{as of|lc=y|2015|07}} ਨੂੰ ਸਪੋਰਟ ਕਰਦੀ ਹੈ।
== ਲੂਆ ਵਿੱਚ ਹੈਲੋ ਵਰਲਡ! ==
<code>[[ਮੌਡਿਊਲ:Bananas]]</code>: ਸਰਲਤਮ ਸੰਭਵ ਸਕ੍ਰਿਪਟ, ਜੋ ਕੋਈ ਵੀ ਆਰਜੂਮੈਂਟ ਵਾਲਾ ਇੱਕ ਸਿੰਗਲ ਫੰਕਸ਼ਨ ਦਿੰਦੀ ਹੈ
ਲੁਆ ਸੋਰਸ ਕੋਡ ਮੌਡਿਊਲਜ਼ (ਯਾਨਿ ਕਿ, <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>) ਨਾਮਕ ਪੰਨਿਆਂ ਵਿੱਚ ਜਮਾਂ ਹੁੰਦੇ ਜਾਂਦੇ ਹਨ। ਇਹ ਵਿਅਕਤੀਗਤ ਮੌਡਿਊਲਜ਼ ਫੇਰ ਟੈਂਪਲੈਂਟ ਪੰਨਿਆਂ ਉੱਤੇ <syntaxhighlight lang="wikitext" inline>{{#invoke:}}</syntaxhighlight> ਕੋਡ ਰਾਹੀਂ ਇਨਵੋਕ (ਬੁਲਾਏ) ਕੀਤੇ ਜਾਂਦੇ ਹਨ। (ਜਿਵੇਂ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/doc|doc]]</code>''' ਇਸ <syntaxhighlight lang="lua" inline>"Hello, world!"</syntaxhighlight> ਸ਼ਬਦਾਂ ਨੂੰ ਛਾਪਣ ਵਾਸਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas|</syntaxhighlight>'''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਕੋਡ ਵਰਤਦਾ ਹੈ।)
ਤੁਹਾਨੂੰ ਕੁਝ ਵੀ ਇੰਸਟਾਲ ਜਾਂ ਸੇਵ ਕਰਨ ਦੀ ਲੋੜ ਨਹੀਂ ਹੈ।
# ਆਪਣਾ ਯੂਜ਼ਰ ਪੰਨਾ ਸੰਪਾਦਿਤ ਕਰੋ।
# ਆਪਣੇ ਯੂਜ਼ਰ ਪੰਨੇ ’ਤੇ ਨਵੀਂ ਲਾਈਨ ਦੇ ਸ਼ੁਰੂ ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੀ ਕਾਲ ਚਿਪਕਾਓ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Bananas|hello}}
</syntaxhighlight></blockquote>
<ol start="3">
<li>'''<code>ਝਲਕ ਵਿਖਾਓ</code>''' ’ਤੇ ਕਲਿੱਕ ਕਰੋ। <syntaxhighlight lang="lua" inline>hello</syntaxhighlight> ਫੰਕਸ਼ਨ ਦੀ ਕਾਲ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੇ ਨਾਲ ਬਦਲ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ:</li>
</ol>
<blockquote><syntaxhighlight lang="lua" line>
Hello, world!
</syntaxhighlight></blockquote>
<ol start="4">
<li><code style="color:#bf3c2c;">ਰੱਦ ਕਰੋ</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ। ਪੁੱਛੇ ਜਾਣ ’ਤੇ, <code>Leave</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ।</li>
<li>ਤੁਹਾਡਾ ਯੂਜ਼ਰ ਪੰਨਾ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।</li>
</ol>
=== ਆਰਜੂਮੈਂਟਾਂ ਵਰਤਣਾ ===
ਆਰਜੂਮੈਂਟਾਂ ਮੌਡਿਊਲਾਂ ਵੱਲ ਉਸੇ ਤਰੀਕੇ ਨਾਲ ਪਾਸ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਜਿਸਤਰਾਂ ਫਰਮੇ ਪਾਸ ਹੁੰਦੇ ਹਨ। ਫੇਰ ਵੀ, ਨੋਟ ਕਰੋ ਕਿ ਪਹਿਲੇ ਪਾਈਪ ਅੱਖਰ ਤੋਂ ਬਾਦ ਦੇ ਅਗਲੇ ਅੱਖਰ ਹਮੇਸ਼ਾਂ ਹੀ ਫੰਕਸ਼ਨ ਦਾ ਨਾਮ ਹੁੰਦੇ ਹਨ; ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਦੂਜੀ ਪਾਈਪ ਤੋਂ ਬਾਦ ਦੇ ਟੈਕਸਟ ਹੁੰਦੇ ਹਨ।
<blockquote><syntaxhighlight lang="lua" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਆਰਗੂਮੈਂਟ}}
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:BananasArgs]]</code>: ਸਿੱਧ ਕਰਕੇ ਦਿਖਾਉਂਦੀ ਹੈ ਕਿ ਪੈਰਾਮੀਟਰਾਂ ਨੂੰ ਕਿਵੇਂ ਵਰਤਣਾ ਅਤੇ ਕ੍ਰਿਆਸ਼ੀਲ ਕਰਨਾ ਹੈ
ਉਦਾਹਰਨ ਦੇ ਤੌਰ ਤੇ, <code>ਮੌਡਿਊਲ:</code><code>BananasArgs</code> ਵਿੱਚ, '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-13|hello]]</code>''' ਫੰਕਸ਼ਨ ਵੱਖਰੇ ਲੋਕਾਂ ਦਾ ਸਵਾਗਤ ਕਰਨਾ ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਤੇ ਨਿਰਭਰ ਕਰਦਾ ਹੈ। ਇਹ ਇਸਤਰਾਂ ਕੰਮ ਕਰਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</blockquote>
;ਨਾਮਿਤ ਆਰਗੂਮੈਂਟ <code>|ਕੁੰਜੀ=ਮੁੱਲ</code>
<blockquote><syntaxhighlight lang="wikitext" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ1=ਮੁੱਲ1|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ2=ਮੁੱਲ2}}
</syntaxhighlight></blockquote>
BananasArgs ਕੋਲ ਇੱਕ '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-26|count_fruit]]</code>''' ਨਾਮਕ ਫੰਕਸ਼ਨ ਵੀ ਹੁੰਦਾ ਹੈ ਜੋ <code>|bananas=</code> and <code>|apples=</code> ਨਾਮਕ ਆਰਜੂਮੈਂਟ ਵਰਤਦਾ ਹੈ ਜਿਸਨਾਲ ਸਾਡੇ ਕੋਲ ਮੌਜੂਦ ਕੇਲਿਆਂ (ਬਾਨਾਨਾਜ਼) ਅਤੇ ਸੇਬਾਂ ਦੀ ਸੰਖਿਆ ਗਿਣੀ ਜਾਂਦੀ ਹੈ। ਇਸਨੂੰ ਆਰਗੂਮੈਂਟਾਂ ਦਾ ਕ੍ਰਮ ਬਦਲ ਕੇ ਚਲਾਇਆ ਜਾ ਸਕਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</blockquote>
ਜਿਆਦਾਤਰ ਮੌਡਿਊਲਜ਼ ਇੱਕ ਡੌਕੂਮੈਂਟੇਸ਼ਨ ਪੰਨਾ ਰੱਖਦੇ ਹੋਣਗੇ ਜਿਸਵਿੱਚ ਇਹ ਸਮਝਾਇਆ ਗਿਆ ਹੁੰਦਾ ਹੈ ਕਿ ਕਿਹੜੀਆਂ ਆਰਜੂਮੈਂਟਾਂ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ ਅਤੇ ਉਹਨਾਂ ਦੇ ਪ੍ਰਭਾਵ ਕੀ ਹੋਣਗੇ ।
== ਡੀਬੱਗ ਕੌਨਸੋਲ: ਲੂਆ ਸਿੱਖਣਾ ਸ਼ੁਰੂ ਕਰੋ ==
ਲੂਆ Scribunto ਦਾ <code>Debug Console</code> ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ ਲੂਆ ਸਿੱਖਣ ਲਈ ਇੱਕ ਸੁਰੱਖਿਅਤ, ਇੰਟਰਐਕਟਿਵ ਟੂਲ ਹੈ।
# [[ਮੌਡਿਊਲ:Yesno]] ਪੰਨੇ ‘ਤੇ <code>ਸਰੋਤ ਵੇਖੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰੋ।
# ਪੰਨੇ ਦੇ ਹੇਠਾਂ <code>Debug console</code> ਭਾਗ ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
# ਟਿੱਪਣੀ ਅਤੇ ਕਾਲ ਨੂੰ <span style="color:#eaecf0;">ਹਲਕਾ</span> <span style="color:blue;">ਨੀਲਾ</span> ਇਨਪੁੱਟ ਬਾਕਸ ਵਿੱਚ ਪੇਸਟ ਕਰੋ (ਜੋ <code>ਸਾਫ਼ ਕਰੋ</code> ਬਟਨ ਦੇ ਉੱਪਰ ਹੈ)।
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
--[[ਤੁਹਾਡਾ ਪਹਿਲਾ ਲੂਆ Hello World-ਜਿਹਾ ਪ੍ਰੋਗਰਾਮ]]--
print("ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ " .. _VERSION .. "!") -- ਲੂਆ ਸੰਸਕਰਣ ਨੂੰ `..` ਨਾਲ ਜੋੜੋ
</syntaxhighlight></blockquote>
<ol start="4">
<li>ਦੋ ਲੂਆ ਕਮਾਂਡਾਂ ਨੂੰ ਚਲਾਉਣ ਲਈ {{key press|Enter}} ਇੱਕ ਵਾਰ ਦਬਾਓ।</li>
<li>ਨਤੀਜਾ ਲੂਆ <syntaxhighlight lang="lua" inline>print</syntaxhighlight> ਕਮਾਂਡ ਲਾਈਨ ਦੇ ਹੇਠਾਂ ਦਿਖਾਈ ਦੇਵੇਗਾ:</li>
</ol>
<blockquote><syntaxhighlight lang="text" line start=3>
ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ Lua 5.1!
</syntaxhighlight></blockquote>
<ol start="6">
<li>ਪਿਛਲੀਆਂ ਲੂਆ ਕਮਾਂਡਾਂ ਵਿਚਕਾਰ ਜਾਣ ਲਈ {{key press|Up}} <code>Up arrow</code> ਦਬਾਓ।</li>
<li>ਚਾਹੋ ਤਾਂ <code>ਸਾਫ਼ ਕਰੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰਕੇ ਸਿਰਫ਼ <code>Debug Console</code> ਨੂੰ ਸਾਫ਼ ਕਰੋ; ਉੱਪਰ ਵਾਲਾ ਲੂਆ ਸੰਪਾਦਕ '''ਬਦਲਿਆ ਨਹੀਂ ਜਾਵੇਗਾ'''।</li>
</ol>
; ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ HTML ਜਨਰੇਟਰ
<code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ '''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>''' ਫੰਕਸ਼ਨ ਨੂੰ ਕਾਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- Debug console ਵਿੱਚ ਮੌਡਿਊਲ ਲੋਡ ਕਰੋ
print(modHi.hello()) -- "Hello, world!" ਦਿਖਾਓ
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
Hello, world!
</syntaxhighlight></blockquote>
;ਆਰਗੂਮੈਂਟ
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
local modArg = require('ਮੌਡਿਊਲ:BananasArgs')
local frame = mw.getCurrentFrame()
frame.args = {"ਜਸਪ੍ਰੀਤ"}; print("੧. " .. modArg.hello(frame))
frame.args = {"ਗੁਰਪ੍ਰੀਤ"}; print("੨. " .. modArg.hello(frame))
frame.args = {apples="3", bananas="4"}; print("੩. " .. modArg.count_fruit(frame))
frame.args = {bananas="5", apples="2"}; print("੪. " .. modArg.count_fruit(frame))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=7>
੧. Hello, ਜਸਪ੍ਰੀਤ!
੨. Hello, ਗੁਰਪ੍ਰੀਤ!
੩. I have 4 bananas and 3 apples
੪. I have 5 bananas and 2 apples
</syntaxhighlight></blockquote>
; ਪਛਾਣ ਫੰਕਸ਼ਨ
<code>callParserFunction</code> [[mw:Help:Extension:ParserFunctions##if|#if]]
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local yesno = require('ਮੌਡਿਊਲ:Yesno') -- #if yesno then ਆਪਣਾ ਇਨਪੁੱਟ ਪੈਰਾਮੀਟਰ ਵਾਪਸ ਕਰਦਾ ਹੈ
print(mw.getCurrentFrame():callParserFunction("#if", yesno("Yes"), "Yes", 'no'))
print(mw.getCurrentFrame():callParserFunction("#if", yesno('ਨਹੀਂ'), "ਹਾਂ", 'ਨਹੀਂ'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=4>
Yes
ਨਹੀਂ
</syntaxhighlight></blockquote>
# ਸੁਰੱਖਿਅਤ <code>ਮੌਡਿਊਲ:</code><code>Yesno</code> ਨੂੰ ਬੰਦ ਕਰੋ, ਜੋ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।
== ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਦੀ ਬੇਨਤੀ ਕਰੋ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਜਾਂ ਕਿਸੇ ਹੋਰ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟ ਉੱਤੇ ਕੋਈ ਖਾਸ ਕੰਮ ਕਰਨ ਲਈ ਕਿਸੇ ਲੂਆ ਸਕ੍ਰਿਪਟ ਨੂੰ ਲਿਖਣ ਵਾਸਤੇ ਸਹਾਇਤਾ ਲਈ [[:en:Wikipedia talk:Lua]] ਤੇ ਜਾਓ
== ਇਤਿਹਾਸ ==
[[mw:Manual:MediaWiki architecture#Magic words and templates|ਜਾਦੂਈ ਸ਼ਬਦ]], [[mw:Help:Extension:ParserFunctions|ਪਾਰਜ਼ਰਫੰਕਸ਼ਨ (ParserFunctions)]], [[mw:Extension:Lua|ਲੂਆ ਸ਼ਾਖਾ]], ਵਿਕੀ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਨੇ (JavaScript ਬਨਾਮ Lua), [[mw:Extension:WikiScripts]] ਮੁਕਾਬਲਾ ਕਰਾਇਆ, ਲੂਆ ਵਾਸਤੇ ਸ਼ੁਰੂਆਤੀ ਸਮਰਥਨ ਨਾਲ ਟਿੱਮ [[mw:Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਲਿਖਦਾ ਹੈ|
ਸਾਲਾਂ ਦੀ ਚਰਚਾ ਤੋਂ ਬਾਦ ਲੂਆ ਨੂੰ [[test2wiki:|test2.wikipedia.org]] ਉੱਤੇ ਪਰਖਣ ਵਾਸਤੇ 2012 ਵਿੱਚ ਇਨਸਟਾਲ ਕੀਤਾ ਗਿਆ, ਜਿਸ ਵਿੱਚ ਲੂਆ ਮੌਡਿਊਲਾਜ਼ ਨੂੰ ਵਿਕਸਿਤ ਕਰਨ ਵਾਲੇ ਪ੍ਰਯੋਗਾਂ ਲਈ ਸਾਰੇ ਸੰਪਾਦਕਾਂ ਨੂੰ ਖੁੱਲਾ ਸੱਦਾ ਦਿੱਤਾ ਗਿਆ | ਲੂਆ ਫਰਵਰੀ 2013 ਵਿੱਚ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ mediawiki.org ਅਤੇ Wikimedia test wikis ਉੱਤੇ ਪਰਖਣ ਤੋਂ ਬਾਦ ਇਨਸਟਾਲ ਕਰ ਦਿੱਤੀ ਗਈ|
== ਲੂਆ ਬਾਰੇ ==
:Brad Jorsch ਵੱਲੋਂ ਬਣਾਏ ਗਏ [[:File:WMF Tech Talk 2013-02-28 slides - Scribunto presentation.pdf|ਵਿਕੀਟੈਕਸਟ ਟੈਂਪਲੇਟ]] ਨੂੰ ਲੂਆ ਮੌਡਿਊਲ ਵਿੱਚ ਬਦਲਣ ਦਾ ਤਰੀਕਾ ਵੀ ਵੇਖੋ।
ਲੂਆ ਇੱਕ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜਿਸ ਦੀ ਵਰਤੋਂ ਡੇਟਾ ਦਾ ਵਿਸ਼ਲੇਸ਼ਣ ਕਰਨ, ਸਮੀਕਰਨਾਂ ਦੀ ਗਣਨਾ ਕਰਨ ਅਤੇ ਫੰਕਸ਼ਨਾਂ ਜਾਂ ਆਬਜੈਕਟ-ਓਰੀਐਂਟਡ ਪ੍ਰੋਗਰਾਮਿੰਗ ਰਾਹੀਂ ਨਤੀਜਿਆਂ ਨੂੰ ਫਾਰਮੈਟ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ। ਭਾਵੇਂ ਕੁਝ ਲੂਆ ਸਕ੍ਰਿਪਟਾਂ ਨੂੰ ਸਰਲ ਰੱਖਿਆ ਜਾ ਸਕਦਾ ਹੈ, ਪਰ ਆਸਾਨੀ ਨਾਲ ਸਮਝਣ ਲਈ ਲੂਆ ਟੇਬਲਾਂ, ਡਾਇਨਾਮਿਕ ਫੰਕਸ਼ਨਾਂ ਅਤੇ ਐਸੋਸੀਏਟਿਵ ਐਰੇਆਂ ਸਮੇਤ ਜਟਿਲ ਢਾਂਚਿਆਂ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ, ਜਿੱਥੇ ਇੰਡੈਕਸ ਸਬਸਕ੍ਰਿਪਟਾਂ ਇੰਡੈਕਸ ਨੰਬਰਾਂ ਦੇ ਨਾਲ-ਨਾਲ ਸ਼ਬਦ ਵੀ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਲੂਆ ਨੇਸਟਡ ਫੰਕਸ਼ਨਾਂ ਦੀ ਰਿਕਰਸ਼ਨ ਨੂੰ ਵੀ ਸਮਰਥਨ ਦਿੰਦਾ ਹੈ, ਇਸ ਲਈ ਬੇਹੱਦ ਜਟਿਲਤਾ ਤੋਂ ਬਚਣ ਲਈ ਸਾਵਧਾਨੀ ਵਰਤਣੀ ਚਾਹੀਦੀ ਹੈ, ਤਾਂ ਜੋ ਹੋਰ ਵਰਤੋਂਕਾਰ ਇਹ ਸਮਝ ਸਕਣ ਕਿ ਲੂਆ ਮੌਡਿਊਲ ਦੀ ਦੇਖਭਾਲ ਕਿਵੇਂ ਕਰਨੀ ਹੈ।
ਹੇਠਾਂ ਉੱਪਰ ਦਿੱਤੀਆਂ ਉਦਾਹਰਨਾਂ ਲਈ ਵਰਤੇ ਗਏ ਮੌਡਿਊਲ ਦੇ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦਾ ਇੱਕ ਅੰਸ਼ ਦਿੱਤਾ ਗਿਆ ਹੈ:
<syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਮੌਡਿਊਲ:BananasArgs#L-13]]--
local p = {} -- ਲੋੜੀਂਦੀ ਮੌਡਿਊਲ (p)ੈਕੇਜ ਟੇਬਲ, ਖਾਲੀ ਟੇਬਲ ਵਜੋਂ ਸ਼ੁਰੂ ਕੀਤੀ ਗਈ
function p.hello(frame) -- hello ਫੰਕਸ਼ਨ ਦੀ ਪਰਿਭਾਸ਼ਾ।
local name = frame.args[1] -- ਇਸ ਵਿੱਚ ਪਹਿਲਾ ਨਾਮ ਹੁੰਦਾ ਹੈ।
return "Hello, " .. name .. "!" -- `..` ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੰਕਸ਼ਨ ਦਾ ਨਤੀਜਾ ਇੱਕ ਸਤਰ ਵਜੋਂ ਜੋੜ ਕੇ ਵਾਪਸ ਕਰੋ।
end -- ਫੰਕਸ਼ਨ ਦਾ ਅੰਤ।
return p -- ਮੌਡਿਊਲ ਦੀ (p)ੈਕੇਜ ਟੇਬਲ ਵਾਪਸ ਕਰੋ।
</syntaxhighlight>
ਲੂਆ ਦਾ ਇੱਕ ਨਮੂਨਾ <code><nowiki><syntaxhighlight lang="lua" line highlight=1 copy> ... </syntaxhighlight></nowiki></code> ਟੈਗ ਨੂੰ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦੇ ਆਲੇ-ਦੁਆਲੇ ਰੱਖ ਕੇ ਉਜਾਗਰ ਕੀਤਾ ਜਾਂਦਾ ਹੈ। ਲੂਆ ਦੀਆਂ ਕੁਝ ਹੋਰ ਜਟਿਲ ਉਦਾਹਰਨਾਂ ਵੇਖਣ ਲਈ ਲੇਖ [[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)]] ਵੇਖੋ।
MediaWiki (ਅਤੇ ਇਸ ਕਰਕੇ ਵਿਕੀਪੀਡੀਆ) ਵਿੱਚ ਲੂਆ ਦੀ ਵਰਤੋਂ ਕਰਨ ਦੇ ਨਿਰਦੇਸ਼ਾਂ ਲਈ [[mw:Extension:Scribunto/ਲੂਆ reference manual]] ਵੇਖੋ।
== ਯੂਨਿਟ ਪਰਖਣਾ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ Lua ਸਕ੍ਰਿਪਟਾਂ ਲਈ ਇਕਾਈ ਟੈਸਟਿੰਗ ਫਰੇਮਵਰਕ [[ਮੌਡਿਊਲ:ScribuntoUnit]] ਵਿੱਚ ਉਪਲਬਧ ਹੈ।<br />
ਇਹ ਤੁਹਾਨੂੰ ਦਿੱਤੇ ਗਏ ਇਨਪੁੱਟਾਂ ਦੇ ਸਮੂਹ ਉੱਤੇ ਆਪਣੀ ਸਕ੍ਰਿਪਟ ਚਲਾਉਣ ਅਤੇ ਇਹ ਪੁਸ਼ਟੀ ਕਰਨ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ ਕਿ ਉਮੀਦ ਕੀਤੇ ਆਉਟਪੁੱਟ ਤਿਆਰ ਹੋਏ ਹਨ।<br />
ਇਕਾਈ ਟੈਸਟ ਖ਼ਾਸ ਤੌਰ ’ਤੇ ਰਿਗ੍ਰੈਸ਼ਨਾਂ ਨੂੰ ਤੇਜ਼ੀ ਨਾਲ ਖੋਜਣ ਲਈ ਲਾਭਦਾਇਕ ਹੁੰਦੇ ਹਨ, ਜਿੱਥੇ ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਵਿੱਚ ਕੀਤੀਆਂ ਤਬਦੀਲੀਆਂ ਨਵੀਆਂ ਸਮੱਸਿਆਵਾਂ ਪੈਦਾ ਕਰਦੀਆਂ ਹਨ।
ਰਿਵਾਜ ਅਨੁਸਾਰ, [[ਮੌਡਿਊਲ:Bananas]] ਵਰਗੇ ਮੌਡਿਊਲ ਲਈ ਇਕਾਈ ਟੈਸਟ <syntaxhighlight lang="lua" inline>ਮੌਡਿਊਲ:</syntaxhighlight><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/testcases|testcases]]</code>''' ਵਿੱਚ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।<br />
ਇਹ '''<code>[[ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:Bananas/testcases|ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:]]</code>'''<code>Bananas/testcases</code> ਉੱਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas/testcases|</syntaxhighlight>'''<code>run</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਨਾਲ ਚਲਾਏ ਜਾਂਦੇ ਹਨ।
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="wikitext" line highlight=1 copy>
{{#invoke:Bananas/testcases|run}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Bananas/testcases|run}}
</blockquote>
ਹਰ ਟੈਸਟ ਵਿਧੀ ਦੀ ਸ਼ੁਰੂਆਤ <syntaxhighlight lang="lua" inline>p:</syntaxhighlight>'''<code>test_</code>''' ਨਾਲ ਹੋਣੀ ਲਾਜ਼ਮੀ ਹੈ।
[[ਮੌਡਿਊਲ:Bananas/testcases]] ਤੋਂ ਇੱਕ ਉਦਾਹਰਨ ਹੇਠਾਂ ਦਿੱਤੀ ਗਈ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
--[[ਮੌਡਿਊਲ:Bananas/testcases]]--
local p = require('ਮੌਡਿਊਲ:ScribuntoUnit').new()
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- ਟੈਸਟ ਚਲਾਉਣ ਲਈ ਗੱਲ-ਬਾਤ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ।
function p:test_hi() -- [[ਮੌਡਿਊਲ:Bananas]] ਲਈ ਇਕਾਈ ਟੈਸਟ।
self:assertEquals('Hello, world!', modHi.hello())
end
return p
</syntaxhighlight></blockquote>
[[ਮੌਡਿਊਲ:ScribuntoUnit]] ਦੀ ਸ਼ੁਰੂਆਤ ਹੰਗਰੀ ਵਿਕੀਪੀਡੀਆ ਤੋਂ ਹੋਈ ਹੈ।<br />
ਇਹ ਅਸਲ ਤਰੁੱਟੀਆਂ ਪੈਦਾ ਕਰਦਾ ਹੈ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਸੁਰੱਖਿਅਤ ਕਾਲਾਂ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੜਿਆ ਜਾਂਦਾ ਹੈ। ਇਸ ਵਿੱਚ ਦਿੱਤੀ ਗਈ ਸ਼ੁੱਧਤਾ ਦੇ ਅੰਦਰ ਫਲੋਟਾਂ ਦੀ ਤੁਲਨਾ ਕਰਨ ਲਈ ਇੱਕ ਵਿਧੀ ਵੀ ਹੈ।
ਇਕਾਈ ਟੈਸਟਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨ ਵਾਲੇ ਸਾਰੇ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ ਲਈ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:ScribuntoUnit]] ਵੇਖੋ।
== ਵਿਕੀਪੀਡੀਆ ਵਿਸ਼ੇਸ਼ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ==
ਕੁੱਲ ਮਿਲਾ ਕੇ: Lua ਨੂੰ ਇਨਪੁੱਟ ਵਜੋਂ ਸਿਰਫ਼ <code><nowiki>{{#invoke:}}</nowiki></code> ਨੂੰ ਦਿੱਤੀਆਂ ਪਾਠ-ਸਤਰਾਂ ਅਤੇ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.title.new|mw.title.new(...)]]:getContent()</code> तथा <code>[[mw:Extension:Scribunto/Lua reference manual#frame:expandTemplate|frame:expandTemplate()]]</code> ਰਾਹੀਂ ਪ੍ਰਾਪਤ ਕੀਤੀ ਜਾ ਸਕਣ ਵਾਲੀ ਸਮੱਗਰੀ ਹੀ ਮਿਲ ਸਕਦੀ ਹੈ। Lua ਦੇ ਆਉਟਪੁੱਟ ਨੂੰ ਪਹਿਲਾਂ ਤੋਂ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤਾ ਜਾਂਦਾ, ਜਦੋਂ ਤੱਕ <code>[[mw:Extension:Scribunto/Lua reference manual#frame:preprocess|frame:preprocess()]]</code> ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਕਾਲ ਨਾ ਕੀਤਾ ਜਾਵੇ। ਇਸ ਦਾ ਅਰਥ ਹੈ ਕਿ ਆਉਟਪੁੱਟ ਵਿੱਚ ਟੈਂਪਲੇਟ ਕਾਲਾਂ ਅਤੇ ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਸਹੀ ਢੰਗ ਨਾਲ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(mw.title.getCurrentTitle())
print(mw.getCurrentFrame():preprocess('{{PAGENAME}}'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=3>
ਮੌਡਿਊਲ:Yesno
Yesno
</syntaxhighlight></blockquote>
ਇਹ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.ustring.len|mw.ustring.len]]</code> ਫੰਕਸ਼ਨ ਦੀ ਵਰਤੋਂ <code>[[mw:Extension:Scribunto/Lua reference manual#string.len|string.len]]</code> ਦੀ ਬਜਾਇ ਕਰਨੀ ਬਿਹਤਰ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਯੂਨੀਕੋਡ]]--
local code = mw.getContentLanguage().code
local lang = mw.getCurrentFrame():callParserFunction("#language", code)
local lenUnicode = mw.ustring.len(lang) -- ਅੱਖਰਾਂ ਦੀ ਗਿਣਤੀ
local lenByte, lenSharp = string.len(lang), #lang -- ਬਾਈਟਾਂ ਦੀ ਗਿਣਤੀ
local msg = "code: \"%s\". lang: \"%s\". mw.ustring.len = %d string.len = %d sharp = %d"
print((msg):format(code, lang, lenUnicode, lenByte, lenSharp))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=8>
code: "pa". lang: "ਪੰਜਾਬੀ". mw.ustring.len = 6 string.len = 18 sharp = 18
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</blockquote>
ਵਿਕੀ ਸਫ਼ੇ ਵਿੱਚ, ਸਾਰਾ Lua ਕੋਡ (ਜਿਸ ਵਿੱਚ ਲੰਬੇ ਅੰਕੜਾ-ਹਿਸਾਬ ਜਾਂ ਬੇਅੰਤ <syntaxhighlight lang="lua" inline>while</syntaxhighlight> ਜਾਂ <syntaxhighlight lang="lua" inline>repeat</syntaxhighlight> ਲੂਪ ਵੀ ਸ਼ਾਮਲ ਹਨ) '''10 ਸ'''ਕਿੰਟ ਦੇ CPU ਸਮੇਂ ਤੱਕ ਸੀਮਿਤ ਹੈ। ਤੁਸੀਂ ਰੈਂਡਰ ਕੀਤੇ ਸਫ਼ੇ ਦੇ ਸਰੋਤ ਕੋਡ ਵਿੱਚ ਦੇਖ ਸਕਦੇ ਹੋ ਕਿ ਕਿਸੇ ਟੈਂਪਲੇਟ ਜਾਂ ਮੌਡਿਊਲ ਨੂੰ ਪਾਰਸ ਹੋਣ ਵਿੱਚ ਕਿੰਨਾ ਸਮਾਂ ਲੱਗਿਆ।
ਮਿਆਰੀ Lua ਦੇ ਮੁਕਾਬਲੇ, Scribunto ਦਾ Lua ਸੁਰੱਖਿਅਤ ਫੰਕਸ਼ਨ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ (ਮਿਆਰੀ Lua ਤੋਂ [[mw:Extension:Scribunto/Lua_reference_manual#Differences_from_standard_Lua|ਅੰਤਰ]] ਵੇਖੋ)।
=== ਲੂਆ ਇਨਪੁੱਟ ਕਮੀਆਂ ===
Scribunto ਵਿੱਚ Lua ਕੋਡ ਸਿਰਫ਼ ਉਦੋਂ ਹੀ ਚਲਾਇਆ ਜਾਂਦਾ ਹੈ ਜਦੋਂ ਸਫ਼ੇ ਨੂੰ ਪਾਰਸ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੋਵੇ। ਇਸ ਲਈ, Lua ਨੂੰ ਮਿਲਣ ਵਾਲਾ ਇਕਲੌਤਾ ਯੂਜ਼ਰ ਇਨਪੁੱਟ ''ਸਫ਼ੇ ਦੀ ਸੋਧ'' ਰਾਹੀਂ ਹੀ ਹੋ ਸਕਦਾ ਹੈ - ਇਹ ਅਜਿਹਾ ਇਨਪੁੱਟ ਬਾਕਸ ਨਹੀਂ ਬਣਾ ਸਕਦਾ ਜਿਸ ਵਿੱਚ ਤੁਸੀਂ ਫੈਰਨਹਾਈਟ ਤਾਪਮਾਨ ਦਰਜ ਕਰੋ ਅਤੇ ਕਿਸੇ ਬਟਨ ਨੂੰ ਦਬਾਉਣ ’ਤੇ ਉਸ ਨਾਲ ਸੰਬੰਧਿਤ ਸੈਲਸੀਅਸ ਤਾਪਮਾਨ ਪ੍ਰਾਪਤ ਕਰ ਸਕੋ, ਜਾਂ ਇਸ ਗੱਲ ਦੇ ਆਧਾਰ ’ਤੇ ਮੈਂਡਲਬਰੋਟ ਸੈੱਟ ਦੇ ਕਿਸੇ ਹਿੱਸੇ ਦੀ ਮੁੜ ਗਣਨਾ ਕਰ ਸਕੋ ਕਿ ਤੁਸੀਂ ਮੂਲ ਸੈੱਟ ਦੇ ਕਿਹੜੇ ਹਿੱਸੇ ’ਤੇ ਕਲਿੱਕ ਕਰਦੇ ਹੋ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
local function toCelsius(tempFahrenheit) return (tempFahrenheit - 32) * 5 / 9 end
print(("toCelsius(32°F) = %s°C. toCelsius(68°F) = %d°C"):format(toCelsius(32), toCelsius(68)))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
toCelsius(32°F) = 0°C. toCelsius(68°F) = 20°C
</syntaxhighlight></blockquote>
Lua ਇਨਪੁੱਟ ਵਿਕੀਪੀਡੀਆ ਦੇ ਕਿਸੇ ਵੀ ਅਜਿਹੇ ਪਾਠ ਸਫ਼ੇ ਦੀ ਵਰਤੋਂ ਕਰ ਸਕਦਾ ਹੈ ਜਿਸ ਨੂੰ ਕਿਸੇ ਹੋਰ ਸਫ਼ੇ ਵਿੱਚ [[ਵਿਕੀਪੀਡੀਆ:Transclusion|ਸ਼ਾਮਲ]] ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੋਵੇ। ਇਸ ਵਿੱਚ ਚਿੱਤਰ ਫ਼ਾਈਲਾਂ, ਸਕੇਲੇਬਲ ਵੈਕਟਰ ਗ੍ਰਾਫ਼ਿਕਸ (SVG) ਫ਼ਾਈਲਾਂ, [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]] ਦੀਆਂ ਸੂਚੀਆਂ ਜਾਂ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:UnitTests]] ਵਰਗੇ ਖ਼ਾਸ ਸਫ਼ੇ ਸ਼ਾਮਲ ਨਹੀਂ ਹਨ।
== ਡੀਬੱਗ ਕਰਨਾ ==
=== ਨਾਂ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਵਿੱਚ ਸਮੱਸਿਆ ਨੂੰ ਸਰਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |state=NY |type=NY |route=343}}
</blockquote>
ਗਲਤੀ ਵਾਲੇ ਸੁਨੇਹੇ 'ਤੇ ਕਲਿੱਕ ਕਰੋ, ਫਿਰ ਲਾਈਨ 107 ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Infobox_road/route at line 107: bad argument #1 to 'wikitext' ('''string''' or number expected, got <s>boolean</s>).
</blockquote>
<code>wikitext</code> ਫੰਕਸ਼ਨ Boolean ਮੁੱਲ <code>false</code> ਨੂੰ ਸਵੀਕਾਰ ਨਹੀਂ ਕਰਦਾ।
<blockquote><syntaxhighlight lang="lua" start=107 line highlight=1>
container:tag('p'):cssText('margin:0.1em;'):wikitext(name)
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<code>|name=</code> ਪੈਰਾਮੀਟਰ ਪਰਿਭਾਸ਼ਿਤ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</blockquote>
=== ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਦੇ "ਮੁੱਖ ਜੰਕਸ਼ਨ" ਭਾਗ ਵਿੱਚ ਬਾਕੀ ਤਿੰਨ ਸਮੱਸਿਆਵਾਂ ਨੂੰ ਸਰਲ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{jct|state=NY|NY|82}}
</syntaxhighlight></blockquote>
<blockquote>
{{jct|state=NY|NY|82}}
</blockquote>
{{collapse top|title=ਲੂਆ ਕੋਡ ਵਿੱਚ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਜੋੜਨਾ}}
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local modJunction = require('ਮੌਡਿਊਲ:jct')
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(modJunction.jct(frame))
</syntaxhighlight></blockquote>
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Jct at line 204: attempt to concatenate local 'link' (a boolean value).<br />
Backtrace:<br />
ਮੌਡਿਊਲ:Jct:204: in function "routeText"
</blockquote>
[[ਮੌਡਿਊਲ:Jct#L-204]] ਵਿੱਚ, <code>link</code> ਦਾ ਮੁੱਲ <code>false</code> ਹੈ, ਪਰ ਇੱਥੇ ਇੱਕ ਸਤਰ ਦੀ ਲੋੜ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=12>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route
else
link = p.link(route)
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# Lua ਕੋਡ ਵਿੱਚ ਦੋ ਕਸਟਮ <syntaxhighlight lang="lua" inline>error()</syntaxhighlight> ਕਾਲਾਂ ਜੋੜ ਕੇ ਅਸਥਾਈ ਤੌਰ 'ਤੇ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਲਗਾਓ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=6,8 copy>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route; error("link1=" .. tostring(link))
else
link = p.link(route); error("link2=" .. tostring(link))
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# "<s>ਸਫ਼ਾ ਛਾਪੋ</s>" (<s>ਤਬਦੀਲੀਆਂ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ</s>। <s>Publish changes</s>) 'ਤੇ '''<span style="color:red;">ਕਲਿੱਕ ਨਾ ਕਰੋ</span>'''।
<code>ਮੌਡਿਊਲ:</code>'''<code>[[ਮੌਡਿਊਲ:Jct|Jct]]</code>''' ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
# ਦੂਜੀ ਕਸਟਮ ਗਲਤੀ ਦਿਖਾਈ ਦੇਵੇਗੀ।
<blockquote style="color:#bf3c2c;">
Lua error at line 200: link2=false.
</blockquote>
# ਦੋਵੇਂ ਕਸਟਮ ਗਲਤੀ ਕਾਲਾਂ ਹਟਾਓ। ਸਮੱਸਿਆ <code>p.link</code> ਫੰਕਸ਼ਨ ਵਿੱਚ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=2,4>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr')
if nolink then
return abbr
else
local link = parser(route, 'link')
if not link or link == '' then
return abbr
else
return format("[[%s|%s]]", link, abbr)
end
end
end
</syntaxhighlight></blockquote>
ਵਿਕੀ ਸਫ਼ਾ [[:en:New York State Route 82]] ਮੌਜੂਦ ਨਹੀਂ ਹੈ। ਇਸ ਲਈ <code>link</code> ਅਤੇ <code>abbr</code> ਦੋਵਾਂ ਦਾ ਮੁੱਲ <code>false</code> ਹੈ।
# ਜਦੋਂ ਸੰਖੇਪ ਰੂਪ ਪਰਿਭਾਸ਼ਿਤ ਨਾ ਹੋਵੇ, ਤਾਂ ਉਸਨੂੰ ਸੰਭਾਲਣ ਲਈ Lua ਕੋਡ ਵਿੱਚ ਸੁਧਾਰ ਕਰੋ।
# <syntaxhighlight lang="lua" inline>false</syntaxhighlight> ਦੀ ਥਾਂ <syntaxhighlight lang="lua" inline> or ''</syntaxhighlight> ਜੋੜ ਕੇ ਖਾਲੀ ਸਤਰ <syntaxhighlight lang="lua" inline>""</syntaxhighlight> ਵਾਪਸ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=4 copy>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr') or ''
if nolink then
return abbr
else
local link = parser(route, 'link')
if not link or link == '' then
return abbr
else
return format("[[%s|%s]]", link, abbr)
end
end
end
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:Jct]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame(); frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
{{collapse bottom}}
=== ਵਿਕੀਟੈਕਸਟ ===
ਸ਼ਾਮਲ ਕੀਤੇ ਗਏ ਵਿਕੀਪੀਡੀਆ ਸਿਰਲੇਖਾਂ ਵਿੱਚ ਅਕਸਰ <syntaxhighlight lang="lua" inline>"UNIQ5ae8f2aa414ff233-h-3--QINU"</syntaxhighlight> ਵਰਗਾ ਲੁਕਿਆ ਹੋਇਆ ਕੋਡ ਹੁੰਦਾ ਹੈ, ਜਿਸ ਨੂੰ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਢੰਗ ਨਾਲ ਪਾਰਸ ਕਰਨ ਲਈ ਹਟਾਉਣ ਦੀ ਲੋੜ ਪੈ ਸਕਦੀ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(string.reverse("UNIQ"))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=2>
QINU
</syntaxhighlight></blockquote>
ਪਾਈਪ <code><nowiki>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ</nowiki></code>'''<code><nowiki>|</nowiki></code>'''<code><nowiki>]]</nowiki></code> ਤੋਂ ਬਾਅਦ ਪ੍ਰਗਟਾਵੇ ਤੋਂ ਬਿਨਾਂ ਵਾਲੇ ਵਿਕੀਲਿੰਕ, ਜੇ ਆਉਟਪੁੱਟ ਵਜੋਂ ਵਾਪਸ ਕੀਤੇ ਜਾਣ, ਤਾਂ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ - ਇਨ੍ਹਾਂ ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਇਸ ਤਰ੍ਹਾਂ ਲਿਖਣ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ: <syntaxhighlight lang="lua" inline>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|</syntaxhighlight>'''<code>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|ਮਦਦ]]</code>'''<syntaxhighlight lang="lua" inline>]]</syntaxhighlight>।
ਸੇਵ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਹੋਣ ਵਾਲੀਆਂ ਹੋਰ ਤਬਦੀਲੀਆਂ ਵੀ, ਜਿਵੇਂ ਕਿ <code>~~<nowiki/>~~</code> ਨੂੰ ਦਸਤਖ਼ਤਾਂ ਨਾਲ ਬਦਲਣਾ, ਪ੍ਰਕਿਰਿਆ ਵਿੱਚ ਨਹੀਂ ਆਉਣਗੀਆਂ। ਟੈਂਪਲੇਟ ਟ੍ਰਾਂਸਕਲੂਜ਼ਨ, ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਕਾਲਾਂ ਅਤੇ ਵੇਰੀਏਬਲ ਬਦਲਾਅ (ਅਰਥਾਤ <code><nowiki>{{...}}</nowiki></code> ਵਾਲੀ ਕੋਈ ਵੀ ਚੀਜ਼) ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ। ਇਸੇ ਤਰ੍ਹਾਂ {{tag|ref|o}} ਜਾਂ {{tag|nowiki|o}} ਵਰਗੇ ਟੈਗ ਵੀ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ।
== ਬਦਲੇ ਹੋਏ ਫਰਮਿਆਂ ਦਾ ਨਾਮਕਰਨ==
{{lua|ਮੌਡਿਊਲ:Bananas}}
ਕਿਰਪਾ ਕਰਕੇ {{tl|lua}} ਫਰਮਿਆਂ ਨੂੰ ਉਹਨਾਂ ਸਾਰੇ ਫਰਮਿਆਂ ਦੇ ਡਾਕੂਮੈਂਟੇਸ਼ਨ ਉੱਪ-ਪੰਨਿਆਂ ਉੱਤੇ ਰੱਖੋ ਜੋ ਲੂਆ ਵਰਤਦੇ ਹਨ, ਇਹ ਲੂਆ ਵਰਤੋਂ ਅਤੇ ਫਰਮਾ ਪਰਿਵਰਤਨਾਂ ਦੇ ਸਹਿਯੋਗ ਵਿੱਚ ਮਦੱਦ ਕਰੇਗਾ|
{{clear}}
== ਇਹ ਵੀ ਦੇਖੋ ==
* [[ਖ਼ਾਸ:ਅਗੇਤਰ ਤਤਕਰਾ/ਮੌਡਿਊਲ:]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ
* [[:ਸ਼੍ਰੇਣੀ:Lua-based templates]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਦੇ ਸਮੂਹ
* [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]]
* [[:ਮੌਡਿਊਲ:Sandbox]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਨਾਲ ਪ੍ਰਯੋਗ ਕਰਨ ਲਈ ਇੱਕ pseudo-namespace ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ
; ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਪੀਡੀਆ-ਵਿਸ਼ੇਸ਼ ਸਰੋਤ
* [[Wikipedia:Lua style guide]] – ਇਕਸਾਰਤਾ ਰਾਹੀਂ ਕੋਡ ਦੀ ਪੜ੍ਹਨਯੋਗਤਾ ਸੁਧਾਰਨ ਲਈ ਮਿਆਰ
* [[:en:Help:Lua debugging]] – ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਡੀਬੱਗਿੰਗ ਬਾਰੇ ਇੱਕ ਕਿਵੇਂ-ਕਰਨਾ ਗਾਈਡ
* [[:en:Wikipedia talk:Lua]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਜਾਂ ਕੰਮਾਂ ਲਈ ਬੇਨਤੀਆਂ
== ਨੋਟਸ ==
{{reflist}}
{{Wikipedia technical help|collapsed}}
[[Category:Wikipedia modules]]
gt5t4jaymutwudi4ggbpqfw5bwgg7gh
849431
849430
2026-10-08T17:10:09Z
Nimmzo
62202
/* ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ */ The issue "Missing link" is solved but a new error will appear. [[:en:Module:Road data/extra]] not found
849431
wikitext
text/x-wiki
{{WikiProject Lua/header}}
{{Namespaces}}
{{Information page|WP:Lua}}
[[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)|ਲੂਆ]] ਇੱਕ ਪ੍ਰੋਗ੍ਰਾਮਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜੋ ਹੁਣ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ, [[mw: Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਮੀਡੀਆਵਿਕੀ ਐਕਸਟੈਂਸ਼ਨ ਰਾਹੀਂ ਉਪਲਬਧ ਹੈ। ਲੁਆ ਕੋਡ ਨੂੰ ਹੁਣ ਵਿਕੀਪੀਡੀਆ ਟੈਂਪਲੈਂਟਾਂ ਵਿੱਚ ਸਕਿਰਬੰਟੋ ਦੇ <syntaxhighlight lang="lua" inline>{{#invoke:}}</syntaxhighlight> ਫੰਕਸ਼ਨ ਨੂੰ ਲਾਗੂ ਕਰਕੇ ਜੜਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਹ ਐਕਸਟੈਨਸ਼ਨ ਜੁਲਾਈ 2015 ਤੋਂ ਲੁਆ 5.1 {{as of|lc=y|2015|07}} ਨੂੰ ਸਪੋਰਟ ਕਰਦੀ ਹੈ।
== ਲੂਆ ਵਿੱਚ ਹੈਲੋ ਵਰਲਡ! ==
<code>[[ਮੌਡਿਊਲ:Bananas]]</code>: ਸਰਲਤਮ ਸੰਭਵ ਸਕ੍ਰਿਪਟ, ਜੋ ਕੋਈ ਵੀ ਆਰਜੂਮੈਂਟ ਵਾਲਾ ਇੱਕ ਸਿੰਗਲ ਫੰਕਸ਼ਨ ਦਿੰਦੀ ਹੈ
ਲੁਆ ਸੋਰਸ ਕੋਡ ਮੌਡਿਊਲਜ਼ (ਯਾਨਿ ਕਿ, <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>) ਨਾਮਕ ਪੰਨਿਆਂ ਵਿੱਚ ਜਮਾਂ ਹੁੰਦੇ ਜਾਂਦੇ ਹਨ। ਇਹ ਵਿਅਕਤੀਗਤ ਮੌਡਿਊਲਜ਼ ਫੇਰ ਟੈਂਪਲੈਂਟ ਪੰਨਿਆਂ ਉੱਤੇ <syntaxhighlight lang="wikitext" inline>{{#invoke:}}</syntaxhighlight> ਕੋਡ ਰਾਹੀਂ ਇਨਵੋਕ (ਬੁਲਾਏ) ਕੀਤੇ ਜਾਂਦੇ ਹਨ। (ਜਿਵੇਂ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/doc|doc]]</code>''' ਇਸ <syntaxhighlight lang="lua" inline>"Hello, world!"</syntaxhighlight> ਸ਼ਬਦਾਂ ਨੂੰ ਛਾਪਣ ਵਾਸਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas|</syntaxhighlight>'''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਕੋਡ ਵਰਤਦਾ ਹੈ।)
ਤੁਹਾਨੂੰ ਕੁਝ ਵੀ ਇੰਸਟਾਲ ਜਾਂ ਸੇਵ ਕਰਨ ਦੀ ਲੋੜ ਨਹੀਂ ਹੈ।
# ਆਪਣਾ ਯੂਜ਼ਰ ਪੰਨਾ ਸੰਪਾਦਿਤ ਕਰੋ।
# ਆਪਣੇ ਯੂਜ਼ਰ ਪੰਨੇ ’ਤੇ ਨਵੀਂ ਲਾਈਨ ਦੇ ਸ਼ੁਰੂ ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੀ ਕਾਲ ਚਿਪਕਾਓ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Bananas|hello}}
</syntaxhighlight></blockquote>
<ol start="3">
<li>'''<code>ਝਲਕ ਵਿਖਾਓ</code>''' ’ਤੇ ਕਲਿੱਕ ਕਰੋ। <syntaxhighlight lang="lua" inline>hello</syntaxhighlight> ਫੰਕਸ਼ਨ ਦੀ ਕਾਲ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੇ ਨਾਲ ਬਦਲ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ:</li>
</ol>
<blockquote><syntaxhighlight lang="lua" line>
Hello, world!
</syntaxhighlight></blockquote>
<ol start="4">
<li><code style="color:#bf3c2c;">ਰੱਦ ਕਰੋ</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ। ਪੁੱਛੇ ਜਾਣ ’ਤੇ, <code>Leave</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ।</li>
<li>ਤੁਹਾਡਾ ਯੂਜ਼ਰ ਪੰਨਾ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।</li>
</ol>
=== ਆਰਜੂਮੈਂਟਾਂ ਵਰਤਣਾ ===
ਆਰਜੂਮੈਂਟਾਂ ਮੌਡਿਊਲਾਂ ਵੱਲ ਉਸੇ ਤਰੀਕੇ ਨਾਲ ਪਾਸ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਜਿਸਤਰਾਂ ਫਰਮੇ ਪਾਸ ਹੁੰਦੇ ਹਨ। ਫੇਰ ਵੀ, ਨੋਟ ਕਰੋ ਕਿ ਪਹਿਲੇ ਪਾਈਪ ਅੱਖਰ ਤੋਂ ਬਾਦ ਦੇ ਅਗਲੇ ਅੱਖਰ ਹਮੇਸ਼ਾਂ ਹੀ ਫੰਕਸ਼ਨ ਦਾ ਨਾਮ ਹੁੰਦੇ ਹਨ; ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਦੂਜੀ ਪਾਈਪ ਤੋਂ ਬਾਦ ਦੇ ਟੈਕਸਟ ਹੁੰਦੇ ਹਨ।
<blockquote><syntaxhighlight lang="lua" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਆਰਗੂਮੈਂਟ}}
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:BananasArgs]]</code>: ਸਿੱਧ ਕਰਕੇ ਦਿਖਾਉਂਦੀ ਹੈ ਕਿ ਪੈਰਾਮੀਟਰਾਂ ਨੂੰ ਕਿਵੇਂ ਵਰਤਣਾ ਅਤੇ ਕ੍ਰਿਆਸ਼ੀਲ ਕਰਨਾ ਹੈ
ਉਦਾਹਰਨ ਦੇ ਤੌਰ ਤੇ, <code>ਮੌਡਿਊਲ:</code><code>BananasArgs</code> ਵਿੱਚ, '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-13|hello]]</code>''' ਫੰਕਸ਼ਨ ਵੱਖਰੇ ਲੋਕਾਂ ਦਾ ਸਵਾਗਤ ਕਰਨਾ ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਤੇ ਨਿਰਭਰ ਕਰਦਾ ਹੈ। ਇਹ ਇਸਤਰਾਂ ਕੰਮ ਕਰਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</blockquote>
;ਨਾਮਿਤ ਆਰਗੂਮੈਂਟ <code>|ਕੁੰਜੀ=ਮੁੱਲ</code>
<blockquote><syntaxhighlight lang="wikitext" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ1=ਮੁੱਲ1|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ2=ਮੁੱਲ2}}
</syntaxhighlight></blockquote>
BananasArgs ਕੋਲ ਇੱਕ '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-26|count_fruit]]</code>''' ਨਾਮਕ ਫੰਕਸ਼ਨ ਵੀ ਹੁੰਦਾ ਹੈ ਜੋ <code>|bananas=</code> and <code>|apples=</code> ਨਾਮਕ ਆਰਜੂਮੈਂਟ ਵਰਤਦਾ ਹੈ ਜਿਸਨਾਲ ਸਾਡੇ ਕੋਲ ਮੌਜੂਦ ਕੇਲਿਆਂ (ਬਾਨਾਨਾਜ਼) ਅਤੇ ਸੇਬਾਂ ਦੀ ਸੰਖਿਆ ਗਿਣੀ ਜਾਂਦੀ ਹੈ। ਇਸਨੂੰ ਆਰਗੂਮੈਂਟਾਂ ਦਾ ਕ੍ਰਮ ਬਦਲ ਕੇ ਚਲਾਇਆ ਜਾ ਸਕਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</blockquote>
ਜਿਆਦਾਤਰ ਮੌਡਿਊਲਜ਼ ਇੱਕ ਡੌਕੂਮੈਂਟੇਸ਼ਨ ਪੰਨਾ ਰੱਖਦੇ ਹੋਣਗੇ ਜਿਸਵਿੱਚ ਇਹ ਸਮਝਾਇਆ ਗਿਆ ਹੁੰਦਾ ਹੈ ਕਿ ਕਿਹੜੀਆਂ ਆਰਜੂਮੈਂਟਾਂ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ ਅਤੇ ਉਹਨਾਂ ਦੇ ਪ੍ਰਭਾਵ ਕੀ ਹੋਣਗੇ ।
== ਡੀਬੱਗ ਕੌਨਸੋਲ: ਲੂਆ ਸਿੱਖਣਾ ਸ਼ੁਰੂ ਕਰੋ ==
ਲੂਆ Scribunto ਦਾ <code>Debug Console</code> ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ ਲੂਆ ਸਿੱਖਣ ਲਈ ਇੱਕ ਸੁਰੱਖਿਅਤ, ਇੰਟਰਐਕਟਿਵ ਟੂਲ ਹੈ।
# [[ਮੌਡਿਊਲ:Yesno]] ਪੰਨੇ ‘ਤੇ <code>ਸਰੋਤ ਵੇਖੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰੋ।
# ਪੰਨੇ ਦੇ ਹੇਠਾਂ <code>Debug console</code> ਭਾਗ ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
# ਟਿੱਪਣੀ ਅਤੇ ਕਾਲ ਨੂੰ <span style="color:#eaecf0;">ਹਲਕਾ</span> <span style="color:blue;">ਨੀਲਾ</span> ਇਨਪੁੱਟ ਬਾਕਸ ਵਿੱਚ ਪੇਸਟ ਕਰੋ (ਜੋ <code>ਸਾਫ਼ ਕਰੋ</code> ਬਟਨ ਦੇ ਉੱਪਰ ਹੈ)।
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
--[[ਤੁਹਾਡਾ ਪਹਿਲਾ ਲੂਆ Hello World-ਜਿਹਾ ਪ੍ਰੋਗਰਾਮ]]--
print("ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ " .. _VERSION .. "!") -- ਲੂਆ ਸੰਸਕਰਣ ਨੂੰ `..` ਨਾਲ ਜੋੜੋ
</syntaxhighlight></blockquote>
<ol start="4">
<li>ਦੋ ਲੂਆ ਕਮਾਂਡਾਂ ਨੂੰ ਚਲਾਉਣ ਲਈ {{key press|Enter}} ਇੱਕ ਵਾਰ ਦਬਾਓ।</li>
<li>ਨਤੀਜਾ ਲੂਆ <syntaxhighlight lang="lua" inline>print</syntaxhighlight> ਕਮਾਂਡ ਲਾਈਨ ਦੇ ਹੇਠਾਂ ਦਿਖਾਈ ਦੇਵੇਗਾ:</li>
</ol>
<blockquote><syntaxhighlight lang="text" line start=3>
ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ Lua 5.1!
</syntaxhighlight></blockquote>
<ol start="6">
<li>ਪਿਛਲੀਆਂ ਲੂਆ ਕਮਾਂਡਾਂ ਵਿਚਕਾਰ ਜਾਣ ਲਈ {{key press|Up}} <code>Up arrow</code> ਦਬਾਓ।</li>
<li>ਚਾਹੋ ਤਾਂ <code>ਸਾਫ਼ ਕਰੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰਕੇ ਸਿਰਫ਼ <code>Debug Console</code> ਨੂੰ ਸਾਫ਼ ਕਰੋ; ਉੱਪਰ ਵਾਲਾ ਲੂਆ ਸੰਪਾਦਕ '''ਬਦਲਿਆ ਨਹੀਂ ਜਾਵੇਗਾ'''।</li>
</ol>
; ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ HTML ਜਨਰੇਟਰ
<code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ '''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>''' ਫੰਕਸ਼ਨ ਨੂੰ ਕਾਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- Debug console ਵਿੱਚ ਮੌਡਿਊਲ ਲੋਡ ਕਰੋ
print(modHi.hello()) -- "Hello, world!" ਦਿਖਾਓ
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
Hello, world!
</syntaxhighlight></blockquote>
;ਆਰਗੂਮੈਂਟ
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
local modArg = require('ਮੌਡਿਊਲ:BananasArgs')
local frame = mw.getCurrentFrame()
frame.args = {"ਜਸਪ੍ਰੀਤ"}; print("੧. " .. modArg.hello(frame))
frame.args = {"ਗੁਰਪ੍ਰੀਤ"}; print("੨. " .. modArg.hello(frame))
frame.args = {apples="3", bananas="4"}; print("੩. " .. modArg.count_fruit(frame))
frame.args = {bananas="5", apples="2"}; print("੪. " .. modArg.count_fruit(frame))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=7>
੧. Hello, ਜਸਪ੍ਰੀਤ!
੨. Hello, ਗੁਰਪ੍ਰੀਤ!
੩. I have 4 bananas and 3 apples
੪. I have 5 bananas and 2 apples
</syntaxhighlight></blockquote>
; ਪਛਾਣ ਫੰਕਸ਼ਨ
<code>callParserFunction</code> [[mw:Help:Extension:ParserFunctions##if|#if]]
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local yesno = require('ਮੌਡਿਊਲ:Yesno') -- #if yesno then ਆਪਣਾ ਇਨਪੁੱਟ ਪੈਰਾਮੀਟਰ ਵਾਪਸ ਕਰਦਾ ਹੈ
print(mw.getCurrentFrame():callParserFunction("#if", yesno("Yes"), "Yes", 'no'))
print(mw.getCurrentFrame():callParserFunction("#if", yesno('ਨਹੀਂ'), "ਹਾਂ", 'ਨਹੀਂ'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=4>
Yes
ਨਹੀਂ
</syntaxhighlight></blockquote>
# ਸੁਰੱਖਿਅਤ <code>ਮੌਡਿਊਲ:</code><code>Yesno</code> ਨੂੰ ਬੰਦ ਕਰੋ, ਜੋ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।
== ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਦੀ ਬੇਨਤੀ ਕਰੋ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਜਾਂ ਕਿਸੇ ਹੋਰ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟ ਉੱਤੇ ਕੋਈ ਖਾਸ ਕੰਮ ਕਰਨ ਲਈ ਕਿਸੇ ਲੂਆ ਸਕ੍ਰਿਪਟ ਨੂੰ ਲਿਖਣ ਵਾਸਤੇ ਸਹਾਇਤਾ ਲਈ [[:en:Wikipedia talk:Lua]] ਤੇ ਜਾਓ
== ਇਤਿਹਾਸ ==
[[mw:Manual:MediaWiki architecture#Magic words and templates|ਜਾਦੂਈ ਸ਼ਬਦ]], [[mw:Help:Extension:ParserFunctions|ਪਾਰਜ਼ਰਫੰਕਸ਼ਨ (ParserFunctions)]], [[mw:Extension:Lua|ਲੂਆ ਸ਼ਾਖਾ]], ਵਿਕੀ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਨੇ (JavaScript ਬਨਾਮ Lua), [[mw:Extension:WikiScripts]] ਮੁਕਾਬਲਾ ਕਰਾਇਆ, ਲੂਆ ਵਾਸਤੇ ਸ਼ੁਰੂਆਤੀ ਸਮਰਥਨ ਨਾਲ ਟਿੱਮ [[mw:Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਲਿਖਦਾ ਹੈ|
ਸਾਲਾਂ ਦੀ ਚਰਚਾ ਤੋਂ ਬਾਦ ਲੂਆ ਨੂੰ [[test2wiki:|test2.wikipedia.org]] ਉੱਤੇ ਪਰਖਣ ਵਾਸਤੇ 2012 ਵਿੱਚ ਇਨਸਟਾਲ ਕੀਤਾ ਗਿਆ, ਜਿਸ ਵਿੱਚ ਲੂਆ ਮੌਡਿਊਲਾਜ਼ ਨੂੰ ਵਿਕਸਿਤ ਕਰਨ ਵਾਲੇ ਪ੍ਰਯੋਗਾਂ ਲਈ ਸਾਰੇ ਸੰਪਾਦਕਾਂ ਨੂੰ ਖੁੱਲਾ ਸੱਦਾ ਦਿੱਤਾ ਗਿਆ | ਲੂਆ ਫਰਵਰੀ 2013 ਵਿੱਚ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ mediawiki.org ਅਤੇ Wikimedia test wikis ਉੱਤੇ ਪਰਖਣ ਤੋਂ ਬਾਦ ਇਨਸਟਾਲ ਕਰ ਦਿੱਤੀ ਗਈ|
== ਲੂਆ ਬਾਰੇ ==
:Brad Jorsch ਵੱਲੋਂ ਬਣਾਏ ਗਏ [[:File:WMF Tech Talk 2013-02-28 slides - Scribunto presentation.pdf|ਵਿਕੀਟੈਕਸਟ ਟੈਂਪਲੇਟ]] ਨੂੰ ਲੂਆ ਮੌਡਿਊਲ ਵਿੱਚ ਬਦਲਣ ਦਾ ਤਰੀਕਾ ਵੀ ਵੇਖੋ।
ਲੂਆ ਇੱਕ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜਿਸ ਦੀ ਵਰਤੋਂ ਡੇਟਾ ਦਾ ਵਿਸ਼ਲੇਸ਼ਣ ਕਰਨ, ਸਮੀਕਰਨਾਂ ਦੀ ਗਣਨਾ ਕਰਨ ਅਤੇ ਫੰਕਸ਼ਨਾਂ ਜਾਂ ਆਬਜੈਕਟ-ਓਰੀਐਂਟਡ ਪ੍ਰੋਗਰਾਮਿੰਗ ਰਾਹੀਂ ਨਤੀਜਿਆਂ ਨੂੰ ਫਾਰਮੈਟ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ। ਭਾਵੇਂ ਕੁਝ ਲੂਆ ਸਕ੍ਰਿਪਟਾਂ ਨੂੰ ਸਰਲ ਰੱਖਿਆ ਜਾ ਸਕਦਾ ਹੈ, ਪਰ ਆਸਾਨੀ ਨਾਲ ਸਮਝਣ ਲਈ ਲੂਆ ਟੇਬਲਾਂ, ਡਾਇਨਾਮਿਕ ਫੰਕਸ਼ਨਾਂ ਅਤੇ ਐਸੋਸੀਏਟਿਵ ਐਰੇਆਂ ਸਮੇਤ ਜਟਿਲ ਢਾਂਚਿਆਂ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ, ਜਿੱਥੇ ਇੰਡੈਕਸ ਸਬਸਕ੍ਰਿਪਟਾਂ ਇੰਡੈਕਸ ਨੰਬਰਾਂ ਦੇ ਨਾਲ-ਨਾਲ ਸ਼ਬਦ ਵੀ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਲੂਆ ਨੇਸਟਡ ਫੰਕਸ਼ਨਾਂ ਦੀ ਰਿਕਰਸ਼ਨ ਨੂੰ ਵੀ ਸਮਰਥਨ ਦਿੰਦਾ ਹੈ, ਇਸ ਲਈ ਬੇਹੱਦ ਜਟਿਲਤਾ ਤੋਂ ਬਚਣ ਲਈ ਸਾਵਧਾਨੀ ਵਰਤਣੀ ਚਾਹੀਦੀ ਹੈ, ਤਾਂ ਜੋ ਹੋਰ ਵਰਤੋਂਕਾਰ ਇਹ ਸਮਝ ਸਕਣ ਕਿ ਲੂਆ ਮੌਡਿਊਲ ਦੀ ਦੇਖਭਾਲ ਕਿਵੇਂ ਕਰਨੀ ਹੈ।
ਹੇਠਾਂ ਉੱਪਰ ਦਿੱਤੀਆਂ ਉਦਾਹਰਨਾਂ ਲਈ ਵਰਤੇ ਗਏ ਮੌਡਿਊਲ ਦੇ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦਾ ਇੱਕ ਅੰਸ਼ ਦਿੱਤਾ ਗਿਆ ਹੈ:
<syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਮੌਡਿਊਲ:BananasArgs#L-13]]--
local p = {} -- ਲੋੜੀਂਦੀ ਮੌਡਿਊਲ (p)ੈਕੇਜ ਟੇਬਲ, ਖਾਲੀ ਟੇਬਲ ਵਜੋਂ ਸ਼ੁਰੂ ਕੀਤੀ ਗਈ
function p.hello(frame) -- hello ਫੰਕਸ਼ਨ ਦੀ ਪਰਿਭਾਸ਼ਾ।
local name = frame.args[1] -- ਇਸ ਵਿੱਚ ਪਹਿਲਾ ਨਾਮ ਹੁੰਦਾ ਹੈ।
return "Hello, " .. name .. "!" -- `..` ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੰਕਸ਼ਨ ਦਾ ਨਤੀਜਾ ਇੱਕ ਸਤਰ ਵਜੋਂ ਜੋੜ ਕੇ ਵਾਪਸ ਕਰੋ।
end -- ਫੰਕਸ਼ਨ ਦਾ ਅੰਤ।
return p -- ਮੌਡਿਊਲ ਦੀ (p)ੈਕੇਜ ਟੇਬਲ ਵਾਪਸ ਕਰੋ।
</syntaxhighlight>
ਲੂਆ ਦਾ ਇੱਕ ਨਮੂਨਾ <code><nowiki><syntaxhighlight lang="lua" line highlight=1 copy> ... </syntaxhighlight></nowiki></code> ਟੈਗ ਨੂੰ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦੇ ਆਲੇ-ਦੁਆਲੇ ਰੱਖ ਕੇ ਉਜਾਗਰ ਕੀਤਾ ਜਾਂਦਾ ਹੈ। ਲੂਆ ਦੀਆਂ ਕੁਝ ਹੋਰ ਜਟਿਲ ਉਦਾਹਰਨਾਂ ਵੇਖਣ ਲਈ ਲੇਖ [[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)]] ਵੇਖੋ।
MediaWiki (ਅਤੇ ਇਸ ਕਰਕੇ ਵਿਕੀਪੀਡੀਆ) ਵਿੱਚ ਲੂਆ ਦੀ ਵਰਤੋਂ ਕਰਨ ਦੇ ਨਿਰਦੇਸ਼ਾਂ ਲਈ [[mw:Extension:Scribunto/ਲੂਆ reference manual]] ਵੇਖੋ।
== ਯੂਨਿਟ ਪਰਖਣਾ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ Lua ਸਕ੍ਰਿਪਟਾਂ ਲਈ ਇਕਾਈ ਟੈਸਟਿੰਗ ਫਰੇਮਵਰਕ [[ਮੌਡਿਊਲ:ScribuntoUnit]] ਵਿੱਚ ਉਪਲਬਧ ਹੈ।<br />
ਇਹ ਤੁਹਾਨੂੰ ਦਿੱਤੇ ਗਏ ਇਨਪੁੱਟਾਂ ਦੇ ਸਮੂਹ ਉੱਤੇ ਆਪਣੀ ਸਕ੍ਰਿਪਟ ਚਲਾਉਣ ਅਤੇ ਇਹ ਪੁਸ਼ਟੀ ਕਰਨ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ ਕਿ ਉਮੀਦ ਕੀਤੇ ਆਉਟਪੁੱਟ ਤਿਆਰ ਹੋਏ ਹਨ।<br />
ਇਕਾਈ ਟੈਸਟ ਖ਼ਾਸ ਤੌਰ ’ਤੇ ਰਿਗ੍ਰੈਸ਼ਨਾਂ ਨੂੰ ਤੇਜ਼ੀ ਨਾਲ ਖੋਜਣ ਲਈ ਲਾਭਦਾਇਕ ਹੁੰਦੇ ਹਨ, ਜਿੱਥੇ ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਵਿੱਚ ਕੀਤੀਆਂ ਤਬਦੀਲੀਆਂ ਨਵੀਆਂ ਸਮੱਸਿਆਵਾਂ ਪੈਦਾ ਕਰਦੀਆਂ ਹਨ।
ਰਿਵਾਜ ਅਨੁਸਾਰ, [[ਮੌਡਿਊਲ:Bananas]] ਵਰਗੇ ਮੌਡਿਊਲ ਲਈ ਇਕਾਈ ਟੈਸਟ <syntaxhighlight lang="lua" inline>ਮੌਡਿਊਲ:</syntaxhighlight><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/testcases|testcases]]</code>''' ਵਿੱਚ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।<br />
ਇਹ '''<code>[[ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:Bananas/testcases|ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:]]</code>'''<code>Bananas/testcases</code> ਉੱਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas/testcases|</syntaxhighlight>'''<code>run</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਨਾਲ ਚਲਾਏ ਜਾਂਦੇ ਹਨ।
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="wikitext" line highlight=1 copy>
{{#invoke:Bananas/testcases|run}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Bananas/testcases|run}}
</blockquote>
ਹਰ ਟੈਸਟ ਵਿਧੀ ਦੀ ਸ਼ੁਰੂਆਤ <syntaxhighlight lang="lua" inline>p:</syntaxhighlight>'''<code>test_</code>''' ਨਾਲ ਹੋਣੀ ਲਾਜ਼ਮੀ ਹੈ।
[[ਮੌਡਿਊਲ:Bananas/testcases]] ਤੋਂ ਇੱਕ ਉਦਾਹਰਨ ਹੇਠਾਂ ਦਿੱਤੀ ਗਈ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
--[[ਮੌਡਿਊਲ:Bananas/testcases]]--
local p = require('ਮੌਡਿਊਲ:ScribuntoUnit').new()
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- ਟੈਸਟ ਚਲਾਉਣ ਲਈ ਗੱਲ-ਬਾਤ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ।
function p:test_hi() -- [[ਮੌਡਿਊਲ:Bananas]] ਲਈ ਇਕਾਈ ਟੈਸਟ।
self:assertEquals('Hello, world!', modHi.hello())
end
return p
</syntaxhighlight></blockquote>
[[ਮੌਡਿਊਲ:ScribuntoUnit]] ਦੀ ਸ਼ੁਰੂਆਤ ਹੰਗਰੀ ਵਿਕੀਪੀਡੀਆ ਤੋਂ ਹੋਈ ਹੈ।<br />
ਇਹ ਅਸਲ ਤਰੁੱਟੀਆਂ ਪੈਦਾ ਕਰਦਾ ਹੈ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਸੁਰੱਖਿਅਤ ਕਾਲਾਂ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੜਿਆ ਜਾਂਦਾ ਹੈ। ਇਸ ਵਿੱਚ ਦਿੱਤੀ ਗਈ ਸ਼ੁੱਧਤਾ ਦੇ ਅੰਦਰ ਫਲੋਟਾਂ ਦੀ ਤੁਲਨਾ ਕਰਨ ਲਈ ਇੱਕ ਵਿਧੀ ਵੀ ਹੈ।
ਇਕਾਈ ਟੈਸਟਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨ ਵਾਲੇ ਸਾਰੇ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ ਲਈ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:ScribuntoUnit]] ਵੇਖੋ।
== ਵਿਕੀਪੀਡੀਆ ਵਿਸ਼ੇਸ਼ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ==
ਕੁੱਲ ਮਿਲਾ ਕੇ: Lua ਨੂੰ ਇਨਪੁੱਟ ਵਜੋਂ ਸਿਰਫ਼ <code><nowiki>{{#invoke:}}</nowiki></code> ਨੂੰ ਦਿੱਤੀਆਂ ਪਾਠ-ਸਤਰਾਂ ਅਤੇ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.title.new|mw.title.new(...)]]:getContent()</code> तथा <code>[[mw:Extension:Scribunto/Lua reference manual#frame:expandTemplate|frame:expandTemplate()]]</code> ਰਾਹੀਂ ਪ੍ਰਾਪਤ ਕੀਤੀ ਜਾ ਸਕਣ ਵਾਲੀ ਸਮੱਗਰੀ ਹੀ ਮਿਲ ਸਕਦੀ ਹੈ। Lua ਦੇ ਆਉਟਪੁੱਟ ਨੂੰ ਪਹਿਲਾਂ ਤੋਂ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤਾ ਜਾਂਦਾ, ਜਦੋਂ ਤੱਕ <code>[[mw:Extension:Scribunto/Lua reference manual#frame:preprocess|frame:preprocess()]]</code> ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਕਾਲ ਨਾ ਕੀਤਾ ਜਾਵੇ। ਇਸ ਦਾ ਅਰਥ ਹੈ ਕਿ ਆਉਟਪੁੱਟ ਵਿੱਚ ਟੈਂਪਲੇਟ ਕਾਲਾਂ ਅਤੇ ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਸਹੀ ਢੰਗ ਨਾਲ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(mw.title.getCurrentTitle())
print(mw.getCurrentFrame():preprocess('{{PAGENAME}}'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=3>
ਮੌਡਿਊਲ:Yesno
Yesno
</syntaxhighlight></blockquote>
ਇਹ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.ustring.len|mw.ustring.len]]</code> ਫੰਕਸ਼ਨ ਦੀ ਵਰਤੋਂ <code>[[mw:Extension:Scribunto/Lua reference manual#string.len|string.len]]</code> ਦੀ ਬਜਾਇ ਕਰਨੀ ਬਿਹਤਰ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਯੂਨੀਕੋਡ]]--
local code = mw.getContentLanguage().code
local lang = mw.getCurrentFrame():callParserFunction("#language", code)
local lenUnicode = mw.ustring.len(lang) -- ਅੱਖਰਾਂ ਦੀ ਗਿਣਤੀ
local lenByte, lenSharp = string.len(lang), #lang -- ਬਾਈਟਾਂ ਦੀ ਗਿਣਤੀ
local msg = "code: \"%s\". lang: \"%s\". mw.ustring.len = %d string.len = %d sharp = %d"
print((msg):format(code, lang, lenUnicode, lenByte, lenSharp))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=8>
code: "pa". lang: "ਪੰਜਾਬੀ". mw.ustring.len = 6 string.len = 18 sharp = 18
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</blockquote>
ਵਿਕੀ ਸਫ਼ੇ ਵਿੱਚ, ਸਾਰਾ Lua ਕੋਡ (ਜਿਸ ਵਿੱਚ ਲੰਬੇ ਅੰਕੜਾ-ਹਿਸਾਬ ਜਾਂ ਬੇਅੰਤ <syntaxhighlight lang="lua" inline>while</syntaxhighlight> ਜਾਂ <syntaxhighlight lang="lua" inline>repeat</syntaxhighlight> ਲੂਪ ਵੀ ਸ਼ਾਮਲ ਹਨ) '''10 ਸ'''ਕਿੰਟ ਦੇ CPU ਸਮੇਂ ਤੱਕ ਸੀਮਿਤ ਹੈ। ਤੁਸੀਂ ਰੈਂਡਰ ਕੀਤੇ ਸਫ਼ੇ ਦੇ ਸਰੋਤ ਕੋਡ ਵਿੱਚ ਦੇਖ ਸਕਦੇ ਹੋ ਕਿ ਕਿਸੇ ਟੈਂਪਲੇਟ ਜਾਂ ਮੌਡਿਊਲ ਨੂੰ ਪਾਰਸ ਹੋਣ ਵਿੱਚ ਕਿੰਨਾ ਸਮਾਂ ਲੱਗਿਆ।
ਮਿਆਰੀ Lua ਦੇ ਮੁਕਾਬਲੇ, Scribunto ਦਾ Lua ਸੁਰੱਖਿਅਤ ਫੰਕਸ਼ਨ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ (ਮਿਆਰੀ Lua ਤੋਂ [[mw:Extension:Scribunto/Lua_reference_manual#Differences_from_standard_Lua|ਅੰਤਰ]] ਵੇਖੋ)।
=== ਲੂਆ ਇਨਪੁੱਟ ਕਮੀਆਂ ===
Scribunto ਵਿੱਚ Lua ਕੋਡ ਸਿਰਫ਼ ਉਦੋਂ ਹੀ ਚਲਾਇਆ ਜਾਂਦਾ ਹੈ ਜਦੋਂ ਸਫ਼ੇ ਨੂੰ ਪਾਰਸ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੋਵੇ। ਇਸ ਲਈ, Lua ਨੂੰ ਮਿਲਣ ਵਾਲਾ ਇਕਲੌਤਾ ਯੂਜ਼ਰ ਇਨਪੁੱਟ ''ਸਫ਼ੇ ਦੀ ਸੋਧ'' ਰਾਹੀਂ ਹੀ ਹੋ ਸਕਦਾ ਹੈ - ਇਹ ਅਜਿਹਾ ਇਨਪੁੱਟ ਬਾਕਸ ਨਹੀਂ ਬਣਾ ਸਕਦਾ ਜਿਸ ਵਿੱਚ ਤੁਸੀਂ ਫੈਰਨਹਾਈਟ ਤਾਪਮਾਨ ਦਰਜ ਕਰੋ ਅਤੇ ਕਿਸੇ ਬਟਨ ਨੂੰ ਦਬਾਉਣ ’ਤੇ ਉਸ ਨਾਲ ਸੰਬੰਧਿਤ ਸੈਲਸੀਅਸ ਤਾਪਮਾਨ ਪ੍ਰਾਪਤ ਕਰ ਸਕੋ, ਜਾਂ ਇਸ ਗੱਲ ਦੇ ਆਧਾਰ ’ਤੇ ਮੈਂਡਲਬਰੋਟ ਸੈੱਟ ਦੇ ਕਿਸੇ ਹਿੱਸੇ ਦੀ ਮੁੜ ਗਣਨਾ ਕਰ ਸਕੋ ਕਿ ਤੁਸੀਂ ਮੂਲ ਸੈੱਟ ਦੇ ਕਿਹੜੇ ਹਿੱਸੇ ’ਤੇ ਕਲਿੱਕ ਕਰਦੇ ਹੋ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
local function toCelsius(tempFahrenheit) return (tempFahrenheit - 32) * 5 / 9 end
print(("toCelsius(32°F) = %s°C. toCelsius(68°F) = %d°C"):format(toCelsius(32), toCelsius(68)))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
toCelsius(32°F) = 0°C. toCelsius(68°F) = 20°C
</syntaxhighlight></blockquote>
Lua ਇਨਪੁੱਟ ਵਿਕੀਪੀਡੀਆ ਦੇ ਕਿਸੇ ਵੀ ਅਜਿਹੇ ਪਾਠ ਸਫ਼ੇ ਦੀ ਵਰਤੋਂ ਕਰ ਸਕਦਾ ਹੈ ਜਿਸ ਨੂੰ ਕਿਸੇ ਹੋਰ ਸਫ਼ੇ ਵਿੱਚ [[ਵਿਕੀਪੀਡੀਆ:Transclusion|ਸ਼ਾਮਲ]] ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੋਵੇ। ਇਸ ਵਿੱਚ ਚਿੱਤਰ ਫ਼ਾਈਲਾਂ, ਸਕੇਲੇਬਲ ਵੈਕਟਰ ਗ੍ਰਾਫ਼ਿਕਸ (SVG) ਫ਼ਾਈਲਾਂ, [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]] ਦੀਆਂ ਸੂਚੀਆਂ ਜਾਂ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:UnitTests]] ਵਰਗੇ ਖ਼ਾਸ ਸਫ਼ੇ ਸ਼ਾਮਲ ਨਹੀਂ ਹਨ।
== ਡੀਬੱਗ ਕਰਨਾ ==
=== ਨਾਂ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਵਿੱਚ ਸਮੱਸਿਆ ਨੂੰ ਸਰਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |state=NY |type=NY |route=343}}
</blockquote>
ਗਲਤੀ ਵਾਲੇ ਸੁਨੇਹੇ 'ਤੇ ਕਲਿੱਕ ਕਰੋ, ਫਿਰ ਲਾਈਨ 107 ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Infobox_road/route at line 107: bad argument #1 to 'wikitext' ('''string''' or number expected, got <s>boolean</s>).
</blockquote>
<code>wikitext</code> ਫੰਕਸ਼ਨ Boolean ਮੁੱਲ <code>false</code> ਨੂੰ ਸਵੀਕਾਰ ਨਹੀਂ ਕਰਦਾ।
<blockquote><syntaxhighlight lang="lua" start=107 line highlight=1>
container:tag('p'):cssText('margin:0.1em;'):wikitext(name)
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<code>|name=</code> ਪੈਰਾਮੀਟਰ ਪਰਿਭਾਸ਼ਿਤ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</blockquote>
=== ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਦੇ "ਮੁੱਖ ਜੰਕਸ਼ਨ" ਭਾਗ ਵਿੱਚ ਬਾਕੀ ਤਿੰਨ ਸਮੱਸਿਆਵਾਂ ਨੂੰ ਸਰਲ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{jct|state=NY|NY|82}}
</syntaxhighlight></blockquote>
<blockquote>
{{jct|state=NY|NY|82}}
</blockquote>
{{collapse top|title=ਲੂਆ ਕੋਡ ਵਿੱਚ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਜੋੜਨਾ}}
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local modJunction = require('ਮੌਡਿਊਲ:jct')
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(modJunction.jct(frame))
</syntaxhighlight></blockquote>
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Jct at line 204: attempt to concatenate local 'link' (a boolean value).<br />
Backtrace:<br />
ਮੌਡਿਊਲ:Jct:204: in function "routeText"
</blockquote>
[[ਮੌਡਿਊਲ:Jct#L-204]] ਵਿੱਚ, <code>link</code> ਦਾ ਮੁੱਲ <code>false</code> ਹੈ, ਪਰ ਇੱਥੇ ਇੱਕ ਸਤਰ ਦੀ ਲੋੜ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=12>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route
else
link = p.link(route)
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# Lua ਕੋਡ ਵਿੱਚ ਦੋ ਕਸਟਮ <syntaxhighlight lang="lua" inline>error()</syntaxhighlight> ਕਾਲਾਂ ਜੋੜ ਕੇ ਅਸਥਾਈ ਤੌਰ 'ਤੇ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਲਗਾਓ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=6,8 copy>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route; error("link1=" .. tostring(link))
else
link = p.link(route); error("link2=" .. tostring(link))
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# "<s>ਸਫ਼ਾ ਛਾਪੋ</s>" (<s>ਤਬਦੀਲੀਆਂ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ</s>। <s>Publish changes</s>) 'ਤੇ '''<span style="color:red;">ਕਲਿੱਕ ਨਾ ਕਰੋ</span>'''।
<code>ਮੌਡਿਊਲ:</code>'''<code>[[ਮੌਡਿਊਲ:Jct|Jct]]</code>''' ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
# ਦੂਜੀ ਕਸਟਮ ਗਲਤੀ ਦਿਖਾਈ ਦੇਵੇਗੀ।
<blockquote style="color:#bf3c2c;">
Lua error at line 200: link2=false.
</blockquote>
# ਦੋਵੇਂ ਕਸਟਮ ਗਲਤੀ ਕਾਲਾਂ ਹਟਾਓ। ਸਮੱਸਿਆ <code>p.link</code> ਫੰਕਸ਼ਨ ਵਿੱਚ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=2,4>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr')
if nolink then
return abbr
else
local link = parser(route, 'link')
if not link or link == '' then
return abbr
else
return format("[[%s|%s]]", link, abbr)
end
end
end
</syntaxhighlight></blockquote>
ਵਿਕੀ ਸਫ਼ਾ [[:en:New York State Route 82]] ਮੌਜੂਦ ਨਹੀਂ ਹੈ। ਇਸ ਲਈ <code>link</code> ਅਤੇ <code>abbr</code> ਦੋਵਾਂ ਦਾ ਮੁੱਲ <code>false</code> ਹੈ।
# ਜਦੋਂ ਸੰਖੇਪ ਰੂਪ ਪਰਿਭਾਸ਼ਿਤ ਨਾ ਹੋਵੇ, ਤਾਂ ਉਸਨੂੰ ਸੰਭਾਲਣ ਲਈ Lua ਕੋਡ ਵਿੱਚ ਸੁਧਾਰ ਕਰੋ।
# <syntaxhighlight lang="lua" inline>false</syntaxhighlight> ਦੀ ਥਾਂ <syntaxhighlight lang="lua" inline> or ''</syntaxhighlight> ਜੋੜ ਕੇ ਖਾਲੀ ਸਤਰ <syntaxhighlight lang="lua" inline>""</syntaxhighlight> ਵਾਪਸ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=4 copy>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr') or ''
if nolink then
return abbr
else
local link = parser(route, 'link')
if not link or link == '' then
return abbr
else
return format("[[%s|%s]]", link, abbr)
end
end
end
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:Jct]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame(); frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
# ਇੱਕ ਨਵੀਂ ਗਲਤੀ ਦਿਖਾਈ ਦੇਵੇਗੀ।
<blockquote style="color:#bf3c2c;">
Lua error in package.lua at line 80: module 'Module:Road data/extra' not found
</blockquote>
{{collapse bottom}}
=== ਵਿਕੀਟੈਕਸਟ ===
ਸ਼ਾਮਲ ਕੀਤੇ ਗਏ ਵਿਕੀਪੀਡੀਆ ਸਿਰਲੇਖਾਂ ਵਿੱਚ ਅਕਸਰ <syntaxhighlight lang="lua" inline>"UNIQ5ae8f2aa414ff233-h-3--QINU"</syntaxhighlight> ਵਰਗਾ ਲੁਕਿਆ ਹੋਇਆ ਕੋਡ ਹੁੰਦਾ ਹੈ, ਜਿਸ ਨੂੰ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਢੰਗ ਨਾਲ ਪਾਰਸ ਕਰਨ ਲਈ ਹਟਾਉਣ ਦੀ ਲੋੜ ਪੈ ਸਕਦੀ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(string.reverse("UNIQ"))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=2>
QINU
</syntaxhighlight></blockquote>
ਪਾਈਪ <code><nowiki>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ</nowiki></code>'''<code><nowiki>|</nowiki></code>'''<code><nowiki>]]</nowiki></code> ਤੋਂ ਬਾਅਦ ਪ੍ਰਗਟਾਵੇ ਤੋਂ ਬਿਨਾਂ ਵਾਲੇ ਵਿਕੀਲਿੰਕ, ਜੇ ਆਉਟਪੁੱਟ ਵਜੋਂ ਵਾਪਸ ਕੀਤੇ ਜਾਣ, ਤਾਂ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ - ਇਨ੍ਹਾਂ ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਇਸ ਤਰ੍ਹਾਂ ਲਿਖਣ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ: <syntaxhighlight lang="lua" inline>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|</syntaxhighlight>'''<code>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|ਮਦਦ]]</code>'''<syntaxhighlight lang="lua" inline>]]</syntaxhighlight>।
ਸੇਵ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਹੋਣ ਵਾਲੀਆਂ ਹੋਰ ਤਬਦੀਲੀਆਂ ਵੀ, ਜਿਵੇਂ ਕਿ <code>~~<nowiki/>~~</code> ਨੂੰ ਦਸਤਖ਼ਤਾਂ ਨਾਲ ਬਦਲਣਾ, ਪ੍ਰਕਿਰਿਆ ਵਿੱਚ ਨਹੀਂ ਆਉਣਗੀਆਂ। ਟੈਂਪਲੇਟ ਟ੍ਰਾਂਸਕਲੂਜ਼ਨ, ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਕਾਲਾਂ ਅਤੇ ਵੇਰੀਏਬਲ ਬਦਲਾਅ (ਅਰਥਾਤ <code><nowiki>{{...}}</nowiki></code> ਵਾਲੀ ਕੋਈ ਵੀ ਚੀਜ਼) ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ। ਇਸੇ ਤਰ੍ਹਾਂ {{tag|ref|o}} ਜਾਂ {{tag|nowiki|o}} ਵਰਗੇ ਟੈਗ ਵੀ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ।
== ਬਦਲੇ ਹੋਏ ਫਰਮਿਆਂ ਦਾ ਨਾਮਕਰਨ==
{{lua|ਮੌਡਿਊਲ:Bananas}}
ਕਿਰਪਾ ਕਰਕੇ {{tl|lua}} ਫਰਮਿਆਂ ਨੂੰ ਉਹਨਾਂ ਸਾਰੇ ਫਰਮਿਆਂ ਦੇ ਡਾਕੂਮੈਂਟੇਸ਼ਨ ਉੱਪ-ਪੰਨਿਆਂ ਉੱਤੇ ਰੱਖੋ ਜੋ ਲੂਆ ਵਰਤਦੇ ਹਨ, ਇਹ ਲੂਆ ਵਰਤੋਂ ਅਤੇ ਫਰਮਾ ਪਰਿਵਰਤਨਾਂ ਦੇ ਸਹਿਯੋਗ ਵਿੱਚ ਮਦੱਦ ਕਰੇਗਾ|
{{clear}}
== ਇਹ ਵੀ ਦੇਖੋ ==
* [[ਖ਼ਾਸ:ਅਗੇਤਰ ਤਤਕਰਾ/ਮੌਡਿਊਲ:]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ
* [[:ਸ਼੍ਰੇਣੀ:Lua-based templates]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਦੇ ਸਮੂਹ
* [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]]
* [[:ਮੌਡਿਊਲ:Sandbox]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਨਾਲ ਪ੍ਰਯੋਗ ਕਰਨ ਲਈ ਇੱਕ pseudo-namespace ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ
; ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਪੀਡੀਆ-ਵਿਸ਼ੇਸ਼ ਸਰੋਤ
* [[Wikipedia:Lua style guide]] – ਇਕਸਾਰਤਾ ਰਾਹੀਂ ਕੋਡ ਦੀ ਪੜ੍ਹਨਯੋਗਤਾ ਸੁਧਾਰਨ ਲਈ ਮਿਆਰ
* [[:en:Help:Lua debugging]] – ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਡੀਬੱਗਿੰਗ ਬਾਰੇ ਇੱਕ ਕਿਵੇਂ-ਕਰਨਾ ਗਾਈਡ
* [[:en:Wikipedia talk:Lua]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਜਾਂ ਕੰਮਾਂ ਲਈ ਬੇਨਤੀਆਂ
== ਨੋਟਸ ==
{{reflist}}
{{Wikipedia technical help|collapsed}}
[[Category:Wikipedia modules]]
81f2l47nmmshqzzxtzijdvclzj43v15
849433
849431
2026-10-08T17:40:10Z
Nimmzo
62202
/* ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ */ When an issue is difficult to reproduce in the Debug console, you can preview the wiki page that calls the Lua module without saving changes to the instrumented module: 1. In the "Preview page with this template" field, enter the page name `ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)`. 2. Click "Show preview". 3. In the `Infobox road`, scroll down to "Major junctions".
849433
wikitext
text/x-wiki
{{WikiProject Lua/header}}
{{Namespaces}}
{{Information page|WP:Lua}}
[[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)|ਲੂਆ]] ਇੱਕ ਪ੍ਰੋਗ੍ਰਾਮਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜੋ ਹੁਣ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ, [[mw: Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਮੀਡੀਆਵਿਕੀ ਐਕਸਟੈਂਸ਼ਨ ਰਾਹੀਂ ਉਪਲਬਧ ਹੈ। ਲੁਆ ਕੋਡ ਨੂੰ ਹੁਣ ਵਿਕੀਪੀਡੀਆ ਟੈਂਪਲੈਂਟਾਂ ਵਿੱਚ ਸਕਿਰਬੰਟੋ ਦੇ <syntaxhighlight lang="lua" inline>{{#invoke:}}</syntaxhighlight> ਫੰਕਸ਼ਨ ਨੂੰ ਲਾਗੂ ਕਰਕੇ ਜੜਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਹ ਐਕਸਟੈਨਸ਼ਨ ਜੁਲਾਈ 2015 ਤੋਂ ਲੁਆ 5.1 {{as of|lc=y|2015|07}} ਨੂੰ ਸਪੋਰਟ ਕਰਦੀ ਹੈ।
== ਲੂਆ ਵਿੱਚ ਹੈਲੋ ਵਰਲਡ! ==
<code>[[ਮੌਡਿਊਲ:Bananas]]</code>: ਸਰਲਤਮ ਸੰਭਵ ਸਕ੍ਰਿਪਟ, ਜੋ ਕੋਈ ਵੀ ਆਰਜੂਮੈਂਟ ਵਾਲਾ ਇੱਕ ਸਿੰਗਲ ਫੰਕਸ਼ਨ ਦਿੰਦੀ ਹੈ
ਲੁਆ ਸੋਰਸ ਕੋਡ ਮੌਡਿਊਲਜ਼ (ਯਾਨਿ ਕਿ, <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>) ਨਾਮਕ ਪੰਨਿਆਂ ਵਿੱਚ ਜਮਾਂ ਹੁੰਦੇ ਜਾਂਦੇ ਹਨ। ਇਹ ਵਿਅਕਤੀਗਤ ਮੌਡਿਊਲਜ਼ ਫੇਰ ਟੈਂਪਲੈਂਟ ਪੰਨਿਆਂ ਉੱਤੇ <syntaxhighlight lang="wikitext" inline>{{#invoke:}}</syntaxhighlight> ਕੋਡ ਰਾਹੀਂ ਇਨਵੋਕ (ਬੁਲਾਏ) ਕੀਤੇ ਜਾਂਦੇ ਹਨ। (ਜਿਵੇਂ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/doc|doc]]</code>''' ਇਸ <syntaxhighlight lang="lua" inline>"Hello, world!"</syntaxhighlight> ਸ਼ਬਦਾਂ ਨੂੰ ਛਾਪਣ ਵਾਸਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas|</syntaxhighlight>'''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਕੋਡ ਵਰਤਦਾ ਹੈ।)
ਤੁਹਾਨੂੰ ਕੁਝ ਵੀ ਇੰਸਟਾਲ ਜਾਂ ਸੇਵ ਕਰਨ ਦੀ ਲੋੜ ਨਹੀਂ ਹੈ।
# ਆਪਣਾ ਯੂਜ਼ਰ ਪੰਨਾ ਸੰਪਾਦਿਤ ਕਰੋ।
# ਆਪਣੇ ਯੂਜ਼ਰ ਪੰਨੇ ’ਤੇ ਨਵੀਂ ਲਾਈਨ ਦੇ ਸ਼ੁਰੂ ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੀ ਕਾਲ ਚਿਪਕਾਓ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Bananas|hello}}
</syntaxhighlight></blockquote>
<ol start="3">
<li>'''<code>ਝਲਕ ਵਿਖਾਓ</code>''' ’ਤੇ ਕਲਿੱਕ ਕਰੋ। <syntaxhighlight lang="lua" inline>hello</syntaxhighlight> ਫੰਕਸ਼ਨ ਦੀ ਕਾਲ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੇ ਨਾਲ ਬਦਲ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ:</li>
</ol>
<blockquote><syntaxhighlight lang="lua" line>
Hello, world!
</syntaxhighlight></blockquote>
<ol start="4">
<li><code style="color:#bf3c2c;">ਰੱਦ ਕਰੋ</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ। ਪੁੱਛੇ ਜਾਣ ’ਤੇ, <code>Leave</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ।</li>
<li>ਤੁਹਾਡਾ ਯੂਜ਼ਰ ਪੰਨਾ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।</li>
</ol>
=== ਆਰਜੂਮੈਂਟਾਂ ਵਰਤਣਾ ===
ਆਰਜੂਮੈਂਟਾਂ ਮੌਡਿਊਲਾਂ ਵੱਲ ਉਸੇ ਤਰੀਕੇ ਨਾਲ ਪਾਸ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਜਿਸਤਰਾਂ ਫਰਮੇ ਪਾਸ ਹੁੰਦੇ ਹਨ। ਫੇਰ ਵੀ, ਨੋਟ ਕਰੋ ਕਿ ਪਹਿਲੇ ਪਾਈਪ ਅੱਖਰ ਤੋਂ ਬਾਦ ਦੇ ਅਗਲੇ ਅੱਖਰ ਹਮੇਸ਼ਾਂ ਹੀ ਫੰਕਸ਼ਨ ਦਾ ਨਾਮ ਹੁੰਦੇ ਹਨ; ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਦੂਜੀ ਪਾਈਪ ਤੋਂ ਬਾਦ ਦੇ ਟੈਕਸਟ ਹੁੰਦੇ ਹਨ।
<blockquote><syntaxhighlight lang="lua" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਆਰਗੂਮੈਂਟ}}
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:BananasArgs]]</code>: ਸਿੱਧ ਕਰਕੇ ਦਿਖਾਉਂਦੀ ਹੈ ਕਿ ਪੈਰਾਮੀਟਰਾਂ ਨੂੰ ਕਿਵੇਂ ਵਰਤਣਾ ਅਤੇ ਕ੍ਰਿਆਸ਼ੀਲ ਕਰਨਾ ਹੈ
ਉਦਾਹਰਨ ਦੇ ਤੌਰ ਤੇ, <code>ਮੌਡਿਊਲ:</code><code>BananasArgs</code> ਵਿੱਚ, '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-13|hello]]</code>''' ਫੰਕਸ਼ਨ ਵੱਖਰੇ ਲੋਕਾਂ ਦਾ ਸਵਾਗਤ ਕਰਨਾ ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਤੇ ਨਿਰਭਰ ਕਰਦਾ ਹੈ। ਇਹ ਇਸਤਰਾਂ ਕੰਮ ਕਰਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</blockquote>
;ਨਾਮਿਤ ਆਰਗੂਮੈਂਟ <code>|ਕੁੰਜੀ=ਮੁੱਲ</code>
<blockquote><syntaxhighlight lang="wikitext" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ1=ਮੁੱਲ1|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ2=ਮੁੱਲ2}}
</syntaxhighlight></blockquote>
BananasArgs ਕੋਲ ਇੱਕ '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-26|count_fruit]]</code>''' ਨਾਮਕ ਫੰਕਸ਼ਨ ਵੀ ਹੁੰਦਾ ਹੈ ਜੋ <code>|bananas=</code> and <code>|apples=</code> ਨਾਮਕ ਆਰਜੂਮੈਂਟ ਵਰਤਦਾ ਹੈ ਜਿਸਨਾਲ ਸਾਡੇ ਕੋਲ ਮੌਜੂਦ ਕੇਲਿਆਂ (ਬਾਨਾਨਾਜ਼) ਅਤੇ ਸੇਬਾਂ ਦੀ ਸੰਖਿਆ ਗਿਣੀ ਜਾਂਦੀ ਹੈ। ਇਸਨੂੰ ਆਰਗੂਮੈਂਟਾਂ ਦਾ ਕ੍ਰਮ ਬਦਲ ਕੇ ਚਲਾਇਆ ਜਾ ਸਕਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</blockquote>
ਜਿਆਦਾਤਰ ਮੌਡਿਊਲਜ਼ ਇੱਕ ਡੌਕੂਮੈਂਟੇਸ਼ਨ ਪੰਨਾ ਰੱਖਦੇ ਹੋਣਗੇ ਜਿਸਵਿੱਚ ਇਹ ਸਮਝਾਇਆ ਗਿਆ ਹੁੰਦਾ ਹੈ ਕਿ ਕਿਹੜੀਆਂ ਆਰਜੂਮੈਂਟਾਂ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ ਅਤੇ ਉਹਨਾਂ ਦੇ ਪ੍ਰਭਾਵ ਕੀ ਹੋਣਗੇ ।
== ਡੀਬੱਗ ਕੌਨਸੋਲ: ਲੂਆ ਸਿੱਖਣਾ ਸ਼ੁਰੂ ਕਰੋ ==
ਲੂਆ Scribunto ਦਾ <code>Debug Console</code> ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ ਲੂਆ ਸਿੱਖਣ ਲਈ ਇੱਕ ਸੁਰੱਖਿਅਤ, ਇੰਟਰਐਕਟਿਵ ਟੂਲ ਹੈ।
# [[ਮੌਡਿਊਲ:Yesno]] ਪੰਨੇ ‘ਤੇ <code>ਸਰੋਤ ਵੇਖੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰੋ।
# ਪੰਨੇ ਦੇ ਹੇਠਾਂ <code>Debug console</code> ਭਾਗ ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
# ਟਿੱਪਣੀ ਅਤੇ ਕਾਲ ਨੂੰ <span style="color:#eaecf0;">ਹਲਕਾ</span> <span style="color:blue;">ਨੀਲਾ</span> ਇਨਪੁੱਟ ਬਾਕਸ ਵਿੱਚ ਪੇਸਟ ਕਰੋ (ਜੋ <code>ਸਾਫ਼ ਕਰੋ</code> ਬਟਨ ਦੇ ਉੱਪਰ ਹੈ)।
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
--[[ਤੁਹਾਡਾ ਪਹਿਲਾ ਲੂਆ Hello World-ਜਿਹਾ ਪ੍ਰੋਗਰਾਮ]]--
print("ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ " .. _VERSION .. "!") -- ਲੂਆ ਸੰਸਕਰਣ ਨੂੰ `..` ਨਾਲ ਜੋੜੋ
</syntaxhighlight></blockquote>
<ol start="4">
<li>ਦੋ ਲੂਆ ਕਮਾਂਡਾਂ ਨੂੰ ਚਲਾਉਣ ਲਈ {{key press|Enter}} ਇੱਕ ਵਾਰ ਦਬਾਓ।</li>
<li>ਨਤੀਜਾ ਲੂਆ <syntaxhighlight lang="lua" inline>print</syntaxhighlight> ਕਮਾਂਡ ਲਾਈਨ ਦੇ ਹੇਠਾਂ ਦਿਖਾਈ ਦੇਵੇਗਾ:</li>
</ol>
<blockquote><syntaxhighlight lang="text" line start=3>
ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ Lua 5.1!
</syntaxhighlight></blockquote>
<ol start="6">
<li>ਪਿਛਲੀਆਂ ਲੂਆ ਕਮਾਂਡਾਂ ਵਿਚਕਾਰ ਜਾਣ ਲਈ {{key press|Up}} <code>Up arrow</code> ਦਬਾਓ।</li>
<li>ਚਾਹੋ ਤਾਂ <code>ਸਾਫ਼ ਕਰੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰਕੇ ਸਿਰਫ਼ <code>Debug Console</code> ਨੂੰ ਸਾਫ਼ ਕਰੋ; ਉੱਪਰ ਵਾਲਾ ਲੂਆ ਸੰਪਾਦਕ '''ਬਦਲਿਆ ਨਹੀਂ ਜਾਵੇਗਾ'''।</li>
</ol>
; ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ HTML ਜਨਰੇਟਰ
<code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ '''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>''' ਫੰਕਸ਼ਨ ਨੂੰ ਕਾਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- Debug console ਵਿੱਚ ਮੌਡਿਊਲ ਲੋਡ ਕਰੋ
print(modHi.hello()) -- "Hello, world!" ਦਿਖਾਓ
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
Hello, world!
</syntaxhighlight></blockquote>
;ਆਰਗੂਮੈਂਟ
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
local modArg = require('ਮੌਡਿਊਲ:BananasArgs')
local frame = mw.getCurrentFrame()
frame.args = {"ਜਸਪ੍ਰੀਤ"}; print("੧. " .. modArg.hello(frame))
frame.args = {"ਗੁਰਪ੍ਰੀਤ"}; print("੨. " .. modArg.hello(frame))
frame.args = {apples="3", bananas="4"}; print("੩. " .. modArg.count_fruit(frame))
frame.args = {bananas="5", apples="2"}; print("੪. " .. modArg.count_fruit(frame))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=7>
੧. Hello, ਜਸਪ੍ਰੀਤ!
੨. Hello, ਗੁਰਪ੍ਰੀਤ!
੩. I have 4 bananas and 3 apples
੪. I have 5 bananas and 2 apples
</syntaxhighlight></blockquote>
; ਪਛਾਣ ਫੰਕਸ਼ਨ
<code>callParserFunction</code> [[mw:Help:Extension:ParserFunctions##if|#if]]
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local yesno = require('ਮੌਡਿਊਲ:Yesno') -- #if yesno then ਆਪਣਾ ਇਨਪੁੱਟ ਪੈਰਾਮੀਟਰ ਵਾਪਸ ਕਰਦਾ ਹੈ
print(mw.getCurrentFrame():callParserFunction("#if", yesno("Yes"), "Yes", 'no'))
print(mw.getCurrentFrame():callParserFunction("#if", yesno('ਨਹੀਂ'), "ਹਾਂ", 'ਨਹੀਂ'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=4>
Yes
ਨਹੀਂ
</syntaxhighlight></blockquote>
# ਸੁਰੱਖਿਅਤ <code>ਮੌਡਿਊਲ:</code><code>Yesno</code> ਨੂੰ ਬੰਦ ਕਰੋ, ਜੋ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।
== ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਦੀ ਬੇਨਤੀ ਕਰੋ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਜਾਂ ਕਿਸੇ ਹੋਰ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟ ਉੱਤੇ ਕੋਈ ਖਾਸ ਕੰਮ ਕਰਨ ਲਈ ਕਿਸੇ ਲੂਆ ਸਕ੍ਰਿਪਟ ਨੂੰ ਲਿਖਣ ਵਾਸਤੇ ਸਹਾਇਤਾ ਲਈ [[:en:Wikipedia talk:Lua]] ਤੇ ਜਾਓ
== ਇਤਿਹਾਸ ==
[[mw:Manual:MediaWiki architecture#Magic words and templates|ਜਾਦੂਈ ਸ਼ਬਦ]], [[mw:Help:Extension:ParserFunctions|ਪਾਰਜ਼ਰਫੰਕਸ਼ਨ (ParserFunctions)]], [[mw:Extension:Lua|ਲੂਆ ਸ਼ਾਖਾ]], ਵਿਕੀ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਨੇ (JavaScript ਬਨਾਮ Lua), [[mw:Extension:WikiScripts]] ਮੁਕਾਬਲਾ ਕਰਾਇਆ, ਲੂਆ ਵਾਸਤੇ ਸ਼ੁਰੂਆਤੀ ਸਮਰਥਨ ਨਾਲ ਟਿੱਮ [[mw:Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਲਿਖਦਾ ਹੈ|
ਸਾਲਾਂ ਦੀ ਚਰਚਾ ਤੋਂ ਬਾਦ ਲੂਆ ਨੂੰ [[test2wiki:|test2.wikipedia.org]] ਉੱਤੇ ਪਰਖਣ ਵਾਸਤੇ 2012 ਵਿੱਚ ਇਨਸਟਾਲ ਕੀਤਾ ਗਿਆ, ਜਿਸ ਵਿੱਚ ਲੂਆ ਮੌਡਿਊਲਾਜ਼ ਨੂੰ ਵਿਕਸਿਤ ਕਰਨ ਵਾਲੇ ਪ੍ਰਯੋਗਾਂ ਲਈ ਸਾਰੇ ਸੰਪਾਦਕਾਂ ਨੂੰ ਖੁੱਲਾ ਸੱਦਾ ਦਿੱਤਾ ਗਿਆ | ਲੂਆ ਫਰਵਰੀ 2013 ਵਿੱਚ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ mediawiki.org ਅਤੇ Wikimedia test wikis ਉੱਤੇ ਪਰਖਣ ਤੋਂ ਬਾਦ ਇਨਸਟਾਲ ਕਰ ਦਿੱਤੀ ਗਈ|
== ਲੂਆ ਬਾਰੇ ==
:Brad Jorsch ਵੱਲੋਂ ਬਣਾਏ ਗਏ [[:File:WMF Tech Talk 2013-02-28 slides - Scribunto presentation.pdf|ਵਿਕੀਟੈਕਸਟ ਟੈਂਪਲੇਟ]] ਨੂੰ ਲੂਆ ਮੌਡਿਊਲ ਵਿੱਚ ਬਦਲਣ ਦਾ ਤਰੀਕਾ ਵੀ ਵੇਖੋ।
ਲੂਆ ਇੱਕ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜਿਸ ਦੀ ਵਰਤੋਂ ਡੇਟਾ ਦਾ ਵਿਸ਼ਲੇਸ਼ਣ ਕਰਨ, ਸਮੀਕਰਨਾਂ ਦੀ ਗਣਨਾ ਕਰਨ ਅਤੇ ਫੰਕਸ਼ਨਾਂ ਜਾਂ ਆਬਜੈਕਟ-ਓਰੀਐਂਟਡ ਪ੍ਰੋਗਰਾਮਿੰਗ ਰਾਹੀਂ ਨਤੀਜਿਆਂ ਨੂੰ ਫਾਰਮੈਟ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ। ਭਾਵੇਂ ਕੁਝ ਲੂਆ ਸਕ੍ਰਿਪਟਾਂ ਨੂੰ ਸਰਲ ਰੱਖਿਆ ਜਾ ਸਕਦਾ ਹੈ, ਪਰ ਆਸਾਨੀ ਨਾਲ ਸਮਝਣ ਲਈ ਲੂਆ ਟੇਬਲਾਂ, ਡਾਇਨਾਮਿਕ ਫੰਕਸ਼ਨਾਂ ਅਤੇ ਐਸੋਸੀਏਟਿਵ ਐਰੇਆਂ ਸਮੇਤ ਜਟਿਲ ਢਾਂਚਿਆਂ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ, ਜਿੱਥੇ ਇੰਡੈਕਸ ਸਬਸਕ੍ਰਿਪਟਾਂ ਇੰਡੈਕਸ ਨੰਬਰਾਂ ਦੇ ਨਾਲ-ਨਾਲ ਸ਼ਬਦ ਵੀ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਲੂਆ ਨੇਸਟਡ ਫੰਕਸ਼ਨਾਂ ਦੀ ਰਿਕਰਸ਼ਨ ਨੂੰ ਵੀ ਸਮਰਥਨ ਦਿੰਦਾ ਹੈ, ਇਸ ਲਈ ਬੇਹੱਦ ਜਟਿਲਤਾ ਤੋਂ ਬਚਣ ਲਈ ਸਾਵਧਾਨੀ ਵਰਤਣੀ ਚਾਹੀਦੀ ਹੈ, ਤਾਂ ਜੋ ਹੋਰ ਵਰਤੋਂਕਾਰ ਇਹ ਸਮਝ ਸਕਣ ਕਿ ਲੂਆ ਮੌਡਿਊਲ ਦੀ ਦੇਖਭਾਲ ਕਿਵੇਂ ਕਰਨੀ ਹੈ।
ਹੇਠਾਂ ਉੱਪਰ ਦਿੱਤੀਆਂ ਉਦਾਹਰਨਾਂ ਲਈ ਵਰਤੇ ਗਏ ਮੌਡਿਊਲ ਦੇ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦਾ ਇੱਕ ਅੰਸ਼ ਦਿੱਤਾ ਗਿਆ ਹੈ:
<syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਮੌਡਿਊਲ:BananasArgs#L-13]]--
local p = {} -- ਲੋੜੀਂਦੀ ਮੌਡਿਊਲ (p)ੈਕੇਜ ਟੇਬਲ, ਖਾਲੀ ਟੇਬਲ ਵਜੋਂ ਸ਼ੁਰੂ ਕੀਤੀ ਗਈ
function p.hello(frame) -- hello ਫੰਕਸ਼ਨ ਦੀ ਪਰਿਭਾਸ਼ਾ।
local name = frame.args[1] -- ਇਸ ਵਿੱਚ ਪਹਿਲਾ ਨਾਮ ਹੁੰਦਾ ਹੈ।
return "Hello, " .. name .. "!" -- `..` ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੰਕਸ਼ਨ ਦਾ ਨਤੀਜਾ ਇੱਕ ਸਤਰ ਵਜੋਂ ਜੋੜ ਕੇ ਵਾਪਸ ਕਰੋ।
end -- ਫੰਕਸ਼ਨ ਦਾ ਅੰਤ।
return p -- ਮੌਡਿਊਲ ਦੀ (p)ੈਕੇਜ ਟੇਬਲ ਵਾਪਸ ਕਰੋ।
</syntaxhighlight>
ਲੂਆ ਦਾ ਇੱਕ ਨਮੂਨਾ <code><nowiki><syntaxhighlight lang="lua" line highlight=1 copy> ... </syntaxhighlight></nowiki></code> ਟੈਗ ਨੂੰ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦੇ ਆਲੇ-ਦੁਆਲੇ ਰੱਖ ਕੇ ਉਜਾਗਰ ਕੀਤਾ ਜਾਂਦਾ ਹੈ। ਲੂਆ ਦੀਆਂ ਕੁਝ ਹੋਰ ਜਟਿਲ ਉਦਾਹਰਨਾਂ ਵੇਖਣ ਲਈ ਲੇਖ [[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)]] ਵੇਖੋ।
MediaWiki (ਅਤੇ ਇਸ ਕਰਕੇ ਵਿਕੀਪੀਡੀਆ) ਵਿੱਚ ਲੂਆ ਦੀ ਵਰਤੋਂ ਕਰਨ ਦੇ ਨਿਰਦੇਸ਼ਾਂ ਲਈ [[mw:Extension:Scribunto/ਲੂਆ reference manual]] ਵੇਖੋ।
== ਯੂਨਿਟ ਪਰਖਣਾ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ Lua ਸਕ੍ਰਿਪਟਾਂ ਲਈ ਇਕਾਈ ਟੈਸਟਿੰਗ ਫਰੇਮਵਰਕ [[ਮੌਡਿਊਲ:ScribuntoUnit]] ਵਿੱਚ ਉਪਲਬਧ ਹੈ।<br />
ਇਹ ਤੁਹਾਨੂੰ ਦਿੱਤੇ ਗਏ ਇਨਪੁੱਟਾਂ ਦੇ ਸਮੂਹ ਉੱਤੇ ਆਪਣੀ ਸਕ੍ਰਿਪਟ ਚਲਾਉਣ ਅਤੇ ਇਹ ਪੁਸ਼ਟੀ ਕਰਨ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ ਕਿ ਉਮੀਦ ਕੀਤੇ ਆਉਟਪੁੱਟ ਤਿਆਰ ਹੋਏ ਹਨ।<br />
ਇਕਾਈ ਟੈਸਟ ਖ਼ਾਸ ਤੌਰ ’ਤੇ ਰਿਗ੍ਰੈਸ਼ਨਾਂ ਨੂੰ ਤੇਜ਼ੀ ਨਾਲ ਖੋਜਣ ਲਈ ਲਾਭਦਾਇਕ ਹੁੰਦੇ ਹਨ, ਜਿੱਥੇ ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਵਿੱਚ ਕੀਤੀਆਂ ਤਬਦੀਲੀਆਂ ਨਵੀਆਂ ਸਮੱਸਿਆਵਾਂ ਪੈਦਾ ਕਰਦੀਆਂ ਹਨ।
ਰਿਵਾਜ ਅਨੁਸਾਰ, [[ਮੌਡਿਊਲ:Bananas]] ਵਰਗੇ ਮੌਡਿਊਲ ਲਈ ਇਕਾਈ ਟੈਸਟ <syntaxhighlight lang="lua" inline>ਮੌਡਿਊਲ:</syntaxhighlight><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/testcases|testcases]]</code>''' ਵਿੱਚ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।<br />
ਇਹ '''<code>[[ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:Bananas/testcases|ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:]]</code>'''<code>Bananas/testcases</code> ਉੱਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas/testcases|</syntaxhighlight>'''<code>run</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਨਾਲ ਚਲਾਏ ਜਾਂਦੇ ਹਨ।
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="wikitext" line highlight=1 copy>
{{#invoke:Bananas/testcases|run}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Bananas/testcases|run}}
</blockquote>
ਹਰ ਟੈਸਟ ਵਿਧੀ ਦੀ ਸ਼ੁਰੂਆਤ <syntaxhighlight lang="lua" inline>p:</syntaxhighlight>'''<code>test_</code>''' ਨਾਲ ਹੋਣੀ ਲਾਜ਼ਮੀ ਹੈ।
[[ਮੌਡਿਊਲ:Bananas/testcases]] ਤੋਂ ਇੱਕ ਉਦਾਹਰਨ ਹੇਠਾਂ ਦਿੱਤੀ ਗਈ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
--[[ਮੌਡਿਊਲ:Bananas/testcases]]--
local p = require('ਮੌਡਿਊਲ:ScribuntoUnit').new()
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- ਟੈਸਟ ਚਲਾਉਣ ਲਈ ਗੱਲ-ਬਾਤ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ।
function p:test_hi() -- [[ਮੌਡਿਊਲ:Bananas]] ਲਈ ਇਕਾਈ ਟੈਸਟ।
self:assertEquals('Hello, world!', modHi.hello())
end
return p
</syntaxhighlight></blockquote>
[[ਮੌਡਿਊਲ:ScribuntoUnit]] ਦੀ ਸ਼ੁਰੂਆਤ ਹੰਗਰੀ ਵਿਕੀਪੀਡੀਆ ਤੋਂ ਹੋਈ ਹੈ।<br />
ਇਹ ਅਸਲ ਤਰੁੱਟੀਆਂ ਪੈਦਾ ਕਰਦਾ ਹੈ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਸੁਰੱਖਿਅਤ ਕਾਲਾਂ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੜਿਆ ਜਾਂਦਾ ਹੈ। ਇਸ ਵਿੱਚ ਦਿੱਤੀ ਗਈ ਸ਼ੁੱਧਤਾ ਦੇ ਅੰਦਰ ਫਲੋਟਾਂ ਦੀ ਤੁਲਨਾ ਕਰਨ ਲਈ ਇੱਕ ਵਿਧੀ ਵੀ ਹੈ।
ਇਕਾਈ ਟੈਸਟਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨ ਵਾਲੇ ਸਾਰੇ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ ਲਈ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:ScribuntoUnit]] ਵੇਖੋ।
== ਵਿਕੀਪੀਡੀਆ ਵਿਸ਼ੇਸ਼ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ==
ਕੁੱਲ ਮਿਲਾ ਕੇ: Lua ਨੂੰ ਇਨਪੁੱਟ ਵਜੋਂ ਸਿਰਫ਼ <code><nowiki>{{#invoke:}}</nowiki></code> ਨੂੰ ਦਿੱਤੀਆਂ ਪਾਠ-ਸਤਰਾਂ ਅਤੇ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.title.new|mw.title.new(...)]]:getContent()</code> तथा <code>[[mw:Extension:Scribunto/Lua reference manual#frame:expandTemplate|frame:expandTemplate()]]</code> ਰਾਹੀਂ ਪ੍ਰਾਪਤ ਕੀਤੀ ਜਾ ਸਕਣ ਵਾਲੀ ਸਮੱਗਰੀ ਹੀ ਮਿਲ ਸਕਦੀ ਹੈ। Lua ਦੇ ਆਉਟਪੁੱਟ ਨੂੰ ਪਹਿਲਾਂ ਤੋਂ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤਾ ਜਾਂਦਾ, ਜਦੋਂ ਤੱਕ <code>[[mw:Extension:Scribunto/Lua reference manual#frame:preprocess|frame:preprocess()]]</code> ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਕਾਲ ਨਾ ਕੀਤਾ ਜਾਵੇ। ਇਸ ਦਾ ਅਰਥ ਹੈ ਕਿ ਆਉਟਪੁੱਟ ਵਿੱਚ ਟੈਂਪਲੇਟ ਕਾਲਾਂ ਅਤੇ ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਸਹੀ ਢੰਗ ਨਾਲ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(mw.title.getCurrentTitle())
print(mw.getCurrentFrame():preprocess('{{PAGENAME}}'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=3>
ਮੌਡਿਊਲ:Yesno
Yesno
</syntaxhighlight></blockquote>
ਇਹ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.ustring.len|mw.ustring.len]]</code> ਫੰਕਸ਼ਨ ਦੀ ਵਰਤੋਂ <code>[[mw:Extension:Scribunto/Lua reference manual#string.len|string.len]]</code> ਦੀ ਬਜਾਇ ਕਰਨੀ ਬਿਹਤਰ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਯੂਨੀਕੋਡ]]--
local code = mw.getContentLanguage().code
local lang = mw.getCurrentFrame():callParserFunction("#language", code)
local lenUnicode = mw.ustring.len(lang) -- ਅੱਖਰਾਂ ਦੀ ਗਿਣਤੀ
local lenByte, lenSharp = string.len(lang), #lang -- ਬਾਈਟਾਂ ਦੀ ਗਿਣਤੀ
local msg = "code: \"%s\". lang: \"%s\". mw.ustring.len = %d string.len = %d sharp = %d"
print((msg):format(code, lang, lenUnicode, lenByte, lenSharp))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=8>
code: "pa". lang: "ਪੰਜਾਬੀ". mw.ustring.len = 6 string.len = 18 sharp = 18
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</blockquote>
ਵਿਕੀ ਸਫ਼ੇ ਵਿੱਚ, ਸਾਰਾ Lua ਕੋਡ (ਜਿਸ ਵਿੱਚ ਲੰਬੇ ਅੰਕੜਾ-ਹਿਸਾਬ ਜਾਂ ਬੇਅੰਤ <syntaxhighlight lang="lua" inline>while</syntaxhighlight> ਜਾਂ <syntaxhighlight lang="lua" inline>repeat</syntaxhighlight> ਲੂਪ ਵੀ ਸ਼ਾਮਲ ਹਨ) '''10 ਸ'''ਕਿੰਟ ਦੇ CPU ਸਮੇਂ ਤੱਕ ਸੀਮਿਤ ਹੈ। ਤੁਸੀਂ ਰੈਂਡਰ ਕੀਤੇ ਸਫ਼ੇ ਦੇ ਸਰੋਤ ਕੋਡ ਵਿੱਚ ਦੇਖ ਸਕਦੇ ਹੋ ਕਿ ਕਿਸੇ ਟੈਂਪਲੇਟ ਜਾਂ ਮੌਡਿਊਲ ਨੂੰ ਪਾਰਸ ਹੋਣ ਵਿੱਚ ਕਿੰਨਾ ਸਮਾਂ ਲੱਗਿਆ।
ਮਿਆਰੀ Lua ਦੇ ਮੁਕਾਬਲੇ, Scribunto ਦਾ Lua ਸੁਰੱਖਿਅਤ ਫੰਕਸ਼ਨ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ (ਮਿਆਰੀ Lua ਤੋਂ [[mw:Extension:Scribunto/Lua_reference_manual#Differences_from_standard_Lua|ਅੰਤਰ]] ਵੇਖੋ)।
=== ਲੂਆ ਇਨਪੁੱਟ ਕਮੀਆਂ ===
Scribunto ਵਿੱਚ Lua ਕੋਡ ਸਿਰਫ਼ ਉਦੋਂ ਹੀ ਚਲਾਇਆ ਜਾਂਦਾ ਹੈ ਜਦੋਂ ਸਫ਼ੇ ਨੂੰ ਪਾਰਸ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੋਵੇ। ਇਸ ਲਈ, Lua ਨੂੰ ਮਿਲਣ ਵਾਲਾ ਇਕਲੌਤਾ ਯੂਜ਼ਰ ਇਨਪੁੱਟ ''ਸਫ਼ੇ ਦੀ ਸੋਧ'' ਰਾਹੀਂ ਹੀ ਹੋ ਸਕਦਾ ਹੈ - ਇਹ ਅਜਿਹਾ ਇਨਪੁੱਟ ਬਾਕਸ ਨਹੀਂ ਬਣਾ ਸਕਦਾ ਜਿਸ ਵਿੱਚ ਤੁਸੀਂ ਫੈਰਨਹਾਈਟ ਤਾਪਮਾਨ ਦਰਜ ਕਰੋ ਅਤੇ ਕਿਸੇ ਬਟਨ ਨੂੰ ਦਬਾਉਣ ’ਤੇ ਉਸ ਨਾਲ ਸੰਬੰਧਿਤ ਸੈਲਸੀਅਸ ਤਾਪਮਾਨ ਪ੍ਰਾਪਤ ਕਰ ਸਕੋ, ਜਾਂ ਇਸ ਗੱਲ ਦੇ ਆਧਾਰ ’ਤੇ ਮੈਂਡਲਬਰੋਟ ਸੈੱਟ ਦੇ ਕਿਸੇ ਹਿੱਸੇ ਦੀ ਮੁੜ ਗਣਨਾ ਕਰ ਸਕੋ ਕਿ ਤੁਸੀਂ ਮੂਲ ਸੈੱਟ ਦੇ ਕਿਹੜੇ ਹਿੱਸੇ ’ਤੇ ਕਲਿੱਕ ਕਰਦੇ ਹੋ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
local function toCelsius(tempFahrenheit) return (tempFahrenheit - 32) * 5 / 9 end
print(("toCelsius(32°F) = %s°C. toCelsius(68°F) = %d°C"):format(toCelsius(32), toCelsius(68)))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
toCelsius(32°F) = 0°C. toCelsius(68°F) = 20°C
</syntaxhighlight></blockquote>
Lua ਇਨਪੁੱਟ ਵਿਕੀਪੀਡੀਆ ਦੇ ਕਿਸੇ ਵੀ ਅਜਿਹੇ ਪਾਠ ਸਫ਼ੇ ਦੀ ਵਰਤੋਂ ਕਰ ਸਕਦਾ ਹੈ ਜਿਸ ਨੂੰ ਕਿਸੇ ਹੋਰ ਸਫ਼ੇ ਵਿੱਚ [[ਵਿਕੀਪੀਡੀਆ:Transclusion|ਸ਼ਾਮਲ]] ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੋਵੇ। ਇਸ ਵਿੱਚ ਚਿੱਤਰ ਫ਼ਾਈਲਾਂ, ਸਕੇਲੇਬਲ ਵੈਕਟਰ ਗ੍ਰਾਫ਼ਿਕਸ (SVG) ਫ਼ਾਈਲਾਂ, [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]] ਦੀਆਂ ਸੂਚੀਆਂ ਜਾਂ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:UnitTests]] ਵਰਗੇ ਖ਼ਾਸ ਸਫ਼ੇ ਸ਼ਾਮਲ ਨਹੀਂ ਹਨ।
== ਡੀਬੱਗ ਕਰਨਾ ==
=== ਨਾਂ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਵਿੱਚ ਸਮੱਸਿਆ ਨੂੰ ਸਰਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |state=NY |type=NY |route=343}}
</blockquote>
ਗਲਤੀ ਵਾਲੇ ਸੁਨੇਹੇ 'ਤੇ ਕਲਿੱਕ ਕਰੋ, ਫਿਰ ਲਾਈਨ 107 ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Infobox_road/route at line 107: bad argument #1 to 'wikitext' ('''string''' or number expected, got <s>boolean</s>).
</blockquote>
<code>wikitext</code> ਫੰਕਸ਼ਨ Boolean ਮੁੱਲ <code>false</code> ਨੂੰ ਸਵੀਕਾਰ ਨਹੀਂ ਕਰਦਾ।
<blockquote><syntaxhighlight lang="lua" start=107 line highlight=1>
container:tag('p'):cssText('margin:0.1em;'):wikitext(name)
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<code>|name=</code> ਪੈਰਾਮੀਟਰ ਪਰਿਭਾਸ਼ਿਤ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</blockquote>
=== ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਦੇ "ਮੁੱਖ ਜੰਕਸ਼ਨ" ਭਾਗ ਵਿੱਚ ਬਾਕੀ ਤਿੰਨ ਸਮੱਸਿਆਵਾਂ ਨੂੰ ਸਰਲ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{jct|state=NY|NY|82}}
</syntaxhighlight></blockquote>
<blockquote>
{{jct|state=NY|NY|82}}
</blockquote>
{{collapse top|title=ਲੂਆ ਕੋਡ ਵਿੱਚ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਜੋੜਨਾ}}
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local modJunction = require('ਮੌਡਿਊਲ:jct')
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(modJunction.jct(frame))
</syntaxhighlight></blockquote>
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Jct at line 204: attempt to concatenate local 'link' (a boolean value).<br />
Backtrace:<br />
ਮੌਡਿਊਲ:Jct:204: in function "routeText"
</blockquote>
[[ਮੌਡਿਊਲ:Jct#L-204]] ਵਿੱਚ, <code>link</code> ਦਾ ਮੁੱਲ <code>false</code> ਹੈ, ਪਰ ਇੱਥੇ ਇੱਕ ਸਤਰ ਦੀ ਲੋੜ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=12>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route
else
link = p.link(route)
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# Lua ਕੋਡ ਵਿੱਚ ਦੋ ਕਸਟਮ <syntaxhighlight lang="lua" inline>error()</syntaxhighlight> ਕਾਲਾਂ ਜੋੜ ਕੇ ਅਸਥਾਈ ਤੌਰ 'ਤੇ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਲਗਾਓ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=6,8 copy>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route; error("link1=" .. tostring(link))
else
link = p.link(route); error("link2=" .. tostring(link))
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# "<s>ਸਫ਼ਾ ਛਾਪੋ</s>" (<s>ਤਬਦੀਲੀਆਂ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ</s>। <s>Publish changes</s>) 'ਤੇ '''<span style="color:red;">ਕਲਿੱਕ ਨਾ ਕਰੋ</span>'''।
<code>ਮੌਡਿਊਲ:</code>'''<code>[[ਮੌਡਿਊਲ:Jct|Jct]]</code>''' ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
# ਦੂਜੀ ਕਸਟਮ ਗਲਤੀ ਦਿਖਾਈ ਦੇਵੇਗੀ।
<blockquote style="color:#bf3c2c;">
Lua error at line 200: link2=false.
</blockquote>
# ਦੋਵੇਂ ਕਸਟਮ ਗਲਤੀ ਕਾਲਾਂ ਹਟਾਓ। ਸਮੱਸਿਆ <code>p.link</code> ਫੰਕਸ਼ਨ ਵਿੱਚ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=2,4>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr')
if nolink then
return abbr
else
local link = parser(route, 'link')
if not link or link == '' then
return abbr
else
return format("[[%s|%s]]", link, abbr)
end
end
end
</syntaxhighlight></blockquote>
ਵਿਕੀ ਸਫ਼ਾ [[:en:New York State Route 82]] ਮੌਜੂਦ ਨਹੀਂ ਹੈ। ਇਸ ਲਈ <code>link</code> ਅਤੇ <code>abbr</code> ਦੋਵਾਂ ਦਾ ਮੁੱਲ <code>false</code> ਹੈ।
# ਜਦੋਂ ਸੰਖੇਪ ਰੂਪ ਪਰਿਭਾਸ਼ਿਤ ਨਾ ਹੋਵੇ, ਤਾਂ ਉਸਨੂੰ ਸੰਭਾਲਣ ਲਈ Lua ਕੋਡ ਵਿੱਚ ਸੁਧਾਰ ਕਰੋ।
# <syntaxhighlight lang="lua" inline>false</syntaxhighlight> ਦੀ ਥਾਂ <syntaxhighlight lang="lua" inline> or ''</syntaxhighlight> ਜੋੜ ਕੇ ਖਾਲੀ ਸਤਰ <syntaxhighlight lang="lua" inline>""</syntaxhighlight> ਵਾਪਸ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=4 copy>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr') or ''
if nolink then
return abbr
else
local link = parser(route, 'link')
if not link or link == '' then
return abbr
else
return format("[[%s|%s]]", link, abbr)
end
end
end
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:Jct]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame(); frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
# ਇੱਕ ਨਵੀਂ ਗਲਤੀ ਦਿਖਾਈ ਦੇਵੇਗੀ।
<blockquote style="color:#bf3c2c;">
Lua error in package.lua at line 80: module 'Module:Road data/extra' not found<br />
218. local extraTypes = mw.loadData('Module:Road data/extra')
</blockquote>
ਵਿਕੀਪੀਡੀਆ ਲੇਖ ਦੇ ਸੰਦਰਭ ਵਿੱਚ:
# '''<code>ਇਸ ਫਰਮੇ ਨਾਲ ਸਫ਼ੇ ਦੀ ਝਲਕ ਵੇਖੋ</code>''' ਹੇਠਾਂ ਸਫ਼ੇ ਦਾ ਨਾਂ <code>ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)</code> ਦਰਜ ਕਰੋ।
# '''<code>ਝਲਕ ਵਿਖਾਓ</code>''' ’ਤੇ ਕਲਿੱਕ ਕਰੋ।
# <code>Infobox road</code> ਵਿੱਚ ਹੇਠਾਂ ਸਕ੍ਰੋਲ ਕਰਕੇ <code>Major junctions</code> (ਮੁੱਖ ਜੰਕਸ਼ਨ) ਤੱਕ ਜਾਓ।
<blockquote style="color:#bf3c2c;">
ਪੱਛਮ end Lua error in package.lua at line 80: module 'Module:Road data/extra' not found
</blockquote>
{{collapse bottom}}
=== ਵਿਕੀਟੈਕਸਟ ===
ਸ਼ਾਮਲ ਕੀਤੇ ਗਏ ਵਿਕੀਪੀਡੀਆ ਸਿਰਲੇਖਾਂ ਵਿੱਚ ਅਕਸਰ <syntaxhighlight lang="lua" inline>"UNIQ5ae8f2aa414ff233-h-3--QINU"</syntaxhighlight> ਵਰਗਾ ਲੁਕਿਆ ਹੋਇਆ ਕੋਡ ਹੁੰਦਾ ਹੈ, ਜਿਸ ਨੂੰ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਢੰਗ ਨਾਲ ਪਾਰਸ ਕਰਨ ਲਈ ਹਟਾਉਣ ਦੀ ਲੋੜ ਪੈ ਸਕਦੀ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(string.reverse("UNIQ"))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=2>
QINU
</syntaxhighlight></blockquote>
ਪਾਈਪ <code><nowiki>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ</nowiki></code>'''<code><nowiki>|</nowiki></code>'''<code><nowiki>]]</nowiki></code> ਤੋਂ ਬਾਅਦ ਪ੍ਰਗਟਾਵੇ ਤੋਂ ਬਿਨਾਂ ਵਾਲੇ ਵਿਕੀਲਿੰਕ, ਜੇ ਆਉਟਪੁੱਟ ਵਜੋਂ ਵਾਪਸ ਕੀਤੇ ਜਾਣ, ਤਾਂ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ - ਇਨ੍ਹਾਂ ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਇਸ ਤਰ੍ਹਾਂ ਲਿਖਣ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ: <syntaxhighlight lang="lua" inline>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|</syntaxhighlight>'''<code>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|ਮਦਦ]]</code>'''<syntaxhighlight lang="lua" inline>]]</syntaxhighlight>।
ਸੇਵ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਹੋਣ ਵਾਲੀਆਂ ਹੋਰ ਤਬਦੀਲੀਆਂ ਵੀ, ਜਿਵੇਂ ਕਿ <code>~~<nowiki/>~~</code> ਨੂੰ ਦਸਤਖ਼ਤਾਂ ਨਾਲ ਬਦਲਣਾ, ਪ੍ਰਕਿਰਿਆ ਵਿੱਚ ਨਹੀਂ ਆਉਣਗੀਆਂ। ਟੈਂਪਲੇਟ ਟ੍ਰਾਂਸਕਲੂਜ਼ਨ, ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਕਾਲਾਂ ਅਤੇ ਵੇਰੀਏਬਲ ਬਦਲਾਅ (ਅਰਥਾਤ <code><nowiki>{{...}}</nowiki></code> ਵਾਲੀ ਕੋਈ ਵੀ ਚੀਜ਼) ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ। ਇਸੇ ਤਰ੍ਹਾਂ {{tag|ref|o}} ਜਾਂ {{tag|nowiki|o}} ਵਰਗੇ ਟੈਗ ਵੀ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ।
== ਬਦਲੇ ਹੋਏ ਫਰਮਿਆਂ ਦਾ ਨਾਮਕਰਨ==
{{lua|ਮੌਡਿਊਲ:Bananas}}
ਕਿਰਪਾ ਕਰਕੇ {{tl|lua}} ਫਰਮਿਆਂ ਨੂੰ ਉਹਨਾਂ ਸਾਰੇ ਫਰਮਿਆਂ ਦੇ ਡਾਕੂਮੈਂਟੇਸ਼ਨ ਉੱਪ-ਪੰਨਿਆਂ ਉੱਤੇ ਰੱਖੋ ਜੋ ਲੂਆ ਵਰਤਦੇ ਹਨ, ਇਹ ਲੂਆ ਵਰਤੋਂ ਅਤੇ ਫਰਮਾ ਪਰਿਵਰਤਨਾਂ ਦੇ ਸਹਿਯੋਗ ਵਿੱਚ ਮਦੱਦ ਕਰੇਗਾ|
{{clear}}
== ਇਹ ਵੀ ਦੇਖੋ ==
* [[ਖ਼ਾਸ:ਅਗੇਤਰ ਤਤਕਰਾ/ਮੌਡਿਊਲ:]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ
* [[:ਸ਼੍ਰੇਣੀ:Lua-based templates]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਦੇ ਸਮੂਹ
* [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]]
* [[:ਮੌਡਿਊਲ:Sandbox]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਨਾਲ ਪ੍ਰਯੋਗ ਕਰਨ ਲਈ ਇੱਕ pseudo-namespace ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ
; ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਪੀਡੀਆ-ਵਿਸ਼ੇਸ਼ ਸਰੋਤ
* [[Wikipedia:Lua style guide]] – ਇਕਸਾਰਤਾ ਰਾਹੀਂ ਕੋਡ ਦੀ ਪੜ੍ਹਨਯੋਗਤਾ ਸੁਧਾਰਨ ਲਈ ਮਿਆਰ
* [[:en:Help:Lua debugging]] – ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਡੀਬੱਗਿੰਗ ਬਾਰੇ ਇੱਕ ਕਿਵੇਂ-ਕਰਨਾ ਗਾਈਡ
* [[:en:Wikipedia talk:Lua]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਜਾਂ ਕੰਮਾਂ ਲਈ ਬੇਨਤੀਆਂ
== ਨੋਟਸ ==
{{reflist}}
{{Wikipedia technical help|collapsed}}
[[Category:Wikipedia modules]]
6ge3ar05b5wlmwxj5x8ysen336lxxak
849434
849433
2026-10-08T18:00:15Z
Nimmzo
62202
/* ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ */ Click "Cancel" to close the Lua module [[ਮੌਡਿਊਲ:Jct]] without saving. In this debugging session, you learned how to instrument a Lua module without saving your changes. You can test your changes in the Debug console or in the context of a Wikipedia page.
849434
wikitext
text/x-wiki
{{WikiProject Lua/header}}
{{Namespaces}}
{{Information page|WP:Lua}}
[[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)|ਲੂਆ]] ਇੱਕ ਪ੍ਰੋਗ੍ਰਾਮਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜੋ ਹੁਣ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ, [[mw: Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਮੀਡੀਆਵਿਕੀ ਐਕਸਟੈਂਸ਼ਨ ਰਾਹੀਂ ਉਪਲਬਧ ਹੈ। ਲੁਆ ਕੋਡ ਨੂੰ ਹੁਣ ਵਿਕੀਪੀਡੀਆ ਟੈਂਪਲੈਂਟਾਂ ਵਿੱਚ ਸਕਿਰਬੰਟੋ ਦੇ <syntaxhighlight lang="lua" inline>{{#invoke:}}</syntaxhighlight> ਫੰਕਸ਼ਨ ਨੂੰ ਲਾਗੂ ਕਰਕੇ ਜੜਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਹ ਐਕਸਟੈਨਸ਼ਨ ਜੁਲਾਈ 2015 ਤੋਂ ਲੁਆ 5.1 {{as of|lc=y|2015|07}} ਨੂੰ ਸਪੋਰਟ ਕਰਦੀ ਹੈ।
== ਲੂਆ ਵਿੱਚ ਹੈਲੋ ਵਰਲਡ! ==
<code>[[ਮੌਡਿਊਲ:Bananas]]</code>: ਸਰਲਤਮ ਸੰਭਵ ਸਕ੍ਰਿਪਟ, ਜੋ ਕੋਈ ਵੀ ਆਰਜੂਮੈਂਟ ਵਾਲਾ ਇੱਕ ਸਿੰਗਲ ਫੰਕਸ਼ਨ ਦਿੰਦੀ ਹੈ
ਲੁਆ ਸੋਰਸ ਕੋਡ ਮੌਡਿਊਲਜ਼ (ਯਾਨਿ ਕਿ, <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>) ਨਾਮਕ ਪੰਨਿਆਂ ਵਿੱਚ ਜਮਾਂ ਹੁੰਦੇ ਜਾਂਦੇ ਹਨ। ਇਹ ਵਿਅਕਤੀਗਤ ਮੌਡਿਊਲਜ਼ ਫੇਰ ਟੈਂਪਲੈਂਟ ਪੰਨਿਆਂ ਉੱਤੇ <syntaxhighlight lang="wikitext" inline>{{#invoke:}}</syntaxhighlight> ਕੋਡ ਰਾਹੀਂ ਇਨਵੋਕ (ਬੁਲਾਏ) ਕੀਤੇ ਜਾਂਦੇ ਹਨ। (ਜਿਵੇਂ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/doc|doc]]</code>''' ਇਸ <syntaxhighlight lang="lua" inline>"Hello, world!"</syntaxhighlight> ਸ਼ਬਦਾਂ ਨੂੰ ਛਾਪਣ ਵਾਸਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas|</syntaxhighlight>'''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਕੋਡ ਵਰਤਦਾ ਹੈ।)
ਤੁਹਾਨੂੰ ਕੁਝ ਵੀ ਇੰਸਟਾਲ ਜਾਂ ਸੇਵ ਕਰਨ ਦੀ ਲੋੜ ਨਹੀਂ ਹੈ।
# ਆਪਣਾ ਯੂਜ਼ਰ ਪੰਨਾ ਸੰਪਾਦਿਤ ਕਰੋ।
# ਆਪਣੇ ਯੂਜ਼ਰ ਪੰਨੇ ’ਤੇ ਨਵੀਂ ਲਾਈਨ ਦੇ ਸ਼ੁਰੂ ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੀ ਕਾਲ ਚਿਪਕਾਓ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Bananas|hello}}
</syntaxhighlight></blockquote>
<ol start="3">
<li>'''<code>ਝਲਕ ਵਿਖਾਓ</code>''' ’ਤੇ ਕਲਿੱਕ ਕਰੋ। <syntaxhighlight lang="lua" inline>hello</syntaxhighlight> ਫੰਕਸ਼ਨ ਦੀ ਕਾਲ <code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ ਹੇਠਾਂ ਦਿੱਤੇ ਨਾਲ ਬਦਲ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ:</li>
</ol>
<blockquote><syntaxhighlight lang="lua" line>
Hello, world!
</syntaxhighlight></blockquote>
<ol start="4">
<li><code style="color:#bf3c2c;">ਰੱਦ ਕਰੋ</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ। ਪੁੱਛੇ ਜਾਣ ’ਤੇ, <code>Leave</code> ’ਤੇ ਕਲਿੱਕ ਕਰੋ।</li>
<li>ਤੁਹਾਡਾ ਯੂਜ਼ਰ ਪੰਨਾ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।</li>
</ol>
=== ਆਰਜੂਮੈਂਟਾਂ ਵਰਤਣਾ ===
ਆਰਜੂਮੈਂਟਾਂ ਮੌਡਿਊਲਾਂ ਵੱਲ ਉਸੇ ਤਰੀਕੇ ਨਾਲ ਪਾਸ ਕੀਤੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਜਿਸਤਰਾਂ ਫਰਮੇ ਪਾਸ ਹੁੰਦੇ ਹਨ। ਫੇਰ ਵੀ, ਨੋਟ ਕਰੋ ਕਿ ਪਹਿਲੇ ਪਾਈਪ ਅੱਖਰ ਤੋਂ ਬਾਦ ਦੇ ਅਗਲੇ ਅੱਖਰ ਹਮੇਸ਼ਾਂ ਹੀ ਫੰਕਸ਼ਨ ਦਾ ਨਾਮ ਹੁੰਦੇ ਹਨ; ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਦੂਜੀ ਪਾਈਪ ਤੋਂ ਬਾਦ ਦੇ ਟੈਕਸਟ ਹੁੰਦੇ ਹਨ।
<blockquote><syntaxhighlight lang="lua" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਆਰਗੂਮੈਂਟ}}
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:BananasArgs]]</code>: ਸਿੱਧ ਕਰਕੇ ਦਿਖਾਉਂਦੀ ਹੈ ਕਿ ਪੈਰਾਮੀਟਰਾਂ ਨੂੰ ਕਿਵੇਂ ਵਰਤਣਾ ਅਤੇ ਕ੍ਰਿਆਸ਼ੀਲ ਕਰਨਾ ਹੈ
ਉਦਾਹਰਨ ਦੇ ਤੌਰ ਤੇ, <code>ਮੌਡਿਊਲ:</code><code>BananasArgs</code> ਵਿੱਚ, '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-13|hello]]</code>''' ਫੰਕਸ਼ਨ ਵੱਖਰੇ ਲੋਕਾਂ ਦਾ ਸਵਾਗਤ ਕਰਨਾ ਪਹਿਲੀ ਪੁਜ਼ੀਸ਼ਨ ਵਾਲੀ ਆਰਜੂਮੈਂਟ ਤੇ ਨਿਰਭਰ ਕਰਦਾ ਹੈ। ਇਹ ਇਸਤਰਾਂ ਕੰਮ ਕਰਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|hello|ਜਸਪ੍ਰੀਤ}}
# {{#invoke:BananasArgs|hello|ਗੁਰਪ੍ਰੀਤ}}
</blockquote>
;ਨਾਮਿਤ ਆਰਗੂਮੈਂਟ <code>|ਕੁੰਜੀ=ਮੁੱਲ</code>
<blockquote><syntaxhighlight lang="wikitext" line>
{{#invoke:ਮੋਡੀਊਲ_ਦਾ_ਨਾਮ|ਫੰਕਸ਼ਨ_ਦਾ_ਨਾਮ|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ1=ਮੁੱਲ1|ਨਾਮਿਤ_ਆਰਗੂਮੈਂਟ2=ਮੁੱਲ2}}
</syntaxhighlight></blockquote>
BananasArgs ਕੋਲ ਇੱਕ '''<code>[[ਮੌਡਿਊਲ:BananasArgs#L-26|count_fruit]]</code>''' ਨਾਮਕ ਫੰਕਸ਼ਨ ਵੀ ਹੁੰਦਾ ਹੈ ਜੋ <code>|bananas=</code> and <code>|apples=</code> ਨਾਮਕ ਆਰਜੂਮੈਂਟ ਵਰਤਦਾ ਹੈ ਜਿਸਨਾਲ ਸਾਡੇ ਕੋਲ ਮੌਜੂਦ ਕੇਲਿਆਂ (ਬਾਨਾਨਾਜ਼) ਅਤੇ ਸੇਬਾਂ ਦੀ ਸੰਖਿਆ ਗਿਣੀ ਜਾਂਦੀ ਹੈ। ਇਸਨੂੰ ਆਰਗੂਮੈਂਟਾਂ ਦਾ ਕ੍ਰਮ ਬਦਲ ਕੇ ਚਲਾਇਆ ਜਾ ਸਕਦਾ ਹੈ:
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</syntaxhighlight></blockquote>
<blockquote>
# {{#invoke:BananasArgs|count_fruit|apples=3|bananas=4}}
# {{#invoke:BananasArgs|count_fruit|bananas=5|apples=2}}
</blockquote>
ਜਿਆਦਾਤਰ ਮੌਡਿਊਲਜ਼ ਇੱਕ ਡੌਕੂਮੈਂਟੇਸ਼ਨ ਪੰਨਾ ਰੱਖਦੇ ਹੋਣਗੇ ਜਿਸਵਿੱਚ ਇਹ ਸਮਝਾਇਆ ਗਿਆ ਹੁੰਦਾ ਹੈ ਕਿ ਕਿਹੜੀਆਂ ਆਰਜੂਮੈਂਟਾਂ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ ਅਤੇ ਉਹਨਾਂ ਦੇ ਪ੍ਰਭਾਵ ਕੀ ਹੋਣਗੇ ।
== ਡੀਬੱਗ ਕੌਨਸੋਲ: ਲੂਆ ਸਿੱਖਣਾ ਸ਼ੁਰੂ ਕਰੋ ==
ਲੂਆ Scribunto ਦਾ <code>Debug Console</code> ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ ਲੂਆ ਸਿੱਖਣ ਲਈ ਇੱਕ ਸੁਰੱਖਿਅਤ, ਇੰਟਰਐਕਟਿਵ ਟੂਲ ਹੈ।
# [[ਮੌਡਿਊਲ:Yesno]] ਪੰਨੇ ‘ਤੇ <code>ਸਰੋਤ ਵੇਖੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰੋ।
# ਪੰਨੇ ਦੇ ਹੇਠਾਂ <code>Debug console</code> ਭਾਗ ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
# ਟਿੱਪਣੀ ਅਤੇ ਕਾਲ ਨੂੰ <span style="color:#eaecf0;">ਹਲਕਾ</span> <span style="color:blue;">ਨੀਲਾ</span> ਇਨਪੁੱਟ ਬਾਕਸ ਵਿੱਚ ਪੇਸਟ ਕਰੋ (ਜੋ <code>ਸਾਫ਼ ਕਰੋ</code> ਬਟਨ ਦੇ ਉੱਪਰ ਹੈ)।
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
--[[ਤੁਹਾਡਾ ਪਹਿਲਾ ਲੂਆ Hello World-ਜਿਹਾ ਪ੍ਰੋਗਰਾਮ]]--
print("ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ " .. _VERSION .. "!") -- ਲੂਆ ਸੰਸਕਰਣ ਨੂੰ `..` ਨਾਲ ਜੋੜੋ
</syntaxhighlight></blockquote>
<ol start="4">
<li>ਦੋ ਲੂਆ ਕਮਾਂਡਾਂ ਨੂੰ ਚਲਾਉਣ ਲਈ {{key press|Enter}} ਇੱਕ ਵਾਰ ਦਬਾਓ।</li>
<li>ਨਤੀਜਾ ਲੂਆ <syntaxhighlight lang="lua" inline>print</syntaxhighlight> ਕਮਾਂਡ ਲਾਈਨ ਦੇ ਹੇਠਾਂ ਦਿਖਾਈ ਦੇਵੇਗਾ:</li>
</ol>
<blockquote><syntaxhighlight lang="text" line start=3>
ਲੂਆ ਵਿੱਚ ਤੁਹਾਡਾ ਸੁਆਗਤ ਹੈ Lua 5.1!
</syntaxhighlight></blockquote>
<ol start="6">
<li>ਪਿਛਲੀਆਂ ਲੂਆ ਕਮਾਂਡਾਂ ਵਿਚਕਾਰ ਜਾਣ ਲਈ {{key press|Up}} <code>Up arrow</code> ਦਬਾਓ।</li>
<li>ਚਾਹੋ ਤਾਂ <code>ਸਾਫ਼ ਕਰੋ</code> ‘ਤੇ ਕਲਿੱਕ ਕਰਕੇ ਸਿਰਫ਼ <code>Debug Console</code> ਨੂੰ ਸਾਫ਼ ਕਰੋ; ਉੱਪਰ ਵਾਲਾ ਲੂਆ ਸੰਪਾਦਕ '''ਬਦਲਿਆ ਨਹੀਂ ਜਾਵੇਗਾ'''।</li>
</ol>
; ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ HTML ਜਨਰੇਟਰ
<code>ਮੌਡਿਊਲ:</code><code>Bananas</code> ਵਿੱਚ '''<code>[[ਮੌਡਿਊਲ:Bananas#L-4|hello]]</code>''' ਫੰਕਸ਼ਨ ਨੂੰ ਕਾਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- Debug console ਵਿੱਚ ਮੌਡਿਊਲ ਲੋਡ ਕਰੋ
print(modHi.hello()) -- "Hello, world!" ਦਿਖਾਓ
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
Hello, world!
</syntaxhighlight></blockquote>
;ਆਰਗੂਮੈਂਟ
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
local modArg = require('ਮੌਡਿਊਲ:BananasArgs')
local frame = mw.getCurrentFrame()
frame.args = {"ਜਸਪ੍ਰੀਤ"}; print("੧. " .. modArg.hello(frame))
frame.args = {"ਗੁਰਪ੍ਰੀਤ"}; print("੨. " .. modArg.hello(frame))
frame.args = {apples="3", bananas="4"}; print("੩. " .. modArg.count_fruit(frame))
frame.args = {bananas="5", apples="2"}; print("੪. " .. modArg.count_fruit(frame))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=7>
੧. Hello, ਜਸਪ੍ਰੀਤ!
੨. Hello, ਗੁਰਪ੍ਰੀਤ!
੩. I have 4 bananas and 3 apples
੪. I have 5 bananas and 2 apples
</syntaxhighlight></blockquote>
; ਪਛਾਣ ਫੰਕਸ਼ਨ
<code>callParserFunction</code> [[mw:Help:Extension:ParserFunctions##if|#if]]
<blockquote><syntaxhighlight lang="lua" line highlight=2 copy>
local yesno = require('ਮੌਡਿਊਲ:Yesno') -- #if yesno then ਆਪਣਾ ਇਨਪੁੱਟ ਪੈਰਾਮੀਟਰ ਵਾਪਸ ਕਰਦਾ ਹੈ
print(mw.getCurrentFrame():callParserFunction("#if", yesno("Yes"), "Yes", 'no'))
print(mw.getCurrentFrame():callParserFunction("#if", yesno('ਨਹੀਂ'), "ਹਾਂ", 'ਨਹੀਂ'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=4>
Yes
ਨਹੀਂ
</syntaxhighlight></blockquote>
# ਸੁਰੱਖਿਅਤ <code>ਮੌਡਿਊਲ:</code><code>Yesno</code> ਨੂੰ ਬੰਦ ਕਰੋ, ਜੋ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।
== ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਦੀ ਬੇਨਤੀ ਕਰੋ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਜਾਂ ਕਿਸੇ ਹੋਰ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟ ਉੱਤੇ ਕੋਈ ਖਾਸ ਕੰਮ ਕਰਨ ਲਈ ਕਿਸੇ ਲੂਆ ਸਕ੍ਰਿਪਟ ਨੂੰ ਲਿਖਣ ਵਾਸਤੇ ਸਹਾਇਤਾ ਲਈ [[:en:Wikipedia talk:Lua]] ਤੇ ਜਾਓ
== ਇਤਿਹਾਸ ==
[[mw:Manual:MediaWiki architecture#Magic words and templates|ਜਾਦੂਈ ਸ਼ਬਦ]], [[mw:Help:Extension:ParserFunctions|ਪਾਰਜ਼ਰਫੰਕਸ਼ਨ (ParserFunctions)]], [[mw:Extension:Lua|ਲੂਆ ਸ਼ਾਖਾ]], ਵਿਕੀ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਨੇ (JavaScript ਬਨਾਮ Lua), [[mw:Extension:WikiScripts]] ਮੁਕਾਬਲਾ ਕਰਾਇਆ, ਲੂਆ ਵਾਸਤੇ ਸ਼ੁਰੂਆਤੀ ਸਮਰਥਨ ਨਾਲ ਟਿੱਮ [[mw:Extension:Scribunto|ਸਕਿਰਬੰਟੋ]] ਲਿਖਦਾ ਹੈ|
ਸਾਲਾਂ ਦੀ ਚਰਚਾ ਤੋਂ ਬਾਦ ਲੂਆ ਨੂੰ [[test2wiki:|test2.wikipedia.org]] ਉੱਤੇ ਪਰਖਣ ਵਾਸਤੇ 2012 ਵਿੱਚ ਇਨਸਟਾਲ ਕੀਤਾ ਗਿਆ, ਜਿਸ ਵਿੱਚ ਲੂਆ ਮੌਡਿਊਲਾਜ਼ ਨੂੰ ਵਿਕਸਿਤ ਕਰਨ ਵਾਲੇ ਪ੍ਰਯੋਗਾਂ ਲਈ ਸਾਰੇ ਸੰਪਾਦਕਾਂ ਨੂੰ ਖੁੱਲਾ ਸੱਦਾ ਦਿੱਤਾ ਗਿਆ | ਲੂਆ ਫਰਵਰੀ 2013 ਵਿੱਚ ਅੰਗਰੇਜੀ ਵਿਕੀਪੀਡੀਆ ਵਿੱਚ mediawiki.org ਅਤੇ Wikimedia test wikis ਉੱਤੇ ਪਰਖਣ ਤੋਂ ਬਾਦ ਇਨਸਟਾਲ ਕਰ ਦਿੱਤੀ ਗਈ|
== ਲੂਆ ਬਾਰੇ ==
:Brad Jorsch ਵੱਲੋਂ ਬਣਾਏ ਗਏ [[:File:WMF Tech Talk 2013-02-28 slides - Scribunto presentation.pdf|ਵਿਕੀਟੈਕਸਟ ਟੈਂਪਲੇਟ]] ਨੂੰ ਲੂਆ ਮੌਡਿਊਲ ਵਿੱਚ ਬਦਲਣ ਦਾ ਤਰੀਕਾ ਵੀ ਵੇਖੋ।
ਲੂਆ ਇੱਕ ਸਕ੍ਰਿਪਟਿੰਗ ਭਾਸ਼ਾ ਹੈ ਜਿਸ ਦੀ ਵਰਤੋਂ ਡੇਟਾ ਦਾ ਵਿਸ਼ਲੇਸ਼ਣ ਕਰਨ, ਸਮੀਕਰਨਾਂ ਦੀ ਗਣਨਾ ਕਰਨ ਅਤੇ ਫੰਕਸ਼ਨਾਂ ਜਾਂ ਆਬਜੈਕਟ-ਓਰੀਐਂਟਡ ਪ੍ਰੋਗਰਾਮਿੰਗ ਰਾਹੀਂ ਨਤੀਜਿਆਂ ਨੂੰ ਫਾਰਮੈਟ ਕਰਨ ਲਈ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ। ਭਾਵੇਂ ਕੁਝ ਲੂਆ ਸਕ੍ਰਿਪਟਾਂ ਨੂੰ ਸਰਲ ਰੱਖਿਆ ਜਾ ਸਕਦਾ ਹੈ, ਪਰ ਆਸਾਨੀ ਨਾਲ ਸਮਝਣ ਲਈ ਲੂਆ ਟੇਬਲਾਂ, ਡਾਇਨਾਮਿਕ ਫੰਕਸ਼ਨਾਂ ਅਤੇ ਐਸੋਸੀਏਟਿਵ ਐਰੇਆਂ ਸਮੇਤ ਜਟਿਲ ਢਾਂਚਿਆਂ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ, ਜਿੱਥੇ ਇੰਡੈਕਸ ਸਬਸਕ੍ਰਿਪਟਾਂ ਇੰਡੈਕਸ ਨੰਬਰਾਂ ਦੇ ਨਾਲ-ਨਾਲ ਸ਼ਬਦ ਵੀ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਲੂਆ ਨੇਸਟਡ ਫੰਕਸ਼ਨਾਂ ਦੀ ਰਿਕਰਸ਼ਨ ਨੂੰ ਵੀ ਸਮਰਥਨ ਦਿੰਦਾ ਹੈ, ਇਸ ਲਈ ਬੇਹੱਦ ਜਟਿਲਤਾ ਤੋਂ ਬਚਣ ਲਈ ਸਾਵਧਾਨੀ ਵਰਤਣੀ ਚਾਹੀਦੀ ਹੈ, ਤਾਂ ਜੋ ਹੋਰ ਵਰਤੋਂਕਾਰ ਇਹ ਸਮਝ ਸਕਣ ਕਿ ਲੂਆ ਮੌਡਿਊਲ ਦੀ ਦੇਖਭਾਲ ਕਿਵੇਂ ਕਰਨੀ ਹੈ।
ਹੇਠਾਂ ਉੱਪਰ ਦਿੱਤੀਆਂ ਉਦਾਹਰਨਾਂ ਲਈ ਵਰਤੇ ਗਏ ਮੌਡਿਊਲ ਦੇ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦਾ ਇੱਕ ਅੰਸ਼ ਦਿੱਤਾ ਗਿਆ ਹੈ:
<syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਮੌਡਿਊਲ:BananasArgs#L-13]]--
local p = {} -- ਲੋੜੀਂਦੀ ਮੌਡਿਊਲ (p)ੈਕੇਜ ਟੇਬਲ, ਖਾਲੀ ਟੇਬਲ ਵਜੋਂ ਸ਼ੁਰੂ ਕੀਤੀ ਗਈ
function p.hello(frame) -- hello ਫੰਕਸ਼ਨ ਦੀ ਪਰਿਭਾਸ਼ਾ।
local name = frame.args[1] -- ਇਸ ਵਿੱਚ ਪਹਿਲਾ ਨਾਮ ਹੁੰਦਾ ਹੈ।
return "Hello, " .. name .. "!" -- `..` ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੰਕਸ਼ਨ ਦਾ ਨਤੀਜਾ ਇੱਕ ਸਤਰ ਵਜੋਂ ਜੋੜ ਕੇ ਵਾਪਸ ਕਰੋ।
end -- ਫੰਕਸ਼ਨ ਦਾ ਅੰਤ।
return p -- ਮੌਡਿਊਲ ਦੀ (p)ੈਕੇਜ ਟੇਬਲ ਵਾਪਸ ਕਰੋ।
</syntaxhighlight>
ਲੂਆ ਦਾ ਇੱਕ ਨਮੂਨਾ <code><nowiki><syntaxhighlight lang="lua" line highlight=1 copy> ... </syntaxhighlight></nowiki></code> ਟੈਗ ਨੂੰ ਲੂਆ ਸਰੋਤ ਕੋਡ ਦੇ ਆਲੇ-ਦੁਆਲੇ ਰੱਖ ਕੇ ਉਜਾਗਰ ਕੀਤਾ ਜਾਂਦਾ ਹੈ। ਲੂਆ ਦੀਆਂ ਕੁਝ ਹੋਰ ਜਟਿਲ ਉਦਾਹਰਨਾਂ ਵੇਖਣ ਲਈ ਲੇਖ [[ਲੂਆ (ਪ੍ਰੋਗਰਾਮਿੰਗ ਭਾਸ਼ਾ)]] ਵੇਖੋ।
MediaWiki (ਅਤੇ ਇਸ ਕਰਕੇ ਵਿਕੀਪੀਡੀਆ) ਵਿੱਚ ਲੂਆ ਦੀ ਵਰਤੋਂ ਕਰਨ ਦੇ ਨਿਰਦੇਸ਼ਾਂ ਲਈ [[mw:Extension:Scribunto/ਲੂਆ reference manual]] ਵੇਖੋ।
== ਯੂਨਿਟ ਪਰਖਣਾ ==
ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ Lua ਸਕ੍ਰਿਪਟਾਂ ਲਈ ਇਕਾਈ ਟੈਸਟਿੰਗ ਫਰੇਮਵਰਕ [[ਮੌਡਿਊਲ:ScribuntoUnit]] ਵਿੱਚ ਉਪਲਬਧ ਹੈ।<br />
ਇਹ ਤੁਹਾਨੂੰ ਦਿੱਤੇ ਗਏ ਇਨਪੁੱਟਾਂ ਦੇ ਸਮੂਹ ਉੱਤੇ ਆਪਣੀ ਸਕ੍ਰਿਪਟ ਚਲਾਉਣ ਅਤੇ ਇਹ ਪੁਸ਼ਟੀ ਕਰਨ ਦੀ ਆਗਿਆ ਦਿੰਦਾ ਹੈ ਕਿ ਉਮੀਦ ਕੀਤੇ ਆਉਟਪੁੱਟ ਤਿਆਰ ਹੋਏ ਹਨ।<br />
ਇਕਾਈ ਟੈਸਟ ਖ਼ਾਸ ਤੌਰ ’ਤੇ ਰਿਗ੍ਰੈਸ਼ਨਾਂ ਨੂੰ ਤੇਜ਼ੀ ਨਾਲ ਖੋਜਣ ਲਈ ਲਾਭਦਾਇਕ ਹੁੰਦੇ ਹਨ, ਜਿੱਥੇ ਕਿਸੇ ਸਕ੍ਰਿਪਟ ਵਿੱਚ ਕੀਤੀਆਂ ਤਬਦੀਲੀਆਂ ਨਵੀਆਂ ਸਮੱਸਿਆਵਾਂ ਪੈਦਾ ਕਰਦੀਆਂ ਹਨ।
ਰਿਵਾਜ ਅਨੁਸਾਰ, [[ਮੌਡਿਊਲ:Bananas]] ਵਰਗੇ ਮੌਡਿਊਲ ਲਈ ਇਕਾਈ ਟੈਸਟ <syntaxhighlight lang="lua" inline>ਮੌਡਿਊਲ:</syntaxhighlight><code>Bananas</code>'''<code>/</code><code>[[ਮੌਡਿਊਲ:Bananas/testcases|testcases]]</code>''' ਵਿੱਚ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।<br />
ਇਹ '''<code>[[ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:Bananas/testcases|ਮੌਡਿਊਲ ਗੱਲ-ਬਾਤ:]]</code>'''<code>Bananas/testcases</code> ਉੱਤੇ <syntaxhighlight lang="lua" inline>{{#invoke:Bananas/testcases|</syntaxhighlight>'''<code>run</code>'''<syntaxhighlight lang="lua" inline>}}</syntaxhighlight> ਨਾਲ ਚਲਾਏ ਜਾਂਦੇ ਹਨ।
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="wikitext" line highlight=1 copy>
{{#invoke:Bananas/testcases|run}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Bananas/testcases|run}}
</blockquote>
ਹਰ ਟੈਸਟ ਵਿਧੀ ਦੀ ਸ਼ੁਰੂਆਤ <syntaxhighlight lang="lua" inline>p:</syntaxhighlight>'''<code>test_</code>''' ਨਾਲ ਹੋਣੀ ਲਾਜ਼ਮੀ ਹੈ।
[[ਮੌਡਿਊਲ:Bananas/testcases]] ਤੋਂ ਇੱਕ ਉਦਾਹਰਨ ਹੇਠਾਂ ਦਿੱਤੀ ਗਈ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
--[[ਮੌਡਿਊਲ:Bananas/testcases]]--
local p = require('ਮੌਡਿਊਲ:ScribuntoUnit').new()
local modHi = require('ਮੌਡਿਊਲ:Bananas') -- ਟੈਸਟ ਚਲਾਉਣ ਲਈ ਗੱਲ-ਬਾਤ ਸਫ਼ੇ ਉੱਤੇ ਜਾਓ।
function p:test_hi() -- [[ਮੌਡਿਊਲ:Bananas]] ਲਈ ਇਕਾਈ ਟੈਸਟ।
self:assertEquals('Hello, world!', modHi.hello())
end
return p
</syntaxhighlight></blockquote>
[[ਮੌਡਿਊਲ:ScribuntoUnit]] ਦੀ ਸ਼ੁਰੂਆਤ ਹੰਗਰੀ ਵਿਕੀਪੀਡੀਆ ਤੋਂ ਹੋਈ ਹੈ।<br />
ਇਹ ਅਸਲ ਤਰੁੱਟੀਆਂ ਪੈਦਾ ਕਰਦਾ ਹੈ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਸੁਰੱਖਿਅਤ ਕਾਲਾਂ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਫੜਿਆ ਜਾਂਦਾ ਹੈ। ਇਸ ਵਿੱਚ ਦਿੱਤੀ ਗਈ ਸ਼ੁੱਧਤਾ ਦੇ ਅੰਦਰ ਫਲੋਟਾਂ ਦੀ ਤੁਲਨਾ ਕਰਨ ਲਈ ਇੱਕ ਵਿਧੀ ਵੀ ਹੈ।
ਇਕਾਈ ਟੈਸਟਾਂ ਦੀ ਵਰਤੋਂ ਕਰਨ ਵਾਲੇ ਸਾਰੇ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ ਲਈ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:ScribuntoUnit]] ਵੇਖੋ।
== ਵਿਕੀਪੀਡੀਆ ਵਿਸ਼ੇਸ਼ ਵਿਸ਼ੇਸ਼ਤਾਵਾਂ ==
ਕੁੱਲ ਮਿਲਾ ਕੇ: Lua ਨੂੰ ਇਨਪੁੱਟ ਵਜੋਂ ਸਿਰਫ਼ <code><nowiki>{{#invoke:}}</nowiki></code> ਨੂੰ ਦਿੱਤੀਆਂ ਪਾਠ-ਸਤਰਾਂ ਅਤੇ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.title.new|mw.title.new(...)]]:getContent()</code> तथा <code>[[mw:Extension:Scribunto/Lua reference manual#frame:expandTemplate|frame:expandTemplate()]]</code> ਰਾਹੀਂ ਪ੍ਰਾਪਤ ਕੀਤੀ ਜਾ ਸਕਣ ਵਾਲੀ ਸਮੱਗਰੀ ਹੀ ਮਿਲ ਸਕਦੀ ਹੈ। Lua ਦੇ ਆਉਟਪੁੱਟ ਨੂੰ ਪਹਿਲਾਂ ਤੋਂ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤਾ ਜਾਂਦਾ, ਜਦੋਂ ਤੱਕ <code>[[mw:Extension:Scribunto/Lua reference manual#frame:preprocess|frame:preprocess()]]</code> ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਕਾਲ ਨਾ ਕੀਤਾ ਜਾਵੇ। ਇਸ ਦਾ ਅਰਥ ਹੈ ਕਿ ਆਉਟਪੁੱਟ ਵਿੱਚ ਟੈਂਪਲੇਟ ਕਾਲਾਂ ਅਤੇ ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਸਹੀ ਢੰਗ ਨਾਲ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(mw.title.getCurrentTitle())
print(mw.getCurrentFrame():preprocess('{{PAGENAME}}'))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=3>
ਮੌਡਿਊਲ:Yesno
Yesno
</syntaxhighlight></blockquote>
ਇਹ <code>[[mw:Extension:Scribunto/Lua reference manual#mw.ustring.len|mw.ustring.len]]</code> ਫੰਕਸ਼ਨ ਦੀ ਵਰਤੋਂ <code>[[mw:Extension:Scribunto/Lua reference manual#string.len|string.len]]</code> ਦੀ ਬਜਾਇ ਕਰਨੀ ਬਿਹਤਰ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=3 copy>
--[[ਯੂਨੀਕੋਡ]]--
local code = mw.getContentLanguage().code
local lang = mw.getCurrentFrame():callParserFunction("#language", code)
local lenUnicode = mw.ustring.len(lang) -- ਅੱਖਰਾਂ ਦੀ ਗਿਣਤੀ
local lenByte, lenSharp = string.len(lang), #lang -- ਬਾਈਟਾਂ ਦੀ ਗਿਣਤੀ
local msg = "code: \"%s\". lang: \"%s\". mw.ustring.len = %d string.len = %d sharp = %d"
print((msg):format(code, lang, lenUnicode, lenByte, lenSharp))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=8>
code: "pa". lang: "ਪੰਜਾਬੀ". mw.ustring.len = 6 string.len = 18 sharp = 18
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</syntaxhighlight></blockquote>
<blockquote>
{{#invoke:Utf8debug|ek|pa:ਪੰਜਾਬੀ।}}
</blockquote>
ਵਿਕੀ ਸਫ਼ੇ ਵਿੱਚ, ਸਾਰਾ Lua ਕੋਡ (ਜਿਸ ਵਿੱਚ ਲੰਬੇ ਅੰਕੜਾ-ਹਿਸਾਬ ਜਾਂ ਬੇਅੰਤ <syntaxhighlight lang="lua" inline>while</syntaxhighlight> ਜਾਂ <syntaxhighlight lang="lua" inline>repeat</syntaxhighlight> ਲੂਪ ਵੀ ਸ਼ਾਮਲ ਹਨ) '''10 ਸ'''ਕਿੰਟ ਦੇ CPU ਸਮੇਂ ਤੱਕ ਸੀਮਿਤ ਹੈ। ਤੁਸੀਂ ਰੈਂਡਰ ਕੀਤੇ ਸਫ਼ੇ ਦੇ ਸਰੋਤ ਕੋਡ ਵਿੱਚ ਦੇਖ ਸਕਦੇ ਹੋ ਕਿ ਕਿਸੇ ਟੈਂਪਲੇਟ ਜਾਂ ਮੌਡਿਊਲ ਨੂੰ ਪਾਰਸ ਹੋਣ ਵਿੱਚ ਕਿੰਨਾ ਸਮਾਂ ਲੱਗਿਆ।
ਮਿਆਰੀ Lua ਦੇ ਮੁਕਾਬਲੇ, Scribunto ਦਾ Lua ਸੁਰੱਖਿਅਤ ਫੰਕਸ਼ਨ ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ (ਮਿਆਰੀ Lua ਤੋਂ [[mw:Extension:Scribunto/Lua_reference_manual#Differences_from_standard_Lua|ਅੰਤਰ]] ਵੇਖੋ)।
=== ਲੂਆ ਇਨਪੁੱਟ ਕਮੀਆਂ ===
Scribunto ਵਿੱਚ Lua ਕੋਡ ਸਿਰਫ਼ ਉਦੋਂ ਹੀ ਚਲਾਇਆ ਜਾਂਦਾ ਹੈ ਜਦੋਂ ਸਫ਼ੇ ਨੂੰ ਪਾਰਸ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੋਵੇ। ਇਸ ਲਈ, Lua ਨੂੰ ਮਿਲਣ ਵਾਲਾ ਇਕਲੌਤਾ ਯੂਜ਼ਰ ਇਨਪੁੱਟ ''ਸਫ਼ੇ ਦੀ ਸੋਧ'' ਰਾਹੀਂ ਹੀ ਹੋ ਸਕਦਾ ਹੈ - ਇਹ ਅਜਿਹਾ ਇਨਪੁੱਟ ਬਾਕਸ ਨਹੀਂ ਬਣਾ ਸਕਦਾ ਜਿਸ ਵਿੱਚ ਤੁਸੀਂ ਫੈਰਨਹਾਈਟ ਤਾਪਮਾਨ ਦਰਜ ਕਰੋ ਅਤੇ ਕਿਸੇ ਬਟਨ ਨੂੰ ਦਬਾਉਣ ’ਤੇ ਉਸ ਨਾਲ ਸੰਬੰਧਿਤ ਸੈਲਸੀਅਸ ਤਾਪਮਾਨ ਪ੍ਰਾਪਤ ਕਰ ਸਕੋ, ਜਾਂ ਇਸ ਗੱਲ ਦੇ ਆਧਾਰ ’ਤੇ ਮੈਂਡਲਬਰੋਟ ਸੈੱਟ ਦੇ ਕਿਸੇ ਹਿੱਸੇ ਦੀ ਮੁੜ ਗਣਨਾ ਕਰ ਸਕੋ ਕਿ ਤੁਸੀਂ ਮੂਲ ਸੈੱਟ ਦੇ ਕਿਹੜੇ ਹਿੱਸੇ ’ਤੇ ਕਲਿੱਕ ਕਰਦੇ ਹੋ।
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
local function toCelsius(tempFahrenheit) return (tempFahrenheit - 32) * 5 / 9 end
print(("toCelsius(32°F) = %s°C. toCelsius(68°F) = %d°C"):format(toCelsius(32), toCelsius(68)))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="text" line start=3>
toCelsius(32°F) = 0°C. toCelsius(68°F) = 20°C
</syntaxhighlight></blockquote>
Lua ਇਨਪੁੱਟ ਵਿਕੀਪੀਡੀਆ ਦੇ ਕਿਸੇ ਵੀ ਅਜਿਹੇ ਪਾਠ ਸਫ਼ੇ ਦੀ ਵਰਤੋਂ ਕਰ ਸਕਦਾ ਹੈ ਜਿਸ ਨੂੰ ਕਿਸੇ ਹੋਰ ਸਫ਼ੇ ਵਿੱਚ [[ਵਿਕੀਪੀਡੀਆ:Transclusion|ਸ਼ਾਮਲ]] ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੋਵੇ। ਇਸ ਵਿੱਚ ਚਿੱਤਰ ਫ਼ਾਈਲਾਂ, ਸਕੇਲੇਬਲ ਵੈਕਟਰ ਗ੍ਰਾਫ਼ਿਕਸ (SVG) ਫ਼ਾਈਲਾਂ, [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]] ਦੀਆਂ ਸੂਚੀਆਂ ਜਾਂ [[ਖ਼ਾਸ:ਕਿਹੜੇ ਸਫ਼ੇ ਇੱਥੇ ਜੋੜਦੇ ਹਨ/ਮੌਡਿਊਲ:UnitTests]] ਵਰਗੇ ਖ਼ਾਸ ਸਫ਼ੇ ਸ਼ਾਮਲ ਨਹੀਂ ਹਨ।
== ਡੀਬੱਗ ਕਰਨਾ ==
=== ਨਾਂ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਵਿੱਚ ਸਮੱਸਿਆ ਨੂੰ ਸਰਲ ਕਰੋ:
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |state=NY |type=NY |route=343}}
</blockquote>
ਗਲਤੀ ਵਾਲੇ ਸੁਨੇਹੇ 'ਤੇ ਕਲਿੱਕ ਕਰੋ, ਫਿਰ ਲਾਈਨ 107 ਤੱਕ ਸਕ੍ਰੋਲ ਕਰੋ।
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Infobox_road/route at line 107: bad argument #1 to 'wikitext' ('''string''' or number expected, got <s>boolean</s>).
</blockquote>
<code>wikitext</code> ਫੰਕਸ਼ਨ Boolean ਮੁੱਲ <code>false</code> ਨੂੰ ਸਵੀਕਾਰ ਨਹੀਂ ਕਰਦਾ।
<blockquote><syntaxhighlight lang="lua" start=107 line highlight=1>
container:tag('p'):cssText('margin:0.1em;'):wikitext(name)
</syntaxhighlight></blockquote>
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
<code>|name=</code> ਪੈਰਾਮੀਟਰ ਪਰਿਭਾਸ਼ਿਤ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</syntaxhighlight></blockquote>
<blockquote>
{{Infobox road |name=ਨਿਊਯਾਰਕ 343 |state=NY |type=NY |route=343}}
</blockquote>
=== ਲਿੰਕ ਮੌਜੂਦ ਨਹੀਂ ===
ਤੁਹਾਡੇ ਵਰਤੋਂਕਾਰ ਸਫ਼ੇ ਉੱਤੇ:
[[ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)]] ਦੇ "ਮੁੱਖ ਜੰਕਸ਼ਨ" ਭਾਗ ਵਿੱਚ ਬਾਕੀ ਤਿੰਨ ਸਮੱਸਿਆਵਾਂ ਨੂੰ ਸਰਲ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
{{jct|state=NY|NY|82}}
</syntaxhighlight></blockquote>
<blockquote>
{{jct|state=NY|NY|82}}
</blockquote>
{{collapse top|title=ਲੂਆ ਕੋਡ ਵਿੱਚ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਜੋੜਨਾ}}
<code>[[ਮੌਡਿਊਲ:Yesno]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local modJunction = require('ਮੌਡਿਊਲ:jct')
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(modJunction.jct(frame))
</syntaxhighlight></blockquote>
<blockquote style="color:#bf3c2c;">
Lua error in ਮੌਡਿਊਲ:Jct at line 204: attempt to concatenate local 'link' (a boolean value).<br />
Backtrace:<br />
ਮੌਡਿਊਲ:Jct:204: in function "routeText"
</blockquote>
[[ਮੌਡਿਊਲ:Jct#L-204]] ਵਿੱਚ, <code>link</code> ਦਾ ਮੁੱਲ <code>false</code> ਹੈ, ਪਰ ਇੱਥੇ ਇੱਕ ਸਤਰ ਦੀ ਲੋੜ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=12>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route
else
link = p.link(route)
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# Lua ਕੋਡ ਵਿੱਚ ਦੋ ਕਸਟਮ <syntaxhighlight lang="lua" inline>error()</syntaxhighlight> ਕਾਲਾਂ ਜੋੜ ਕੇ ਅਸਥਾਈ ਤੌਰ 'ਤੇ ਜਾਂਚ ਲਈ ਨਿਸ਼ਾਨ ਲਗਾਓ।
<blockquote><syntaxhighlight lang="lua" start=193 line highlight=6,8 copy>
-- Links/abbreviations
local function routeText(route, jctname, frame)
local link
local type = route.type
if not type or type == '' then
link = route.route; error("link1=" .. tostring(link))
else
link = p.link(route); error("link2=" .. tostring(link))
end
local dir = route.dir and ' ' .. string.lower(route.dir) or ''
local routeText = link .. dir
</syntaxhighlight></blockquote>
# "<s>ਸਫ਼ਾ ਛਾਪੋ</s>" (<s>ਤਬਦੀਲੀਆਂ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ</s>। <s>Publish changes</s>) 'ਤੇ '''<span style="color:red;">ਕਲਿੱਕ ਨਾ ਕਰੋ</span>'''।
<code>ਮੌਡਿਊਲ:</code>'''<code>[[ਮੌਡਿਊਲ:Jct|Jct]]</code>''' ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame()
frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
# ਦੂਜੀ ਕਸਟਮ ਗਲਤੀ ਦਿਖਾਈ ਦੇਵੇਗੀ।
<blockquote style="color:#bf3c2c;">
Lua error at line 200: link2=false.
</blockquote>
# ਦੋਵੇਂ ਕਸਟਮ ਗਲਤੀ ਕਾਲਾਂ ਹਟਾਓ। ਸਮੱਸਿਆ <code>p.link</code> ਫੰਕਸ਼ਨ ਵਿੱਚ ਹੈ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=2,4>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr')
if nolink then
return abbr
else
local link = parser(route, 'link')
if not link or link == '' then
return abbr
else
return format("[[%s|%s]]", link, abbr)
end
end
end
</syntaxhighlight></blockquote>
ਵਿਕੀ ਸਫ਼ਾ [[:en:New York State Route 82]] ਮੌਜੂਦ ਨਹੀਂ ਹੈ। ਇਸ ਲਈ <code>link</code> ਅਤੇ <code>abbr</code> ਦੋਵਾਂ ਦਾ ਮੁੱਲ <code>false</code> ਹੈ।
# ਜਦੋਂ ਸੰਖੇਪ ਰੂਪ ਪਰਿਭਾਸ਼ਿਤ ਨਾ ਹੋਵੇ, ਤਾਂ ਉਸਨੂੰ ਸੰਭਾਲਣ ਲਈ Lua ਕੋਡ ਵਿੱਚ ਸੁਧਾਰ ਕਰੋ।
# <syntaxhighlight lang="lua" inline>false</syntaxhighlight> ਦੀ ਥਾਂ <syntaxhighlight lang="lua" inline> or ''</syntaxhighlight> ਜੋੜ ਕੇ ਖਾਲੀ ਸਤਰ <syntaxhighlight lang="lua" inline>""</syntaxhighlight> ਵਾਪਸ ਕਰੋ।
<blockquote><syntaxhighlight lang="lua" start=176 line highlight=4 copy>
-- Links/abbreviations
function p.link(route)
local nolink = route.nolink
local abbr = parser(route, 'abbr') or ''
if nolink then
return abbr
else
local link = parser(route, 'link')
if not link or link == '' then
return abbr
else
return format("[[%s|%s]]", link, abbr)
end
end
end
</syntaxhighlight></blockquote>
<code>[[ਮੌਡਿਊਲ:Jct]]</code> ਦੇ ਡੀਬੱਗ ਕੌਨਸੋਲ ਵਿੱਚ:
<blockquote><syntaxhighlight lang="lua" line highlight=4 copy>
local frame = mw.getCurrentFrame(); frame.args = {state="NY", "NY", "82"}
print(p.jct(frame))
</syntaxhighlight></blockquote>
# ਇੱਕ ਨਵੀਂ ਗਲਤੀ ਦਿਖਾਈ ਦੇਵੇਗੀ।
<blockquote style="color:#bf3c2c;">
Lua error in package.lua at line 80: module 'Module:Road data/extra' not found<br />
218. local extraTypes = mw.loadData('Module:Road data/extra')
</blockquote>
ਵਿਕੀਪੀਡੀਆ ਲੇਖ ਦੇ ਸੰਦਰਭ ਵਿੱਚ:
# '''<code>ਇਸ ਫਰਮੇ ਨਾਲ ਸਫ਼ੇ ਦੀ ਝਲਕ ਵੇਖੋ</code>''' ਹੇਠਾਂ ਸਫ਼ੇ ਦਾ ਨਾਂ <code>ਸਟੇਟ ਰੂਟ 343 (ਨਿਊਯਾਰਕ-ਕਨੈਕਟੀਕਟ)</code> ਦਰਜ ਕਰੋ।
# '''<code>ਝਲਕ ਵਿਖਾਓ</code>''' ’ਤੇ ਕਲਿੱਕ ਕਰੋ।
# <code>Infobox road</code> ਵਿੱਚ ਹੇਠਾਂ ਸਕ੍ਰੋਲ ਕਰਕੇ <code>Major junctions</code> (ਮੁੱਖ ਜੰਕਸ਼ਨ) ਤੱਕ ਜਾਓ।
<blockquote style="color:#bf3c2c;">
ਪੱਛਮ end Lua error in package.lua at line 80: module 'Module:Road data/extra' not found
</blockquote>
# [[:en:Module:Road data/extra]] ਪ੍ਰਾਪਤ ਕਰੋ।
# ਸੁਰੱਖਿਅਤ <code>ਮੌਡਿਊਲ:</code>'''<code>[[ਮੌਡਿਊਲ:Jct|Jct]]</code>''' ਨੂੰ ਬੰਦ ਕਰੋ, ਜੋ '''ਅਣਬਦਲਿਆ''' ਰਹਿੰਦਾ ਹੈ।
{{collapse bottom}}
=== ਵਿਕੀਟੈਕਸਟ ===
ਸ਼ਾਮਲ ਕੀਤੇ ਗਏ ਵਿਕੀਪੀਡੀਆ ਸਿਰਲੇਖਾਂ ਵਿੱਚ ਅਕਸਰ <syntaxhighlight lang="lua" inline>"UNIQ5ae8f2aa414ff233-h-3--QINU"</syntaxhighlight> ਵਰਗਾ ਲੁਕਿਆ ਹੋਇਆ ਕੋਡ ਹੁੰਦਾ ਹੈ, ਜਿਸ ਨੂੰ ਪ੍ਰਭਾਵਸ਼ਾਲੀ ਢੰਗ ਨਾਲ ਪਾਰਸ ਕਰਨ ਲਈ ਹਟਾਉਣ ਦੀ ਲੋੜ ਪੈ ਸਕਦੀ ਹੈ।
<blockquote><syntaxhighlight lang="lua" line highlight=1 copy>
print(string.reverse("UNIQ"))
</syntaxhighlight></blockquote>
<blockquote><syntaxhighlight lang="lua" line start=2>
QINU
</syntaxhighlight></blockquote>
ਪਾਈਪ <code><nowiki>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ</nowiki></code>'''<code><nowiki>|</nowiki></code>'''<code><nowiki>]]</nowiki></code> ਤੋਂ ਬਾਅਦ ਪ੍ਰਗਟਾਵੇ ਤੋਂ ਬਿਨਾਂ ਵਾਲੇ ਵਿਕੀਲਿੰਕ, ਜੇ ਆਉਟਪੁੱਟ ਵਜੋਂ ਵਾਪਸ ਕੀਤੇ ਜਾਣ, ਤਾਂ ਕੰਮ ਨਹੀਂ ਕਰਨਗੇ - ਇਨ੍ਹਾਂ ਨੂੰ ਸਪਸ਼ਟ ਤੌਰ ’ਤੇ ਇਸ ਤਰ੍ਹਾਂ ਲਿਖਣ ਦੀ ਲੋੜ ਹੁੰਦੀ ਹੈ: <syntaxhighlight lang="lua" inline>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|</syntaxhighlight>'''<code>[[ਵਿਕੀਪੀਡੀਆ:ਮਦਦ|ਮਦਦ]]</code>'''<syntaxhighlight lang="lua" inline>]]</syntaxhighlight>।
ਸੇਵ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਹੋਣ ਵਾਲੀਆਂ ਹੋਰ ਤਬਦੀਲੀਆਂ ਵੀ, ਜਿਵੇਂ ਕਿ <code>~~<nowiki/>~~</code> ਨੂੰ ਦਸਤਖ਼ਤਾਂ ਨਾਲ ਬਦਲਣਾ, ਪ੍ਰਕਿਰਿਆ ਵਿੱਚ ਨਹੀਂ ਆਉਣਗੀਆਂ। ਟੈਂਪਲੇਟ ਟ੍ਰਾਂਸਕਲੂਜ਼ਨ, ਪਾਰਸਰ ਫੰਕਸ਼ਨ ਕਾਲਾਂ ਅਤੇ ਵੇਰੀਏਬਲ ਬਦਲਾਅ (ਅਰਥਾਤ <code><nowiki>{{...}}</nowiki></code> ਵਾਲੀ ਕੋਈ ਵੀ ਚੀਜ਼) ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ। ਇਸੇ ਤਰ੍ਹਾਂ {{tag|ref|o}} ਜਾਂ {{tag|nowiki|o}} ਵਰਗੇ ਟੈਗ ਵੀ ਪ੍ਰਕਿਰਿਆਬੱਧ ਨਹੀਂ ਕੀਤੇ ਜਾਣਗੇ।
== ਬਦਲੇ ਹੋਏ ਫਰਮਿਆਂ ਦਾ ਨਾਮਕਰਨ==
{{lua|ਮੌਡਿਊਲ:Bananas}}
ਕਿਰਪਾ ਕਰਕੇ {{tl|lua}} ਫਰਮਿਆਂ ਨੂੰ ਉਹਨਾਂ ਸਾਰੇ ਫਰਮਿਆਂ ਦੇ ਡਾਕੂਮੈਂਟੇਸ਼ਨ ਉੱਪ-ਪੰਨਿਆਂ ਉੱਤੇ ਰੱਖੋ ਜੋ ਲੂਆ ਵਰਤਦੇ ਹਨ, ਇਹ ਲੂਆ ਵਰਤੋਂ ਅਤੇ ਫਰਮਾ ਪਰਿਵਰਤਨਾਂ ਦੇ ਸਹਿਯੋਗ ਵਿੱਚ ਮਦੱਦ ਕਰੇਗਾ|
{{clear}}
== ਇਹ ਵੀ ਦੇਖੋ ==
* [[ਖ਼ਾਸ:ਅਗੇਤਰ ਤਤਕਰਾ/ਮੌਡਿਊਲ:]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਸੂਚੀ
* [[:ਸ਼੍ਰੇਣੀ:Lua-based templates]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਦੇ ਸਮੂਹ
* [[:ਸ਼੍ਰੇਣੀ:Lua metamodules]]
* [[:ਮੌਡਿਊਲ:Sandbox]] ਲੂਆ ਮੌਡਿਊਲਾਂ ਨਾਲ ਪ੍ਰਯੋਗ ਕਰਨ ਲਈ ਇੱਕ pseudo-namespace ਪ੍ਰਦਾਨ ਕਰਦਾ ਹੈ
; ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਪੀਡੀਆ-ਵਿਸ਼ੇਸ਼ ਸਰੋਤ
* [[Wikipedia:Lua style guide]] – ਇਕਸਾਰਤਾ ਰਾਹੀਂ ਕੋਡ ਦੀ ਪੜ੍ਹਨਯੋਗਤਾ ਸੁਧਾਰਨ ਲਈ ਮਿਆਰ
* [[:en:Help:Lua debugging]] – ਲੂਆ ਮੌਡਿਊਲਾਂ ਦੀ ਡੀਬੱਗਿੰਗ ਬਾਰੇ ਇੱਕ ਕਿਵੇਂ-ਕਰਨਾ ਗਾਈਡ
* [[:en:Wikipedia talk:Lua]] – ਲੂਆ-ਆਧਾਰਿਤ ਟੈਂਪਲੇਟਾਂ ਜਾਂ ਕੰਮਾਂ ਲਈ ਬੇਨਤੀਆਂ
== ਨੋਟਸ ==
{{reflist}}
{{Wikipedia technical help|collapsed}}
[[Category:Wikipedia modules]]
bb2jbgg7ggddf77mhdu6dm3xygpk9yg
ਬਾਨ ਕੀ-ਮੂਨ
0
79838
849459
717596
2026-10-09T09:56:26Z
Kuldeepburjbhalaike
18176
Kuldeepburjbhalaike ਨੇ ਸਫ਼ਾ [[ਬਾਨ ਕੀ ਮੂਨ]] ਨੂੰ [[ਬਾਨ ਕੀ-ਮੂਨ]] ’ਤੇ ਭੇਜਿਆ
717596
wikitext
text/x-wiki
{{Infobox Secretary-General
|name = ਬਾਨ ਕੀ ਮੂਨ<br>{{small|{{lang|ko|반기문}}}}
<br>潘基文
|image = Ban Ki-moon April 2015.jpg{{!}}border
|office = [[ਸੰਯੁਕਤ ਰਾਸ਼ਟਰ ਦੇ ਸਕੱਤਰ-ਜਨਰਲਾਂ ਦੀ ਸੂਚੀ|8ਵਾਂ]] [[ਸੰਯੁਕਤ ਰਾਸ਼ਟਰ ਦਾ ਸਕੱਤਰ-ਜਨਰਲ]]
|deputy = [[ਅਸ਼ਾ-ਰੋਜ਼ ਮੀਗੀਰੋ]]<br>[[ਜਨ ਏਲੀਅਸਨ]]
|term_start = 1 ਜਨਵਰੀ 2007
|term_end =
|predecessor = [[ਕੋਫ਼ੀ ਅੰਨਾਨ]]
|successor =
|office1 = [[Ministry of Foreign Affairs (South Korea)|Minister of Foreign Affairs and Trade]]
|president1 = [[Roh Moo-hyun]]
|term_start1 = 17 ਜਨਵਰੀ 2004
|term_end1 = 1 ਦਸੰਬਰ 2006
|predecessor1 = [[ਯੂਨ ਯੰਗ-ਕਵਾਨ]]
|successor1 = [[Song Min-soon]]
|birth_date = {{birth date and age|1944|6|13|df=y}}
|birth_place = [[Eumseong County|Injō]], [[Korea under Japanese rule|Japanese Korea]]<ref>pg 493, "Local Administration, Chapter XXIV: Korea (Chōsen)," The Japan-Manchukuo Year Book 1938, Japan-Manchukuo Year Book Co., Kojimachi-ku, Tokyo</ref><ref name="eumseong.go.kr">{{cite web|url=http://www.eumseong.go.kr/english/contents.do?key=933|title=Welcomto Eumseong|publisher=|accessdate=14 May 2016}}</ref><br>{{small|(now [[Eumseong County|Eumseong]], [[South Korea]])}}
|death_date =
|death_place =
|spouse = ਯੂ ਸੂ-ਤਾਏਕ
|children = 3
|alma_mater = [[Seoul National University]]<br>[[John F. Kennedy School of Government|Harvard University]]
}}
{{Infobox Korean name
|tablewidth = 265
|color = lavender
|hangul = {{linktext|반|기|문}}
|hanja = {{linktext|潘|基|文}}
|rr = Ban Gimun
|mr = Pan Kimun
|text = {{IPA-ko|panɡimun}}<!-- Please do not change to [ban.ɡi.mun]. Hangeul "ㅂ" is voiceless in an initial position. -->
}}
'''ਬਾਨ ਕੀ ਮੂਨ''' [[ਦੱਖਣ ਕੋਰੀਆ|ਦੱਖਣੀ ਕੋਰੀਆ]] ਦਾ ਇੱਕ ਸਿਆਸਤਦਾਨ ਹੈ। ਉਹ [[ਸੰਯੁਕਤ ਰਾਸ਼ਟਰ]] ਦਾ ਅੱਠਵਾਂ ਸੈਕਟਰੀ-ਜਨਰਲ ਹੈ। ਇਸ ਤੋਂ ਪਹਿਲਾਂ ਉਹ ਕੋਰੀਆ ਦੇ ਵਿਦੇਸ਼ ਮੰਤਰਾਲਾ ਵਿੱਚ ਕੈਰੀਅਰ ਕੂਟਨੀਤਕ ਸੀ। ਉਹ ਕੂਟਨੀਤੀ ਸੇਵਾ ਵਿੱਚ ਆਪਣੀ ਯੂਨੀਵਰਸਿਟੀ ਦੀ ਪੜ੍ਹਾਈ ਖ਼ਤਮ ਕਰਦੇ ਹੀ ਆ ਗਿਆ ਸੀ। ਉਸਨੇ ਆਪਣੇ ਇਸ ਜੀਵਨ ਦੀ ਸ਼ੁਰੂਆਤ [[ਨਵੀਂ ਦਿੱਲੀ]], [[ਭਾਰਤ]] ਵਿੱਚੋਂ ਕੀਤੀ।
ਜਨਵਰੀ 2004 ਤੋਂ ਨਵੰਬਰ 2006 ਤੱਕ ਉਹ ਦੱਖਣੀ ਕੋਰੀਆ ਦਾ ਵਿਦੇਸ਼ ਮੰਤਰੀ ਰਿਹਾ। ਫਰਵਰੀ 2006 ਵਿੱਚ ਉਸਨੇ ਸੰਯੁਕਤ ਰਾਸ਼ਟਰ ਦਾ ਸੈਕਟਰੀ ਜਨਰਲ ਬਣਨ ਲਈ ਮੁਹਿੰਮ ਚਲਾਈ।
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
[[ਸ਼੍ਰੇਣੀ:ਦੱਖਣੀ ਕੋਰੀਆ ਦੇ ਸਿਆਸਤਦਾਨ]]
[[ਸ਼੍ਰੇਣੀ:ਜਨਮ 1944]]
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
[[ਸ਼੍ਰੇਣੀ:ਸੰਯੁਕਤ ਰਾਸ਼ਟਰ ਦੇ ਸਕੱਤਰ-ਜਨਰਲ]]
h9s5c99kevs9fflny5wikn17w4p1cqy
ਸ਼ਵੇਤਾ ਤਿਵਾਰੀ
0
92041
849418
838419
2026-10-08T13:00:06Z
InternetArchiveBot
37445
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.6
849418
wikitext
text/x-wiki
{{Infobox person|name=Shweta Tiwari|image=Shweta Tiwari on 'Jhalak Dikhhla Jaa Season 6'.jpg|caption=Tiwari on the set of [[Jhalak Dikhhla Jaa]] in 2013|birth_date=<!-- Date of birth has been contested. Do not add a birth date or year without a reliable source. -->|birth_place=[[Pratapgarh, Uttar Pradesh]]|nationality=[[India]]n|occupation=[[Actress]], [[television presenter]], [[Model (people)|model]]|years active=1999–present|years_active=1999–present|spouse=[[Abhinav Kohli]] (2013–present)<br />[[Raja Chaudhary]] (1998–2007)|children=2}}'''ਸ਼ਵੇਤਾ ਤਿਵਾੜੀ''' ਇੱਕ ਭਾਰਤੀ ਫਿਲਮ ਅਤੇ ਟੈਲੀਵਿਜ਼ਨ ਅਭਿਨੇਤਰੀ ਹੈ। ਉਸ ਸਭ ਤੋ ਪਹਿਲਾ ''ਕਸੌਟੀ ਜ਼ਿੰਦਗੀ ਕੀ'' 2011 ਵਿੱਚ ਨਜਰ ਆਈ। ਉਹ ਬਿੱਗ ਬਾਸ ਰਿਆਲਿਟੀ ਸ਼ੋਅ ਦੀ ਵਿਜੇਤਾ ਹੈ। <ref>[http://frontierindia.net/big-boss-4-shweta-tiwari-is-the-winner Big Boss 4: Shweta Tiwari is the winner] {{Webarchive|url=https://web.archive.org/web/20110110213904/http://frontierindia.net/big-boss-4-shweta-tiwari-is-the-winner |date=2011-01-10 }}.</ref> ਉਸ ਤੋਂ ਬਾਅਦ ਉਹ ''Jਝਲਕ ਦਿਖਲਾ ਜਾ'' 2013 ਵਿੱਚ ਪ੍ਰਤਿਯੋਗੀ ਬਣੀ।
== ਨਿੱਜੀ ਜ਼ਿੰਦਗੀ ==
[[File:Shweta Tiwari and Palak crop.jpg|thumb|150px|right|Tiwari and her daughter Palak in 2012]]
ਤਿਵਾੜੀ ਨੇ 1998 ਵਿੱਚ ਅਭਿਨੇਤਾ ਰਾਜਾ ਚੌਧਰੀ ਨਾਲ ਵਿਆਹ ਕਰਵਾਇਆ ਅਤੇ ਉਨ੍ਹਾਂ ਦੀ ਇੱਕ ਬੇਟੀ ਪਲਕ ਦਾ ਜਨਮ 8 ਅਕਤੂਬਰ 2000 ਨੂੰ ਹੋਇਆ।<ref>{{Cite web|url=https://indianexpress.com/article/entertainment/television/shweta-tiwari-daughter-palak-birthday-see-photos-4880436/|title=Shweta Tiwari's daughter Palak turns 17, actor shares special birthday wish for her sweetheart|date=8 October 2017|website=The Indian Express|language=en-IN|access-date=12 August 2019}}</ref> She filed for a divorce in 2007 after nine years of marriage.<ref>{{cite news|title=Shweta files for divorce|url=http://www.telegraphindia.com/1070621/asp/nation/story_7952373.asp|work=The Telegraph – Calcutta|access-date=4 October 2010|location=Calcutta, India|date=21 June 2007}}</ref> ਉਸ ਨੇ ਵਿਆਹ ਦੇ ਨੌਂ ਸਾਲਾਂ ਬਾਅਦ 2007 ਵਿੱਚ ਤਲਾਕ ਲਈ ਅਰਜ਼ੀ ਦਿੱਤੀ।<ref>{{cite news|title=Shweta files for divorce|url=http://www.telegraphindia.com/1070621/asp/nation/story_7952373.asp|work=The Telegraph – Calcutta|access-date=4 October 2010|location=Calcutta, India|date=21 June 2007}}</ref> ਤਿਵਾੜੀ ਨੇ ਦੱਸਿਆ ਕਿ ਉਸ ਨੂੰ ਰਾਜਾ ਦੇ ਸ਼ਰਾਬੀਪੁਣੇ ਅਤੇ ਘਰੇਲੂ ਹਿੰਸਾ ਦੇ ਕਾਰਨ ਇੱਕ ਪਰੇਸ਼ਾਨੀ ਭਰੇ ਰਿਸ਼ਤੇ ਦਾ ਸਾਹਮਣਾ ਕਰਨਾ ਪਿਆ। ਉਸ ਨੇ ਸ਼ਿਕਾਇਤ ਕੀਤੀ ਕਿ ਉਹ ਰੋਜ਼ਾਨਾ ਉਸ ਦੀ ਕੁੱਟਮਾਰ ਕਰਦਾ ਸੀ। ਉਹ ਉਸ ਦੇ ਸ਼ੋਅ ਦੇ ਸੈੱਟਾਂ ਤੇ ਆਉਂਦਾ ਸੀ ਅਤੇ ਉਸ ਨਾਲ ਦੁਰਵਿਵਹਾਰ ਕਰਦਾ ਸੀ।<ref>{{Cite web|url=https://www.bollywoodlife.com/photos/celeb-shweta-tiwari/shweta-tiwari-dimpy-ganguly-dalljiet-kaur-tv-actresses-who-were-victims-of-domestic-violence-854865/|title=Shweta Tiwari, Dimpy Ganguly, Dalljiet Kaur – TV actresses who were victims of domestic violence|website=www.bollywoodlife.com|access-date=17 March 2020}}</ref><ref>{{Cite web|url=https://indianexpress.com/article/entertainment/entertainment-others/raja-chaudhary-gets-bail-after-beating-up-shweta-tiwari/|title=Raja Chaudhary gets bail after beating up Shweta Tiwari|date=27 January 2011|website=The Indian Express|language=en-IN|access-date=12 August 2019}}</ref>
ਤਿਵਾੜੀ ਅਤੇ ਅਦਾਕਾਰ ਅਭਿਨਵ ਕੋਹਲੀ ਦਾ ਵਿਆਹ ਲਗਭਗ ਤਿੰਨ ਸਾਲਾਂ ਤੱਕ ਡੇਟਿੰਗ ਕਰਨ ਤੋਂ ਬਾਅਦ 13 ਜੁਲਾਈ 2013 ਨੂੰ ਹੋਇਆ ਸੀ।<ref>{{cite news|title=He sacrificed our daughter for property: Shweta Tiwari|work=The Hindustan Times|author=Kavita Awaasthi|date=11 October 2012|url=http://www.hindustantimes.com/Entertainment/Tabloid/He-sacrificed-our-daughter-for-property-Shweta-Tiwari/Article1-943095.aspx|access-date=21 October 2012|url-status=dead|archive-url=https://web.archive.org/web/20121015084317/http://www.hindustantimes.com/Entertainment/Tabloid/He-sacrificed-our-daughter-for-property-Shweta-Tiwari/Article1-943095.aspx|archive-date=15 October 2012}}{{not in ref|date=May 2015}}</ref> 27 ਨਵੰਬਰ 2016 ਨੂੰ, ਤਿਵਾੜੀ ਨੇ ਇੱਕ ਬੇਟੇ ਰਯਾਂਸ਼ ਕੋਹਲੀ ਨੂੰ ਜਨਮ ਦਿੱਤਾ।<ref name="IE2Dec2016">{{cite web|url=http://indianexpress.com/article/entertainment/television/tv-actor-shweta-tiwari-gives-birth-to-baby-boy-4407449/|title=Shweta Tiwari gives birth to baby boy|date=2 December 2016|website=indianexpress.com|access-date=19 June 2018}}</ref><ref>{{Cite web|url=https://indianexpress.com/article/entertainment/television/shweta-tiwari-promises-something-beautiful-to-son-reyansh-on-his-birthday-see-photo-4969087/|title=Shweta Tiwari promises something beautiful to son Reyansh on his birthday, see photos|date=5 December 2017|website=The Indian Express|language=en-IN|access-date=12 August 2019}}</ref> ਉਨ੍ਹਾਂ ਦੇ ਵਿਆਹ ਵਿੱਚ ਸਮੱਸਿਆਵਾਂ ਦੀਆਂ ਰਿਪੋਰਟਾਂ ਪਹਿਲੀ ਵਾਰ 2017 ਵਿੱਚ ਸਾਹਮਣੇ ਆਈਆਂ ਸਨ।<ref>{{Cite web|url=https://indianexpress.com/article/entertainment/television/shweta-tiwari-abhinav-kohli-marriage-in-trouble-4891282/|title=All is not well between Shweta Tiwari and husband Abhinav Kohli?|date=16 October 2017|website=The Indian Express|language=en-IN|access-date=12 August 2019}}</ref> In August 2019, Tiwari filed a complaint of domestic violence against Kohli alleging harassment by Kohli towards her and her daughter Palak Chaudhary. Kohli was taken into police custody.<ref>{{Cite web|url=https://indianexpress.com/article/entertainment/television/shweta-tiwari-files-domestic-violence-case-against-husband-abhinav-kohli-5898208/|title=Shweta Tiwari files domestic violence case against husband Abhinav Kohli|date=12 August 2019|website=The Indian Express|language=en-IN|access-date=12 August 2019}}</ref><ref>{{Cite web|url=https://indianexpress.com/article/entertainment/television/tv-actor-daughter-opens-up-about-allegations-against-stepfather-5900426/|title=TV actor's daughter opens up about allegations against stepfather|date=13 August 2019|website=The Indian Express|language=en-IN|access-date=13 August 2019}}</ref> ਅਗਸਤ 2019 ਵਿੱਚ, ਤਿਵਾੜੀ ਨੇ ਕੋਹਲੀ ਵਿਰੁੱਧ ਘਰੇਲੂ ਹਿੰਸਾ ਦੀ ਸ਼ਿਕਾਇਤ ਦਰਜ ਕਰਵਾਈ ਜਿਸ ਵਿੱਚ ਕੋਹਲੀ ਦੁਆਰਾ ਉਨ੍ਹਾਂ ਅਤੇ ਉਨ੍ਹਾਂ ਦੀ ਧੀ ਪਲਕ ਚੌਧਰੀ ਪ੍ਰਤੀ ਪਰੇਸ਼ਾਨੀ ਦਾ ਦੋਸ਼ ਲਗਾਇਆ ਗਿਆ ਸੀ।<ref>{{Cite web|url=https://www.dailypioneer.com/2019/entertainment/stepdad-never-molested-me--shweta-tiwari-s-daughter-clarifies.html|title=Stepdad never molested me: Shweta Tiwari's daughter clarifies|last=Pioneer|first=The|website=The Pioneer|language=en|access-date=19 August 2019|archive-date=19 ਅਗਸਤ 2019|archive-url=https://web.archive.org/web/20190819051120/https://www.dailypioneer.com/2019/entertainment/stepdad-never-molested-me--shweta-tiwari-s-daughter-clarifies.html|url-status=dead}}</ref> ਕੋਹਲੀ ਨੂੰ ਪੁਲਿਸ ਹਿਰਾਸਤ ਵਿੱਚ ਲੈ ਲਿਆ ਗਿਆ। ਬਾਅਦ ਵਿੱਚ, ਇੱਕ ਇੰਸਟਾਗ੍ਰਾਮ ਪੋਸਟ ਦੇ ਜ਼ਰੀਏ, ਪਲਕ ਨੇ ਸਪੱਸ਼ਟ ਕੀਤਾ ਕਿ ਕੋਹਲੀ ਨੇ ਉਸ ਨੂੰ ਸਰੀਰਕ ਸ਼ੋਸ਼ਣ ਦੀ ਬਜਾਏ ਮਾਨਸਿਕ ਸ਼ੋਸ਼ਣ ਦਾ ਸ਼ਿਕਾਰ ਬਣਾਇਆ ਸੀ। ਤਿਵਾੜੀ ਅਤੇ ਕੋਹਲੀ 2019 ਵਿੱਚ ਵੱਖ ਹੋ ਗਏ।<ref>{{cite news |title=Shweta Tiwari on separation with 2nd husband: I will do what is right for my kids |url=https://www.indiatoday.in/television/celebrity/story/shweta-tiwari-on-separation-with-2nd-husband-i-will-do-what-is-right-for-my-kids-1618214-2019-11-12 |access-date=12 November 2019 |work=India Today |date=12 October 2019 |language=en}}</ref>
== ਵਿਵਾਦ ਅਤੇ ਅਲੋਚਨਾ ==
ਅਭਿਨਵ ਨੇ ਸ਼ਵੇਤਾ 'ਤੇ ਦੋਸ਼ ਲਾਇਆ ਕਿ ਉਹ ਆਪਣੇ ਬੇਟੇ ਰਯਾਂਸ਼ ਨੂੰ ਮੁੰਬਈ 'ਚ ਇਕੱਲਾ ਛੱਡ ਕੇ ਸ਼ੋਅ 'ਡਰ ਫੈਕਟਰ: ਖਤਰੋਂ ਕੇ ਖਿਲਾੜੀ 11' ਲਈ ਕੇਪਟਾ ਟਾਉਨ ਗਈ ਸੀ।<ref>{{Cite news|url=https://m.timesofindia.com/tv/news/hindi/what-went-wrong-in-shweta-tiwari-and-abhinav-kohlis-marriage/amp_articleshow/82553951.cms|title=What went wrong in Sheets Tiwari and Abhinav Kohlis|date=10 May 2021|work=Times of India|language=en|access-date=10 May 2021}}</ref> ਸ਼ਵੇਤਾ ਇਸ ਗੱਲ 'ਤੇ ਆਖਦੀ ਹੈ ਕਿ ਉਸ ਨੇ ਆਪਣੀ ਯਾਤਰਾ ਬਾਰੇ ਆਪਣੇ ਬੇਟੇ ਨੂੰ ਫੋਨ 'ਤੇ ਸਭ ਸਮਝਾਇਆ ਸੀ ਅਤੇ ਉਹ ਉਸ ਦੀ ਮਾਂ ਅਤੇ ਧੀ ਪਲਕ ਨਾਲ ਸੁਰੱਖਿਅਤ ਸੀ। ਇੱਕ ਹੋਰ ਵੀਡੀਓ ਵਿੱਚ, ਅਭਿਨਵ ਨੇ ਉਸ ਉੱਤੇ ਝੂਠ ਬੋਲਣ ਦਾ ਦੋਸ਼ ਲਗਾਇਆ ਅਤੇ ਕਿਹਾ ਕਿ ਉਸ ਨੂੰ ਆਪਣੇ ਬੇਟੇ ਨੂੰ ਉਸਦੇ ਨਾਲ ਛੱਡ ਦੇਣਾ ਚਾਹੀਦਾ ਸੀ।<ref>{{Cite news|url=https://m.timesofindia.com/tv/news/hindi/what-went-wrong-in-shweta-tiwari-and-abhinav-kohlis-marriage/amp_articleshow/82553951.cms|title=What went wrong in Sheets Tiwari and Abhinav Kohlis|date=10 May 2021|work=Times of India|language=en|access-date=10 May 2021}}</ref>
[[ਤਸਵੀਰ:Shweta_Tiwari_and_Palak_crop.jpg|right|thumb|228x228px|Tiwari and her daughter Palak in 2012]]
== ਕਰੀਅਰ ==
=== ਟੀ.ਵੀ. ਕਰੀਅਰ ===
ਤਿਵਾੜੀ ਪਹਿਲੀ ਵਾਰ 1999 ਵਿੱਚ ਦੂਰਦਰਸ਼ਨ 'ਤੇ ਟੈਲੀਵਿਜ਼ਨ 'ਤੇ ਦਿਖਾਈ ਦਿੱਤੀ ਸੀ। ਉਸ ਦਾ ਪਹਿਲਾ ਟੀਵੀ ਸੀਰੀਅਲ ਦੁਪਹਿਰ ਸਮੇਂ ਦਾ ਸੋਪ ਓਪੇਰਾ ਕਲੀਰੀਨ ਡੀਡੀ ਨੈਸ਼ਨਲ 'ਤੇ ਪ੍ਰਸਾਰਿਤ ਕੀਤਾ ਗਿਆ ਸੀ, ਜਿਸ ਨੂੰ ਫਿਰ ਡੀਡੀ -1 ਕਿਹਾ ਜਾਂਦਾ ਸੀ। ਫਿਰ ਉਸ ਨੂੰ ਆਪਣਾ ਦੂਜਾ ਦੂਰਦਰਸ਼ਨ ਪ੍ਰੋਜੈਕਟ 'ਆਨੇ ਵਾਲਾ ਪਲ' ਮਿਲਿਆ, ਜੋ ਕਿ 2000 ਵਿੱਚ ਹੁਣ ਬੰਦ ਹੋਏ ਨੈਟਵਰਕ ਡੀਡੀ-ਮੈਟਰੋ ਤੇ ਪ੍ਰਸਾਰਿਤ ਕੀਤਾ ਗਿਆ ਸੀ। ਬਾਅਦ ਵਿੱਚ ਉਹ ਟੀਵੀ ਸੀਰੀਜ਼ 'ਕਹੀਂ ਕਿਸੀ ਰੋਜ਼' ਵਿੱਚ ਦਿਖਾਈ ਦਿੱਤੀ, ਜਿਸ ਤੋਂ ਬਾਅਦ ਉਸ ਨੇ 'ਕਸੌਟੀ ਜ਼ਿੰਦਗੀ ਕੀ' ਵਿੱਚ ਪ੍ਰੇਰਨਾ ਦੀ ਮੁੱਖ ਭੂਮਿਕਾ ਨਿਭਾਈ ਜੋ 2001 ਤੋਂ 2008 ਤੱਕ ਚਲੀ।<ref>{{Cite news|url=https://www.freepressjournal.in/cmcm/happy-birthday-to-shweta-tiwari-the-original-prerna-of-television-industry|title=Happy Birthday to Shweta Tiwari; the original Prerna of Television Industry!|date=4 October 2018|work=Free Press Journal|language=en|access-date=24 September 2019}}</ref>
[[File:Shweta Tiwari wins Bigg Boss 4.jpg|thumb|250px|Shweta Tiwari's [[Bigg Boss (Hindi season 4)|Bigg Boss 4]] winning moment]]
2010 ਵਿੱਚ, ਤਿਵਾੜੀ ਨੇ ਰਿਐਲਿਟੀ ਸ਼ੋਅ ਬਿੱਗ ਬੌਸ ਦੇ ਚੌਥੇ ਸੀਜ਼ਨ ਵਿੱਚ ਹਿੱਸਾ ਲਿਆ। ਉਸ ਨੂੰ 8 ਜਨਵਰੀ 2011 ਨੂੰ ਸੀਜ਼ਨ ਦੀ ਜੇਤੂ ਘੋਸ਼ਿਤ ਕੀਤਾ ਗਿਆ, ਇਸ ਪ੍ਰਕਿਰਿਆ ਵਿੱਚ ਮੁਕਾਬਲਾ ਜਿੱਤਣ ਵਾਲੀ ਪਹਿਲੀ ਔਰਤ ਬਣੀ।<ref>{{Cite news|url=https://timesofindia.indiatimes.com/tv/news/hindi/Shweta-Tiwari-wins-Bigg-Boss-4/articleshow/7243422.cms|title=Shweta Tiwari wins Bigg Boss 4|date=8 January 2011|work=The Times of India|language=en|access-date=24 September 2019}}</ref><ref>{{cite news |title=Shweta Tiwari first woman to win 'Bigg Boss', takes home Rs.1 crore |url=https://zeenews.india.com/news/maharashtra/shweta-tiwari-first-woman-to-win-bigg-boss-takes-home-rs1-crore_679338.html |access-date=20 December 2020 |work=Zee News |date=8 January 2011 |language=en}}</ref>
2013 ਵਿੱਚ, ਉਸ ਨੇ 'ਪਰਵਰਿਸ਼ - ਕੁਛ ਖੱਟੀ ਕੁਛ ਮੀਠੀ' ਵਿੱਚ ਸਵੀਟੀ ਆਹਲੂਵਾਲੀਆ ਦੀ ਭੂਮਿਕਾ ਨਿਭਾਈ।<ref>{Cite web|url=https://www.in.com/entertainment/shweta-tiwari-and-rupali-ganguly-on-parvarish-28670.htm|archive-url=https://web.archive.org/web/20190924131824/https://www.in.com/entertainment/shweta-tiwari-and-rupali-ganguly-on-parvarish-28670.htm|url-status=dead|archive-date=24{{ਮੁਰਦਾ ਕੜੀ|date=ਅਕਤੂਬਰ 2021 |bot=InternetArchiveBot |fix-attempted=yes }} September 2019|title=Shweta Tiwari and Rupali Ganguly on Parvarish|website=in.com|language=en|access-date=24 September 2019}}</ref> 2015 ਵਿੱਚ, ਉਸਨੇ & ਟੀਵੀ ਸ਼ੋਅ 'ਬੇਗੂਸਰਾਏ' ਵਿੱਚ ਬਿੰਦੀਆ ਰਾਣੀ ਦੀ ਭੂਮਿਕਾ ਨਿਭਾਈ।<<ref>{{Cite web|url=http://www.gr8mag.com/posts.php?id=3464|title=GR8! TV Magazine - Shweta Tiwari makes a comeback with Begusarai on &TV|website=www.gr8mag.com|access-date=24 September 2019}}</ref>
== ਫਿਲਮੋਗ੍ਰਾਫੀ ==
[[ਤਸਵੀਰ:Shweta_Tiwari_From_The_NDTV_Greenathon_at_Yash_Raj_Studios_(6).jpg|thumb|Tiwari performing on the NDTV Greenathon at Yash Raj Studios.]]
{| class="wikitable sortable plainrowheaders" style="margin-bottom: 10px;"
! scope="col" | Year
! scope="col" | Film
! scope="col" | Role
! scope="col" | Language
! class="unsortable" scope="col" | Notes
|-
| 2004
| ''Madhoshi''
| Tabbasum
| Hindi
|-
| 2004
| ''Aabra Ka Daabra''
| Shivani R. Singh
| Hindi
|-
| 2009
|''Apni Boli Apna Des ''
| Satkar Kaur
| [[ਪੰਜਾਬੀ ਭਾਸ਼ਾ|Punjabi]]
|-
| 2009
|''Devru''
| [[ਕੰਨੜ ਭਾਸ਼ਾ|Kannada]]
|Special appearance in an item number
|-
| 2010
| ''Benny And Babloo''
| Sheena
| Hindi
|-
| 2011
| ''Bin Bulaye Baraati''
| Rajjo / Rosie
| Hindi
|-
| 2011
| ''Miley Naa Miley Hum''
| Hindi
| Special appearance in an item number<ref>Shaheen Parkar (4 October 2010) [http://www.mid-day.com/entertainment/2010/oct/041010-Shweta-Tiwari-item-number-Chirag-Paswan-One-.htm Shweta's item song] {{Webarchive|url=https://web.archive.org/web/20131002092418/http://www.mid-day.com/entertainment/2010/oct/041010-Shweta-Tiwari-item-number-Chirag-Paswan-One-.htm |date=2013-10-02 }}. mid-day.com.</ref>
|-
| 2012
| ''Married 2 America''
| Pratap Singh's Wife
| Hindi
|-
| 2012
| ''Yedyanchi Jatra''
| [[ਮਰਾਠੀ ਭਾਸ਼ਾ|Marathi]]
| Special appearance in an item number
|-
| 2012
| ''Saltanat''
| Urdu
| Pakistani Film
|-
| 2016
| ''TRINETRA''
| [[ਨੇਪਾਲੀ ਭਾਸ਼ਾ|Nepali]]
| Leading Actress
|}
=== ਸਟਾਰ ਪਰਿਵਾਰ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| rowspan="8" |2003
| Favourite Maa
| rowspan="8" |Prerna Basu
| rowspan="8" |Kasautii Zindagii Kay
| rowspan="2" {{won}}<ref name=SPA>{{cite web|url= http://awardsbyindianshows.weebly.com/star-parivaar-awards.html|title=Star Parivaar Awards|publisher=weebly.com |accessdate=8 January 2015}}</ref>
|-
| Favourite Jodi (along with Cezanne Khan
|-
| Favourite Beti
| rowspan="6" {{nom}}
|-
| Favourite Behen
|-
| Favourite Bahu
|-
| Favourite Bhabhi
|-
| Favourite Jethani
|-
| Favourite Patni
|-
| rowspan="4" |2004
| Favourite Maa
| rowspan="4" |Prerna Sharma
| rowspan="4" |Kasautii Zindagii Kay
| rowspan="2" {{won}}<ref name="SPA"/>
|-
| Favourite Bahu
|-
| Favourite Bhabhi
| rowspan="2" {{nom}}
|-
| Favourite Jodi (along with Cezanne Khan)
|-
| rowspan="4" |2005
| Favourite Maa
| rowspan="4" |Prerna Bajaj
| rowspan="4" |Kasautii Zindagii Kay
| rowspan="1" {{won}}<ref name="SPA"/>
|-
| Favourite Bahu
| rowspan="3" {{nom}}
|-
| Favourite Patni
|-
| Favourite Jodi (along with Ronit Roy)
|-
| rowspan="3" |2006
| Favourite Maa
| rowspan="3" |Prerna Bajaj
| rowspan="3" |Kasautii Zindagii Kay
| rowspan="1" {{won}}<ref name="SPA"/>
|-
| Favourite Saas
| rowspan="2" {{nom}}
|-
| Favourite Patni
|-
| rowspan="5" |2007
| Favourite Maa
| rowspan="5" |Prerna Bajaj
| rowspan="5" |Kasautii Zindagii Kay
| rowspan="2" {{won}}<ref name="SPA"/>
|-
| Favourite Jodi (along with Cezanne Khan)
|-
| Favourite Bahu
| rowspan="3" {{nom}}
|-
| Favourite Patni
|-
| Favourite Saas
|-
| 2008
| SPL Mention for immense work for the channel and the show
| Prerna Sharma/Basu/Bajaj
| Kasautii Zindagii Kay
| {{won}}<ref name="SPA"/>
|-
| 2008
| SPL Recognision at Completion of SPA's 15 Years
| Prerna Sharma/Basu/Bajaj
| Kasautii Zindagii Kay
| {{won}}<ref name="SPA"/>
|}
=== ਇੰਡੀਅਨ ਟੈਲੀਵਿਜ਼ਨ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| rowspan="2" |2003
| Best Actress - Drama (Jury)
| rowspan="2" |Prerna Basu
| rowspan="2" |Kasautii Zindagii Kay
| rowspan="1" {{won}}<ref name=ITAA>{{cite web|url=http://awardsbyindianshows.weebly.com/indian-television-academy-awards.html|title=Indian Television Academy Awards|publisher=weebly.com|accessdate=8 January 2015|archive-url=https://web.archive.org/web/20181225092017/https://awardsbyindianshows.weebly.com/indian-television-academy-awards.html|archive-date=25 ਦਸੰਬਰ 2018|url-status=dead}}</ref>
|-
| Best Actress - Drama (Popular)
| {{nom}}
|-
| rowspan="2" |2004
| Best Actress - Drama (Jury)
| rowspan="2" |Prerna Sharma
| rowspan="2" |Kasautii Zindagii Kay
| rowspan="2" {{nom}}
|-
| Best Actress - Drama (Popular)
|-
| rowspan="2" |2005
| Best Actress - Drama (Jury)
| rowspan="2" |Prerna Bajaj
| rowspan="2" |Kasautii Zindagii Kay
| rowspan="2" {{nom}}
|-
| Best Actress - Drama (Popular)
|-
| rowspan="1" |2006
| Best Actress - Drama (Jury)
| rowspan="1" |Prerna Bajaj
| rowspan="1" |Kasautii Zindagii Kay
| rowspan="1" {{nom}}
|-
| rowspan="1" |2007
| Best Actress - Drama (Popular)
| rowspan="1" |Prerna Bajaj
| rowspan="1" |Kasautii Zindagii Kay
| rowspan="1" {{nom}}
|-
| rowspan="2" |2012
| Best Actress - Drama (Jury)
| rowspan="2" |Sweety Ahluwalia
| rowspan="2" |Parvarrish – Kuchh Khattee Kuchh Meethi
| rowspan="1" {{won}}<ref name="ITAA"/>
|-
| Best Actress - Drama (Popular)
| {{nom}}
|}
=== ਇੰਡੀਅਨ ਟੈਲੀ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| 2002
| Best Actress in a Lead Role
| Prerna Sharma
| Kasautii Zindagii Kay
| {{nom}}
|-
| 2003
| Best Actress in a Lead Role (shared with Smriti Irani)
| Prerna Bajaj
| Kasautii Zindagii Kay
| {{won}}<ref name=ITA>{{cite web|url=http://awardsbyindianshows.weebly.com/indian-telly-awards.html|title=Indian Telly Awards |publisher=weebly.com |accessdate=8 January 2015}}</ref>
|-
| 2004
| Best On Screen Couple (along with Cezanne Khan)
| Prerna Sharma
| Kasautii Zindagii Kay
| {{nom}}
|-
| 2005
| Best On Screen Couple (along with Cezanne Khan)
| Prerna Bajaj
| Kasautii Zindagii Kay
| {{nom}}
|-
| 2006
| Best Actress in a Lead Role
| Prerna Bajaj
| Kasautii Zindagii Kay
| {{nom}}
|-
| rowspan="2" |2007
| Best TV Personality
| rowspan="2" |Prerna Bajaj
| rowspan="2" |Kasautii Zindagii Kay
| rowspan="2" {{nom}}
|-
| Best Actress in a Lead Role
|-
| rowspan="3" |2012
| Best TV Personality
| rowspan="3" |Sweety Ahluwalia
| rowspan="3" |Parvarrish – Kuchh Khattee Kuchh Meethi
| rowspan="3" {{nom}}
|-
| Best Actress in a Lead Role (Jury)
|-
| Best Actress in a Lead Role (Popular)
|-
| rowspan="3" |2013
| Best TV Personality
| rowspan="3" |Sweety Ahluwalia
| rowspan="3" |Parvarrish – Kuchh Khattee Kuchh Meethi
| rowspan="3" {{nom}}
|-
| Best Actress in a Lead Role (Jury)
|-
| Best Actress in a Lead Role (Popular)
|}
=== ਸਟਾਰ ਅੰਤਰਰਾਸ਼ਟਰੀ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| 2003
| Internationally Best Actress in a Lead Role - Fictional Series Drama
| Prerna Basu
| Kasautii Zindagii Kay
| {{nom}}
|}
=== ਅਪਸਰਾ ਫਿਲਮ ਅਤੇ ਟੈਲੀਵਿਜ਼ਨ ਨਿਰਦੇਸ਼ਕ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| 2004
| Best TV Actress - Drama
| Prerna Sharma
| Kasautii Zindagii Kay
| {{nom}}
|-
| 2013
| Best TV Actress - Drama
| Sweety Ahluwalia
| Parvarrish – Kuchh Khattee Kuchh Meethi
| {{nom}}
|}
=== ਕਲਾਕਾਰ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| 2004
| Best TV Actress - Drama
| Prerna Sharma
| Kasautii Zindagii Kay
| {{nom}}
|-
| 2013
| Best TV Actress - Drama
| Sweety Ahluwalia
| Parvarrish – Kuchh Khattee Kuchh Meethi
| {{nom}}
|}
=== ਸਿਨਸੁਈ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| 2006
| Best Actress
| Prerna Bajaj
| Kasautii Zindagii Kay
| {{nom}}
|-
| rowspan="8" |2015
| Best Comeback (Female)
| Bindiya Rani
| Begusarai
| rowspan="3" {{won}}<ref name=STA>{{cite web|url=http://awardsbyindianshows.weebly.com/sinsui-television-awards.html|title=Sinsui Television Awards|publisher=weebly.com |accessdate=8 January 2015}}</ref>
|-
| Most Popular Actress (Decade)
| rowspan="4" |Prerna Sharma/Basu/Bajaj
| rowspan="4" |Kasautii Zindagii Kay
|-
| Most Popular Jodi of Decade (with Cezanne Khan)
|-
| Best Jodi of Decade (with Cezanne Khan)
| rowspan="5" {{nom}}
|-
| Best Actress of Decade
|-
| Healthy and Fresh Skin
| rowspan="2" |Bindiya Rani
| rowspan="3" |Begusarai
|-
| Best Actress (Critics)
|-
| Best Personality
|}
=== ਗਲੋਬਲ ਭਾਰਤੀ ਫਿਲਮ ਅਤੇ ਟੀ. ਵੀ. ਆਨਰਜ਼ ===
'''ਸ਼ੋਅ'''<br>
{| class="wikitable sortable" style="margin-bottom: 10px;"
!ਸਾਲ
!ਸ਼੍ਰੇਣੀ
!ਭੂਮਿਕਾ
!<br>
!Result
|-
| rowspan="2" |2008
| Global TV Honour for Best TV Actress - Fiction
| rowspan="2" |Prerna Bajaj
| rowspan="2" |Kasautii Zindagii Kay
| rowspan="2" {{nom}}
|-
| Global TV Honour for Best TV Celebrity Jodi (along with Cezanne Khan)
|-
| 2012
| Global TV Honour for Best TV Actress - Fiction
| Sweety Ahluwalia
| Parvarrish – Kuchh Khattee Kuchh Meethi
| {{nom}}
|}
=== ਜੀ ਗੋਲਡ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!ਸਾਲ
!ਸ਼੍ਰੇਣੀ
!ਭੂਮਿਕਾ
!ਸ਼ੋਅ
!ਨਤੀਜਾ
|-
| 2007
| Best Actress in a Lead Role
| Prerna Bajaj
| Kasautii Zindagii Kay
| {{nom}}
|-
| 2011
| Most Fit Actress
| Herself
| -
| {{won}}
|-
| 2012
| Best Actress in a Lead Role
| Sweety Ahluwalia
| Parvarrish – Kuchh Khattee Kuchh Meethi
| {{nom}}
|}
=== ਗ੍ਰੇਵ ਇੰਡੀਅਨ ਟੀ.ਵੀ. ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| rowspan="7" |2014
| Favourite Actress of Decade (Votice Choice)
| Prerna Sharma/Basu/Bajaj
| Kasautii Zindagii Kay
| rowspan="2" {{won}}<ref name=GITA>{{cite web|url=http://awardsbyindianshows.weebly.com/garv-indian-tv-awards.html|title=Garv Indian TV Awards|publisher=weebly.com |accessdate=8 January 2015}}</ref>
|-
| Best Actress in a Lead Role (Critics)
| Sweety Ahluwalia
| Parvarrish – Kuchh Khattee Kuchh Meethi
|-
| Best TV Couple of Decade (along with Cezanne Khan)
| rowspan="2" |Prerna Sharma/Basu/Bajaj
| rowspan="2" |Kasautii Zindagii Kay
| rowspan="5" {{nom}}
|-
| Best Actress of Decade (Critics)
|-
| Popular Actress
| rowspan="3" |Sweety Ahluwalia
| rowspan="3" |Parvarrish – Kuchh Khattee Kuchh Meethi
|-
| Favourite Actress (Votice Choice)
|-
| GR8! Performer of the Year
|-
| rowspan="3" |2015
| Fit Star
| rowspan="2" |Herself
| -
| {{won}}<ref name="GITA"/>
|-
| Beauty of the Year
| -
| {{nom}}
|-
| Best Actress in Negative Role (Critics)
| Maha Bhasm Pari
| Baal Veer
| {{won}}<ref name="GITA"/>
|}
== ਹਵਾਲੇ ==
{{Reflist|30em}}
[[ਸ਼੍ਰੇਣੀ:ਭਾਰਤੀ ਰੁਪਏ]]
[[ਸ਼੍ਰੇਣੀ:21ਵੀਂ ਸਦੀ ਦੀਆਂ ਭਾਰਤੀ ਅਭਿਨੇਤਰੀਆਂ]]
[[ਸ਼੍ਰੇਣੀ:ਹਿੰਦੀ ਸਿਨੇਮਾ ਵਿੱਚ ਅਭਿਨੇਤਰੀਆਂ]]
[[ਸ਼੍ਰੇਣੀ:ਹਿੰਦੀ ਟੈਲੀਵਿਜਨ ਦੀਆਂ ਅਦਾਕਾਰਾਵਾਂ]]
[[ਸ਼੍ਰੇਣੀ:ਬਿੱਗ ਬੌਸ (ਹਿੰਦੀ ਟੀਵੀ ਲੜੀ) ਪ੍ਰਤੀਯੋਗੀ]]
[[ਸ਼੍ਰੇਣੀ:ਭਾਰਤੀ ਅਦਾਕਾਰਾਵਾਂ]]
[[ਸ਼੍ਰੇਣੀ:ਭਾਰਤੀ ਟੈਲੀਵਿਜ਼ਨ ਅਦਾਕਾਰਾਵਾਂ]]
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
nys1riakj60zkqzzxssyi6xrbtrsz4o
849419
849418
2026-10-08T13:00:09Z
KiranBOT
55200
URL ਤੋਂ AMP ਟਰੈਕਿੰਗ ਹਟਾਈ ਗਈ ([[:m:User:KiranBOT/AMP|ਵੇਰਵੇ]]) ([[User talk:Usernamekiran|ਗਲਤੀ ਦੀ ਰਿਪੋਰਟ ਕਰੋ]]) v3.1.1s
849419
wikitext
text/x-wiki
{{Infobox person|name=Shweta Tiwari|image=Shweta Tiwari on 'Jhalak Dikhhla Jaa Season 6'.jpg|caption=Tiwari on the set of [[Jhalak Dikhhla Jaa]] in 2013|birth_date=<!-- Date of birth has been contested. Do not add a birth date or year without a reliable source. -->|birth_place=[[Pratapgarh, Uttar Pradesh]]|nationality=[[India]]n|occupation=[[Actress]], [[television presenter]], [[Model (people)|model]]|years active=1999–present|years_active=1999–present|spouse=[[Abhinav Kohli]] (2013–present)<br />[[Raja Chaudhary]] (1998–2007)|children=2}}'''ਸ਼ਵੇਤਾ ਤਿਵਾੜੀ''' ਇੱਕ ਭਾਰਤੀ ਫਿਲਮ ਅਤੇ ਟੈਲੀਵਿਜ਼ਨ ਅਭਿਨੇਤਰੀ ਹੈ। ਉਸ ਸਭ ਤੋ ਪਹਿਲਾ ''ਕਸੌਟੀ ਜ਼ਿੰਦਗੀ ਕੀ'' 2011 ਵਿੱਚ ਨਜਰ ਆਈ। ਉਹ ਬਿੱਗ ਬਾਸ ਰਿਆਲਿਟੀ ਸ਼ੋਅ ਦੀ ਵਿਜੇਤਾ ਹੈ। <ref>[http://frontierindia.net/big-boss-4-shweta-tiwari-is-the-winner Big Boss 4: Shweta Tiwari is the winner] {{Webarchive|url=https://web.archive.org/web/20110110213904/http://frontierindia.net/big-boss-4-shweta-tiwari-is-the-winner |date=2011-01-10 }}.</ref> ਉਸ ਤੋਂ ਬਾਅਦ ਉਹ ''Jਝਲਕ ਦਿਖਲਾ ਜਾ'' 2013 ਵਿੱਚ ਪ੍ਰਤਿਯੋਗੀ ਬਣੀ।
== ਨਿੱਜੀ ਜ਼ਿੰਦਗੀ ==
[[File:Shweta Tiwari and Palak crop.jpg|thumb|150px|right|Tiwari and her daughter Palak in 2012]]
ਤਿਵਾੜੀ ਨੇ 1998 ਵਿੱਚ ਅਭਿਨੇਤਾ ਰਾਜਾ ਚੌਧਰੀ ਨਾਲ ਵਿਆਹ ਕਰਵਾਇਆ ਅਤੇ ਉਨ੍ਹਾਂ ਦੀ ਇੱਕ ਬੇਟੀ ਪਲਕ ਦਾ ਜਨਮ 8 ਅਕਤੂਬਰ 2000 ਨੂੰ ਹੋਇਆ।<ref>{{Cite web|url=https://indianexpress.com/article/entertainment/television/shweta-tiwari-daughter-palak-birthday-see-photos-4880436/|title=Shweta Tiwari's daughter Palak turns 17, actor shares special birthday wish for her sweetheart|date=8 October 2017|website=The Indian Express|language=en-IN|access-date=12 August 2019}}</ref> She filed for a divorce in 2007 after nine years of marriage.<ref>{{cite news|title=Shweta files for divorce|url=http://www.telegraphindia.com/1070621/asp/nation/story_7952373.asp|work=The Telegraph – Calcutta|access-date=4 October 2010|location=Calcutta, India|date=21 June 2007}}</ref> ਉਸ ਨੇ ਵਿਆਹ ਦੇ ਨੌਂ ਸਾਲਾਂ ਬਾਅਦ 2007 ਵਿੱਚ ਤਲਾਕ ਲਈ ਅਰਜ਼ੀ ਦਿੱਤੀ।<ref>{{cite news|title=Shweta files for divorce|url=http://www.telegraphindia.com/1070621/asp/nation/story_7952373.asp|work=The Telegraph – Calcutta|access-date=4 October 2010|location=Calcutta, India|date=21 June 2007}}</ref> ਤਿਵਾੜੀ ਨੇ ਦੱਸਿਆ ਕਿ ਉਸ ਨੂੰ ਰਾਜਾ ਦੇ ਸ਼ਰਾਬੀਪੁਣੇ ਅਤੇ ਘਰੇਲੂ ਹਿੰਸਾ ਦੇ ਕਾਰਨ ਇੱਕ ਪਰੇਸ਼ਾਨੀ ਭਰੇ ਰਿਸ਼ਤੇ ਦਾ ਸਾਹਮਣਾ ਕਰਨਾ ਪਿਆ। ਉਸ ਨੇ ਸ਼ਿਕਾਇਤ ਕੀਤੀ ਕਿ ਉਹ ਰੋਜ਼ਾਨਾ ਉਸ ਦੀ ਕੁੱਟਮਾਰ ਕਰਦਾ ਸੀ। ਉਹ ਉਸ ਦੇ ਸ਼ੋਅ ਦੇ ਸੈੱਟਾਂ ਤੇ ਆਉਂਦਾ ਸੀ ਅਤੇ ਉਸ ਨਾਲ ਦੁਰਵਿਵਹਾਰ ਕਰਦਾ ਸੀ।<ref>{{Cite web|url=https://www.bollywoodlife.com/photos/celeb-shweta-tiwari/shweta-tiwari-dimpy-ganguly-dalljiet-kaur-tv-actresses-who-were-victims-of-domestic-violence-854865/|title=Shweta Tiwari, Dimpy Ganguly, Dalljiet Kaur – TV actresses who were victims of domestic violence|website=www.bollywoodlife.com|access-date=17 March 2020}}</ref><ref>{{Cite web|url=https://indianexpress.com/article/entertainment/entertainment-others/raja-chaudhary-gets-bail-after-beating-up-shweta-tiwari/|title=Raja Chaudhary gets bail after beating up Shweta Tiwari|date=27 January 2011|website=The Indian Express|language=en-IN|access-date=12 August 2019}}</ref>
ਤਿਵਾੜੀ ਅਤੇ ਅਦਾਕਾਰ ਅਭਿਨਵ ਕੋਹਲੀ ਦਾ ਵਿਆਹ ਲਗਭਗ ਤਿੰਨ ਸਾਲਾਂ ਤੱਕ ਡੇਟਿੰਗ ਕਰਨ ਤੋਂ ਬਾਅਦ 13 ਜੁਲਾਈ 2013 ਨੂੰ ਹੋਇਆ ਸੀ।<ref>{{cite news|title=He sacrificed our daughter for property: Shweta Tiwari|work=The Hindustan Times|author=Kavita Awaasthi|date=11 October 2012|url=http://www.hindustantimes.com/Entertainment/Tabloid/He-sacrificed-our-daughter-for-property-Shweta-Tiwari/Article1-943095.aspx|access-date=21 October 2012|url-status=dead|archive-url=https://web.archive.org/web/20121015084317/http://www.hindustantimes.com/Entertainment/Tabloid/He-sacrificed-our-daughter-for-property-Shweta-Tiwari/Article1-943095.aspx|archive-date=15 October 2012}}{{not in ref|date=May 2015}}</ref> 27 ਨਵੰਬਰ 2016 ਨੂੰ, ਤਿਵਾੜੀ ਨੇ ਇੱਕ ਬੇਟੇ ਰਯਾਂਸ਼ ਕੋਹਲੀ ਨੂੰ ਜਨਮ ਦਿੱਤਾ।<ref name="IE2Dec2016">{{cite web|url=http://indianexpress.com/article/entertainment/television/tv-actor-shweta-tiwari-gives-birth-to-baby-boy-4407449/|title=Shweta Tiwari gives birth to baby boy|date=2 December 2016|website=indianexpress.com|access-date=19 June 2018}}</ref><ref>{{Cite web|url=https://indianexpress.com/article/entertainment/television/shweta-tiwari-promises-something-beautiful-to-son-reyansh-on-his-birthday-see-photo-4969087/|title=Shweta Tiwari promises something beautiful to son Reyansh on his birthday, see photos|date=5 December 2017|website=The Indian Express|language=en-IN|access-date=12 August 2019}}</ref> ਉਨ੍ਹਾਂ ਦੇ ਵਿਆਹ ਵਿੱਚ ਸਮੱਸਿਆਵਾਂ ਦੀਆਂ ਰਿਪੋਰਟਾਂ ਪਹਿਲੀ ਵਾਰ 2017 ਵਿੱਚ ਸਾਹਮਣੇ ਆਈਆਂ ਸਨ।<ref>{{Cite web|url=https://indianexpress.com/article/entertainment/television/shweta-tiwari-abhinav-kohli-marriage-in-trouble-4891282/|title=All is not well between Shweta Tiwari and husband Abhinav Kohli?|date=16 October 2017|website=The Indian Express|language=en-IN|access-date=12 August 2019}}</ref> In August 2019, Tiwari filed a complaint of domestic violence against Kohli alleging harassment by Kohli towards her and her daughter Palak Chaudhary. Kohli was taken into police custody.<ref>{{Cite web|url=https://indianexpress.com/article/entertainment/television/shweta-tiwari-files-domestic-violence-case-against-husband-abhinav-kohli-5898208/|title=Shweta Tiwari files domestic violence case against husband Abhinav Kohli|date=12 August 2019|website=The Indian Express|language=en-IN|access-date=12 August 2019}}</ref><ref>{{Cite web|url=https://indianexpress.com/article/entertainment/television/tv-actor-daughter-opens-up-about-allegations-against-stepfather-5900426/|title=TV actor's daughter opens up about allegations against stepfather|date=13 August 2019|website=The Indian Express|language=en-IN|access-date=13 August 2019}}</ref> ਅਗਸਤ 2019 ਵਿੱਚ, ਤਿਵਾੜੀ ਨੇ ਕੋਹਲੀ ਵਿਰੁੱਧ ਘਰੇਲੂ ਹਿੰਸਾ ਦੀ ਸ਼ਿਕਾਇਤ ਦਰਜ ਕਰਵਾਈ ਜਿਸ ਵਿੱਚ ਕੋਹਲੀ ਦੁਆਰਾ ਉਨ੍ਹਾਂ ਅਤੇ ਉਨ੍ਹਾਂ ਦੀ ਧੀ ਪਲਕ ਚੌਧਰੀ ਪ੍ਰਤੀ ਪਰੇਸ਼ਾਨੀ ਦਾ ਦੋਸ਼ ਲਗਾਇਆ ਗਿਆ ਸੀ।<ref>{{Cite web|url=https://www.dailypioneer.com/2019/entertainment/stepdad-never-molested-me--shweta-tiwari-s-daughter-clarifies.html|title=Stepdad never molested me: Shweta Tiwari's daughter clarifies|last=Pioneer|first=The|website=The Pioneer|language=en|access-date=19 August 2019|archive-date=19 ਅਗਸਤ 2019|archive-url=https://web.archive.org/web/20190819051120/https://www.dailypioneer.com/2019/entertainment/stepdad-never-molested-me--shweta-tiwari-s-daughter-clarifies.html|url-status=dead}}</ref> ਕੋਹਲੀ ਨੂੰ ਪੁਲਿਸ ਹਿਰਾਸਤ ਵਿੱਚ ਲੈ ਲਿਆ ਗਿਆ। ਬਾਅਦ ਵਿੱਚ, ਇੱਕ ਇੰਸਟਾਗ੍ਰਾਮ ਪੋਸਟ ਦੇ ਜ਼ਰੀਏ, ਪਲਕ ਨੇ ਸਪੱਸ਼ਟ ਕੀਤਾ ਕਿ ਕੋਹਲੀ ਨੇ ਉਸ ਨੂੰ ਸਰੀਰਕ ਸ਼ੋਸ਼ਣ ਦੀ ਬਜਾਏ ਮਾਨਸਿਕ ਸ਼ੋਸ਼ਣ ਦਾ ਸ਼ਿਕਾਰ ਬਣਾਇਆ ਸੀ। ਤਿਵਾੜੀ ਅਤੇ ਕੋਹਲੀ 2019 ਵਿੱਚ ਵੱਖ ਹੋ ਗਏ।<ref>{{cite news |title=Shweta Tiwari on separation with 2nd husband: I will do what is right for my kids |url=https://www.indiatoday.in/television/celebrity/story/shweta-tiwari-on-separation-with-2nd-husband-i-will-do-what-is-right-for-my-kids-1618214-2019-11-12 |access-date=12 November 2019 |work=India Today |date=12 October 2019 |language=en}}</ref>
== ਵਿਵਾਦ ਅਤੇ ਅਲੋਚਨਾ ==
ਅਭਿਨਵ ਨੇ ਸ਼ਵੇਤਾ 'ਤੇ ਦੋਸ਼ ਲਾਇਆ ਕਿ ਉਹ ਆਪਣੇ ਬੇਟੇ ਰਯਾਂਸ਼ ਨੂੰ ਮੁੰਬਈ 'ਚ ਇਕੱਲਾ ਛੱਡ ਕੇ ਸ਼ੋਅ 'ਡਰ ਫੈਕਟਰ: ਖਤਰੋਂ ਕੇ ਖਿਲਾੜੀ 11' ਲਈ ਕੇਪਟਾ ਟਾਉਨ ਗਈ ਸੀ।<ref>{{Cite news|url=https://timesofindia.indiatimes.com/tv/news/hindi/what-went-wrong-in-shweta-tiwari-and-abhinav-kohlis-marriage/articleshow/82553951.cms|title=What went wrong in Sheets Tiwari and Abhinav Kohlis|date=10 May 2021|work=Times of India|language=en|access-date=10 May 2021}}</ref> ਸ਼ਵੇਤਾ ਇਸ ਗੱਲ 'ਤੇ ਆਖਦੀ ਹੈ ਕਿ ਉਸ ਨੇ ਆਪਣੀ ਯਾਤਰਾ ਬਾਰੇ ਆਪਣੇ ਬੇਟੇ ਨੂੰ ਫੋਨ 'ਤੇ ਸਭ ਸਮਝਾਇਆ ਸੀ ਅਤੇ ਉਹ ਉਸ ਦੀ ਮਾਂ ਅਤੇ ਧੀ ਪਲਕ ਨਾਲ ਸੁਰੱਖਿਅਤ ਸੀ। ਇੱਕ ਹੋਰ ਵੀਡੀਓ ਵਿੱਚ, ਅਭਿਨਵ ਨੇ ਉਸ ਉੱਤੇ ਝੂਠ ਬੋਲਣ ਦਾ ਦੋਸ਼ ਲਗਾਇਆ ਅਤੇ ਕਿਹਾ ਕਿ ਉਸ ਨੂੰ ਆਪਣੇ ਬੇਟੇ ਨੂੰ ਉਸਦੇ ਨਾਲ ਛੱਡ ਦੇਣਾ ਚਾਹੀਦਾ ਸੀ।<ref>{{Cite news|url=https://timesofindia.indiatimes.com/tv/news/hindi/what-went-wrong-in-shweta-tiwari-and-abhinav-kohlis-marriage/articleshow/82553951.cms|title=What went wrong in Sheets Tiwari and Abhinav Kohlis|date=10 May 2021|work=Times of India|language=en|access-date=10 May 2021}}</ref>
[[ਤਸਵੀਰ:Shweta_Tiwari_and_Palak_crop.jpg|right|thumb|228x228px|Tiwari and her daughter Palak in 2012]]
== ਕਰੀਅਰ ==
=== ਟੀ.ਵੀ. ਕਰੀਅਰ ===
ਤਿਵਾੜੀ ਪਹਿਲੀ ਵਾਰ 1999 ਵਿੱਚ ਦੂਰਦਰਸ਼ਨ 'ਤੇ ਟੈਲੀਵਿਜ਼ਨ 'ਤੇ ਦਿਖਾਈ ਦਿੱਤੀ ਸੀ। ਉਸ ਦਾ ਪਹਿਲਾ ਟੀਵੀ ਸੀਰੀਅਲ ਦੁਪਹਿਰ ਸਮੇਂ ਦਾ ਸੋਪ ਓਪੇਰਾ ਕਲੀਰੀਨ ਡੀਡੀ ਨੈਸ਼ਨਲ 'ਤੇ ਪ੍ਰਸਾਰਿਤ ਕੀਤਾ ਗਿਆ ਸੀ, ਜਿਸ ਨੂੰ ਫਿਰ ਡੀਡੀ -1 ਕਿਹਾ ਜਾਂਦਾ ਸੀ। ਫਿਰ ਉਸ ਨੂੰ ਆਪਣਾ ਦੂਜਾ ਦੂਰਦਰਸ਼ਨ ਪ੍ਰੋਜੈਕਟ 'ਆਨੇ ਵਾਲਾ ਪਲ' ਮਿਲਿਆ, ਜੋ ਕਿ 2000 ਵਿੱਚ ਹੁਣ ਬੰਦ ਹੋਏ ਨੈਟਵਰਕ ਡੀਡੀ-ਮੈਟਰੋ ਤੇ ਪ੍ਰਸਾਰਿਤ ਕੀਤਾ ਗਿਆ ਸੀ। ਬਾਅਦ ਵਿੱਚ ਉਹ ਟੀਵੀ ਸੀਰੀਜ਼ 'ਕਹੀਂ ਕਿਸੀ ਰੋਜ਼' ਵਿੱਚ ਦਿਖਾਈ ਦਿੱਤੀ, ਜਿਸ ਤੋਂ ਬਾਅਦ ਉਸ ਨੇ 'ਕਸੌਟੀ ਜ਼ਿੰਦਗੀ ਕੀ' ਵਿੱਚ ਪ੍ਰੇਰਨਾ ਦੀ ਮੁੱਖ ਭੂਮਿਕਾ ਨਿਭਾਈ ਜੋ 2001 ਤੋਂ 2008 ਤੱਕ ਚਲੀ।<ref>{{Cite news|url=https://www.freepressjournal.in/cmcm/happy-birthday-to-shweta-tiwari-the-original-prerna-of-television-industry|title=Happy Birthday to Shweta Tiwari; the original Prerna of Television Industry!|date=4 October 2018|work=Free Press Journal|language=en|access-date=24 September 2019}}</ref>
[[File:Shweta Tiwari wins Bigg Boss 4.jpg|thumb|250px|Shweta Tiwari's [[Bigg Boss (Hindi season 4)|Bigg Boss 4]] winning moment]]
2010 ਵਿੱਚ, ਤਿਵਾੜੀ ਨੇ ਰਿਐਲਿਟੀ ਸ਼ੋਅ ਬਿੱਗ ਬੌਸ ਦੇ ਚੌਥੇ ਸੀਜ਼ਨ ਵਿੱਚ ਹਿੱਸਾ ਲਿਆ। ਉਸ ਨੂੰ 8 ਜਨਵਰੀ 2011 ਨੂੰ ਸੀਜ਼ਨ ਦੀ ਜੇਤੂ ਘੋਸ਼ਿਤ ਕੀਤਾ ਗਿਆ, ਇਸ ਪ੍ਰਕਿਰਿਆ ਵਿੱਚ ਮੁਕਾਬਲਾ ਜਿੱਤਣ ਵਾਲੀ ਪਹਿਲੀ ਔਰਤ ਬਣੀ।<ref>{{Cite news|url=https://timesofindia.indiatimes.com/tv/news/hindi/Shweta-Tiwari-wins-Bigg-Boss-4/articleshow/7243422.cms|title=Shweta Tiwari wins Bigg Boss 4|date=8 January 2011|work=The Times of India|language=en|access-date=24 September 2019}}</ref><ref>{{cite news |title=Shweta Tiwari first woman to win 'Bigg Boss', takes home Rs.1 crore |url=https://zeenews.india.com/news/maharashtra/shweta-tiwari-first-woman-to-win-bigg-boss-takes-home-rs1-crore_679338.html |access-date=20 December 2020 |work=Zee News |date=8 January 2011 |language=en}}</ref>
2013 ਵਿੱਚ, ਉਸ ਨੇ 'ਪਰਵਰਿਸ਼ - ਕੁਛ ਖੱਟੀ ਕੁਛ ਮੀਠੀ' ਵਿੱਚ ਸਵੀਟੀ ਆਹਲੂਵਾਲੀਆ ਦੀ ਭੂਮਿਕਾ ਨਿਭਾਈ।<ref>{Cite web|url=https://www.in.com/entertainment/shweta-tiwari-and-rupali-ganguly-on-parvarish-28670.htm|archive-url=https://web.archive.org/web/20190924131824/https://www.in.com/entertainment/shweta-tiwari-and-rupali-ganguly-on-parvarish-28670.htm|url-status=dead|archive-date=24{{ਮੁਰਦਾ ਕੜੀ|date=ਅਕਤੂਬਰ 2021 |bot=InternetArchiveBot |fix-attempted=yes }} September 2019|title=Shweta Tiwari and Rupali Ganguly on Parvarish|website=in.com|language=en|access-date=24 September 2019}}</ref> 2015 ਵਿੱਚ, ਉਸਨੇ & ਟੀਵੀ ਸ਼ੋਅ 'ਬੇਗੂਸਰਾਏ' ਵਿੱਚ ਬਿੰਦੀਆ ਰਾਣੀ ਦੀ ਭੂਮਿਕਾ ਨਿਭਾਈ।<<ref>{{Cite web|url=http://www.gr8mag.com/posts.php?id=3464|title=GR8! TV Magazine - Shweta Tiwari makes a comeback with Begusarai on &TV|website=www.gr8mag.com|access-date=24 September 2019}}</ref>
== ਫਿਲਮੋਗ੍ਰਾਫੀ ==
[[ਤਸਵੀਰ:Shweta_Tiwari_From_The_NDTV_Greenathon_at_Yash_Raj_Studios_(6).jpg|thumb|Tiwari performing on the NDTV Greenathon at Yash Raj Studios.]]
{| class="wikitable sortable plainrowheaders" style="margin-bottom: 10px;"
! scope="col" | Year
! scope="col" | Film
! scope="col" | Role
! scope="col" | Language
! class="unsortable" scope="col" | Notes
|-
| 2004
| ''Madhoshi''
| Tabbasum
| Hindi
|-
| 2004
| ''Aabra Ka Daabra''
| Shivani R. Singh
| Hindi
|-
| 2009
|''Apni Boli Apna Des ''
| Satkar Kaur
| [[ਪੰਜਾਬੀ ਭਾਸ਼ਾ|Punjabi]]
|-
| 2009
|''Devru''
| [[ਕੰਨੜ ਭਾਸ਼ਾ|Kannada]]
|Special appearance in an item number
|-
| 2010
| ''Benny And Babloo''
| Sheena
| Hindi
|-
| 2011
| ''Bin Bulaye Baraati''
| Rajjo / Rosie
| Hindi
|-
| 2011
| ''Miley Naa Miley Hum''
| Hindi
| Special appearance in an item number<ref>Shaheen Parkar (4 October 2010) [http://www.mid-day.com/entertainment/2010/oct/041010-Shweta-Tiwari-item-number-Chirag-Paswan-One-.htm Shweta's item song] {{Webarchive|url=https://web.archive.org/web/20131002092418/http://www.mid-day.com/entertainment/2010/oct/041010-Shweta-Tiwari-item-number-Chirag-Paswan-One-.htm |date=2013-10-02 }}. mid-day.com.</ref>
|-
| 2012
| ''Married 2 America''
| Pratap Singh's Wife
| Hindi
|-
| 2012
| ''Yedyanchi Jatra''
| [[ਮਰਾਠੀ ਭਾਸ਼ਾ|Marathi]]
| Special appearance in an item number
|-
| 2012
| ''Saltanat''
| Urdu
| Pakistani Film
|-
| 2016
| ''TRINETRA''
| [[ਨੇਪਾਲੀ ਭਾਸ਼ਾ|Nepali]]
| Leading Actress
|}
=== ਸਟਾਰ ਪਰਿਵਾਰ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| rowspan="8" |2003
| Favourite Maa
| rowspan="8" |Prerna Basu
| rowspan="8" |Kasautii Zindagii Kay
| rowspan="2" {{won}}<ref name=SPA>{{cite web|url= http://awardsbyindianshows.weebly.com/star-parivaar-awards.html|title=Star Parivaar Awards|publisher=weebly.com |accessdate=8 January 2015}}</ref>
|-
| Favourite Jodi (along with Cezanne Khan
|-
| Favourite Beti
| rowspan="6" {{nom}}
|-
| Favourite Behen
|-
| Favourite Bahu
|-
| Favourite Bhabhi
|-
| Favourite Jethani
|-
| Favourite Patni
|-
| rowspan="4" |2004
| Favourite Maa
| rowspan="4" |Prerna Sharma
| rowspan="4" |Kasautii Zindagii Kay
| rowspan="2" {{won}}<ref name="SPA"/>
|-
| Favourite Bahu
|-
| Favourite Bhabhi
| rowspan="2" {{nom}}
|-
| Favourite Jodi (along with Cezanne Khan)
|-
| rowspan="4" |2005
| Favourite Maa
| rowspan="4" |Prerna Bajaj
| rowspan="4" |Kasautii Zindagii Kay
| rowspan="1" {{won}}<ref name="SPA"/>
|-
| Favourite Bahu
| rowspan="3" {{nom}}
|-
| Favourite Patni
|-
| Favourite Jodi (along with Ronit Roy)
|-
| rowspan="3" |2006
| Favourite Maa
| rowspan="3" |Prerna Bajaj
| rowspan="3" |Kasautii Zindagii Kay
| rowspan="1" {{won}}<ref name="SPA"/>
|-
| Favourite Saas
| rowspan="2" {{nom}}
|-
| Favourite Patni
|-
| rowspan="5" |2007
| Favourite Maa
| rowspan="5" |Prerna Bajaj
| rowspan="5" |Kasautii Zindagii Kay
| rowspan="2" {{won}}<ref name="SPA"/>
|-
| Favourite Jodi (along with Cezanne Khan)
|-
| Favourite Bahu
| rowspan="3" {{nom}}
|-
| Favourite Patni
|-
| Favourite Saas
|-
| 2008
| SPL Mention for immense work for the channel and the show
| Prerna Sharma/Basu/Bajaj
| Kasautii Zindagii Kay
| {{won}}<ref name="SPA"/>
|-
| 2008
| SPL Recognision at Completion of SPA's 15 Years
| Prerna Sharma/Basu/Bajaj
| Kasautii Zindagii Kay
| {{won}}<ref name="SPA"/>
|}
=== ਇੰਡੀਅਨ ਟੈਲੀਵਿਜ਼ਨ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| rowspan="2" |2003
| Best Actress - Drama (Jury)
| rowspan="2" |Prerna Basu
| rowspan="2" |Kasautii Zindagii Kay
| rowspan="1" {{won}}<ref name=ITAA>{{cite web|url=http://awardsbyindianshows.weebly.com/indian-television-academy-awards.html|title=Indian Television Academy Awards|publisher=weebly.com|accessdate=8 January 2015|archive-url=https://web.archive.org/web/20181225092017/https://awardsbyindianshows.weebly.com/indian-television-academy-awards.html|archive-date=25 ਦਸੰਬਰ 2018|url-status=dead}}</ref>
|-
| Best Actress - Drama (Popular)
| {{nom}}
|-
| rowspan="2" |2004
| Best Actress - Drama (Jury)
| rowspan="2" |Prerna Sharma
| rowspan="2" |Kasautii Zindagii Kay
| rowspan="2" {{nom}}
|-
| Best Actress - Drama (Popular)
|-
| rowspan="2" |2005
| Best Actress - Drama (Jury)
| rowspan="2" |Prerna Bajaj
| rowspan="2" |Kasautii Zindagii Kay
| rowspan="2" {{nom}}
|-
| Best Actress - Drama (Popular)
|-
| rowspan="1" |2006
| Best Actress - Drama (Jury)
| rowspan="1" |Prerna Bajaj
| rowspan="1" |Kasautii Zindagii Kay
| rowspan="1" {{nom}}
|-
| rowspan="1" |2007
| Best Actress - Drama (Popular)
| rowspan="1" |Prerna Bajaj
| rowspan="1" |Kasautii Zindagii Kay
| rowspan="1" {{nom}}
|-
| rowspan="2" |2012
| Best Actress - Drama (Jury)
| rowspan="2" |Sweety Ahluwalia
| rowspan="2" |Parvarrish – Kuchh Khattee Kuchh Meethi
| rowspan="1" {{won}}<ref name="ITAA"/>
|-
| Best Actress - Drama (Popular)
| {{nom}}
|}
=== ਇੰਡੀਅਨ ਟੈਲੀ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| 2002
| Best Actress in a Lead Role
| Prerna Sharma
| Kasautii Zindagii Kay
| {{nom}}
|-
| 2003
| Best Actress in a Lead Role (shared with Smriti Irani)
| Prerna Bajaj
| Kasautii Zindagii Kay
| {{won}}<ref name=ITA>{{cite web|url=http://awardsbyindianshows.weebly.com/indian-telly-awards.html|title=Indian Telly Awards |publisher=weebly.com |accessdate=8 January 2015}}</ref>
|-
| 2004
| Best On Screen Couple (along with Cezanne Khan)
| Prerna Sharma
| Kasautii Zindagii Kay
| {{nom}}
|-
| 2005
| Best On Screen Couple (along with Cezanne Khan)
| Prerna Bajaj
| Kasautii Zindagii Kay
| {{nom}}
|-
| 2006
| Best Actress in a Lead Role
| Prerna Bajaj
| Kasautii Zindagii Kay
| {{nom}}
|-
| rowspan="2" |2007
| Best TV Personality
| rowspan="2" |Prerna Bajaj
| rowspan="2" |Kasautii Zindagii Kay
| rowspan="2" {{nom}}
|-
| Best Actress in a Lead Role
|-
| rowspan="3" |2012
| Best TV Personality
| rowspan="3" |Sweety Ahluwalia
| rowspan="3" |Parvarrish – Kuchh Khattee Kuchh Meethi
| rowspan="3" {{nom}}
|-
| Best Actress in a Lead Role (Jury)
|-
| Best Actress in a Lead Role (Popular)
|-
| rowspan="3" |2013
| Best TV Personality
| rowspan="3" |Sweety Ahluwalia
| rowspan="3" |Parvarrish – Kuchh Khattee Kuchh Meethi
| rowspan="3" {{nom}}
|-
| Best Actress in a Lead Role (Jury)
|-
| Best Actress in a Lead Role (Popular)
|}
=== ਸਟਾਰ ਅੰਤਰਰਾਸ਼ਟਰੀ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| 2003
| Internationally Best Actress in a Lead Role - Fictional Series Drama
| Prerna Basu
| Kasautii Zindagii Kay
| {{nom}}
|}
=== ਅਪਸਰਾ ਫਿਲਮ ਅਤੇ ਟੈਲੀਵਿਜ਼ਨ ਨਿਰਦੇਸ਼ਕ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| 2004
| Best TV Actress - Drama
| Prerna Sharma
| Kasautii Zindagii Kay
| {{nom}}
|-
| 2013
| Best TV Actress - Drama
| Sweety Ahluwalia
| Parvarrish – Kuchh Khattee Kuchh Meethi
| {{nom}}
|}
=== ਕਲਾਕਾਰ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| 2004
| Best TV Actress - Drama
| Prerna Sharma
| Kasautii Zindagii Kay
| {{nom}}
|-
| 2013
| Best TV Actress - Drama
| Sweety Ahluwalia
| Parvarrish – Kuchh Khattee Kuchh Meethi
| {{nom}}
|}
=== ਸਿਨਸੁਈ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| 2006
| Best Actress
| Prerna Bajaj
| Kasautii Zindagii Kay
| {{nom}}
|-
| rowspan="8" |2015
| Best Comeback (Female)
| Bindiya Rani
| Begusarai
| rowspan="3" {{won}}<ref name=STA>{{cite web|url=http://awardsbyindianshows.weebly.com/sinsui-television-awards.html|title=Sinsui Television Awards|publisher=weebly.com |accessdate=8 January 2015}}</ref>
|-
| Most Popular Actress (Decade)
| rowspan="4" |Prerna Sharma/Basu/Bajaj
| rowspan="4" |Kasautii Zindagii Kay
|-
| Most Popular Jodi of Decade (with Cezanne Khan)
|-
| Best Jodi of Decade (with Cezanne Khan)
| rowspan="5" {{nom}}
|-
| Best Actress of Decade
|-
| Healthy and Fresh Skin
| rowspan="2" |Bindiya Rani
| rowspan="3" |Begusarai
|-
| Best Actress (Critics)
|-
| Best Personality
|}
=== ਗਲੋਬਲ ਭਾਰਤੀ ਫਿਲਮ ਅਤੇ ਟੀ. ਵੀ. ਆਨਰਜ਼ ===
'''ਸ਼ੋਅ'''<br>
{| class="wikitable sortable" style="margin-bottom: 10px;"
!ਸਾਲ
!ਸ਼੍ਰੇਣੀ
!ਭੂਮਿਕਾ
!<br>
!Result
|-
| rowspan="2" |2008
| Global TV Honour for Best TV Actress - Fiction
| rowspan="2" |Prerna Bajaj
| rowspan="2" |Kasautii Zindagii Kay
| rowspan="2" {{nom}}
|-
| Global TV Honour for Best TV Celebrity Jodi (along with Cezanne Khan)
|-
| 2012
| Global TV Honour for Best TV Actress - Fiction
| Sweety Ahluwalia
| Parvarrish – Kuchh Khattee Kuchh Meethi
| {{nom}}
|}
=== ਜੀ ਗੋਲਡ ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!ਸਾਲ
!ਸ਼੍ਰੇਣੀ
!ਭੂਮਿਕਾ
!ਸ਼ੋਅ
!ਨਤੀਜਾ
|-
| 2007
| Best Actress in a Lead Role
| Prerna Bajaj
| Kasautii Zindagii Kay
| {{nom}}
|-
| 2011
| Most Fit Actress
| Herself
| -
| {{won}}
|-
| 2012
| Best Actress in a Lead Role
| Sweety Ahluwalia
| Parvarrish – Kuchh Khattee Kuchh Meethi
| {{nom}}
|}
=== ਗ੍ਰੇਵ ਇੰਡੀਅਨ ਟੀ.ਵੀ. ਅਵਾਰਡ ===
{| class="wikitable sortable" style="margin-bottom: 10px;"
!Year
!Category
!Character
!Show
!Result
|-
| rowspan="7" |2014
| Favourite Actress of Decade (Votice Choice)
| Prerna Sharma/Basu/Bajaj
| Kasautii Zindagii Kay
| rowspan="2" {{won}}<ref name=GITA>{{cite web|url=http://awardsbyindianshows.weebly.com/garv-indian-tv-awards.html|title=Garv Indian TV Awards|publisher=weebly.com |accessdate=8 January 2015}}</ref>
|-
| Best Actress in a Lead Role (Critics)
| Sweety Ahluwalia
| Parvarrish – Kuchh Khattee Kuchh Meethi
|-
| Best TV Couple of Decade (along with Cezanne Khan)
| rowspan="2" |Prerna Sharma/Basu/Bajaj
| rowspan="2" |Kasautii Zindagii Kay
| rowspan="5" {{nom}}
|-
| Best Actress of Decade (Critics)
|-
| Popular Actress
| rowspan="3" |Sweety Ahluwalia
| rowspan="3" |Parvarrish – Kuchh Khattee Kuchh Meethi
|-
| Favourite Actress (Votice Choice)
|-
| GR8! Performer of the Year
|-
| rowspan="3" |2015
| Fit Star
| rowspan="2" |Herself
| -
| {{won}}<ref name="GITA"/>
|-
| Beauty of the Year
| -
| {{nom}}
|-
| Best Actress in Negative Role (Critics)
| Maha Bhasm Pari
| Baal Veer
| {{won}}<ref name="GITA"/>
|}
== ਹਵਾਲੇ ==
{{Reflist|30em}}
[[ਸ਼੍ਰੇਣੀ:ਭਾਰਤੀ ਰੁਪਏ]]
[[ਸ਼੍ਰੇਣੀ:21ਵੀਂ ਸਦੀ ਦੀਆਂ ਭਾਰਤੀ ਅਭਿਨੇਤਰੀਆਂ]]
[[ਸ਼੍ਰੇਣੀ:ਹਿੰਦੀ ਸਿਨੇਮਾ ਵਿੱਚ ਅਭਿਨੇਤਰੀਆਂ]]
[[ਸ਼੍ਰੇਣੀ:ਹਿੰਦੀ ਟੈਲੀਵਿਜਨ ਦੀਆਂ ਅਦਾਕਾਰਾਵਾਂ]]
[[ਸ਼੍ਰੇਣੀ:ਬਿੱਗ ਬੌਸ (ਹਿੰਦੀ ਟੀਵੀ ਲੜੀ) ਪ੍ਰਤੀਯੋਗੀ]]
[[ਸ਼੍ਰੇਣੀ:ਭਾਰਤੀ ਅਦਾਕਾਰਾਵਾਂ]]
[[ਸ਼੍ਰੇਣੀ:ਭਾਰਤੀ ਟੈਲੀਵਿਜ਼ਨ ਅਦਾਕਾਰਾਵਾਂ]]
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
3ki0wsuoy8q6wnyaik48zmccdorayxr
ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ
0
92699
849442
844189
2026-10-09T05:28:02Z
Kuldeepburjbhalaike
18176
Kuldeepburjbhalaike ਨੇ ਸਫ਼ਾ [[ਦਵਿੰਦਰ ਸੈਫ਼ੀ]] ਨੂੰ [[ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ]] ’ਤੇ ਭੇਜਿਆ
844189
wikitext
text/x-wiki
[[ਤਸਵੀਰ:Davinder Saifi.jpg|thumb]]
ਡਾ.ਦੇ'''ਵਿੰਦਰ ਸੈਫ਼ੀ''' ਨੌਜਵਾਨ [[ਪੰਜਾਬੀ ਭਾਸ਼ਾ|ਪੰਜਾਬੀ]] ਸ਼ਾਇਰ, ਚਿੰਤਕ ਅਤੇ ਆਲੋਚਕ ਹੈ। ‘ਦੁਪਹਿਰ ਦਾ ਸਫ਼ਾ’ ਉਸਦਾ ਪਲੇਠਾ ਕਾਵਿ ਸੰਗ੍ਰਹਿ ਹੈ।<ref>{{Cite web|url=http://shabadsanjh-lekh.blogspot.in/2009/12/blog-post_4122.html|title=ਸ਼ਬਦ ਸਾਂਝ - ਲੇਖ: ਨੀਤਸ਼ੇ ਦਾ 'ਮਹਾਂ ਮਾਨਵ'.|last=|first=|date=|website=|publisher=|access-date=}}</ref>
==ਰਚਨਾਵਾਂ==
*''ਦੁਪਹਿਰ ਦਾ ਸਫ਼ਾ'' (ਕਾਵਿ ਸੰਗ੍ਰਹਿ)
*''ਨੀਤਸ਼ੇ ਮਹਾਮਾਨਵ''
*''ਆਓ ਬਾਤਾਂ ਸੁਣੀਏ''
*''ਸਿਧਾਂਤਕਾਰੀ ਅਤੇ ਪੰਜਾਬੀ ਸਿਧਾਂਤਕਾਰ''(ਆਲੋਚਨਾ)<ref>{{Cite web|url=http://www.beta.ajitjalandhar.com/fixpage/20140504/60/81.cms#sthash.eIQG57yq.dpbs|title=ਸਿਧਾਂਤਕਾਰੀ ਅਤੇ ਪੰਜਾਬੀ ਸਿਧਾਂਤਕਾਰ|last=|first=|date=|website=|publisher=|access-date=|archive-date=2014-07-09|archive-url=https://web.archive.org/web/20140709011102/http://beta.ajitjalandhar.com/fixpage/20140504/60/81.cms#sthash.eIQG57yq.dpbs|url-status=dead}}</ref>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
[[ਸ਼੍ਰੇਣੀ:ਕਵੀ]]
[[ਸ਼੍ਰੇਣੀ:ਆਲੋਚਕ]]
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ-ਭਾਸ਼ਾ ਕਵੀ]]
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
kq4nhns8hra87knuxqe45x9rurnu9i0
849447
849442
2026-10-09T05:31:53Z
Kuldeepburjbhalaike
18176
849447
wikitext
text/x-wiki
[[ਤਸਵੀਰ:Davinder Saifi.jpg|thumb]]
ਡਾ.ਦੇ'''ਵਿੰਦਰ ਸੈਫ਼ੀ''' ਨੌਜਵਾਨ [[ਪੰਜਾਬੀ ਭਾਸ਼ਾ|ਪੰਜਾਬੀ]] ਸ਼ਾਇਰ, ਚਿੰਤਕ ਅਤੇ ਆਲੋਚਕ ਹੈ। ‘ਦੁਪਹਿਰ ਦਾ ਸਫ਼ਾ’ ਉਸਦਾ ਪਲੇਠਾ ਕਾਵਿ ਸੰਗ੍ਰਹਿ ਹੈ।<ref>{{Cite web|url=http://shabadsanjh-lekh.blogspot.in/2009/12/blog-post_4122.html|title=ਸ਼ਬਦ ਸਾਂਝ - ਲੇਖ: ਨੀਤਸ਼ੇ ਦਾ 'ਮਹਾਂ ਮਾਨਵ'.|last=|first=|date=|website=|publisher=|access-date=}}</ref>
==ਰਚਨਾਵਾਂ==
*''ਮੁਹੱਬਤ ਨੇ ਕਿਹਾ''
*''ਦੁਪਹਿਰ ਦਾ ਸਫ਼ਾ'' (ਕਾਵਿ ਸੰਗ੍ਰਹਿ)
*''ਨੀਤਸ਼ੇ ਮਹਾਮਾਨਵ''
*''ਆਓ ਬਾਤਾਂ ਸੁਣੀਏ''
*''ਸਿਧਾਂਤਕਾਰੀ ਅਤੇ ਪੰਜਾਬੀ ਸਿਧਾਂਤਕਾਰ''(ਆਲੋਚਨਾ)<ref>{{Cite web|url=http://www.beta.ajitjalandhar.com/fixpage/20140504/60/81.cms#sthash.eIQG57yq.dpbs|title=ਸਿਧਾਂਤਕਾਰੀ ਅਤੇ ਪੰਜਾਬੀ ਸਿਧਾਂਤਕਾਰ|last=|first=|date=|website=|publisher=|access-date=|archive-date=2014-07-09|archive-url=https://web.archive.org/web/20140709011102/http://beta.ajitjalandhar.com/fixpage/20140504/60/81.cms#sthash.eIQG57yq.dpbs|url-status=dead}}</ref>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
[[ਸ਼੍ਰੇਣੀ:ਕਵੀ]]
[[ਸ਼੍ਰੇਣੀ:ਆਲੋਚਕ]]
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ-ਭਾਸ਼ਾ ਕਵੀ]]
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
7q9i31s5asi9plouoegnf46ghb9pcxm
849448
849447
2026-10-09T05:32:06Z
Kuldeepburjbhalaike
18176
removed [[Category:ਕਵੀ]] using [[WP:HC|HotCat]]
849448
wikitext
text/x-wiki
[[ਤਸਵੀਰ:Davinder Saifi.jpg|thumb]]
ਡਾ.ਦੇ'''ਵਿੰਦਰ ਸੈਫ਼ੀ''' ਨੌਜਵਾਨ [[ਪੰਜਾਬੀ ਭਾਸ਼ਾ|ਪੰਜਾਬੀ]] ਸ਼ਾਇਰ, ਚਿੰਤਕ ਅਤੇ ਆਲੋਚਕ ਹੈ। ‘ਦੁਪਹਿਰ ਦਾ ਸਫ਼ਾ’ ਉਸਦਾ ਪਲੇਠਾ ਕਾਵਿ ਸੰਗ੍ਰਹਿ ਹੈ।<ref>{{Cite web|url=http://shabadsanjh-lekh.blogspot.in/2009/12/blog-post_4122.html|title=ਸ਼ਬਦ ਸਾਂਝ - ਲੇਖ: ਨੀਤਸ਼ੇ ਦਾ 'ਮਹਾਂ ਮਾਨਵ'.|last=|first=|date=|website=|publisher=|access-date=}}</ref>
==ਰਚਨਾਵਾਂ==
*''ਮੁਹੱਬਤ ਨੇ ਕਿਹਾ''
*''ਦੁਪਹਿਰ ਦਾ ਸਫ਼ਾ'' (ਕਾਵਿ ਸੰਗ੍ਰਹਿ)
*''ਨੀਤਸ਼ੇ ਮਹਾਮਾਨਵ''
*''ਆਓ ਬਾਤਾਂ ਸੁਣੀਏ''
*''ਸਿਧਾਂਤਕਾਰੀ ਅਤੇ ਪੰਜਾਬੀ ਸਿਧਾਂਤਕਾਰ''(ਆਲੋਚਨਾ)<ref>{{Cite web|url=http://www.beta.ajitjalandhar.com/fixpage/20140504/60/81.cms#sthash.eIQG57yq.dpbs|title=ਸਿਧਾਂਤਕਾਰੀ ਅਤੇ ਪੰਜਾਬੀ ਸਿਧਾਂਤਕਾਰ|last=|first=|date=|website=|publisher=|access-date=|archive-date=2014-07-09|archive-url=https://web.archive.org/web/20140709011102/http://beta.ajitjalandhar.com/fixpage/20140504/60/81.cms#sthash.eIQG57yq.dpbs|url-status=dead}}</ref>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
[[ਸ਼੍ਰੇਣੀ:ਆਲੋਚਕ]]
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ-ਭਾਸ਼ਾ ਕਵੀ]]
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
1ju85b7uyugo3gmmnhg7c8lnsekw5f3
849449
849448
2026-10-09T05:32:21Z
Kuldeepburjbhalaike
18176
removed [[Category:ਆਲੋਚਕ]]; added [[Category:ਪੰਜਾਬੀ ਆਲੋਚਕ]] using [[WP:HC|HotCat]]
849449
wikitext
text/x-wiki
[[ਤਸਵੀਰ:Davinder Saifi.jpg|thumb]]
ਡਾ.ਦੇ'''ਵਿੰਦਰ ਸੈਫ਼ੀ''' ਨੌਜਵਾਨ [[ਪੰਜਾਬੀ ਭਾਸ਼ਾ|ਪੰਜਾਬੀ]] ਸ਼ਾਇਰ, ਚਿੰਤਕ ਅਤੇ ਆਲੋਚਕ ਹੈ। ‘ਦੁਪਹਿਰ ਦਾ ਸਫ਼ਾ’ ਉਸਦਾ ਪਲੇਠਾ ਕਾਵਿ ਸੰਗ੍ਰਹਿ ਹੈ।<ref>{{Cite web|url=http://shabadsanjh-lekh.blogspot.in/2009/12/blog-post_4122.html|title=ਸ਼ਬਦ ਸਾਂਝ - ਲੇਖ: ਨੀਤਸ਼ੇ ਦਾ 'ਮਹਾਂ ਮਾਨਵ'.|last=|first=|date=|website=|publisher=|access-date=}}</ref>
==ਰਚਨਾਵਾਂ==
*''ਮੁਹੱਬਤ ਨੇ ਕਿਹਾ''
*''ਦੁਪਹਿਰ ਦਾ ਸਫ਼ਾ'' (ਕਾਵਿ ਸੰਗ੍ਰਹਿ)
*''ਨੀਤਸ਼ੇ ਮਹਾਮਾਨਵ''
*''ਆਓ ਬਾਤਾਂ ਸੁਣੀਏ''
*''ਸਿਧਾਂਤਕਾਰੀ ਅਤੇ ਪੰਜਾਬੀ ਸਿਧਾਂਤਕਾਰ''(ਆਲੋਚਨਾ)<ref>{{Cite web|url=http://www.beta.ajitjalandhar.com/fixpage/20140504/60/81.cms#sthash.eIQG57yq.dpbs|title=ਸਿਧਾਂਤਕਾਰੀ ਅਤੇ ਪੰਜਾਬੀ ਸਿਧਾਂਤਕਾਰ|last=|first=|date=|website=|publisher=|access-date=|archive-date=2014-07-09|archive-url=https://web.archive.org/web/20140709011102/http://beta.ajitjalandhar.com/fixpage/20140504/60/81.cms#sthash.eIQG57yq.dpbs|url-status=dead}}</ref>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ ਆਲੋਚਕ]]
[[ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬੀ-ਭਾਸ਼ਾ ਕਵੀ]]
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
5o45za6n26kl436vfvhinvrb4lx5yy2
ਅਮਰੀਕੀ ਹੋਰਰ ਸਟੋਰੀ
0
106612
849438
848975
2026-10-09T03:13:14Z
Stephan1000000
52409
849438
wikitext
text/x-wiki
{{ਜਾਣਕਾਰੀਡੱਬਾ ਟੀਵੀ
| show_name = American Horror Story
| image = American Horror Story.svg
| genre = {{Plainlist|
*[[Horror fiction|Horror]]
*[[Anthology series|Anthology]]
*[[Supernatural fiction|Supernatural]]
*[[Slasher film|Slasher]]
*[[Drama film|Drama]]<ref>{{cite web|url=http://www.allmovie.com/movie/american-horror-story-tv-series-v554165|publisher=[[AllMovie]]|title=American Horror Story TV Series (2011)|accessdate=December 13, 2015|last=Droesch|first=Paul}}</ref>}}
| creator = {{Plainlist|
* [[Ryan Murphy (writer)|Ryan Murphy]]
* [[Brad Falchuk]]}}
| starring = {{Plainlist|<!-- Do not change order of cast list. Please keep in order of season and main credits-->
* [[Connie Britton]]
* [[Dylan McDermott]]
* [[Evan Peters]]
* [[Taissa Farmiga]]
* [[Denis O'Hare]]
* [[Jessica Lange]]
* [[Zachary Quinto]]
* [[Joseph Fiennes]]
* [[Sarah Paulson]]
* [[Lily Rabe]]
* [[Lizzie Brocheré]]
* [[James Cromwell]]
* [[Frances Conroy]]
* [[Emma Roberts]]
* [[Kathy Bates]]
* [[Michael Chiklis]]
* [[Finn Wittrock]]
* [[Angela Bassett]]
* [[Wes Bentley]]
* [[Matt Bomer]]
* [[Chloë Sevigny]]
* [[Cheyenne Jackson]]
* [[Lady Gaga]]
* [[Cuba Gooding Jr.]]
* [[André Holland]]
* [[Billie Lourd]]
* [[Alison Pill]]
}}
| theme_music_composer = {{Plainlist|
* Cesar Davila-Irizarry
* [[Charlie Clouser]]}}
| composer = {{Plainlist|
* [[James S. Levine]]
* Mac Quayle}}
| country = United States
| language = English
| num_seasons = 13<!-- Do not change season count until a new season has premiered.-->
| num_episodes = <onlyinclude>140</onlyinclude><!-- Do not change episode count until a new episode has aired.-->
| list_episodes = List of American Horror Story episodes
| producer = {{Plainlist|
* Alexis Martin Woodall <small>(seasons 1–3)</small>
* Patrick McKee
* Robert M. Williams Jr.
* [[Ned Martel]]}}
| executive_producer = {{Plainlist|
* Ryan Murphy
* Brad Falchuk
* [[Dante Di Loreto]]
* [[Tim Minear]]
* [[James Wong (producer)|James Wong]]
* [[Jennifer Salt]]
* [[Bradley Buecker]]
* Alexis Martin Woodall}}
| location = {{Plainlist|
* [[Los Angeles]], [[California]] <small>(seasons 1–2, 5–6)</small>
* [[New Orleans]], [[Louisiana]] <small>(seasons 3–4)</small>
* [[Santa Clarita, California|Santa Clarita]], [[California]] <small>(season 6)</small>
* [[Orange, California|Orange]], [[California]] <small>(season 7)</small>
}}
| camera = [[Single camera setup|Single camera]]
| runtime = 37–73 minutes<ref>{{cite web|url=https://www.amazon.com/gp/product/B005PK56TA?ref_=aiv_dp_season_select|title=American Horror Story 6 Seasons 2011|work=Amazon.com|accessdate=July 24, 2016}}</ref>
| editor = {{Plainlist|
* Bradley Buecker
* Doc Crotzer
* Adam Penn}}
| cinematography = {{Plainlist |
* Christopher Baffa (pilot)
* [[Michael Goi]]
* [[Nelson Cragg]]
}}
| company = {{Plainlist|
* [[20th Century Fox Television]]
* Ryan Murphy Productions
* Brad Falchuk Teley-Vision}}
| distributor = [[20th Television]]
| network = [[FX (TV channel)|FX]]
| first_aired = {{Start date|2011|10|5}}
| last_aired = present
| website = http://www.fxnetworks.com/shows/american-horror-story
}}
<span>'''ਅਮਰੀਕੀ ਹੋਰਰ ਸਟੋਰੀ, '''''ਰਿਆਨ ਮਰਫੀ ਅਤੇ ਬ੍ਰਾਡ ਫਲਚੁਕ''''' '''ਦੁਆਰਾ ਬਣਾਈ ਗਈ''' '''</span>ਇੱਕ ਅਮਰੀਕੀ ਹੋਰਰ ਕਥਾਵਾਂ ਦੀ ਟੈਲੀਵਿਜ਼ਨ ਸੀਰੀਜ਼ ਹੈ। ਹਰੇਕ ਸੀਜ਼ਨ ਨੂੰ ਵੱਖਰੇ ਵੱਖਰੇ ਪਾਤਰਾਂ ਅਤੇ ਸੈਟਿੰਗਾਂ ਅਤੇ ਇੱਕ ਨਵੀਂ ਕਹਾਣੀ ਦੀ "ਸ਼ੁਰੂਆਤ, ਮੱਧ ਅਤੇ ਅੰਤ" ਵਜੋਂ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ। ਹਰੇਕ ਸੀਜ਼ਨ ਦੇ ਪਲਾਟਾਂ ਦੇ ਕੁਝ ਤੱਤਾਂ ਨੂੰ ਅਸਲ ਘਟਨਾਵਾਂ ਨਾਲ ਜੋੜਕੇ ਪੇਸ਼ ਕੀਤਾ ਜਾਂਦਾ ਹੈ।<ref>{{Cite web|url=http://www.popsugar.com/entertainment/American-Horror-Story-Characters-Based-Real-People-36364636|title=The True Stories Behind 18 American Horror Story Characters|last=Pehanick|first=Maggie|date=April 24, 2016|website=Popsugar.com|access-date=May 8, 2016}}</ref><ref>{{Cite web|url=http://www.sugarscape.com/film-tv/news/a1083195/american-horror-story-based-true-events/|title=DID YOU KNOW THESE AMERICAN HORROR STORY PLOTLINES ARE BASED ON TRUE EVENTS?|last=Wood|first=Lucy|date=October 18, 2015|website=Sugarscape.com|access-date=May 8, 2016}}</ref><ref>{{Cite web|url=http://www.tvguide.com/news/american-horror-story-hotel-real-life-inspirations/|title=The Real-Life Inspirations Behind American Horror Story: Hotel|last=Gennis|first=Sadie|date=October 20, 2015|publisher=[[TV Guide]]|access-date=May 8, 2016}}</ref> ਸਿਰਫ ਅਦਾਕਾਰ ਇਵੈਨ ਪੀਟਰਸ ਅਤੇ ਸਾਰਾਹ ਪਾਲਸਨ ਨੂੰ ਹੀ ਸਾਰੀਆਂ ਸੀਰੀਜ਼ ਵਿੱਚ ਦਿਖਾਇਆ ਜਾਂਦਾ ਹੈ ਬਾਕੀ ਸਾਰੇ ਪਾਤਰ ਬਦਲੇ ਹੋਏ ਹੁੰਦੇ ਹਨ।
ਇਹ ਸੀਰੀਜ਼ ਸੰਯੁਕਤ ਰਾਜ ਦੇ ਕੇਬਲ ਟੈਲੀਵਿਜ਼ਨ ਚੈਨਲ ਐਫਐਕਸ ਉੱਪਰ ਦਿਖਾਈ ਜਾਂਦੀ ਹੈ। [[12 ਜਨਵਰੀ]], [[2017]] ਨੂੰ, ਇਸ ਸੀਰੀਜ਼ ਨੂੰ ਅੱਠਵੇਂ ਅਤੇ ਨੌਂਵੇਂ ਸੀਜ਼ਨ ਲਈ ਦੁਬਾਰਾ ਬਣਾਇਆ ਗਿਆ।<ref name="eightandnine">{{Cite web|url=https://variety.com/2017/tv/news/american-horror-story-renewed-season-8-9-fx-1201958880/|title=‘American Horror Story’ Renewed For Two More Seasons at FX|last=Wagmeister|first=Elizabeth|date=January 12, 2017|website=[[Variety (magazine)|Variety]]|access-date=January 12, 2017}}</ref>
ਹਾਲਾਂਕਿ ਵਿਅਕਤੀਗਤ ਸੀਜ਼ਨਾਂ ਦੀ ਪ੍ਰਾਪਤੀ ਵੱਖੋ-ਵੱਖਰੀ ਸੀ, ਅਮਰੀਕੀ ਹੋਰਰ ਕਹਾਣੀ ਨੇ, ਕੁੱਲ ਮਿਲਾਕੇ, ਟੈਲੀਵਿਜ਼ਨ ਆਲੋਚਕਾਂ ਦੁਆਰਾ ਚੰਗੀ ਆਲੋਚਨਾ ਪ੍ਰਾਪਤ ਕੀਤੀ, ਜਿਸ ਵਿੱਚ ਜਿਆਦਾਤਰ ਪ੍ਰਸ਼ੰਸਾ ਕਲਾਕਾਰਾਂ ਵੱਲੋਂ ਪ੍ਰਾਪਤ ਕੀਤੀ ਗਈ, ਖਾਸ ਕਰਕੇ ਜੈਸਿਕਾ ਲੈਂਜ, ਜਿਸਨੇ ਆਪਣੀ ਪ੍ਰਦਰਸ਼ਨੀ ਲਈ ਦੋ [[ਐਮੀ ਇਨਾਮ|ਐਮੀ ਪੁਰਸਕਾਰ]], ਇੱਕ [[ਗੋਲਡਨ ਗਲੋਬ ਇਨਾਮ|ਗੋਲਡਨ ਗਲੋਬ ਪੁਰਸਕਾਰ]] ਅਤੇ ਇੱਕ ਸਕ੍ਰੀਨ ਐਕਟਰਸ ਗਿਲਡ ਅਵਾਰਡ ਪ੍ਰਾਪਤ ਕੀਤਾ। ਇਸ ਤੋਂ ਇਲਾਵਾ, ਕੈਥੀ ਬੈਟਸ ਅਤੇ ਜੇਮਸ ਕ੍ਰੋਮਵੇਲ ਨੇ ਆਪਣੇ ਪ੍ਰਦਰਸ਼ਨ ਲਈ [[ਐਮੀ ਇਨਾਮ|ਐਮੀ ਪੁਰਸਕਾਰ]] ਜਿੱਤਿਆ, ਜਦਕਿ [[ਲੇਡੀ ਗਾਗਾ]] ਨੇ ਗੋਲਡਨ ਗਲੋਬ ਅਵਾਰਡ ਜਿੱਤਿਆ।
==== ਪ੍ਰੋਡਕਸ਼ਨ ====
=== ਧਾਰਨਾ ===
ਸਿਰਜਣਹਾਰ ਮਰਫੀ ਅਤੇ ਫਲਚੁਕ ਨੇ ਆਪਣੀ ਫ਼ੋਕਸ ਸੀਰੀਜ਼ "ਗੱਲੀ" ਦੀ ਪ੍ਰਡਕਸ਼ਨ ਸ਼ੁਰੂ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ "ਅਮਰੀਕੀ ਹੋਰਰ ਸਟੋਰੀ" ਤੇ ਕੰਮ ਕਰਨਾ ਸ਼ੁਰੂ ਕੀਤਾ। ਮਰਫੀ ਆਪਣੇ ਭੂਤਕਾਲੀ ਕੰਮ ਤੋਂ ਕੁਝ ਵੱਖਰਾ ਕਰਨਾ ਚਾਹੁੰਦਾ ਸੀ ਅਤੇ ਇਸ ਲਈ ਉਸਨੇ ਇਸ ਸੀਰੀਜ਼ ਤੇ ਕੰਮ ਕਰਨਾ ਸ਼ੁਰੂ ਕੀਤਾ। .<ref>{{Cite web|url=http://www.newnownext.com/ryan-murphy-and-brad-falchuk-talk-american-horror-story-blood-infidelity-and-zachary-quinto/10/2011/|title=Ryan Murphy and Brad Falchuk Talk "American Horror Story": Blood, Infidelity, and Zachary Quinto|last=Juergens|first=Brian|date=October 3, 2011|publisher=NewNowNext|access-date=November 12, 2015}}</ref>
ਸ਼ੁਰੂ ਤੋਂ ਹੀ, ਮਰਫੀ ਅਤੇ ਫਲਚੁਕ ਨੇ ਸੀਰੀਜ਼ ਲਈ ਹਰ ਇੱਕ ਨਵੀਂ ਅਤੇ ਵੱਖਰੀ ਕਹਾਣੀ ਦੀ ਯੋਜਨਾ ਬਣਾਈ।<ref name="Mullins">{{Cite web|url=http://www.eonline.com/news/282480/american-horror-story-season-two-scoop-new-house-and-mostly-new-faces|title=American Horror Story Season Two Scoop: New House and (Mostly) New Faces|last=Mullins|first=Jenna|date=December 22, 2011|website=[[E! Online]]|publisher=[[NBCUniversal]]|access-date=November 12, 2015}}</ref> ਪਹਿਲਾ ਸੀਜ਼ਨ ਖਤਮ ਹੋਣ ਤੋਂ ਬਾਅਦ, ਮਰਫੀ ਨੇ ਦੁੱਜੇ ਸੀਜ਼ਨ ਸਮੇਂ ਕਹਾਣੀ ਦੇ ਨਾਲ ਨਾਲ ਕਾਸਟ ਅਤੇ ਬੈਕਗਰਾਉਂਡ ਸੈਟ ਵੀ ਵੱਖਰਾ ਹੋਣ ਦੀ ਨਵੀਂ ਯੋਜਨਾ ਬਣਾਈ।<ref>{{Cite web|url=http://artsbeat.blogs.nytimes.com/2011/12/22/american-horror-story-will-scare-up-a-new-cast-and-new-haunted-home-for-season-2/|title='American Horror Story' Will Scare Up a New Cast and New Haunted Home for Season 2|last=Itzkoff|first=Dave|date=December 22, 2011|website=[[The New York Times]]|access-date=November 10, 2015}}</ref> ਉਸਨੇ ਕਿਹਾ ਕਿ, ਪਹਿਲੇ ਸੀਜ਼ਨ ਦੇ ਕੁਝ ਅਦਾਕਾਰ ਇਸ ਦੂਜੀ ਸੀਰੀਜ਼ ਵਿੱਚ ਵੱਖੋ-ਵੱਖਰੀਆਂ ਭੂਮਿਕਾਵਾਂ ਵਿੱਚ ਦਿਖਾਈ ਦੇਣਗੇ ਉਨ੍ਹਾਂ ਭੂਮਿਕਾਵਾਂ ਵਿੱਚ ਕਿਸੇ ਜੀਵ, ਭੂਤ-ਪ੍ਰੇਤ, ਰਾਖਸ਼ ਦੀਆਂ ਭੂਮਿਕਾਵਾਂ ਵੀ ਹੋ ਸਕਦੀਆਂ ਹਨ। ਉਸਨੇ ਐਲਾਨ ਕੀਤਾ ਕਿ ਪੁਰਾਣੇ ਅਦਾਕਾਰ ਜੇਕਰ ਇਸ ਵਿੱਚ ਕੰਮ ਕਰਨਾ ਚਾਹੁਣਗੇ ਤਾਂ ਉਨ੍ਹਾਂ ਨੂੰ ਵੱਖਰੀਆਂ ਭੂਮਿਕਾਵਾਂ ਦਿੱਤੀਆਂ ਜਾਣਗੀਆਂ।<ref name="3pick">{{Cite web|url=https://www.washingtonpost.com/blogs/tv-column/post/fx-picks-up-third-season-of-american-horror-story/2012/11/15/1431d834-2f54-11e2-9f50-0308e1e75445_blog.html|title=FX picks up third season of 'American Horror Story'|last=de Moraes|first=Lisa|date=November 15, 2012|website=[[The Washington Post]]|access-date=November 15, 2012}}</ref>
ਕੌਨੀ ਬ੍ਰਿਟਨ, ਸੀਰੀਜ਼ ਵਿੱਚ ਪਹਿਲੀ ਕਾਸਟ ਸੀ, ਜਿਸਨੇ ਮਰਡਰ ਹਾਉਸ ਵਿੱਚ ਮੁੱਖ ਔਰਤ ਵਿਵਿਨ ਹਾਰਮਨ ਦਾ ਕਿਰਦਾਰ ਨਿਭਾਇਆ।<ref>{{Cite web|url=http://www.ew.com/article/2011/03/18/connie-britton-ryan-murphy-american-horror-stor|title='Friday Night Lights' star Connie Britton cast in Ryan Murphy's 'American Horror Story' pilot|last=Stransky|first=Tanner|date=March 18, 2011|website=Entertainment Weekly|access-date=March 18, 2011|archive-date=ਮਾਰਚ 11, 2015|archive-url=https://web.archive.org/web/20150311191010/http://www.ew.com/article/2011/03/18/connie-britton-ryan-murphy-american-horror-stor|url-status=dead}}</ref> ਡੇਨਿਸ ਓ'ਹੇਰੀ, ਬਤੌਰ ਲੈਰੀ ਹਾਰਵੇ, ਦੂਜੇ ਕਾਸਟ ਵਜੋਂ ਸ਼ਮੂਲੀਅਤ ਪਾਈ।<ref>{{Cite web|url=http://deadline.com/2011/03/denis-ohare-joins-ryan-murphys-fx-pilot-american-horror-story-118819/|title=Denis O'Hare Joins Ryan Murphy's FX Pilot 'American Horror Story'|last=Andreeva|first=Nellie|date=March 30, 2011|publisher=[[Deadline.com]]|access-date=March 30, 2011}}</ref> ਜੈਸਿਕਾ ਲੈਨਜ ਨੇ ਛੇਤੀ ਹੀ ਇੱਕ ਪ੍ਰਤਿਯੋਗੀ ਦੇ ਤੌਰ 'ਤੇ ਟੈਲੀਵਿਜ਼ਨ ਤੇ ਆਪਣੀ ਨਿਯਮਤ ਭੂਮਿਕਾ ਵਜੋਂ ਪਛਾਣ ਸਥਾਪਿਤ ਕੀਤੀ।<ref>{{Cite web|url=http://www.deadline.com/2011/04/jessica-lange-to-star-in-ryan-murphybrad-falchuks-fx-pilot-american-horror-story/|title=Jessica Lange To Star in Ryan Murphy/Brad Falchuk's FX Pilot 'American Horror Story'|last=Andreeva|date=April 13, 2011|publisher=Deadline.com|archive-url=https://web.archive.org/web/20110511115208/http://www.deadline.com/2011/04/jessica-lange-to-star-in-ryan-murphybrad-falchuks-fx-pilot-american-horror-story/|archive-date=May 11, 2011|dead-url=no|access-date=April 13, 2011}}</ref> ਡੀਲਨ ਮੈਕਡਰਮੱਟ ਨੇ ਸੀਰੀਜ਼ ਵਿੱਚ ਮਰਦ ਮੁੱਖ ਪਾਤਰ ਬੇਨ ਹਾਰਮਨ ਦੀ ਭੂਮਿਕਾ ਅਦਾ ਕੀਤੀ।<ref>{{Cite web|url=http://www.deadline.com/2011/04/dylan-mcdermott-to-star-in-ryan-murphys-fx-pilot-american-horror-story/|title=Dylan McDermott To Star in Ryan Murphy's FX Pilot 'American Horror Story'|last=Andreeva|date=April 29, 2011|publisher=Deadline.com|archive-url=https://web.archive.org/web/20110508144336/http://www.deadline.com//2011//04//dylan-mcdermott-to-star-in-ryan-murphys-fx-pilot-american-horror-story//|archive-date=May 8, 2011|dead-url=no|access-date=April 29, 2011}}</ref> ਟਾਈਸਾ ਫਾਰਮਿਗਾ ਅਤੇ ਇਵਨ ਪੀਟਰਸ ਅੰਤਿਮ ਅਦਾਕਾਰ ਸਨ ਜਿਨ੍ਹਾਂ ਨੂੰ ਮੁੱਖ ਭੂਮਿਕਾ ਲਈ ਕਾਸਟ ਕੀਤਾ ਗਿਆ ਸੀ, ਜਿਨ੍ਹਾਂ ਨੇ ਵਾਇਲਟ ਹਾਰਮਨ ਅਤੇ ਟੇਟ ਲੈੰਗਡਨ ਦੀ ਭੂਮਿਕਾ ਅਦਾ ਕੀਤੀ ਸੀ।<ref>{{Cite web|url=http://deadline.com/2011/05/american-horror-story-casts-young-leads-129028/|title='American Horror Story' Casts Young Leads|last=Andreeva|date=May 5, 2011|publisher=Deadline.com|access-date=May 5, 2011|archive-date=ਸਤੰਬਰ 3, 2017|archive-url=https://web.archive.org/web/20170903205244/http://deadline.com/2011/05/american-horror-story-casts-young-leads-129028/|url-status=dead}}</ref>
== ਇਹ ਵੀ ਦੇਖੋ ==
* ''American Crime Story'', a spin-off series focusing on true crime
== ਹਵਾਲੇ ==
{{Reflist|colwidth=30em}}
== ਬਾਹਰੀ ਲਿੰਕ ==
* {{Official website}}
<div class="cx-template-editor-source-container" lang="en" dir="ltr" style="display: none;"><div class="cx-template-editor-source"><div class="cx-template-editor-title" title="The purpose of this template is to provide a standard format for labeling links to official websites.">Official website</div></div></div>
* {{IMDb title|1844624|American Horror Story}}
* [http://www.tv.com/shows/american-horror-story/ ''American Horror Story''] {{Webarchive|url=https://web.archive.org/web/20120408122839/http://www.tv.com/shows/american-horror-story |date=2012-04-08 }} at TV.com
[[ਸ਼੍ਰੇਣੀ:ਅੰਗਰੇਜ਼ੀ-ਭਾਸ਼ਾ ਵਿੱਚ ਟੇਲੀਵਿਜਨ ਧਾਰਾਵਾਹਿਕ]]
f1zvg3scdq4k67b10hvc2n3vgpjejgh
ਸਹਿਵਾਸ
0
122298
849463
674800
2026-10-09T10:13:09Z
PJ Geest
22589
Replace raster graph with SVG reconstruction: Percentage of birth to unmarried women, selected countries, 1980 and 2007.svg
849463
wikitext
text/x-wiki
'''ਸਹਿਵਾਸ''' ਇੱਕ ਪ੍ਰਬੰਧ ਹੈ ਜਿੱਥੇ ਦੋ ਜਾਂ ਵੱਧ ਲੋਕ [[ਵਿਆਹ]] ਨਹੀਂ [[ਵਿਆਹ|ਕਰਾਉਂਦੇ]] ਪਰ ਇਕੱਠੇ ਰਹਿੰਦੇ ਹਨ। ਉਹ ਅਕਸਰ ਲੰਮੇ ਸਮੇਂ ਲਈ ਜਾਂ ਸਥਾਈ ਤੌਰ ਤੇ [[ਰੋਮਾਂਸ (ਮੁਹੱਬਤ)|ਰੋਮਾਂਟਿਕ]] ਜਾਂ ਜਿਨਸੀ ਗੂੜ੍ਹੇ ਰਿਸ਼ਤੇ ਵਿੱਚ ਬਝੇ ਹੁੰਦੇ ਹਨ।
ਪਿਛਲੇ ਕੁਝ ਦਹਾਕਿਆਂ ਦੌਰਾਨ ਪੱਛਮੀ ਦੇਸ਼ਾਂ ਵਿੱਚ ਅਜਿਹੇ ਪ੍ਰਬੰਧ ਵਧੇਰੇ ਹੀ ਵਧੇਰੇ ਆਮ ਹੋ ਰਹੇ ਹਨ, ਖਾਸ ਤੌਰ ਤੇ ਵਿਆਹ, ਲਿੰਗ ਭੂਮਿਕਾਵਾਂ ਅਤੇ ਧਰਮ ਦੇ ਸੰਬੰਧ ਵਿੱਚ ਸਮਾਜਿਕ ਵਿਚਾਰਾਂ ਦਾ ਬਦਲ ਰਿਹਾ ਰੁਝਾਨ ਇਸ ਪਾਸੇ ਤੌਰ ਰਿਹਾ ਹੈ।
ਵਧੇਰੇ ਵਿਆਪਕ ਰੂਪ ਵਿੱਚ, ''ਸਹਿਵਾਸ'' ਸ਼ਬਦ ਦਾ ਅਰਥ ਹੈ ਕਿ ''ਇਕੱਠੇ'' ਰਹਿਣ ਵਾਲੇਕੁਝ ਲੋਕ। "ਸਹਿਵਾਸ" ਕਰਨਾ ਦਾ ਅਰਥ, ਵਿਆਪਕ ਅਰਥਾਂ ਵਿਚ, "ਸਹਿ-ਹੋਂਦ" ਵਿੱਚ ਵਿਚਰਨਾ ਹੈ।<ref name="oxford">{{Cite web|url=http://www.oxforddictionaries.com/definition/english/cohabit?q=cohabitation#cohabit__19|title=Definition of cohabit|website=oxforddictionaries.com|access-date=2019-11-12|archive-date=2016-04-26|archive-url=https://web.archive.org/web/20160426113336/http://www.oxforddictionaries.com/definition/english/cohabit?q=cohabitation#cohabit__19|dead-url=yes}}</ref> ਅੰਗਰੇਜ਼ੀ ਪਦ ''cohabitation'' ਦਾ ਮੁੱਢ ''cohabit ਤੋਂ'' 16 ਵੀਂ ਸਦੀ ਦੇ ਮੱਧ ਤੋਂ ਹੈ। ਇਹ ਲਾਤੀਨੀ ''cohabitare'' ਤੋਂ, ਕੋ - ਇਕਠੇ + Habitare 'ਵੱਸਣਾ'।
== ਵਧਣ ਵੱਲ ਲਿਜਾ ਰਹੀਆਂ ਸਮਾਜਿਕ ਤਬਦੀਲੀਆਂ ==
[[ਤਸਵੀਰ:Percentage of birth to unmarried women, selected countries, 1980 and 2007.svg|alt=|thumb|440x440px|ਅਣਵਿਆਹੀਆਂ,ਔਰਤਾਂ ਵਲੋਂ, ਚੁਣੇ ਹੋਏ ਦੇਸ਼ਾਂ, 1980 ਅਤੇ 2007 ਦੇ ਬਾਲਾਂ ਨੂੰ ਜਨਮ ਦੇਣ ਦੀ ਪ੍ਰਤੀਸ਼ਤਤਾ<ref name="non_mar1">{{Cite web|url=https://www.cdc.gov/nchs/data/databriefs/db18.htm|title=Changing Patterns of Nonmarital Childbearing in the United States|date=13 May 2009|website=CDC/National Center for Health Statistics|access-date=24 September 2011}}</ref>]]
ਅੱਜ, ਪੱਛਮੀ ਸੰਸਾਰ ਦੇ ਲੋਕਾਂ ਵਿੱਚ ਸਹਿਵਾਸ ਇੱਕ ਆਮ ਪੈਟਰਨ ਹੈ।
ਯੂਰਪ ਵਿਚ, [[ਸਕੈਂਡੀਨੇਵੀਆ|ਸਕੈਨਡੇਨੇਵੀਆਈ]] ਦੇਸ਼ ਇਸ ਪ੍ਰਮੁੱਖ ਰੁਝਾਨ ਦੀ ਸ਼ੁਰੂਆਤ ਕਰਨ ਵਾਲੇ ਸਭ ਤੋਂ ਮੋਹਰੀ ਰਹੇ ਹਨ, ਹਾਲਾਂਕਿ ਬਹੁਤ ਸਾਰੇ ਦੇਸ਼ ਉਸ ਤੋਂ ਬਾਅਦ ਇਸ ਰਾਹ ਤੁਰੇ ਹਨ।<ref>{{Cite web|url=http://paa2011.princeton.edu/papers/110852|title=The realization of marriage plans among cohabiting couples in Scandinavia|website=[[Princeton University]]|access-date=11 February 2019|archive-date=22 ਸਤੰਬਰ 2020|archive-url=https://web.archive.org/web/20200922163100/https://paa2011.princeton.edu/papers/110852|dead-url=yes}}</ref> ਮੈਡੀਟੇਰੀਅਨ ਯੂਰਪ ਰਵਾਇਤੀ ਤੌਰ 'ਤੇ ਬਹੁਤ ਰੂੜ੍ਹੀਵਾਦੀ ਰਿਹਾ ਹੈ, ਧਰਮ ਦੀ ਮਜ਼ਬੂਤ ਭੂਮਿਕਾ ਰਹੀ ਹੈ। 1990 ਦੇ ਦਹਾਕੇ ਦੇ ਮੱਧ ਤਕ, ਇਸ ਖੇਤਰ ਵਿੱਚ ਸਹਿਵਾਸੀ ਪੱਧਰ ਬਹੁਤ ਘੱਟ ਸਨ, ਪਰੰਤੂ ਇਸ ਤੋਂ ਬਾਅਦ ਇਸ ਵਿੱਚ ਵਾਧਾ ਹੋਇਆ ਹੈ।<ref>{{Cite web|url=https://www.academia.edu/5467158|title=Cohabitation in Spain: No longer a marginal path to family formation|last=Teresa Castro Martin|access-date=22 August 2015}}</ref>
ਪਿਛਲੇ ਦਹਾਕਿਆਂ ਦੌਰਾਨ, ਪੱਛਮੀ ਦੇਸ਼ਾਂ ਵਿਚ, ਅਣਵਿਆਹੇ ਜੋੜਿਆਂ ਦੇ ਸਹਿਵਾਸ ਵਿੱਚ ਰਹਿਣ ਵਿੱਚ ਤਕੜਾ ਵਾਧਾ ਹੋਇਆ ਹੈ। ਇਤਿਹਾਸਕ ਤੌਰ 'ਤੇ, ਬਹੁਤ ਸਾਰੇ ਪੱਛਮੀ ਦੇਸ਼ ਸੈਕਸ ਬਾਰੇ ਈਸਾਈ ਸਿਧਾਂਤਾਂ ਤੋਂ ਪ੍ਰਭਾਵਿਤ ਹਨ, ਜੋ ਕਿ ਅਣਵਿਆਹੇ ਜੋੜਿਆਂ ਦੇ ਸਹਿਵਾਸ ਦਾ ਵਿਰੋਧ ਕਰਦੇ ਹਨ। ਜਿਵੇਂ ਜਿਵੇਂ ਸਮਾਜਕ ਨਿਯਮਾਂ ਵਿੱਚ ਤਬਦੀਲੀ ਆਈ ਹੈ, ਆਬਾਦੀ ਦੁਆਰਾ ਅਜਿਹੇ ਵਿਸ਼ਵਾਸ ਘੱਟ ਵਿਆਪਕ ਰੂਪ ਵਿੱਚ ਧਾਰਨ ਕਰ ਗਏ ਹਨ ਅਤੇ ਕੁਝ ਈਸਾਈ ਸੰਪ੍ਰਦਾਇ ਅੱਜਕੱਲ੍ਹ ਸਹਿਵਾਸ ਨੂੰ ਵਿਆਹ ਦਾ ਮੁਢ ਮੰਨਦੇ ਹਨ।<ref name="Taylor2005">{{Cite book|title=Religion and Life with Christianity|url=https://archive.org/details/religionlifewith0000tayl|last=Taylor|first=Ina|publisher=[[Heinemann (publisher)|Heinemann]]|year=2005|isbn=9780435302283|page=[https://archive.org/details/religionlifewith0000tayl/page/45 45]|quote=Some Protestant groups, although preferring sex to exist exclusively in a married relationship, understand times have changed. These Christians are prepared to accept cohabitation if it is a prelude to marriage.}}</ref> [[ਪੋਪ ਫ਼ਰਾਂਸਿਸ]] ਨੇ ਇੱਕ ਸਹਿਵਾਸੀ ਜੋੜਾ ਵਿਆਹ ਕੀਤਾ ਹੈ ਜਿਨ੍ਹਾਂ ਦੇ ਬੱਚੇ ਸਨ,<ref>{{Cite web|url=http://www.abc.net.au/news/2014-09-15/pope-francis-marries-20-couples-in-first-mass-papal-ceremony/5743838|title=Pope Francis breaks taboo by marrying cohabiting couples, conducts mass wedding ceremony|date=15 September 2014|website=ABC News|publisher=Australian Broadcasting Corporation}}</ref> ਜਦੋਂ ਕਿ ਕੈਂਟਰਬਰੀ ਦੇ ਸਾਬਕਾ ਆਰਚਬਿਸ਼ਪ ਰੋਵਾਨ ਵਿਲੀਅਮਜ਼<ref>{{Cite news|url=http://news.bbc.co.uk/2/hi/uk/2296151.stm|title=The no-sex 'myth'|date=3 October 2002|work=[[BBC News]]|access-date=11 February 2019|publisher=[[BBC]]|agency=[[Broadcasting House]]|issue=1|location=[[London|London, United Kingdom]]|quote=An absolute declaration that every sexual partnership must conform to the pattern of commitment or else have the nature of sin and nothing else is unreal and silly.}}</ref> ਅਤੇ ਯੌਰਕ ਦੇ ਆਰਚਬਿਸ਼ਪ ਜੌਨ ਸੇਂਟਾਮੂ ਨੇ ਸਹਿਵਾਸ ਪ੍ਰਤੀ ਸਹਿਣਸ਼ੀਲਤਾ ਦਾ ਪ੍ਰਗਟਾਵਾ ਕੀਤਾ ਹੈ।<ref>{{Cite news|url=https://www.telegraph.co.uk/news/uknews/royal-wedding/8481736/Royal-wedding-Archbishop-backs-William-and-Kates-decision-to-live-together-before-marriage.html|title=Royal wedding: Archbishop backs William and Kate's decision to live together before marriage|last=Ross|first=Tim|date=29 April 2011|work=The Telegraph|access-date=3 August 2013|last2=Wynne-Jones|first2=Jonathan|location=London|last3=Rayner|first3=Gordon}}</ref>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
[[ਸ਼੍ਰੇਣੀ:ਪਰਿਵਾਰ]]
tiqd04t286nlwxqy6nqvrrp8rr8qyd1
ਲੈਕ ਵੌਸਾ
0
122649
849441
849378
2026-10-09T05:24:24Z
Kuldeepburjbhalaike
18176
849441
wikitext
text/x-wiki
{{Infobox officeholder|name=Lech Wałęsa|image=Lech_Walesa_-_2009.jpg|caption=Wałęsa in 2009|office=2nd [[List of heads of state of Poland#Presidents of the Third Republic|President of Poland]]|primeminister=[[Tadeusz Mazowiecki]]<br />[[Jan Krzysztof Bielecki]]<br />[[Jan Olszewski]]<br />[[Waldemar Pawlak]]<br />[[Hanna Suchocka]]<br />[[Waldemar Pawlak]]<br />[[Józef Oleksy]]|term_start=22 December 1990|term_end=22 December 1995|predecessor=[[Wojciech Jaruzelski]] (de facto) <br/> [[Ryszard Kaczorowski]] (as last Polish President-in-exile)|successor=[[Aleksander Kwaśniewski]]|office2=[[Solidarity (Polish trade union)|Chairperson of Solidarity]]|term_start2=14 August 1980|term_end2=12 December 1990|predecessor2=Position established|successor2=[[Marian Krzaklewski]]|birth_date={{birth date and age|1943|9|29|df=y}}|birth_place=[[Popowo, Gmina Tłuchowo|Popowo]], [[Reichsgau Danzig-West Prussia]], [[Nazi Germany|Greater German Reich]] (today in [[Poland]])|death_date=|death_place=|otherparty=[[Solidarity (Polish trade union)|Solidarity]] {{small|(1980–1988)}}<br />[[Solidarity Citizens' Committee]] {{small|(1988–1993)}}<br />[[Nonpartisan Bloc for Support of Reforms]] {{small|(1993–1997)}}<br />[[Solidarity Electoral Action]] {{small|(1997–2001)}}<br />[[Christian Democracy of the 3rd Polish Republic]] {{small|(1997–2001)}}|occupation=Electrician|spouse={{marriage|[[Danuta Wałęsa|Mirosława Danuta Gołoś]]|8 November 1969}}|children=8, including [[Jarosław Wałęsa|Jarosław]]|parents=Bolesław Wałęsa<br />Feliksa Kamieńska|signature=Lech Walesa Signature.svg}} '''ਲੈਕ ਵੌਸਾ''' (ਜਨਮ 29 ਸਤੰਬਰ 1943) ਇੱਕ ਪੋਲਿਸ਼ ਰਾਜਨੀਤੀਵਾਨ, ਅਸਹਿਮਤ, ਯੂਨੀਅਨ ਪ੍ਰਬੰਧਕ, ਅਤੇ [[ਨੋਬਲ ਸ਼ਾਂਤੀ ਇਨਾਮ|ਨੋਬਲ ਸ਼ਾਂਤੀ ਪੁਰਸਕਾਰ]] ਜੇਤੂ (1983) ਹੈ। ਵਪਾਰ ਦੁਆਰਾ ਇਕ ਸਮੁੰਦਰੀ ਜਹਾਜ਼ ਦਾ ਇਲੈਕਟ੍ਰੀਸ਼ੀਅਨ, ਉਹ ਇਕਜੁਟਤਾ (ਐਨਐਸਜ਼ੈਡਜ਼ "ਸੋਲਿਡਾਰਨੋ") ਦਾ ਆਗੂ ਬਣ ਗਿਆ, ਇੱਕ ਸੁਤੰਤਰਤਾ-ਅਧਾਰਤ ਸਮਾਜਿਕ ਲਹਿਰ ਅਤੇ ਟਰੇਡ ਯੂਨੀਅਨ, ਅਤੇ ਬਾਅਦ ਵਿਚ ਪੋਲੈਂਡ ਦੇ ਪਹਿਲੇ ਲੋਕਤੰਤਰੀ-ਚੁਣੇ ਰਾਸ਼ਟਰਪਤੀ (1990-1995) ਵਜੋਂ ਸੇਵਾ ਕਰਦਾ ਰਿਹਾ। ਉਸਦੇ ਅਹਿੰਸਾਵਾਦੀ ਸੰਘਰਸ਼ ਨੇ ਆਖਰਕਾਰ ਪੋਲੈਂਡ ਵਿੱਚ ਕਮਿਊਨਿਸਟ ਸ਼ਾਸਨ ਦਾ ਅੰਤ ਕਰ ਦਿੱਤਾ ਅਤੇ ਆਇਰਨ ਪਰਦੇ ਦੇ ਪਤਨ ਦੇ ਸਮੇਂ ਸ਼ੁਰੂ ਹੋ ਗਿਆ। <ref>{{Cite web|url=https://www.wsj.com/articles/polands-new-nationalist-rulers-are-erasing-lech-walesa-from-history-1516636420|title=Poland’s New Nationalist Rulers Are Erasing Lech Walesa From History|last=Walker|first=Drew Hinshaw and Marcus|website=WSJ|language=en-US|access-date=2019-09-01}}</ref> <ref>{{Cite web|url=https://freedomcenter.org/IFCA/about-lech-walesa|title=About Lech Walesa {{!}} National Underground Railroad Freedom Center|website=freedomcenter.org|access-date=2019-09-01|archive-date=2019-09-01|archive-url=https://web.archive.org/web/20190901212949/https://freedomcenter.org/IFCA/about-lech-walesa|dead-url=yes}}</ref> <ref>{{Cite web|url=https://www.britannica.com/biography/Lech-Walesa|title=Lech Walesa {{!}} Biography, Solidarity, Nobel Prize, & Facts|website=Encyclopedia Britannica|language=en|access-date=2019-09-01}}</ref>
ਲੈਨਿਨ ਸ਼ਿਪਯਾਰਡ (ਹੁਣ ਗਦਾਸਕ ਸਿਪਯਾਰਡ) ਵਿਖੇ ਕੰਮ ਕਰਦੇ ਸਮੇਂ, ਇਕ ਇਲੈਕਟ੍ਰੀਸ਼ੀਅਨ ਵਾਸਾ ਇਕ ਟ੍ਰੇਡ-ਯੂਨੀਅਨ ਕਾਰਕੁਨ ਬਣ ਗਿਆ, ਜਿਸ ਕਾਰਨ ਉਸ ਨੂੰ ਕਮਿਊਨਿਸਟ ਅਧਿਕਾਰੀਆਂ ਦੁਆਰਾ ਸਤਾਇਆ ਗਿਆ, ਜਿਸ ਨੂੰ ਨਿਗਰਾਨੀ ਅਧੀਨ ਰੱਖਿਆ ਗਿਆ ਸੀ, ਨੂੰ 1976 ਵਿਚ ਨੌਕਰੀ ਤੋਂ ਹਟਾ ਦਿੱਤਾ ਗਿਆ ਅਤੇ ਕਈ ਵਾਰ ਗ੍ਰਿਫਤਾਰ ਕੀਤਾ ਗਿਆ। ਅਗਸਤ 1980 ਵਿਚ ਉਹ ਰਾਜਨੀਤਿਕ ਗੱਲਬਾਤ ਵਿਚ ਅਹਿਮ ਭੂਮਿਕਾ ਨਿਭਾਉਂਦਾ ਰਿਹਾ ਜਿਸ ਕਾਰਨ ਹੜਤਾਲ ਕਰਨ ਵਾਲੇ ਮਜ਼ਦੂਰਾਂ ਅਤੇ ਸਰਕਾਰ ਵਿਚਾਲੇ ਗਰੇਡਸਕ ਸਮਝੌਤਾ ਹੋਇਆ ਸੀ। ਉਸਨੇ ਇਕਜੁੱਟਤਾ ਟਰੇਡ ਯੂਨੀਅਨ ਲਹਿਰ ਦੀ ਸਹਿ-ਸਥਾਪਨਾ ਕੀਤੀ।
ਪੋਲੈਂਡ ਵਿਚ ਮਾਰਸ਼ਲ ਲਾਅ ਲਗਾਏ ਜਾਣ ਤੋਂ ਬਾਅਦ ਅਤੇ ਏਕਤਾ ਨੂੰ ਗੈਰਕਾਨੂੰਨੀ ਠਹਿਰਾਉਣ ਤੋਂ ਬਾਅਦ, ਵੌਸਾ ਨੂੰ ਫਿਰ ਗ੍ਰਿਫ਼ਤਾਰ ਕਰ ਲਿਆ ਗਿਆ। ਹਿਰਾਸਤ ਤੋਂ ਰਿਹਾ ਹੋਣ ਤੇ, ਉਸਨੇ ਆਪਣੀ ਸਰਗਰਮੀ ਜਾਰੀ ਰੱਖੀ ਅਤੇ 1989 ਦੇ ਗੋਲ ਟੇਬਲ ਸਮਝੌਤੇ ਦੀ ਸਥਾਪਨਾ ਵਿਚ ਪ੍ਰਮੁੱਖ ਸੀ, ਜਿਸ ਨਾਲ ਜੂਨ 1989 ਵਿਚ ਅਰਧ-ਮੁਕਤ ਪਾਰਲੀਮਾਨੀ ਚੋਣਾਂ ਹੋਈਆਂ ਅਤੇ ਇਕਜੁਟਤਾ ਦੀ ਅਗਵਾਈ ਵਾਲੀ ਸਰਕਾਰ ਬਣ ਗਈ।
1990 ਦੀ ਪੋਲੈਂਡ ਦੀ ਰਾਸ਼ਟਰਪਤੀ ਚੋਣ ਜਿੱਤਣ ਤੋਂ ਬਾਅਦ, ਵੌਸਾ ਪੋਲੈਂਡ ਦੀ ਪਹਿਲੀ ਰਾਸ਼ਟਰਪਤੀ ਬਣ ਗਈ ਹੈ ਜੋ ਇੱਕ ਮਸ਼ਹੂਰ ਵੋਟ ਵਿੱਚ ਚੁਣਿਆ ਗਿਆ ਹੈ। ਉਸ ਨੇ ਤੱਕ ਸਵੀਡਨ ਦਾ ਸਫਲ ਤਬਦੀਲੀ ਦੀ ਪ੍ਰਧਾਨਗੀ [[ਕਮਿਊਨਿਜ਼ਮ]] ਨੂੰ ਇੱਕ ਵਿੱਚ ਖੁੱਲ੍ਹੀ ਮੰਡੀ ਉਦਾਰਵਾਦੀ ਲੋਕਤੰਤਰ ਹੈ। <ref>{{Cite web|url=http://oecdobserver.org/news/archivestory.php/aid/212/Polands_successful_transition.html|title=Poland's successful transition - OECD Observer|website=oecdobserver.org|access-date=2019-09-21|archive-date=2019-09-21|archive-url=https://web.archive.org/web/20190921150630/http://oecdobserver.org/news/archivestory.php/aid/212/Polands_successful_transition.html|dead-url=yes}}</ref> <ref>{{Cite web|url=https://www.worldbank.org/en/news/opinion/2015/02/12/how-poland-became-europes-growth-champion-insights-from-the-successful-post-socialist-transition|title=How Poland Became Europe’s Growth Champion: Insights from the Successful Post-Socialist Transition|website=World Bank|language=en|access-date=2019-09-21|archive-date=2022-05-30|archive-url=https://web.archive.org/web/20220530112536/https://www.worldbank.org/en/news/opinion/2015/02/12/how-poland-became-europes-growth-champion-insights-from-the-successful-post-socialist-transition|url-status=dead}}</ref> <ref>{{Cite web|url=https://www.cfr.org/expert-brief/poland|title=Poland|website=Council on Foreign Relations|language=en|access-date=2019-09-21}}</ref>
ਵਿਸ਼ੇਸ਼ ਲਾਲਸਾ ਦੀ ਅਦਾਲਤ ਨੇ ਉਸਦੀ ਬੇਗੁਨਾਹਤਾ ਦੀ ਪੁਸ਼ਟੀ ਕਰਦਿਆਂ 2000 ਦੇ ਫੈਸਲੇ ਦੇ ਬਾਵਜੂਦ, ਕਈ ਸਾਲਾਂ ਤੋਂ ਇਹ ਦੋਸ਼ ਲਗਾਏ ਜਾ ਰਹੇ ਹਨ ਕਿ ਵਾਸਾ ਆਪਣੇ ਵੀਹਵਿਆਂ ਦੇ ਦਹਾਕਿਆਂ ਵਿਚ ਕਮਿਊਨਿਸਟ ਸੁਰੱਖਿਆ ਸੇਵਾਵਾਂ, ਸਾਉਬਾਬਾ ਬੇਜ਼ਪੀਸੈਸਟਵਾ ਦਾ ਜਾਣਕਾਰ ਸੀ। <ref>{{Cite web|url=https://www.britannica.com/biography/Lech-Walesa|title=Lech Walesa {{!}} Biography, Solidarity, Nobel Prize, & Facts|website=Encyclopedia Britannica|language=en}}</ref> ਨਿਯਮਤ ਐਸਬੀ ਮੁਖਬਰ ਹੋਣ ਦੀ ਸਖਤ ਤੋਂ ਇਨਕਾਰ ਕਰਦਿਆਂ, ਵੌਸਾ ਨੇ ਮੰਨਿਆ ਕਿ "1970 ਦੇ ਦਰਮਿਆਨ ਪੁੱਛਗਿੱਛ ਅਧੀਨ ਕਿਸੇ ਚੀਜ਼ 'ਤੇ ਦਸਤਖਤ ਕਰਨੇ"। <ref>{{Cite book|url=https://www.worldcat.org/oclc/50804967|title=The Polish revolution : Solidarity|last=Garton Ash, Timothy.|date=2002|publisher=Yale University Press|isbn=0300095686|edition=3rd|location=New Haven|oclc=50804967}}</ref> 2017 ਵਿਚ, ਸਰਕਾਰ ਦੁਆਰਾ ਨਿਯੰਤਰਿਤ ਰਾਸ਼ਟਰੀ ਯਾਦਗਾਰ ਸੰਸਥਾ ਦੁਆਰਾ ਲਿਖਤ ਇਕ ਲਿਖਤ ਅਧਿਐਨ ਵਿਚ ਕਿਹਾ ਗਿਆ ਸੀ ਕਿ 1970 ਦੇ ਦਹਾਕੇ ਤੋਂ ਕਈ ਦਸਤਾਵੇਜ਼ਾਂ 'ਤੇ ਦਸਤਖਤ ਵਾਸਾ ਨਾਲ ਸਬੰਧਤ ਸਨ। <ref name="INR">{{Cite news|url=https://www.reuters.com/article/us-poland-politics-walesa-idUSKBN15F16L|title=Institute says Poland's Walesa collaborated with Polish Security Service|date=31 January 2017|access-date=2 February 2017|agency=[[Reuters]]}}</ref> ਐਸਬੀ ਨਾਲ ਅੱਜ ਤਕ ਵਾਅਸਾ ਦੇ ਰਿਸ਼ਤੇ ਦਾ ਸਹੀ ਸੁਭਾਅ ਇਤਿਹਾਸਕਾਰਾਂ ਵਿਚ ਵਿਵਾਦਪੂਰਨ ਸਵਾਲ ਬਣਿਆ ਹੋਇਆ ਹੈ। <ref>{{Cite web|url=https://www.theatlantic.com/international/archive/2016/02/lech-walesa-law-and-justice-poland/471366/|title=Don't Panic About Poland|last=Karatnycky|first=Adrian|date=2016-02-29|website=The Atlantic|language=en-US|access-date=2019-09-21}}</ref> <ref>{{Cite web|url=https://www.dzieje.pl/wideo/prof-dudek-ujawnienie-wspolpracy-l-walesy-z-sb-nie-obciaza-jego-wizerunku-jako|title=Prof. A. Dudek: Ujawnienie współpracy L. Wałęsy z SB nie obciąża jego wizerunku jako przywódcy Solidarności|website=dzieje.pl|language=pl|access-date=2019-09-21|archive-date=2019-09-21|archive-url=https://web.archive.org/web/20190921150633/https://www.dzieje.pl/wideo/prof-dudek-ujawnienie-wspolpracy-l-walesy-z-sb-nie-obciaza-jego-wizerunku-jako|dead-url=yes}}</ref>
1980 ਤੋਂ, ਵੌਸਾ ਨੂੰ ਦੁਨੀਆ ਦੇ ਕਈ ਦੇਸ਼ਾਂ ਤੋਂ ਸੈਂਕੜੇ ਇਨਾਮ, ਸਨਮਾਨ ਅਤੇ ਪੁਰਸਕਾਰ ਮਿਲ ਚੁੱਕੇ ਹਨ। ਉਸਨੂੰ 20 ਵੀਂ ਸਦੀ (1999) ਦੇ ਟਾਈਮ ਦੇ 100 ਸਭ ਤੋਂ ਮਹੱਤਵਪੂਰਣ ਵਿਅਕਤੀਆਂ ਵਿਚੋਂ ਇਕ, ਟਾਈਮ ਪਰਸਨ ਆਫ਼ ਦਿ ਈਅਰ (1981) ਦੇ ਨਾਮ ਨਾਲ ਨਿਵਾਜਿਆ ਗਿਆ ਸੀ, ਜਿਸ ਨੂੰ ਚਾਲੀ ਤੋਂ ਵੱਧ ਆਨਰੇਰੀ ਡਿਗਰੀਆਂ ਪ੍ਰਾਪਤ ਹੋਈਆਂ, ਜਿਸ ਵਿਚ [[ਹਾਰਵਰਡ ਯੂਨੀਵਰਸਿਟੀ]] ਅਤੇ [[ਕੋਲੰਬੀਆ ਯੂਨੀਵਰਸਿਟੀ]] ਅਤੇ ਨਾਲ ਹੀ ਦਰਜਨਾਂ ਉੱਚਤਮ ਰਾਜ ਆਦੇਸ਼ ਸ਼ਾਮਲ ਸਨ: ਰਾਸ਼ਟਰਪਤੀ ਮੈਡਲ ਆਫ ਫਰੀਡਮ, ਨਾਈਟ ਗ੍ਰੈਂਡ ਕ੍ਰਾਸ ਦਾ ਬ੍ਰਿਟਿਸ਼ ਆਰਡਰ ਆਫ਼ ਬਾਥ ਜਾਂ ਫ੍ਰੈਂਚ ਦਾ ਗ੍ਰੈਂਡ ਕ੍ਰਾਸ ਆਫ ਲੀਜੀਅਨ ਉਫ ਆਨਰ . <ref>{{Cite news|url=https://www.nytimes.com/1989/11/14/world/solidarity-s-envoy-bush-give-walesa-medal-of-freedom.html|title=Solidarity's Envoy; BUSH GIVE WALESA MEDAL OF FREEDOM|last=Dowd|first=Maureen|date=1989-11-14|work=The New York Times|access-date=2019-09-21|last2=Times|first2=Special To the New York|language=en-US|issn=0362-4331}}</ref> <ref>{{Cite web|url=http://www.independent.org/aboutus/person_detail.asp?id=1531|title=Lech Wałęsa|website=The Independent Institute|access-date=2019-09-21}}</ref> 1989 ਵਿਚ, ਵੌਸਾ ਅਮਰੀਕੀ ਕਾਂਗਰਸ ਦੀ ਸਾਂਝੀ ਬੈਠਕ ਨੂੰ ਸੰਬੋਧਿਤ ਕਰਨ ਵਾਲਾ ਪਹਿਲਾ ਵਿਦੇਸ਼ੀ ਗੈਰ-ਮੁਖੀ ਸੀ। <ref>{{Cite web|url=https://history.house.gov/Institution/Foreign-Leaders/Fast-Facts/|title=Fast Facts {{!}} US House of Representatives: History, Art & Archives|website=history.house.gov|language=en|access-date=2019-09-21}}</ref> 1995 ਵਿਚ ਉਸਨੇ ਲੈਕ ਵਾłęਸਾ ਇੰਸਟੀਚਿਊਟ <ref name=":0">{{Cite web|url=https://www.ilw.org.pl/en/about-foundation|title=About foundation • Fundacja Instytut Lecha Wałęsy|website=www.ilw.org.pl|language=en|access-date=2019-10-26}}</ref> ਸਥਾਪਨਾ ਕੀਤੀ. ਗਡਾਂਸਕ ਲੈਕ ਵੌਸਾ ਏਅਰਪੋਰਟ 2004 ਤੋਂ ਉਸਦਾ ਨਾਮ ਹੈ।
[[ਤਸਵੀਰ:Strajk_sierpniowy_w_Stoczni_Gdańskiej_im._Lenina_22.jpg|right|thumb|Wałęsa (1980)]]
== ਹਵਾਲੇ ==
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
[[ਸ਼੍ਰੇਣੀ:ਜਨਮ 1943]]
lddk59up801lf340vifb1nybtkm60wr
ਵਰਤੋਂਕਾਰ:Gnoeee/ਕੱਚਾ ਖਾਕਾ
2
127042
849436
849070
2026-10-09T00:07:31Z
ListeriaBot
61041
Wikidata list updated [V2]
849436
wikitext
text/x-wiki
{{User sandbox}}
<!-- EDIT BELOW THIS LINE -->
== Test ==
{{Wikidata list|sparql=
SELECT ?item WHERE {
?item wdt:P31 wd:Q39715 .
?item (wdt:P131)* wd:Q55
}
|columns=label:Article,description,P131:Place
|section=
|min_section=
|wdedit=yes
}}
{| class='wikitable sortable wd_can_edit'
! Article
! description
! Place
|- class='wd_q28364957'
|class='wd_label'| ''[[:d:Q28364957|Lacre Punt Lighthouse]]''
|
|class='wd_p131'| [[ਬੋਨੇਅਰ]]
|- class='wd_q29509706'
|class='wd_label'| ''[[:d:Q29509706|Kralendijk Lighthouse]]''
|
|class='wd_p131'| [[ਬੋਨੇਅਰ]]<br/>''[[:d:Q331584|Kralendijk]]''
|- class='wd_q29509775'
|class='wd_label'| ''[[:d:Q29509775|Malmok Lighthouse]]''
|
|class='wd_p131'| [[ਬੋਨੇਅਰ]]
|- class='wd_q58035221'
|class='wd_label'| ''[[:d:Q58035221|Ceru Bentana. Lighthouse]]''
|
|class='wd_p131'| [[ਬੋਨੇਅਰ]]
|- class='wd_q58035955'
|class='wd_label'| ''[[:d:Q58035955|Boca Spelonk Lighthouse]]''
|
|class='wd_p131'| [[ਬੋਨੇਅਰ]]
|- class='wd_q42303960'
|class='wd_label'| ''[[:d:Q42303960|Academiesingel lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q9822|Breda]]''
|- class='wd_q66741687'
|class='wd_label'| ''[[:d:Q66741687|Vuurtoren Willemstad, North Brabant]]''
|
|class='wd_p131'| ''[[:d:Q9854|Moerdijk]]''
|- class='wd_q2921152'
|class='wd_label'| ''[[:d:Q2921152|Lighthouse Hoek van 't IJ]]''
|
|class='wd_p131'| ''[[:d:Q9899|Amsterdam]]''
|- class='wd_q2778629'
|class='wd_label'| ''[[:d:Q2778629|J.C.J. van Speijk Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q9901|Bergen]]''
|- class='wd_q1120326'
|class='wd_label'| ''[[:d:Q1120326|Lange Jaap]]''
|
|class='wd_p131'| ''[[:d:Q9911|Den Helder]]''
|- class='wd_q1180435'
|class='wd_label'| ''[[:d:Q1180435|De Ven]]''
|
|class='wd_p131'| ''[[:d:Q9918|Enkhuizen]]''
|- class='wd_q1847968'
|class='wd_label'| ''[[:d:Q1847968|harbour entrance light of Enkhuizen]]''
|
|class='wd_p131'| ''[[:d:Q9918|Enkhuizen]]''
|- class='wd_q2158333'
|class='wd_label'| ''[[:d:Q2158333|Den Oever Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q9936|Hollands Kroon]]''
|- class='wd_q2193605'
|class='wd_label'| ''[[:d:Q2193605|Groote Kaap]]''
|
|class='wd_p131'| ''[[:d:Q9955|Schagen]]''
|- class='wd_q1137560'
|class='wd_label'| ''[[:d:Q1137560|Eierland Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q9966|Texel]]''
|- class='wd_q2295936'
|class='wd_label'| ''[[:d:Q2295936|Paard van Marken]]''
|
|class='wd_p131'| ''[[:d:Q9971|Waterland]]''
|- class='wd_q2269203'
|class='wd_label'| ''[[:d:Q2269203|IJmuiden lower Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q9970|Velsen]]''
|- class='wd_q2972345'
|class='wd_label'| ''[[:d:Q2972345|Hoge vuurtoren van IJmuiden]]''
|
|class='wd_p131'| ''[[:d:Q9970|Velsen]]''
|- class='wd_q66882316'
|class='wd_label'| ''[[:d:Q66882316|Lighthouse of Zandvoort]]''
|
|class='wd_p131'| ''[[:d:Q9980|Zandvoort]]''
|- class='wd_q1138126'
|class='wd_label'| ''[[:d:Q1138126|Westerlichttoren]]''
|
|class='wd_p131'| ''[[:d:Q10079|Schouwen-Duiveland]]''
|- class='wd_q90155660'
|class='wd_label'| ''[[:d:Q90155660|Hansweert Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q10078|Reimerswaal]]''
|- class='wd_q1352690'
|class='wd_label'| ''[[:d:Q1352690|Nieuwe Sluis]]''
|
|class='wd_p131'| ''[[:d:Q10080|Sluis]]''
|- class='wd_q66882499'
|class='wd_label'| ''[[:d:Q66882499|Verklikkerlicht]]''
|
|class='wd_p131'| ''[[:d:Q10079|Schouwen-Duiveland]]''
|- class='wd_q66882794'
|class='wd_label'| ''[[:d:Q66882794|Hoge vuurtoren van Noord-Schouwen]]''
|
|class='wd_p131'| ''[[:d:Q10079|Schouwen-Duiveland]]''
|- class='wd_q66882927'
|class='wd_label'| ''[[:d:Q66882927|Lage vuurtoren van Noord-Schouwen]]''
|
|class='wd_p131'| ''[[:d:Q10079|Schouwen-Duiveland]]''
|- class='wd_q28470871'
|class='wd_label'| ''[[:d:Q28470871|Kaapduinen rear lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q10083|Veere]]''
|- class='wd_q28470873'
|class='wd_label'| ''[[:d:Q28470873|Kaapduinen front lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q10083|Veere]]''
|- class='wd_q1423636'
|class='wd_label'| ''[[:d:Q1423636|Noorderhoofd]]''
|
|class='wd_p131'| ''[[:d:Q10083|Veere]]''
|- class='wd_q1821477'
|class='wd_label'| ''[[:d:Q1821477|Westkapelle Hoog]]''
|
|class='wd_p131'| ''[[:d:Q10083|Veere]]''
|- class='wd_q2257394'
|class='wd_label'| ''[[:d:Q2257394|Lichtopstand Zoutelande]]''
|
|class='wd_p131'| ''[[:d:Q10083|Veere]]''
|- class='wd_q28916435'
|class='wd_label'| ''[[:d:Q28916435|Lichtopstand De Nolle]]''
|
|class='wd_p131'| ''[[:d:Q10084|Vlissingen]]''
|- class='wd_q2743993'
|class='wd_label'| ''[[:d:Q2743993|Scheveningen Lighthouse]]''
|
|class='wd_p131'| [[ਹੇਗ]]
|- class='wd_q28492063'
|class='wd_label'| ''[[:d:Q28492063|Scheveningen North Mole Light]]''
|
|class='wd_p131'| [[ਹੇਗ]]
|- class='wd_q28492346'
|class='wd_label'| ''[[:d:Q28492346|Scheveningen South Mole Light]]''
|
|class='wd_p131'| [[ਹੇਗ]]
|- class='wd_q34443573'
|class='wd_label'| ''[[:d:Q34443573|Scheveningen Pier Light]]''
|
|class='wd_p131'| [[ਹੇਗ]]
|- class='wd_q15697454'
|class='wd_label'| ''[[:d:Q15697454|Vischpoort]]''
|
|class='wd_p131'| ''[[:d:Q58931|Harderwijk]]''
|- class='wd_q2797912'
|class='wd_label'| ''[[:d:Q2797912|Vischpoort]]''
|
|class='wd_p131'| ''[[:d:Q165662|Elburg]]''
|- class='wd_q897813'
|class='wd_label'| ''[[:d:Q897813|Brandaris]]''
|
|class='wd_p131'| ''[[:d:Q204412|Terschelling]]''
|- class='wd_q939914'
|class='wd_label'| ''[[:d:Q939914|Vuurduin]]''
|
|class='wd_p131'| ''[[:d:Q207851|Vlieland]]''
|- class='wd_q228633'
|class='wd_label'| ''[[:d:Q228633|Zuidertoren]]''
|
|class='wd_p131'| ''[[:d:Q208011|Schiermonnikoog]]''
|- class='wd_q748679'
|class='wd_label'| ''[[:d:Q748679|North Tower]]''
|
|class='wd_p131'| ''[[:d:Q208011|Schiermonnikoog]]''
|- class='wd_q17605654'
|class='wd_label'| ''[[:d:Q17605654|Van Speyk Light Beacon]]''
|
|class='wd_p131'| ''[[:d:Q210007|Vlaardingen]]''
|- class='wd_q2549659'
|class='wd_label'| ''[[:d:Q2549659|Ameland Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q208259|Ameland]]''
|- class='wd_q2259688'
|class='wd_label'| ''[[:d:Q2259688|Vuurbaak Katwijk]]''
|
|class='wd_p131'| ''[[:d:Q208764|Katwijk]]''
|- class='wd_q58206150'
|class='wd_label'| ''[[:d:Q58206150|Oranjestad Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q217610|Oranjestad]]''
|- class='wd_q2540813'
|class='wd_label'| ''[[:d:Q2540813|Urk Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q273746|Urk]]''
|- class='wd_q2658194'
|class='wd_label'| ''[[:d:Q2658194|Noordwijk Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q455464|Noordwijk]]''
|- class='wd_q58206007'
|class='wd_label'| ''[[:d:Q58206007|St. John's Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q475718|The Bottom]]''
|- class='wd_q2514617'
|class='wd_label'| ''[[:d:Q2514617|Westhoofd Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q933459|Goeree-Overflakkee]]''
|- class='wd_q66882436'
|class='wd_label'| ''[[:d:Q66882436|Vuurtoren aan het Flaauwe Werk]]''
|
|class='wd_p131'| ''[[:d:Q933459|Goeree-Overflakkee]]''
|- class='wd_q34445514'
|class='wd_label'| ''[[:d:Q34445514|Nieuwendijk Range Rear]]''
|
|class='wd_p131'| ''[[:d:Q952194|Korendijk]]''
|- class='wd_q34449521'
|class='wd_label'| ''[[:d:Q34449521|Nieuwendijk Range Front]]''
|
|class='wd_p131'| ''[[:d:Q952194|Korendijk]]''
|- class='wd_q1143857'
|class='wd_label'| ''[[:d:Q1143857|Stavoren Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q1473276|Súdwest-Fryslân]]''
|- class='wd_q2741100'
|class='wd_label'| ''[[:d:Q2741100|Workum Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q1473276|Súdwest-Fryslân]]''
|- class='wd_q28806369'
|class='wd_label'| ''[[:d:Q28806369|Stavoren South Pierhead Light]]''
|
|class='wd_p131'| ''[[:d:Q1473276|Súdwest-Fryslân]]''
|- class='wd_q28806370'
|class='wd_label'| ''[[:d:Q28806370|Stavoren North Pierhead Light]]''
|
|class='wd_p131'| ''[[:d:Q1473276|Súdwest-Fryslân]]''
|- class='wd_q1877806'
|class='wd_label'| ''[[:d:Q1877806|Harlingen Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q2536628|Harlingen]]''
|- class='wd_q1137592'
|class='wd_label'| ''[[:d:Q1137592|Maasvlakte Light]]''
|
|class='wd_p131'| ''[[:d:Q2680952|Rotterdam]]''
|- class='wd_q16902805'
|class='wd_label'| ''[[:d:Q16902805|Low Light of the Hook of Holland]]''
|
|class='wd_p131'| ''[[:d:Q2680952|Rotterdam]]''
|- class='wd_q17439848'
|class='wd_label'| ''[[:d:Q17439848|Hoek van Holland Vuurtoren]]''
|
|class='wd_p131'| ''[[:d:Q2680952|Rotterdam]]''
|- class='wd_q28600745'
|class='wd_label'| ''[[:d:Q28600745|Hoek Van Holland Range Front]]''
|
|class='wd_p131'| ''[[:d:Q2680952|Rotterdam]]''
|- class='wd_q28600746'
|class='wd_label'| ''[[:d:Q28600746|Hoek Van Holland Range Rear]]''
|
|class='wd_p131'| ''[[:d:Q2680952|Rotterdam]]''
|- class='wd_q28604096'
|class='wd_label'| ''[[:d:Q28604096|Europoort Low Light]]''
|
|class='wd_p131'| ''[[:d:Q2680952|Rotterdam]]''
|- class='wd_q28604097'
|class='wd_label'| ''[[:d:Q28604097|Europoort High Light]]''
|
|class='wd_p131'| ''[[:d:Q2680952|Rotterdam]]''
|- class='wd_q28604301'
|class='wd_label'| ''[[:d:Q28604301|Vuurtoren Maasmond Hoog]]''
|
|class='wd_p131'| ''[[:d:Q2680952|Rotterdam]]''
|- class='wd_q28604302'
|class='wd_label'| ''[[:d:Q28604302|Vuurtoren Maasmond Laag]]''
|
|class='wd_p131'| ''[[:d:Q2680952|Rotterdam]]''
|- class='wd_q2334542'
|class='wd_label'| ''[[:d:Q2334542|Watum Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q97055892|Eemsdelta]]''
|- class='wd_q2609558'
|class='wd_label'| ''[[:d:Q2609558|Delfzijl Lighthouse (1888)]]''
|
|class='wd_p131'| ''[[:d:Q97055892|Eemsdelta]]''
|- class='wd_q3970355'
|class='wd_label'| ''[[:d:Q3970355|Delfzijl Lighthouse (1949)]]''
|
|class='wd_p131'| ''[[:d:Q97055892|Eemsdelta]]''
|- class='wd_q17447912'
|class='wd_label'| ''[[:d:Q17447912|Lighthouse of Oostvoorne]]''
|
|class='wd_p131'| ''[[:d:Q106436626|Voorne aan Zee]]''
|- class='wd_q2215732'
|class='wd_label'| ''[[:d:Q2215732|Hellevoetsluis Lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q106436626|Voorne aan Zee]]''
|- class='wd_q2577060'
|class='wd_label'| ''[[:d:Q2577060|Stenen Baak]]''
|
|class='wd_p131'| ''[[:d:Q106436626|Voorne aan Zee]]''
|- class='wd_q2278417'
|class='wd_label'| ''[[:d:Q2278417|Lemmer replica lighthouse]]''
|
|class='wd_p131'| ''[[:d:Q144091|Lemmer]]''
|- class='wd_q123107788'
|class='wd_label'| ''[[:d:Q123107788|Maasmond North Mole]]''
|
|class='wd_p131'| ''[[:d:Q34370|Rotterdam]]''
|- class='wd_q17598817'
|class='wd_label'| ''[[:d:Q17598817|Strijensas Lichtopstand]]''
|
|class='wd_p131'| ''[[:d:Q858607|Strijen]]''<br/>''[[:d:Q2627301|Strijensas]]''
|}
{{Wikidata list end}}
c7obo69qe0nqxwle9pcqmf0a0qb7gwk
ਬੇਲਾ ਹਦੀਦ
0
132030
849437
785200
2026-10-09T00:19:04Z
Dostojewskij
8464
ਸ਼੍ਰੇਣੀ:ਜਨਮ 1996
849437
wikitext
text/x-wiki
{{Infobox model
| name = Bella Hadid
| image = Bella Hadid at the 2026 Cannes Film Festival 01.jpg
| caption = Hadid in 2026
| birth_name = Isabella Khair Hadid
| birth_date = {{birth date and age|1996|10|09}}
| birth_place = [[Washington, D.C.]], U.S.
| residence =
| occupation = Model
| years_active = 2012–present
| spouse = <!-- {{marriage|name|start|end}} -->
| parents = [[Mohamed Hadid]]<br/>[[Yolanda Hadid]]
| partner =
| relatives = [[Gigi Hadid]] (sister)
| height =
| haircolor = Brown<ref name="IMG">{{cite web|url=https://www.imgmodels.com/bellahadid|title=Bella Hadid|work=[[IMG Models]]|access-date=2021-01-11|archive-date=2020-07-12|archive-url=https://web.archive.org/web/20200712074309/https://www.imgmodels.com/bellahadid/|dead-url=yes}}</ref><br>Blonde (natural)<ref name="5 Things You Didn't Know About Bella Hadid">{{cite web|title=5 Things You Didn't Know About Bella Hadid|url=http://www.vogue.com/article/bella-hadid-5-things-you-didnt-know|website=Vogue|access-date=April 19, 2017|language=en|date=March 27, 2017|url-status=live|archive-url=https://web.archive.org/web/20170420143644/http://www.vogue.com/article/bella-hadid-5-things-you-didnt-know|archive-date=April 20, 2017|df=mdy-all}}</ref>
| eyecolor = Blue-green<ref name="IMG" />
| manager = [[IMG Models]]<ref name="IMG" /><ref name="Models.com">{{cite web|url=https://models.com/models/bella-hadid|title=Bella Hadid - Model|url-status=live|archive-url=https://web.archive.org/web/20170708150825/https://models.com/models/bella-hadid|archive-date=July 8, 2017|df=mdy-all}}</ref>
}}
'''ਇਜ਼ਾਬੇਲਾ ਖ਼ੈਰ ਹਦੀਦ''' (ਜਨਮ 9 ਅਕਤੂਬਰ 1996) <ref name="YolandaFamily">{{Cite web|url=https://www.yolanda.com/about/my-family|title=My Beautiful Family|last=Hadid|first=Yolanda|date=n.d.|publisher=Yolanda.com|archive-url=https://web.archive.org/web/20150801202931/http://www.yolanda.com/about/my-family|archive-date=August 1, 2015|access-date=July 20, 2016}} Website of Bella Hadid's mother, [[ਯੋਲਾਂਡਾ ਫੋਸਟਰ|Yolanda Foster]].</ref> ਇੱਕ ਅਮਰੀਕੀ ਮਾਡਲ ਹੈ। 2016 ਵਿੱਚ ਉਸ ਨੂੰ ਮਾਡਲਜ ਡਾਟ ਕਾਮ ਲਈ ਉਦਯੋਗ ਪੇਸ਼ੇਵਰਾਂ ਦੁਆਰਾ "ਮਾਡਲ ਆਫ਼ ਦ ਈਅਰ" ਚੁਣਿਆ ਗਿਆ ਸੀ।<ref>{{Cite web|url=https://models.com/mdx/model-of-the-year-2016/|title=Model of the Year Awards 2016 {{!}} models.com MDX|website=models.com|archive-url=https://web.archive.org/web/20161222223726/https://models.com/mdx/model-of-the-year-2016/|archive-date=December 22, 2016|access-date=December 23, 2016}}</ref>
== ਮੁੱਢਲਾ ਜੀਵਨ ==
ਹਦੀਦ ਦਾ ਜਨਮ 9 ਅਕਤੂਬਰ, 1996 ਨੂੰ [[ਵਾਸ਼ਿੰਗਟਨ, ਡੀ.ਸੀ.|ਵਾਸ਼ਿੰਗਟਨ, ਡੀ.ਸੀ]] ਵਿਚ ਹੋਇਆ ਸੀ।<ref name="washington">{{Cite AV media}}</ref> ਉਸਦੀ ਪਰਵਰਿਸ਼ ਲੋਸ ਏਂਜਲਸ, [[ਕੈਲੀਫੋਰਨੀਆ]] ਵਿਚ ਹੋਈ। ਉਸਦੇ ਪਿਤਾ ਅਸਲੀ-ਅਸਟੇਟ ਡਿਵੈਲਪਰ ਮੁਹੰਮਦ ਹਦੀਦ <ref name="glammonitor">{{Cite web|url=http://www.glammonitor.com/2014/09/18/gigi-hadid-opens-eyes/|title=Gigi Hadid Opens Our Eyes to the Israeli-Palestinian Conflict|last=Houlis|first=AnnaMarie|date=September 18, 2014|publisher=GlamMonitor.com (Golden Heart Communications)|archive-url=https://web.archive.org/web/20150805182834/http://www.glammonitor.com/2014/gigi-hadid-opens-eyes-1246/|archive-date=August 5, 2015|access-date=April 13, 2017}}</ref> <ref>{{Cite news|url=http://www.nydailynews.com/entertainment/gossip/confidential/east-side-gigi-hadid-model-home-article-1.2271823|title=Lower East Side is looking like a model home for Gigi Hadid, with new guy Joe Jonas|last=Garvey|first=Marianne|date=June 26, 2015|work=[[Daily News (New York)|Daily News]]|access-date=October 7, 2015|archive-url=https://web.archive.org/web/20150701001921/http://www.nydailynews.com/entertainment/gossip/confidential/east-side-gigi-hadid-model-home-article-1.2271823|archive-date=July 1, 2015|last2=Niemietz|first2=Brian|location=New York City|last3=Coleman|first3=Oli|last4=Maresca|first4=Rachel}}</ref> ਮਾਂ ਅਤੇ ਸਾਬਕਾ ਮਾਡਲ ਯੋਲਾਂਦਾ ਹਦੀਦ ਹੈ। ਉਸਦੀ ਮਾਂ ਡੱਚ ਅਤੇ ਉਸਦੇ ਪਿਤਾ ਫਿਲਸਤੀਨੀ ਹਨ।<ref name="nytimesconstruction">{{Cite news|url=https://www.nytimes.com/1991/12/20/sports/olympics-construction-was-slow-so.html|title=Olympics; Construction Was Slow, So ...|last=Janofsky|first=Michael|date=December 20, 1991|work=The New York Times|access-date=January 10, 2016|archive-url=https://web.archive.org/web/20160201010210/http://www.nytimes.com/1991/12/20/sports/olympics-construction-was-slow-so.html|archive-date=February 1, 2016|quote=While it would have been ideal to ski for the United States, his adoptive country, he knew that making its Olympic team would be virtually impossible. Instead, taking advantage of his dual citizenship, he petitioned the Jordan Olympic Committee, and Jordanian officials approved.}}</ref> ਆਪਣੇ ਪਿਤਾ ਦੁਆਰਾ ਉਹ ਦਾਹੇਰ ਅਲ ਓਮਰ, ਨਾਸਰਤ ਦੇ ਰਾਜਕੁਮਾਰ ਅਤੇ ਗਲੀਲ ਦੇ [[ਸ਼ੇਖ਼|ਸ਼ੇਖ]] ਤੋਂ ਉੱਤਰਦਾਤਾ ਦਾ ਦਾਅਵਾ ਕਰਦੀ ਹੈ।<ref name="Fortune">{{Cite web|url=http://archive.fortune.com/magazines/fortune/fortune_archive/1989/07/31/72291/index.htm|title=The Big Moneymen of Palestine Inc.|last=Tully|first=Shawn|last2=Blank|first2=J. B.|date=July 31, 1989|website=[[Fortune (magazine)|Fortune]]|archive-url=https://web.archive.org/web/20151222160613/http://archive.fortune.com/magazines/fortune/fortune_archive/1989/07/31/72291/index.htm|archive-date=December 22, 2015|access-date=June 17, 2016}}</ref> <ref name="ANGE">{{Cite web|url=http://digital.modernluxury.com/article/The+Radar+People/453793/0/article.html|title=The Radar People Surreal Estate Developer|date=August 2010|website=ANGE – Angelo|publisher=Modern Luxury|archive-url=https://web.archive.org/web/20160622064637/http://digital.modernluxury.com/article/The%2BRadar%2BPeople/453793/0/article.html|archive-date=June 22, 2016|access-date=June 17, 2016}}</ref> ਹਦੀਦ ਦੇ ਦੋ ਭੈਣ-ਭਰਾ 'ਚੋਂ ਵੱਡੀ ਭੈਣ ਗੀਗੀ ਇੱਕ ਮਾਡਲ ਹੈ ਅਤੇ ਇੱਕ ਛੋਟਾ ਭਰਾ ਅਨਵਰ ਹੈ। ਉਸ ਦੀਆਂ ਦੋ ਹੋਰ ਮਤਰੇਈਆਂ (ਪਿਤਾ ਵੱਲੋਂ) ਵੱਡੀਆਂ ਭੈਣਾਂ ਹਨ- ਮਾਰੀਏਲ ਅਤੇ ਅਲਾਣਾ।<ref>{{Cite web|url=http://www.bravotv.com/the-daily-dish/who-are-gigi-hadids-other-siblings|title=Who Are Gigi Hadid's Other Siblings?|last=Ford|first=Sabrina|date=March 5, 2015|website=Bravotv|archive-url=https://web.archive.org/web/20151108110642/http://www.bravotv.com/the-daily-dish/who-are-gigi-hadids-other-siblings|archive-date=November 8, 2015|access-date=November 12, 2015}}</ref>
ਹਦੀਦ ਅਤੇ ਉਸ ਦੇ ਭੈਣ-ਭਰਾ ਅਸਲ ਵਿੱਚ ਕੈਲੀਫੋਰਨੀਆ ਦੇ ਸੈਂਟਾ ਬਾਰਬਰਾ ਵਿੱਚ ਦਸ ਸਾਲਾਂ ਲਈ ਰਹੇ, ਉਨ੍ਹਾਂ ਦੀ ਪਰਵਰਿਸ਼ ਉੱਥੇ ਹੀ ਹੋਈ।<ref>{{Cite web|url=http://www.bustle.com/articles/138064-how-did-yolanda-foster-get-lyme-disease-its-a-complicated-illness-for-sure|title=How Did Yolanda Foster Get Lyme Disease? It's A Complicated Illness, For Sure|website=www.bustle.com|archive-url=https://web.archive.org/web/20160602045139/http://www.bustle.com/articles/138064-how-did-yolanda-foster-get-lyme-disease-its-a-complicated-illness-for-sure|archive-date=June 2, 2016|access-date=May 20, 2016}}</ref> ਕਿਸ਼ੋਰ ਉਮਰ ਵਿੱਚ ਹਦੀਦ ਇਕ ਘੋੜਸਵਾਰ ਸੀ ਅਤੇ ਉਸਨੇ [[2016 ਓਲੰਪਿਕ ਖੇਡਾਂ|2016 ਦੇ ਸਮਰ ਓਲੰਪਿਕ]] ਵਿੱਚ ਮੁਕਾਬਲਾ ਕਰਨ ਦਾ ਸੁਪਨਾ ਵੇਖਿਆ ਸੀ, <ref>{{Cite web|url=https://www.usatoday.com/story/life/entertainthis/2015/10/02/bella-hadid-dreams-being-olympian/73158582/|title=Bella Hadid dreams of being an Olympian|last=Korba|first=Alexandra|date=October 2, 2015|website=USA Today|archive-url=https://web.archive.org/web/20151005040618/http://www.usatoday.com/story/life/entertainthis/2015/10/02/bella-hadid-dreams-being-olympian/73158582/|archive-date=October 5, 2015|access-date=October 12, 2015}}</ref> ਹਾਲਾਂਕਿ ਉਸਨੇ ਸਮੀਕਰਨ ਵਿੱਚ ਹਿੱਸਾ ਵੀ ਲਿਆ, <ref>{{Cite web|url=https://eventingnation.com/model-bella-hadid-wants-to-be-an-olympic-eventer/|title=Model Bella Hadid Wants to Be an Olympic Eventer - Eventing Nation - Three-Day Eventing News, Results, Videos, and Commentary|last=Amanda Uechi Ronan|website=eventingnation.com|language=en-US|access-date=2020-02-02}}</ref> <ref>{{Cite web|url=https://data.ushja.org/awards-standings/rider-results.aspx?rid=4747895&year=2013§ion=3103&badPoints=ushjabp&bDate=9/16/2012&fDate=9/15/2013&standType=USHJAF&zone=10|title=Rider Results {{!}} United States Hunter Jumper Association|website=data.ushja.org|access-date=2020-02-02}}</ref> ਜੋ ਕਿ ਓਲੰਪਿਕ ਅਨੁਸ਼ਾਸ਼ਨ ਨਹੀਂ ਹੈ। ਉਸ 'ਚ ਉਸ ਦੀ ਮਾਂ ਅਤੇ ਭਰਾ ਸਮੇਤ 2012 ਵਿੱਚ ਲਾਈਮ ਦੀ ਗੰਭੀਰ ਬਿਮਾਰੀ ਦੇ ਲੱਛਣ ਪਾਏ ਗਏ ਸਨ। <ref>{{Cite web|url=https://people.com/tv/yolanda-foster-reveals-daughter-bella-and-son-anwar-have-battled-lyme-disease/|title=Yolanda Foster Reveals Daughter Bella Hadid and Son Anwar Have Battled Lyme Disease|date=2015-10-09|website=[[People (magazine)|People]]|language=en|access-date=2019-12-29}}</ref>
ਪਤਝੜ 2014 ਵਿਚ ਹਦੀਦ [[ਨਿਊਯਾਰਕ ਸ਼ਹਿਰ|ਨਿਊਯਾਰਕ ਸ਼ਹਿਰ]] ਚਲੀ ਗਈ ਅਤੇ ਪਾਰਸਨਜ਼ ਸਕੂਲ ਆਫ਼ ਡਿਜ਼ਾਈਨ ਵਿਚ ਫੋਟੋਗ੍ਰਾਫੀ ਦਾ ਅਧਿਐਨ ਕਰਨ ਲੱਗੀ। ਉਸਨੇ ਉਦੋਂ ਤੋਂ ਆਪਣੇ ਮਾਡਲਿੰਗ ਕਰੀਅਰ ਦੀ ਸਫ਼ਲਤਾ ਕਾਰਨ ਸਕੂਲ ਛੱਡ ਦਿੱਤਾ, ਪਰ ਉਸਨੇ ਇੱਕ ਵਾਰ ਮਾਡਲਿੰਗ ਕਰਨ ਤੋਂ ਬਾਅਦ ਫੈਸ਼ਨ ਫੋਟੋਗ੍ਰਾਫੀ ਨੂੰ ਆਪਣੇ ਕਰੀਅਰ ਵਜੋਂ ਲਿਆਉਣ ਲਈ ਸਕੂਲ ਵਾਪਸ ਆਉਣ ਵਿੱਚ ਦਿਲਚਸਪੀ ਜਤਾਈ ਸੀ।<ref name="VOGUE">{{Cite web|url=http://www.vogue.com/13414995/bella-hadid-5-things-you-didnt-know|title=Bella Hadid 5 things you didn't know|website=Vogue.com|archive-url=https://web.archive.org/web/20160408155931/http://www.vogue.com/13414995/bella-hadid-5-things-you-didnt-know|archive-date=April 8, 2016}}</ref> ਹਦੀਦ ਨੇ ਅਦਾਕਾਰੀ ਵਿੱਚ ਦਿਲਚਸਪੀ ਦਿਖਾਈ ਹੈ। <ref>{{Cite web|url=http://www.filmibeat.com/hollywood/news/2016/bella-hadid-wants-to-make-a-career-in-acting-248943.html|title=Bella Hadid Wants To Enter Into Acting|date=December 8, 2016|website=www.filmibeat.com|language=en|archive-url=https://web.archive.org/web/20170202004704/http://www.filmibeat.com/hollywood/news/2016/bella-hadid-wants-to-make-a-career-in-acting-248943.html|archive-date=February 2, 2017|access-date=January 21, 2017}}</ref>
== ਕਰੀਅਰ ==
=== 2012–2014: ਸ਼ੁਰੂਆਤੀ ਕੰਮ ===
ਹਦੀਦ ਨੇ 16 ਸਾਲ ਦੀ ਉਮਰ ਵਿੱਚ ਫਲਾਈਨ ਸਕਾਈ ਵਪਾਰਕ ਪ੍ਰੋਜੈਕਟ ਨਾਲ ਮਾਡਲਿੰਗ ਦੀ ਸ਼ੁਰੂਆਤ ਕੀਤੀ। ਉਸ ਨੇ ਹੋਲੀ ਕੋਪਲਲੈਂਡ ਦੁਆਰਾ "ਸਮੋਕਿੰਗ ਹੌਟ" ਵਿੱਚ ਦਿਖਾਈ ਦੇਣ ਤੋਂ ਪਹਿਲਾਂ ਅਭਿਨੇਤਾ ਬੇਨ ਬਾਰਨਜ਼ ਦੇ ਨਾਲ ਲੇਸਾ ਅਮੂਰ ਦੁਆਰਾ "ਸਵੈਨ ਸੀਟਿੰਗਜ਼" ਵਿੱਚ ਵੀ ਅਭਿਨੈ ਕੀਤਾ। ਹਦੀਦ ਨੇ ਕਈ ਹੋਰ ਵਪਾਰਕ ਪ੍ਰੋਜੈਕਟਾਂ ਦੇ ਨਾਲ ਹੈਨਾ ਹੇਜ਼ ਦੇ ਐਫ / ਡਬਲਯੂ 2013 ਸੰਗ੍ਰਹਿ ਲਈ ਵੀ ਮਾਡਲਿੰਗ ਕੀਤੀ, ਜਿਸ ਵਿੱਚ 2013 ਅਤੇ 2014 ਦੇ ਦੌਰਾਨ ਕ੍ਰੋਮ ਹਾਰਟ ਲਈ ਮੁਹਿੰਮ ਦਾ ਕੰਮ ਸ਼ਾਮਿਲ ਸੀ।<ref>{{Cite web|url=http://lesaamoore.com/THE-SWAN-SITTINGS-1-1|title=THE SWAN SITTINGS 1 - LESA AMOORE|website=lesaamoore.com|language=en|archive-url=https://web.archive.org/web/20161228110809/http://lesaamoore.com/THE-SWAN-SITTINGS-1-1|archive-date=December 28, 2016|access-date=July 25, 2017}}</ref> <ref>{{Cite news|url=https://models.com/work/chrome-hearts-ss-13-campaign|title=Chrome Hearts S/S 13 Campaign (Chrome Hearts)|work=MODELS.com|access-date=July 25, 2017|archive-url=https://web.archive.org/web/20161222083135/https://models.com/work/chrome-hearts-ss-13-campaign|archive-date=December 22, 2016}}</ref>
=== 2014–2015: ਕੰਮਕਾਰ 'ਚ ਵਾਧਾ ===
ਹਦੀਦ ਨੇ 21 ਅਗਸਤ 2014 ਨੂੰ ਆਈਐਮਜੀ ਮਾੱਡਲਜ 'ਤੇ ਦਸਤਖ਼ਤ ਕੀਤੇ ਸਨ।<ref>{{Cite web|url=http://www.fashiongonerogue.com/bella-hadid-signed-img-models/|title=Bella Hadid, Gigi's Sister, Signed to IMG Models|date=August 21, 2014|website=Fashion Gone Rogue|language=en|archive-url=https://web.archive.org/web/20170202013223/http://www.fashiongonerogue.com/bella-hadid-signed-img-models/|archive-date=February 2, 2017|access-date=January 21, 2017}}</ref>
ਉਸਨੇ 2014 ਦੀ ਪੱਤਝੜ 'ਚ, ਡਿਜੀਗੁਅਲ ਲਈ ਨਿਊਯਾਰਕ ਫੈਸ਼ਨ ਵੀਕ ਦੀ ਸ਼ੁਰੂਆਤ ਕੀਤੀ। 2015 ਦੇ ਸਪਰਿੰਗ ਫੈਸ਼ਨ ਹਫ਼ਤਿਆਂ ਵਿੱਚ ਉਸਨੇ ਲਾਸ ਏਂਜਲਸ ਵਿੱਚ ਟੌਮ ਫੋਰਡ ਲਈ ਫੈਸ਼ਨ ਵਾਕ ਕੀਤੀ ਅਤੇ ਮਈ ਵਿੱਚ ਐਮਫ਼ਾਰ 22 ਦੇ ਸਿਨੇਮਾ ਅਗੇਂਸਟ ਏਡਜ਼ ਗਾਲਾ ਫੈਸ਼ਨ ਸ਼ੋਅ ਵਿੱਚ ਕੰਮ ਕੀਤਾ। ਪੱਤਝੜ 2015 ਨਿਊਯਾਰਕ ਦੇ ਫੈਸ਼ਨ ਵੀਕ ਵਿੱਚ ਉਸਨੇ ਡਾਇਨ ਵਾਨ ਫਰਸਟਨਬਰਗ, ਟੌਮੀ ਹਿਲਫੀਗਰ, ਜੇਰੇਮੀ ਸਕਾਟ (ਉਸਨੇ ਆਪਣਾ ਸ਼ੋਅ ਬੰਦ ਕੀਤਾ) ਅਤੇ ਮਾਰਕ ਜੈਕਬੌਕਸ ਲਈ ਵੀ ਕੰਮ ਕੀਤਾ। ਲੰਡਨ ਫੈਸ਼ਨ ਵੀਕ ਵਿਖੇ, ਟੌਪਸ਼ਾਪ ਵਿਲੱਖਣ ਅਤੇ ਗਾਈਲਜ ਲਈ ਅਤੇ ਮਿਲਾਨ ਫੈਸ਼ਨ ਵੀਕ ਵਿਖੇ ਫਿਲਪ ਪਲੇਨ, ਮੋਸਚਿਨੋ, ਮਿਸੋਨੀ ਅਤੇ ਬੋਤੇਗਾ ਵੇਨੇਟਾ ਲਈ ਕੰਮ ਕੀਤਾ। ਪੈਰਿਸ ਫੈਸ਼ਨ ਵੀਕ ਵਿਖੇ ਉਹ ਬਾਲਮੇਨ ਲਈ ਗਈ। ਦਸੰਬਰ 2015 ਵਿੱਚ ਉਸਨੇ ਰੋਮਨ ਵਿੱਚ ਲਗਜ਼ਰੀ ਬ੍ਰਾਂਡ ਦੇ ਮਟੀਅਰਜ਼ ਡੀ ਆਰਟ ਸ਼ੋਅ ਵਿੱਚ ਪਹਿਲੀ ਵਾਰ ਚੱਲਦਿਆ ਆਪਣੇ ਚੈਨਲ ਦੀ ਸ਼ੁਰੂਆਤ ਕੀਤੀ। <ref>{{Cite web|url=http://www.webpronews.com/bella-hadid-and-sister-gigi-wear-bondage-inspired-lingerie-on-v-magazine-cover-2015-06/|title=Bella Hadid and Sister Gigi Wear Bondage-Inspired Lingerie on 'V' Magazine Cover - WebProNews|website=WebProNews|archive-url=https://web.archive.org/web/20151009033714/http://www.webpronews.com/bella-hadid-and-sister-gigi-wear-bondage-inspired-lingerie-on-v-magazine-cover-2015-06/|archive-date=October 9, 2015|access-date=October 12, 2015}}</ref>
== ਨਿੱਜੀ ਜ਼ਿੰਦਗੀ ==
=== ਕਾਨੂੰਨੀ ===
22 ਜੁਲਾਈ 2014 ਨੂੰ ਹਦੀਦ ਨੂੰ ਗ੍ਰਿਫ਼ਤਾਰ ਕਰ ਲਿਆ ਗਿਆ ਅਤੇ ਇੱਕ ਡੀਯੂਆਈ ਚਾਰਜ ਕੀਤਾ ਗਿਆ।<ref>{{Cite news|url=http://www.eonline.com/news/562167/yolandafoster-s-17-year-old-daughter-bella-hadid-arrested-for-dui|title=Yolanda Foster's 17-Year-Old Daughter Bella Hadid Arrested for DUI|last=Nessif|first=Bruna|date=July 22, 2014|access-date=December 9, 2015|archive-url=https://web.archive.org/web/20160415224643/http://www.eonline.com/news/562167/yolandafoster-s-17-year-old-daughter-bella-hadid-arrested-for-dui|archive-date=April 15, 2016}}</ref> ਉਸ ਦੇ ਡਰਾਈਵਰ ਲਾਇਸੈਂਸ ਨੂੰ ਇਕ ਸਾਲ ਲਈ ਮੁਅੱਤਲ ਕਰ ਦਿੱਤਾ ਗਿਆ ਸੀ ਅਤੇ ਉਸ ਨੂੰ ਛੇ ਮਹੀਨਿਆਂ ਦੀ ਪ੍ਰੋਬੇਸ਼ਨ ਦਿੱਤੀ ਗਈ ਸੀ।<ref>{{Cite news|url=http://www.eonline.com/news/605525/yolanda-foster-opens-up-about-bella-hadid-s-shocking-and-disappointing-dui-arrest|title=Yolanda Foster Opens Up About Daughter Bella Hadid's "Shocking and Disappointing" DUI Arrest|last=Vulpo|first=Mike|date=December 10, 2014|access-date=December 9, 2015|archive-url=https://web.archive.org/web/20151205192506/http://www.eonline.com/news/605525/yolanda-foster-opens-up-about-bella-hadid-s-shocking-and-disappointing-dui-arrest|archive-date=December 5, 2015|agency=E!}}</ref> ਹਦੀਦ ਨੂੰ 25 ਘੰਟੇ ਕਮਿਊਨਟੀ ਸੇਵਾ ਕਰਨ ਅਤੇ 20 ਘੰਟਿਆਂ ਦੀ ਅਲਕੋਹਲਿਕਸ ਅਨੋਨੀਮਸ ਬੈਠਕਾਂ ਵਿਚ ਸ਼ਾਮਿਲ ਹੋਣ ਦਾ ਵੀ ਆਦੇਸ਼ ਦਿੱਤਾ ਗਿਆ ਸੀ।<ref>MARTIN, ANNIE. "Yolanda Foster reflects on daughter Bella's DUI arrest." UPI NewsTrack December 12, 2014. NewsBank. Web. March 12, 2016.</ref>
=== ਰਿਸ਼ਤੇ ===
ਹਦੀਦ ਨੇ 2015 ਦੀ ਸ਼ੁਰੂਆਤ ਵਿੱਚ ਕੈਨੇਡੀਅਨ ਗਾਇਕ [[ਦ ਵੀਕੇਂਡ|ਦ ਵੀਕੈਂਡ]] ਨੂੰ [[ਦ ਵੀਕੇਂਡ|ਡੇਟ]] ਕਰਨਾ ਸ਼ੁਰੂ ਕੀਤਾ; ਜੋੜੇ ਨੂੰ ਪਹਿਲੀ ਵਾਰ ਅਪ੍ਰੈਲ ਵਿੱਚ ਕੋਚੇਲਾ ਵਿਖੇ ਇਕੱਠੇ ਦੇਖਿਆ ਗਿਆ ਸੀ।<ref>{{Cite web|url=https://www.washingtonpost.com/news/style-blog/wp/2015/09/11/kylie-jenner-and-bella-hadid-are-18-their-boyfriends-are-25-why-do-their-relationships-elicit-such-different-reactions/|title=Kylie Jenner and Bella Hadid are 18. Their boyfriends are 25. Why do their relationships elicit such different reactions?|last=Soraya Nadia McDonald|date=September 11, 2015|website=Washington Post|archive-url=https://web.archive.org/web/20150929220636/https://www.washingtonpost.com/news/style-blog/wp/2015/09/11/kylie-jenner-and-bella-hadid-are-18-their-boyfriends-are-25-why-do-their-relationships-elicit-such-different-reactions/|archive-date=September 29, 2015|access-date=October 17, 2015}}</ref> <ref>{{Cite web|url=http://www.elle.com/culture/celebrities/a31091/bella-hadid-19th-birthday/|title=Bella Hadid Spends Her Birthday Weekend With The Weeknd|last=Sarah Lindig|website=ELLE|archive-url=https://web.archive.org/web/20151011190536/http://www.elle.com/culture/celebrities/a31091/bella-hadid-19th-birthday/|archive-date=October 11, 2015|access-date=October 17, 2015}}</ref> ਹਦੀਦ ਨੇ ਦਸੰਬਰ 2015 ਵਿੱਚ ਆਪਣੀ ਮਿਊਜ਼ਿਕ ਵੀਡੀਓ "ਇਨ ਨਾਈਟ" ਵਿੱਚ ਅਭਿਨੈ ਕੀਤਾ ਸੀ। ਉਹ ਫ਼ਰਵਰੀ ਵਿਚ 2016 ਦੇ ਗ੍ਰਾਮੀਜ਼ ਵਿਚ ਇਕ ਜੋੜੀ ਵਜੋਂ ਰੈਡ ਕਾਰਪੇਟ 'ਤੇ ਦਿਖਾਈ ਦਿੱਤੇ।<ref>{{Cite web|url=http://www.popsugar.com/celebrity/Weeknd-Bella-Hadid-Grammys-2016-40199219#photo-40199219|title=The Weeknd and Bella Hadid Made Their Red Carpet Debut at the Grammys|last=Sisavat|first=Monica|website=POPSUGAR Celebrity|language=en-US|archive-url=https://web.archive.org/web/20160530144852/http://www.popsugar.com/celebrity/Weeknd-Bella-Hadid-Grammys-2016-40199219#photo-40199219|archive-date=May 30, 2016|access-date=June 6, 2016}}</ref> ਨਵੰਬਰ 2016 ਵਿੱਚ ਜੋੜਾ ਕਥਿਤ ਤੌਰ 'ਤੇ ਅਲੱਗ ਹੋ ਗਿਆ ਸੀ ਕਿਉਂਕਿ ਉਨ੍ਹਾਂ ਦੇ ਕਾਰਜਕ੍ਰਮ ਬਹੁਤ ਵਿਵਾਦਪੂਰਨ ਸਨ।<ref name="Bella Hadid and The Weeknd Break Up">{{Cite web|url=http://www.eonline.com/news/808560/bella-hadid-and-the-weeknd-break-up|title=Bella Hadid and The Weeknd Break Up|last=Harrison|first=Lily|date=November 10, 2016|website=E! Online|language=en|archive-url=https://web.archive.org/web/20161111013454/http://www.eonline.com/news/808560/bella-hadid-and-the-weeknd-break-up|archive-date=November 11, 2016|access-date=November 11, 2016}}</ref> ਹਾਲਾਂਕਿ ਉਹ 2018 ਵਿੱਚ ਦੁਬਾਰਾ ਇਕੱਠੇ ਹੋ ਗਏ<ref>{{Cite web|url=https://www.eonline.com/news/975113/the-weeknd-celebrates-bella-hadid-s-birthday-by-sharing-never-before-seen-pda-photos|title=The Weeknd Celebrates Bella Hadid's Birthday by Sharing Never-Before-Seen PDA Photos|last=Dupre|first=Elyse|website=E! Online|access-date=October 9, 2018}}</ref> ਅਤੇ ਇੱਕ ਵਾਰ ਫਿਰ 2019 ਵਿੱਚ ਵੱਖ ਹੋ ਗਏ ਸਨ। <ref>{{Cite web|url=https://www.elle.com/culture/celebrities/a28625896/bella-hadid-the-weeknd-breakup-2019-reason/|title=Why Bella Hadid and The Weeknd Reportedly Broke Up for the Second Time|website=Elle}}</ref>
=== ਧਰਮ ਅਤੇ ਰਾਜਨੀਤੀ ===
ਜਨਵਰੀ 2017 ਵਿਚ ਹਦੀਦ ਨੇ ਨਿਊਯਾਰਕ ਸ਼ਹਿਰ ਵਿਚ "ਨੋ ਬੈਨ, ਨੋ ਵਾਲ" ਮਾਰਚ ਵਿਚ ਸ਼ਿਰਕਤ ਕੀਤੀ, ਇਕ ਇੰਟਰਵਿਊ ਵਿਚ ਕਿਹਾ ਕਿ ਇਹ ਉਸ ਦਾ ਆਪਣਾ ਪਰਿਵਾਰਕ ਇਤਿਹਾਸ ਸੀ ਜਿਸ ਨੇ ਉਸ ਨੂੰ ਮਾਰਚ ਵਿਚ ਹਿੱਸਾ ਲੈਣ ਲਈ ਮਜ਼ਬੂਰ ਕੀਤਾ: “ਮੈਂ ਇਕ ਸੱਚਮੁੱਚ ਵਿਭਿੰਨ ਪਿਛੋਕੜ ਤੋਂ ਆਈ ਹਾਂ। ਮੇਰੇ ਕੋਲ ਪੂਰੀ ਦੁਨੀਆ ਵਿੱਚ ਅਥਾਹ ਤਜ਼ਰਬੇ ਹੋਏ ਹਨ ... ਅਤੇ ਮੈਂ ਸਿੱਖਿਆ ਹੈ ਕਿ ਅਸੀਂ ਸਾਰੇ ਸਿਰਫ ਇਨਸਾਨ ਹਾਂ ਅਤੇ ਅਸੀਂ ਸਾਰੇ ਸਤਿਕਾਰ ਅਤੇ ਦਿਆਲਤਾ ਦੇ ਹੱਕਦਾਰ ਹਾਂ। ਸਾਨੂੰ ਲੋਕਾਂ ਨਾਲ ਅਜਿਹਾ ਵਰਤਾਓ ਨਹੀਂ ਕਰਨਾ ਚਾਹੀਦਾ ਜਿਵੇਂ ਉਹ ਆਪਣੀ ਜਾਤੀ ਦੇ ਕਾਰਨ ਦਿਆਲਤਾ ਦੇ ਹੱਕਦਾਰ ਨਹੀਂ ਹਨ। ਇਹ ਬਿਲਕੁਲ ਸਹੀ ਨਹੀਂ ਹੈ।" <ref>{{Cite news|url=http://www.elle.com/fashion/celebrity-style/news/a42682/bella-hadid-protest-interview/|title=Bella Hadid on DKNY and Protesting in New York City|date=February 6, 2017|work=ELLE|access-date=March 25, 2017|archive-url=https://web.archive.org/web/20170326052257/http://www.elle.com/fashion/celebrity-style/news/a42682/bella-hadid-protest-interview/|archive-date=March 26, 2017|language=en}}</ref>
ਹਦੀਦ ਨੇ ਕਿਹਾ ਹੈ ਕਿ ਉਹ " [[ਮੁਸਲਮਾਨ]] ਹੋਣ 'ਤੇ ਮਾਣ ਮਹਿਸੂਸ ਕਰਦੀ ਹੈ" <ref>{{Cite news|url=http://www.arabnews.com/node/1078966/fashion|title=I am proud to be a Muslim|date=April 4, 2017|work=ELLE|access-date=April 4, 2017|archive-url=https://web.archive.org/web/20170404094757/http://www.arabnews.com/node/1078966/fashion|archive-date=April 4, 2017|language=en}}</ref> <ref>{{Cite web|url=https://www.independent.co.uk/life-style/fashion/bella-hadid-muslim-islam-faith-father-refugee-us-sisters-paestinian-jordanian-american-a7665611.html|title=Bella Hadid: "I am proud to be a Muslim"|last=Young|first=Sarah J.|date=April 4, 2017|website=The Independent|language=en|archive-url=https://web.archive.org/web/20170404153949/http://www.independent.co.uk/life-style/fashion/bella-hadid-muslim-islam-faith-father-refugee-us-sisters-paestinian-jordanian-american-a7665611.html|archive-date=April 4, 2017|access-date=April 4, 2017}}</ref> ਜਦੋਂ ਉਸਨੇ ਸ਼ਰਨਾਰਥੀ ਵਜੋਂ ਆਪਣੇ ਪਿਤਾ ਦੇ ਇਤਿਹਾਸ 'ਤੇ ਨਜ਼ਰ ਮਾਰੀ, ਇਸਲਾਮ ਦਾ ਅਭਿਆਸ ਕੀਤਾ ਤਾਂ ਉਹ ਰਾਸ਼ਟਰਪਤੀ ਟਰੰਪ ਦੀ ਇਮੀਗ੍ਰੇਸ਼ਨ ਨੀਤੀਆਂ ਦੇ ਵਿਰੋਧ ਬਾਰੇ ਵਿਚਾਰ ਵਟਾਂਦਰੇ ਦੌਰਾਨ ਇੱਕ ਸਫ਼ਲ ਅਮਰੀਕੀ ਵਪਾਰੀ ਬਣ ਗਈ। <ref>{{Cite news|url=http://www.teenvogue.com/story/bella-hadid-proud-muslim|title=Bella Hadid on Being Muslim and Trump's Travel Ban|date=April 4, 2017|work=TeenVogue|access-date=April 4, 2017|archive-url=https://web.archive.org/web/20170404034339/http://www.teenvogue.com/story/bella-hadid-proud-muslim|archive-date=April 4, 2017|language=en}}</ref> 8 ਦਸੰਬਰ 2017 ਨੂੰ ਹਦੀਦ ਇਜ਼ਰਾਈਲ ਵਿੱਚ ਅਮਰੀਕੀ ਦੂਤਾਵਾਸ ਨੂੰ ਲਿਜਾਣ ਅਤੇ ਯਰੂਸ਼ਲਮ ਨੂੰ ਇਜ਼ਰਾਈਲ ਦੀ ਰਾਜਧਾਨੀ ਵਜੋਂ ਮਾਨਤਾ ਦੇਣ ਦੇ ਟਰੰਪ ਦੇ ਫ਼ੈਸਲੇ ਵਿਰੁੱਧ ਲੰਡਨ ਦੇ ਵਿਰੋਧ ਵਿੱਚ ਸ਼ਾਮਿਲ ਹੋਈ ਸੀ। <ref>https://people.com/style/bella-hadid-stopped-by-an-anti-trump-protest-still-dressed-in-her-red-carpet-gown/</ref>
== ਅਵਾਰਡ ਅਤੇ ਨਾਮਜ਼ਦਗੀ ==
{| class="wikitable sortable"
|-
! ਸਾਲ
! ਕਿਸਮ
! ਅਵਾਰਡ
! ਨਤੀਜਾ
|-
| 2015
| ਮਾਡਲਜ.ਕਾਮ ਇੰਡਸਟਰੀ ਪੁਰਸਕਾਰ
| ਬ੍ਰੇਕ ਆਉਟ ਸਟਾਰ: ਔਰਤ (ਰੀਡਰ ਦੀ ਪਸੰਦ)
| {{Won}}<ref>{{Cite web|url=http://models.com/mdx/model-of-the-year-awards-2015/#breakoutwomen|title=Model of the Year Awards 2015 MDX|website=models.com|access-date=March 30, 2016|url-status=live|archive-url=https://web.archive.org/web/20160331032747/http://models.com/mdx/model-of-the-year-awards-2015/#breakoutwomen|archive-date=March 31, 2016|df=mdy-all}}</ref>
|-
| rowspan="6" | 2016
| ਦੂਜਾ ਸਲਾਨਾ ਫੈਸ਼ਨ ਲਾਸ ਏਂਜਲਸ ਅਵਾਰਡ
| ਮਾਡਲ ਆਫ ਦ ਈਅਰ
| {{Won}}<ref>{{cite web|last=Harwood|first=Erika|url=http://www.mtv.com/news/2796629/bella-hadid-model-of-the-year/|title=Bella Hadid Just Earned A Huge Fashion Honor|publisher=[[MTV]]|date=March 21, 2016|url-status=live|archive-url=https://web.archive.org/web/20160322115138/http://www.mtv.com/news/2796629/bella-hadid-model-of-the-year/|archive-date=March 22, 2016|df=mdy-all}}</ref>
|-
| ਜੀਕਿਉ ਮੈਨ ਆਫ ਦ ਈਅਰ ਅਵਾਰਡ
| ਮਾਡਲ ਆਫ ਦ ਈਅਰ
| {{Won}}<ref>{{Cite web|url=http://www.gq-magazine.co.uk/article/bella-hadid-hugo-boss-model-of-the-year-gq-men-of-the-year-2016|title=Bella Hadid wins Hugo Boss Model of the Year 2016|website=gq-magazine.co.uk|date=September 7, 2016|url-status=live|archive-url=https://web.archive.org/web/20160913203000/http://www.gq-magazine.co.uk/article/bella-hadid-hugo-boss-model-of-the-year-gq-men-of-the-year-2016|archive-date=September 13, 2016|df=mdy-all}}</ref>
|-
|ਬ੍ਰਿਟਿਸ਼ ਫੈਸ਼ਨ ਅਵਾਰਡ
|ਇੰਟਰਨੈਸ਼ਨਲ ਮਾਡਲ ਆਫ ਦ ਈਅਰ
|{{Nominated}}<ref>{{Cite news|url=http://www.harpersbazaar.com/fashion/designers/news/a18400/british-fashion-award-nominees-2016/|title=Gigi and Bella Hadid Will Compete for 2016 International Model of the Year Award|date=October 25, 2016|newspaper=Harper's BAZAAR|access-date=October 31, 2016|url-status=live|archive-url=https://web.archive.org/web/20161031150759/http://www.harpersbazaar.com/fashion/designers/news/a18400/british-fashion-award-nominees-2016/|archive-date=October 31, 2016|df=mdy-all}}</ref>
|-
|rowspan="3"| ਮਾਡਲਜ.ਕਾਮ ਇੰਡਸਟਰੀ ਪੁਰਸਕਾਰ
|ਮਾਡਲ ਆਫ ਦ ਈਅਰ: ਔਰਤ (ਇੰਡਸਟਰੀ ਦੀ ਪਸੰਦ)
|{{Won}}<ref name="auto1"/>
|-
|ਮਾਡਲ ਆਫ ਦ ਈਅਰ: ਔਰਤ (ਰੀਡਰ ਦੀ ਪਸੰਦ)
|{{Nominated}}<ref name="auto2">{{Cite web|url=https://models.com/rankings/voting/2016/readerschoice.html|title=Models.com 2016 Readers' Choice Awards vote|website=models.com|access-date=December 21, 2016}}</ref>
|-
|ਸਾਲ ਦੀ ਸੋਸ਼ਲ ਮੀਡੀਆ ਸਟਾਰ: ਔਰਤ (ਰੀਡਰ ਦੀ ਪਸੰਦ)
|{{Nominated}}<ref name="auto2"/>
|}
== ਫ਼ਿਲਮੋਗ੍ਰਾਫੀ ==
=== ਟੈਲੀਵਿਜ਼ਨ ===
{| class="wikitable"
|+
|-
!ਸ਼ੋਅ ਨਾਮ
!ਭੂਮਿਕਾ
|-
|''[[Keeping Up With the Kardashians|ਕੀਪਿੰਗ ਅਪ ਵਿਦ ਦ ਕਰਦਾਸ਼ੀਅਨਜ]]''
| rowspan="3" |ਖ਼ੁਦ
|-
|''[[Real Housewives of Beverly Hills|ਰੀਅਲ ਹਾਊਸਵਾਈਵਜ ਆਫ ਬੇਵਰਲੀ ਹਿਲਜ]]''
|-
|''ਮੇਕਿੰਗ ਅ ਮਾਡਲ ਵਿਦ ਯੋਲਾਂਦਾ ਹਦੀਦ''
|}
=== ਲਘੂ ਫ਼ਿਲਮਾਂ ===
{| class="wikitable"
!ਸਾਲ
!ਫ਼ਿਲਮ ਦਾ ਸਿਰਲੇਖ
!ਪ੍ਰੋਡਕਸ਼ਨ
!ਭੂਮਿਕਾ
|-
|2015
|ਬੇਲਾ ਹਦੀਦ'ਜ ਗਾਈਡ ਟੂ ਐਲ.ਏ.
|ਆਈ.ਡੀ.
|ਖ਼ੁਦ
|-
|2016
|ਪ੍ਰਾਇਵੇਟ
|ਟਾਈਲਰ ਫੋਰਡ
|ਬੇਨਾਮ / ਖ਼ੁਦ
|-
|2017
|ਗੋਇੰਗ ਹੋਮ ਵਿਦ ਬੇਲਾ ਹਦੀਦ
|ਡਬਲਯੂ ਮੈਗਜ਼ੀਨ
|ਖ਼ੁਦ
|}
=== ਬੇਲਾ ਹਦੀਦ ਨਾਲ ਡਾਇਅਰ ਬਿਊਟੀ ===
{| class="wikitable"
!ਸਾਲ
!ਫ਼ਿਲਮ ਦਾ ਸਿਰਲੇਖ
!ਵੇਰਵਾ
|-
| rowspan="3" |2016
|"ਦ ਬੈਕਸਟੇਜ"
|ਪੀਟਰ ਫਿਲਿਪਸ ਦੇ ਨਾਲ, ਡਾਇਅਰ ਕਰੂਜ਼ ਐੱਫ / ਡਬਲਯੂ 16 ਫੈਸ਼ਨ ਸ਼ੋਅ ਦੇ ਪਰਦੇ ਪਿੱਛੇ<ref>{{Citation|last=Christian Dior|title=The Backstage - Dior Cruise at Blenheim Palace, starring Peter Philips & Bella Hadid|date=June 6, 2016|url=https://www.youtube.com/watch?v=QHhCytCM-n4|access-date=February 10, 2017|url-status=live|archive-url=https://web.archive.org/web/20170213124427/https://www.youtube.com/watch?v=QHhCytCM-n4|archive-date=February 13, 2017|df=mdy-all}}</ref>
|-
|"ਦ ਡੇਟ"
|ਰੂਜ ਡਾਇਰ ਸੋਸ਼ਲ ਮੀਡੀਆ ਦਾ ਇਸ਼ਤਿਹਾਰ<ref>{{Citation|last=Christian Dior|title=Rouge Dior, the new lipstick – The date|date=September 11, 2016|url=https://www.youtube.com/watch?v=mWsYKo_63JA|access-date=February 10, 2017|url-status=live|archive-url=https://web.archive.org/web/20170213130306/https://www.youtube.com/watch?v=mWsYKo_63JA|archive-date=February 13, 2017|df=mdy-all}}</ref>
|-
|"ਦ ਪਾਰਟੀ"
|ਹਦੀਦ ਇਕ ਰਾਤ ਬਾਹਰ ਰਹਿਣ ਲਈ ਆਪਣਾ ਗਾਈਡ ਦਿਖਾਉਂਦੀ ਹੈ<ref>{{Citation|last=Christian Dior|title=The party – Bella Hadid's guide to go out|date=December 30, 2016|url=https://www.youtube.com/watch?v=b2-c_2P7KAk|access-date=February 10, 2017|url-status=live|archive-url=https://web.archive.org/web/20170213133357/https://www.youtube.com/watch?v=b2-c_2P7KAk|archive-date=February 13, 2017|df=mdy-all}}</ref>
|-
| rowspan="5" |2017
|"ਦ ਐਲੀਵੇਟਰ"
|ਡੀਓਰਸਕਿਨ ਫੌਰਏਵਰ ਪਰਫੈਕਟ ਕੁਸ਼ਨ ਸੋਸ਼ਲ ਮੀਡੀਆ ਦਾ ਇਸ਼ਤਿਹਾਰ<ref>{{Citation|last=Christian Dior|title=Diorskin Forever Perfect Cushion – The elevator|date=January 15, 2017|url=https://www.youtube.com/watch?v=d1J-0XbfU04&t=8s|access-date=February 10, 2017|url-status=live|archive-url=https://web.archive.org/web/20170213123416/https://www.youtube.com/watch?v=d1J-0XbfU04&t=8s|archive-date=February 13, 2017|df=mdy-all}}</ref>
|-
|"ਦ ਮੇਕਅਪ ਟਾਕ"
|ਪੀਟਰ ਫਿਲਿਪਸ ਦੇ ਨਾਲ, ਡੀਓਰ ਐਸ / ਐਸ 17 ਰੰਗ ਗ੍ਰੇਡੀਏਂਟ ਸੰਗ੍ਰਹਿ ਟਿਊਟੋਰਿਅਲ.<ref>{{Citation|last=Christian Dior|title=Dior 'COLOUR GRADATION' Spring Makeup Collection 2017 – The makeup talk|date=January 8, 2017|url=https://www.youtube.com/watch?v=ouL39uCZu_w|access-date=February 10, 2017|url-status=live|archive-url=https://web.archive.org/web/20170213123403/https://www.youtube.com/watch?v=ouL39uCZu_w|archive-date=February 13, 2017|df=mdy-all}}</ref>
|-
|"ਦ ਕਾਲ ਟਾਈਮ"
|ਬੈਕਸਟੇਜ ਪ੍ਰੋਸ ਸੋਸ਼ਲ ਮੀਡੀਆ ਦਾ ਇਸ਼ਤਿਹਾਰ<ref>{{Citation|last=Christian Dior|title=Backstage Pros - The Call Time|date=February 5, 2017|url=https://www.youtube.com/watch?v=Vx29ApycB-Q|access-date=February 10, 2017|url-status=live|archive-url=https://web.archive.org/web/20170213130753/https://www.youtube.com/watch?v=Vx29ApycB-Q|archive-date=February 13, 2017|df=mdy-all}}</ref>
|-
|"ਦ ਡਿਨਰ"
|ਡਾਇਰ ਐਡਿਕਟ ਲਾਕਰ ਲਿਪਸਟਿਕ ਸੋਸ਼ਲ ਮੀਡੀਆ ਦਾ ਇਸ਼ਤਿਹਾਰ<ref>{{Cite web|url=https://www.dior.com/beauty/en_gb/minisite/th/dior_addict_lacquer_stick.html|title=Fragrances, make up, cosmetics, and skin care by Christian Dior|website=Dior|language=en-GB|access-date=July 25, 2017|url-status=live|archive-url=https://web.archive.org/web/20170616174125/http://www.dior.com/beauty/en_gb/minisite/th/dior_addict_lacquer_stick.html|archive-date=June 16, 2017|df=mdy-all}}</ref>
|-
|"ਦ ਟੈਟੂ"
|ਡਾਇਰ ਐਡਿਕਟ ਲਿਪ ਟੈਟੂ ਸੋਸ਼ਲ ਮੀਡੀਆ ਦਾ ਇਸ਼ਤਿਹਾਰ<ref>{{Cite web|url=https://www.dior.com/beauty/en_int/parfum-beaute/maquillage/ds-discover-dior-addict-lip-tattoo.html|title=Discover Dior|website=www.dior.com|access-date=July 25, 2017|archive-date=ਅਗਸਤ 7, 2018|archive-url=https://web.archive.org/web/20180807141649/https://www.dior.com/beauty/en_int/parfum-beaute/maquillage/ds-discover-dior-addict-lip-tattoo.html|url-status=dead}}</ref>
|}
=== ਸੰਗੀਤ ਵੀਡੀਓ ===
{| class="wikitable"
|+
|-
!ਸਾਲ
!ਕਲਾਕਾਰ
!ਸਿਰਲੇਖ
|-
| rowspan="2" |2014
| rowspan="2" |ਜੇਸੀ ਜੋ ਸਟਾਰਕ
|ਡਾਊਨ ਯੁਅਰ ਡਰੇਨ<ref>{{Cite web|url=http://hadidsnews.com/post/101788681606/bella-hadid-for-jesse-jo-starks-music-video-down|title=Hadid News|website=hadidsnews.com|access-date=April 5, 2016|archive-date=ਜੂਨ 27, 2020|archive-url=https://web.archive.org/web/20200627192253/http://hadidsnews.com/post/101788681606/bella-hadid-for-jesse-jo-starks-music-video-down|url-status=dead}}{{dead link|date=July 2017 |bot=InternetArchiveBot |fix-attempted=yes }}</ref>
|-
|ਬੇਬੀ ਲਵ
|-
| rowspan="2" |2015
|ਦ [[ਦ ਵੀਕੇਂਡ|ਵੀਕੈਂਡ]]
|ਇਨ ਦ ਨਾਇਟ<ref>{{Cite web|url=http://www.people.com/article/bella-hadid-stars-in-the-weeknds-new-music-video|title=The Weeknd Gets Rescued by Real-life Girlfriend Bella Hadid in Sexy New Video for "In the Night"|website=PEOPLE.com|access-date=April 5, 2016|url-status=live|archive-url=https://web.archive.org/web/20160417093101/http://www.people.com/article/bella-hadid-stars-in-the-weeknds-new-music-video|archive-date=April 17, 2016|df=mdy-all}}</ref>
|-
|ਬੇਲੀ [[ਦ ਵੀਕੇਂਡ|ਵੀਕੈਂਡ]]
|ਮਾਈਟ ਨੋਟ (ਫ਼ੀਚਰ)
|}
== ਹਵਾਲੇ ==
[[ਸ਼੍ਰੇਣੀ:ਜਨਮ 1996]]
7h3zq645lfrpnw5k7zdwidacypdsc6q
ਸ਼ੇਖ ਨਸੀਰੂਦੀਨ
0
138273
849421
584338
2026-10-08T13:33:00Z
InternetArchiveBot
37445
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.6
849421
wikitext
text/x-wiki
'''ਸ਼ੇਖ ਮੁਹੰਮਦ ਨਸੀਰੂਦੀਨ''' (9 ਅਗਸਤ 1916 - 15 ਜਨਵਰੀ 1991) ਇੱਕ ਭਾਰਤੀ ਕ੍ਰਿਕਟਰ ਸੀ ਜੋ 1938 ਤੋਂ 1942 ਤੱਕ ਸਰਗਰਮ ਸੀ ਜੋ 1938 ਅਤੇ 1939 ਵਿੱਚ ਨੌਰਥੈਂਪਟਨਸ਼ਾਇਰ (ਨੋਰਥਾਂਟਸ) ਲਈ ਖੇਡਿਆ ਸੀ।
ਉਸਦਾ ਜਨਮ 9 ਅਗਸਤ 1916 ਨੂੰ [[ਗੁਜਰਾਤ]] ਵਿੱਚ ਹੋਇਆ ਸੀ ਅਤੇ 15 ਜਨਵਰੀ 1991 ਨੂੰ [[ਕਰਾਚੀ]] ਵਿੱਚ ਉਸਦੀ ਮੌਤ ਹੋ ਗਈ ਸੀ।
[[ਦੂਜੀ ਸੰਸਾਰ ਜੰਗ|ਦੂਜੇ ਵਿਸ਼ਵ ਯੁੱਧ]] ਦੌਰਾਨ, ਉਹ [[ਭਾਰਤ]] ਵਿੱਚ ਸੀ ਜਿੱਥੇ ਉਸਨੇ [[ਮੁਸਲਮਾਨਾਂ]] ਅਤੇ ਪੱਛਮੀ ਭਾਰਤ ਦੀ ਪ੍ਰਤੀਨਿਧਤਾ ਕੀਤੀ। ਉਹ ਨੌਂ ਪਹਿਲੀ ਸ਼੍ਰੇਣੀ ਦੇ ਮੈਚਾਂ ਵਿੱਚ ਸੱਜੇ ਹੱਥ ਦੇ [[ਬੱਲੇਬਾਜ਼ੀ (ਕ੍ਰਿਕਟ)|ਬੱਲੇਬਾਜ਼]] ਦੇ ਰੂਪ ਵਿੱਚ ਦਿਖਾਈ ਦਿੱਤਾ, ਜਿਸਨੇ 64 ਦੇ ਸਭ ਤੋਂ ਵੱਧ ਸਕੋਰ ਨਾਲ 263 ਦੌੜਾਂ ਬਣਾਈਆਂ।<ref>[https://cricketarchive.com/Archive/Players/34/34186/34186.html Shaikh Nasiruddin at CricketArchive]</ref>
ਉਹ 1941 ਵਿੱਚ ਪੱਛਮੀ ਭਾਰਤ ਲਈ ਦੋ ਮੈਚਾਂ ਵਿੱਚ ਆਪਣੇ ਪਿਤਾ, [[ਅਬਦੁਲ ਖਾਲਿਕ (ਕ੍ਰਿਕਟਰ)|ਅਬਦੁਲ ਖਾਲੀਕ]], ਜੋ ਇੱਕ ਕ੍ਰਿਕਟਰ ਵੀ ਸੀ, ਦੇ ਨਾਲ ਦਿਖਾਈ ਦਿੱਤਾ।<ref>{{Cite news|url=http://www.cricketcountry.com/articles/18-father-son-pairs-who-have-appeared-in-the-same-match-18288|title=18 father-son pairs who have appeared in the same match|last=Sengupta|first=Arunabha|date=27 September 2012|work=Cricket Country|access-date=31 August 2017|language=en-us|archive-url=https://web.archive.org/web/20211120053109/https://www.cricketcountry.com/articles/18-father-son-pairs-who-have-appeared-in-the-same-match-18288|archive-date=20 ਨਵੰਬਰ 2021|url-status=dead}}</ref>
== ਹਵਾਲੇ ==
{{ਹਵਾਲੇ}}
[[ਸ਼੍ਰੇਣੀ:ਭਾਰਤੀ ਕ੍ਰਿਕਟ ਖਿਡਾਰੀ]]
[[ਸ਼੍ਰੇਣੀ:ਮੌਤ 1991]]
[[ਸ਼੍ਰੇਣੀ:ਜਨਮ 1916]]
lom392skmfvkf3d7v8y17385euksmca
ਸੁਸੇਨ ਖਾਨ
0
152970
849422
640343
2026-10-08T14:36:15Z
InternetArchiveBot
37445
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.6
849422
wikitext
text/x-wiki
{{Infobox person
| name = ਸੁਸੇਨ ਖਾਨ
| image = Suzanne launches Architectural Digest's AD Magical Spaces 08.jpg
| caption = ਖਾਨ in 2018
| native_name =
| other_names =
| birth_date = {{birth date and age|df=y|1975|10|26}}
| birth_place = [[ਬੰਬੇ]], [[ਮਹਾਰਾਸ਼ਟਰ]], [[ਭਾਰਤ]]
| nationality = ਭਾਰਤੀ
| alma_mater = ਬਰੂਕਸ ਕਾਲਜ, [[ਕੈਲੀਫੋਰਨੀਆ]]
| occupation = [[ਫੈਸ਼ਨ ਡਿਜ਼ਾਈਨਰ]], ਅੰਦਰੂਨੀ ਡਿਜ਼ਾਈਨਰ
| years_active =
| known_for =
| spouse = {{marriage|[[Hrithik Roshan]]|2000 |2014|reason=divorce}}
| children = 2
| parents = [[ਸੰਜੇ ਖਾਨ]] (ਪਿਤਾ)
| website = [http://thecharcoalproject.com ਸੁਸੇਨ ਖਾਨ]
}}
[[Category:Articles with hCards]]
'''ਸੁਸੇਨ ਖਾਨ''', ਪਹਿਲਾਂ '''ਸੁਸੇਨ ਰੋਸ਼ਨ''' ਵਜੋਂ ਜਾਣੀ ਜਾਂਦੀ ਸੀ (ਜਨਮ 26 ਅਕਤੂਬਰ 1975), ਇੱਕ ਭਾਰਤੀ ਅੰਦਰੂਨੀ ਅਤੇ ਫੈਸ਼ਨ ਡਿਜ਼ਾਈਨਰ ਹੈ। ਉਹ ਅਦਾਕਾਰ [[ਰਿਤੀਕ ਰੋਸ਼ਨ|ਰਿਤਿਕ ਰੋਸ਼ਨ]] ਦੀ ਸਾਬਕਾ ਪਤਨੀ ਹੈ।<ref>{{Cite web |last=Assomull |first=Sujata |title=Business of Fashion: When 3 is Company |url=https://m.khaleejtimes.com/wknd/editors-picks/business-of-fashion-when-3-is-company |access-date=2018-05-19 |website=m.khaleejtimes.com}}</ref> ਉਸਦੇ ਪਿਤਾ ਅਭਿਨੇਤਾ ਸੰਜੇ ਖਾਨ ਹੈ।
== ਜੀਵਨੀ ==
ਸੁਸੇਨ ਖਾਨ ਦਾ ਜਨਮ ਸੰਜੇ ਖਾਨ ਅਤੇ ਜ਼ਰੀਨ ਕਤਰਕ ਖਾਨ ਦੇ ਘਰ 26 ਅਕਤੂਬਰ 1975 ਨੂੰ [[ਮੁੰਬਈ|ਬੰਬਈ]] ਵਿੱਚ ਹੋਇਆ ਸੀ, ਉਹਨਾਂ ਦੇ ਪਰਿਵਾਰ ਵਿੱਚ ਤੀਜੇ ਬੱਚੇ ਵਜੋਂ; ਫਿਲਮ ਕਲਾਕਾਰਾਂ ਅਤੇ ਫੈਸ਼ਨ ਡਿਜ਼ਾਈਨਰਾਂ ਨਾਲ ਇੱਕ ਅਮੀਰ ਪਰਿਵਾਰ, ਜਿਸ ਵਿੱਚ ਉਸਦੇ ਪਿਤਾ, ਸੰਜੇ ਖਾਨ, ਜੋ 1980 ਦੇ ਦਹਾਕੇ ਵਿੱਚ ਇੱਕ ਪ੍ਰਮੁੱਖ ਅਭਿਨੇਤਾ ਸਨ। ਉਸਦੀ ਮਾਂ, ਜ਼ਰੀਨ ਕਤਰਕ ਇੱਕ ਅਭਿਨੇਤਰੀ ਹੋਣ ਦੇ ਨਾਲ-ਨਾਲ ਇੱਕ ਇੰਟੀਰੀਅਰ ਡਿਜ਼ਾਈਨਰ ਵੀ ਹੈ। ਉਸਦੇ ਪਿਤਾ ਮਿਸ਼ਰਤ [[ਅਫ਼ਗ਼ਾਨਿਸਤਾਨ|ਅਫਗਾਨ]] ਅਤੇ [[ਈਰਾਨ|ਈਰਾਨੀ]] ਮੂਲ ਦੇ ਹਨ<ref>[https://www.dawn.com/news/922791 "Bollywood actor Firoz Khan dies at 70"] {{Webarchive|url=https://web.archive.org/web/20201011135512/https://www.dawn.com/news/922791|date=11 October 2020}} (27 April 2009), ''Dawn News''. Retrieved 12 March 2009.</ref> ਜਦੋਂ ਕਿ ਉਸਦੀ ਮਾਂ ਇੱਕ [[ਪਾਰਸੀ]] ਪਰਿਵਾਰ ਤੋਂ ਆਉਂਦੀ ਹੈ।<ref>Malavika Sangghvi (8 June 2012), [https://www.mid-day.com/articles/parsis-in-bollywood/166916 "Parsis in Bollywood"] {{Webarchive|url=https://web.archive.org/web/20181025225538/https://www.mid-day.com/articles/parsis-in-bollywood/166916|date=25 October 2018}}, ''midday''. Retrieved 25 October 2018.</ref> ਉਸ ਦੀਆਂ 2 ਵੱਡੀਆਂ ਭੈਣਾਂ ਅਤੇ ਇੱਕ ਛੋਟਾ ਭਰਾ ਹੈ।{{ਹਵਾਲਾ ਲੋੜੀਂਦਾ|date=June 2020}}
ਉਸਦਾ ਛੋਟਾ ਭਰਾ, ਜ਼ਾਇਦ ਖਾਨ ਵੀ ਇੱਕ ਅਭਿਨੇਤਾ ਹੈ ਜੋ [[ਬਾਲੀਵੁੱਡ]] ਵਿੱਚ ਕੰਮ ਕਰਦਾ ਹੈ। ਫਰਾਹ ਖਾਨ ਅਲੀ, ਜਿਸਦਾ ਜਨਮ ਚਾਰਾਂ ਵਿੱਚੋਂ ਸਭ ਤੋਂ ਵੱਡੇ ਬੱਚੇ ਵਜੋਂ ਹੋਇਆ ਸੀ, ਇੱਕ ਗਹਿਣੇ ਡਿਜ਼ਾਈਨਰ ਹੈ ਅਤੇ ਸੁਜ਼ੈਨ ਦੀ ਦੂਜੀ ਭੈਣ, ਸਿਮੋਨ ਖਾਨ, ਇੱਕ ਇੰਟੀਰੀਅਰ ਡਿਜ਼ਾਈਨਰ ਹੈ।
ਉਹ ਮਰਹੂਮ ਅਭਿਨੇਤਾ ਫਿਰੋਜ਼ ਖਾਨ ਅਤੇ ਨਿਰਦੇਸ਼ਕ ਅਕਬਰ ਖਾਨ (ਸੰਜੇ ਖਾਨ ਦੇ ਭਰਾ) ਦੀ ਭਤੀਜੀ ਅਤੇ ਬਾਲੀਵੁੱਡ ਅਭਿਨੇਤਾ ਫਰਦੀਨ ਖਾਨ ਦੀ ਪਹਿਲੀ ਚਚੇਰੀ ਭੈਣ ਹੈ।
== ਕਰੀਅਰ ==
ਯੂਐਸ ਦੇ ਬਰੂਕਸ ਕਾਲਜ ਤੋਂ 1995 ਵਿੱਚ ਇੰਟੀਰੀਅਰ ਡਿਜ਼ਾਈਨਿੰਗ ਵਿੱਚ ਐਸੋਸੀਏਟ ਆਫ਼ ਆਰਟਸ ਦੀ ਡਿਗਰੀ ਪ੍ਰਾਪਤ ਕਰਨ ਤੋਂ ਬਾਅਦ, ਖਾਨ ਨੇ ਆਪਣੀ ਮਾਂ ਦੇ ਨਕਸ਼ੇ ਕਦਮਾਂ 'ਤੇ ਚੱਲਦਿਆਂ 1996 ਵਿੱਚ ਇੱਕ ਇੰਟੀਰੀਅਰ ਡਿਜ਼ਾਈਨਰ ਵਜੋਂ ਆਪਣਾ ਕੈਰੀਅਰ ਸ਼ੁਰੂ ਕੀਤਾ ਜੋ ਆਪਣੇ ਸਰਗਰਮ ਕਰੀਅਰ ਦੌਰਾਨ ਇੱਕ ਮਸ਼ਹੂਰ ਇੰਟੀਰੀਅਰ ਡਿਜ਼ਾਈਨਰ ਵੀ ਸੀ।<ref>{{Cite news|url=http://www.dnaindia.com/bollywood/report-the-original-style-mavens-Gauri-Khan-Sussanne-Khan-Twinkle-Khanna-2574995|title=Meet the original style mavens, Gauri Khan, Sussanne Khan, Twinkle Khanna {{!}} Latest News & Updates at Daily News & Analysis|date=2018-01-13|work=dna|access-date=2018-05-19|language=en-US}}</ref><ref>{{Cite news|url=http://www.thehindu.com/features/metroplus/%E2%80%98I-am-enchanted-by-the-world-of-design%E2%80%99/article14617769.ece|title=I am enchanted by the world of design|last=Jeshi|first=K.|date=2016-09-01|work=The Hindu|access-date=2018-05-19|language=en-IN|issn=0971-751X}}</ref>
2011 ਵਿੱਚ, ਉਸਨੇ ਮੁੰਬਈ ਵਿੱਚ ''ਦ ਚਾਰਕੋਲ ਪ੍ਰੋਜੈਕਟ'' ਫਾਊਂਡੇਸ਼ਨ ਨੂੰ ਲਾਂਚ ਕਰਨ ਅਤੇ ਪੇਸ਼ ਕਰਨ ਲਈ ਸਾਥੀ ਇੰਟੀਰੀਅਰ ਡਿਜ਼ਾਈਨਰ ਅਤੇ ਇੱਕ ਚੰਗੀ ਮਾਨਤਾ ਪ੍ਰਾਪਤ ਫਿਲਮ ਨਿਰਮਾਤਾ, [[ਗੌਰੀ ਖਾਨ]] ਨਾਲ ਸਾਂਝੇਦਾਰੀ ਕੀਤੀ, ਜੋ ਭਾਰਤ ਵਿੱਚ ਪਹਿਲਾ ਇੰਟੀਰੀਅਰ ਫੈਸ਼ਨ ਡਿਜ਼ਾਈਨ ਸਟੋਰ ਹੈ।<ref>{{Cite web |date=11 May 2017 |title=WHY SUSSANNE KHAN IS ONE OF THE TOP INTERIOR DESIGNERS IN INDIA |url=http://www.delightfull.eu/inspirations/styles/contemporary/sussanne-khan-interior-designers-india/ |access-date=2018-05-19 |website=www.delightfull.eu |language=en-US |archive-url=https://web.archive.org/web/20190108155133/http://www.delightfull.eu/inspirations/styles/contemporary/sussanne-khan-interior-designers-india/ |archive-date=2019-01-08 |url-status=dead}}</ref><ref>{{Cite news|url=http://indianexpress.com/article/entertainment/bollywood/sussanne-khan-gauri-shinde-feted-as-women-achievers-4604761/|title=Sussanne Khan, Gauri Shinde feted as women achievers|date=2017-04-08|work=The Indian Express|access-date=2018-05-19|language=en-US}}</ref> ਚਾਰਕੋਲ ਪ੍ਰੋਜੈਕਟ ਨੂੰ ਭਾਰਤ ਵਿੱਚ ਸਭ ਤੋਂ ਪ੍ਰਸਿੱਧ ਡਿਜ਼ਾਈਨ ਸਟੋਰ ਵੀ ਮੰਨਿਆ ਜਾਂਦਾ ਹੈ।<ref>{{Cite news|url=https://www.vogue.in/content/exclusive-sussanne-khan-joins-first-indian-designer-yoo/|title=Exclusive: Sussanne Khan joins as the first Indian designer for Yoo|date=2015-02-26|work=Vogue India|access-date=2018-05-18|language=en-US}}</ref><ref>{{Cite news|url=http://www.business-standard.com/article/beyond-business/quiet-luxury-115050100906_1.html|title=Quiet luxury|last=Bhatia|first=Ritika|date=2015-05-02|work=Business Standard India|access-date=2018-05-18}}</ref>
ਉਸਨੇ 2012 ਵਿੱਚ ਸਥਾਪਿਤ ਇੱਕ ਈ-ਕਾਮਰਸ ਫੈਸ਼ਨ ਲਾਈਫਸਟਾਈਲ ਕੰਪਨੀ ਦ ਲੇਬਲ ਲਾਈਫ ਲਈ ਕੰਮ ਕੀਤਾ। ਉਸ ਨੂੰ ਕੰਪਨੀ ਲਈ ਪਹਿਲੀ ਇੰਟੀਰੀਅਰ ਫੈਸ਼ਨ ਡਿਜ਼ਾਈਨਰ ਵਜੋਂ ਨੌਕਰੀ ਦਿੱਤੀ ਗਈ ਸੀ।<ref>{{Cite web |title=Simply Suzzane |url=https://www.indiatoday.in/magazine/supplement/story/20130121-simply-suzzane-roshan-761372-2013-01-09 |access-date=2018-05-18 |website=India Today |language=en}}</ref> 2014 ਵਿੱਚ, ਉਸਨੇ ਮੁੰਬਈ ਵਿੱਚ ਪਰਲ ਅਕੈਡਮੀ ਕੈਂਪਸ ਦੀ ਅਧਿਕਾਰਤ ਸ਼ਾਖਾ ਦੀ ਸ਼ੁਰੂਆਤ ਕੀਤੀ ਅਤੇ ਅਕੈਡਮੀ ਦੇ ਵਿਦਿਆਰਥੀਆਂ ਨੂੰ ਵਜ਼ੀਫੇ ਦੇ ਕੇ ਸਹਾਇਤਾ ਕੀਤੀ।<ref>{{Cite web |title=Sussanne Roshan teams up with Pearl Academy |url=http://www.aninews.in/videogallery5/22411-sussanne-roshan-teams-up-with-pearl-academy.html |url-status=dead |archive-url=https://web.archive.org/web/20140420032323/http://www.aninews.in/videogallery5/22411-sussanne-roshan-teams-up-with-pearl-academy.html |archive-date=2014-04-20 |access-date=2017-09-30 |website=/www.aninews.in}}</ref>
== ਨਿੱਜੀ ਜੀਵਨ ==
[[ਤਸਵੀਰ:Hrithik_Roshan_and_Sussanne_Roshan_at_Karan_Johar's_birthday,_30_May,_2012.jpg|thumb| ਖਾਨ ਸਾਬਕਾ ਪਤੀ [[ਰਿਤੀਕ ਰੋਸ਼ਨ|ਰਿਤਿਕ ਰੋਸ਼ਨ]] ਨਾਲ]]
ਖਾਨ ਨੇ ਚਾਰ ਸਾਲ ਡੇਟ ਕਰਨ ਤੋਂ ਬਾਅਦ 2000 ਵਿੱਚ [[ਰਿਤੀਕ ਰੋਸ਼ਨ|ਰਿਤਿਕ ਰੋਸ਼ਨ]] ਨਾਲ ਵਿਆਹ ਕੀਤਾ ਸੀ। ਇਸ ਜੋੜੇ ਨੇ 2013 ਵਿੱਚ ਆਪਣਾ 13 ਸਾਲ ਪੁਰਾਣਾ ਰਿਸ਼ਤਾ ਖਤਮ ਕਰ ਦਿੱਤਾ ਅਤੇ ਦੋ ਬੇਟੇ ਹੋਣ ਤੋਂ ਬਾਅਦ ਇੱਕ ਸਾਲ ਬਾਅਦ ਤਲਾਕ ਲੈ ਲਿਆ। ਹਾਲਾਂਕਿ, ਉਹ ਅਜੇ ਵੀ ਨਜ਼ਦੀਕੀ ਦੋਸਤ ਬਣੇ ਹੋਏ ਹਨ ਅਤੇ 2020 ਦੌਰਾਨ ਲਾਕਡਾਊਨ ਨੂੰ ਆਪਣੇ ਪੁੱਤਰਾਂ ਨਾਲ ਬਿਤਾਇਆ ਹੈ। ਉਹ ਦਸੰਬਰ 2020 ਵਿੱਚ ਡਰੈਗਨ ਫਲਾਈ ਕਲੱਬ ਦੇ ਛਾਪੇ ਵਿੱਚ ਸ਼ਾਮਲ ਸੀ<ref>{{Cite news|url=https://www.bollywoodshaadis.com/articles/sussanne-khan-finally-reveals-the-shocking-truth-behind-her-divorce-with-hrithik-roshan-4974|title=Sussanne Khan Finally Revealed That Why She Ended Her 13 Years Of Marriage With Hrithik Roshan|work=BollywoodShaadis|access-date=2018-05-18}}</ref><ref>{{Cite news|url=https://www.ndtv.com/entertainment/hrithik-roshan-forever-and-always-ex-wife-sussanne-khans-birthday-post-1798080|title=Hrithik Roshan, Forever And Always: Ex-Wife Sussanne Khan's Birthday Post|work=NDTV.com|access-date=2018-05-18}}</ref> ਮਈ 2022 ਵਿੱਚ, ਸੁਜ਼ੈਨ ਖਾਨ ਨੇ ਬੁਆਏਫ੍ਰੈਂਡ ਅਰਸਲਾਨ ਗੋਨੀ ਨਾਲ ਇੱਕ ਫੋਟੋ ਸਾਂਝੀ ਕੀਤੀ, ਜਿਸ ਵਿੱਚ ਉਨ੍ਹਾਂ ਦੇ ਰਿਸ਼ਤੇ ਦੀ ਪੁਸ਼ਟੀ ਕੀਤੀ ਗਈ।<ref>{{Cite web |date=2022-05-17 |title=Sussanne Khan shares loved up pic with BF Arslan Goni, calls it 'incredible feeling', fans ask 'is it official now?' |url=https://www.hindustantimes.com/entertainment/bollywood/sussanne-khan-shares-loved-up-pic-with-bf-arslan-goni-calls-it-incredible-feeling-fans-ask-is-it-official-now-101652770636484.html |access-date=2022-05-17 |website=Hindustan Times |language=en}}</ref>
== ਹਵਾਲੇ ==
{{Reflist}}
== ਬਾਹਰੀ ਲਿੰਕ ==
* {{Instagram|suzkr}}
[[ਸ਼੍ਰੇਣੀ:ਮੁੰਬਈ ਦੇ ਲੋਕ]]
[[ਸ਼੍ਰੇਣੀ:21ਵੀਂ ਸਦੀ ਦੇ ਭਾਰਤੀ ਡਿਜ਼ਾਇਨਰ]]
[[ਸ਼੍ਰੇਣੀ:ਭਾਰਤੀ ਮੁਸਲਮਾਨ]]
[[ਸ਼੍ਰੇਣੀ:ਮੁੰਬਈ ਦੇ ਪਾਰਸੀ ਲੋਕ]]
[[ਸ਼੍ਰੇਣੀ:ਭਾਰਤੀ ਨਾਰੀ ਫੈਸ਼ਨ ਡਿਜ਼ਾਇਨਰ]]
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
[[ਸ਼੍ਰੇਣੀ:ਜਨਮ 1978]]
tghpk66rszfhfmmi4626uajnb34zezu
ਬ੍ਰਿਜ ਭੂਸ਼ਣ ਸ਼ਰਨ ਸਿੰਘ
0
166710
849435
759495
2026-10-08T21:03:31Z
Dsrprj
46885
/* */
849435
wikitext
text/x-wiki
{{Infobox officeholder
| name = ਬ੍ਰਿਜ ਭੂਸ਼ਣ ਸ਼ਰਨ ਸਿੰਘ
| image =Brij Bhushan Sharan Singh.jpg
| caption =
| birth_date = {{Birth date and age|1957|1|8|df=y}}
| birth_place = [[ਗੋਂਡਾ, ਉੱਤਰ ਪ੍ਰਦੇਸ਼|ਗੋਂਡਾ]], [[ਉੱਤਰ ਪ੍ਰਦੇਸ਼]], [[ਭਾਰਤ]]
| residence = [[ਗੋਂਡਾ, ਉੱਤਰ ਪ੍ਰਦੇਸ਼|ਗੋਂਡਾ]]
| death_date =
| death_place =
| constituency = [[ਕੈਸਰਗੰਜ ਲੋਕ ਸਭਾ ਹਲਕਾ|ਕੈਸਰਗੰਜ]]
| office = [[ਸੰਸਦ ਮੈਂਬਰ, ਲੋਕ ਸਭਾ]]
| term_start = 16 ਮਈ 2009
| predecessor = ਬੇਨੀ ਪ੍ਰਸ਼ਾਦ ਵਰਮਾ
| successor =
| party = [[ਭਾਰਤੀ ਜਨਤਾ ਪਾਰਟੀ]] (1991-2008, 2014-ਵਰਤਮਾਨ)
| other party = [[ਸਮਾਜਵਾਦੀ ਪਾਰਟੀ]] (2008-2014)
| religion =
| spouse = [[ਕੇਤਕੀ ਦੇਵੀ ਸਿੰਘ]]
| website = {{URL|http://brijbhushansingh.in}}
| footnotes =
| date = 12 ਅਪ੍ਰੈਲ|
| year = 2010|
| source = https://web.archive.org/web/20120329050844/http://india.gov.in/govt/loksabhampbiodata.php?mpcode=438
| children = 4 ([[ਪ੍ਰਤੀਕ ਭੂਸ਼ਣ ਸਿੰਘ]] ਸਮੇਤ) <!-- others are Shalini Singh, Shakti Bhushan Singh (Deceased), Karan Bhushan Singh -->
}}
'''ਬ੍ਰਿਜ ਭੂਸ਼ਣ ਸ਼ਰਨ ਸਿੰਘ''' (ਜਨਮ 8 ਜਨਵਰੀ 1957) ਇੱਕ ਭਾਰਤੀ ਸਿਆਸਤਦਾਨ ਹੈ ਜੋ ਵਰਤਮਾਨ ਵਿੱਚ [[ਭਾਰਤੀ ਜਨਤਾ ਪਾਰਟੀ]] ਦੇ ਮੈਂਬਰ ਵਜੋਂ [[ਕੈਸਰਗੰਜ ਲੋਕ ਸਭਾ ਹਲਕਾ|ਕੈਸਰਗੰਜ]] ਤੋਂ [[ਸੰਸਦ ਮੈਂਬਰ, ਲੋਕ ਸਭਾ|ਸੰਸਦ ਮੈਂਬਰ]] ਵਜੋਂ ਸੇਵਾ ਨਿਭਾ ਰਿਹਾ ਹੈ।<ref>{{Cite web |last=Ara |first=Ismat |date=2023-02-07 |title=Brij Bhushan Sharan Singh: The bahubali neta |url=https://frontline.thehindu.com/the-nation/profile-brij-bhushan-sharan-singh-the-bahubali-neta/article66458120.ece |access-date=2023-04-30 |website=frontline.thehindu.com |language=en}}</ref><ref name="the-wire-profile-of-brij-bhushan">{{cite news |last1=Goswami |first1=Deepak |title=Who Is BJP MP Brij Bhushan Sharan Singh, at the Heart of Serious Charges By Wrestlers? |url=https://thewire.in/politics/brij-bhushan-sharan-singh-profile |access-date=2023-04-25 |work=[[The Wire (India)]] |date=2023-04-25}}</ref><ref>{{cite news |last1=Kumar |first1=Mayank |title=BJP MP accused of harassing wrestlers is a controversial bahubali with a wide fanbase |url=https://www.thehindu.com/news/national/other-states/bjp-mp-accused-of-harassing-wrestlers-is-a-controversial-bahubali-with-a-wide-fanbase/article66417592.ece |access-date=2023-04-26 |work=[[The Hindu]] |date=2023-01-21}}</ref> ਉਸ 'ਤੇ ਭਾਰਤੀ ਪਹਿਲਵਾਨਾਂ ਦੁਆਰਾ ਜਿਨਸੀ ਸ਼ੋਸ਼ਣ ਦੇ ਦੋਸ਼ਾਂ ਸਮੇਤ ਕਈ ਅਪਰਾਧਾਂ ਦੇ ਦੋਸ਼ ਹਨ।<ref>{{Cite web |date=2023-04-28 |title=Even a murder case against Brij Bhushan: Kapil Sibal to Supreme Court |url=https://www.hindustantimes.com/india-news/brij-bhushan-has-40-cases-against-him-kapil-sibal-to-supreme-court-101682678494923.html |access-date=2023-04-29 |website=Hindustan Times |language=en}}</ref><ref>{{Cite web |last=Misra |first=Shubhangi |date=2023-01-19 |title='Don of all dons, murderer, wrestling reformer' — WFI chief & MP Brij Bhushan's colourful life |url=https://theprint.in/india/don-of-all-dons-murderer-wrestling-reformer-wfi-chief-mp-brij-bhushans-colourful-life/1323788/ |access-date=2023-04-29 |website=ThePrint |language=en-US}}</ref><ref>{{Cite web |last=Bureau |first=The Hindu |date=2023-04-28 |title=Delhi Police register FIRs in wrestlers' case |url=https://www.thehindu.com/news/national/will-file-fir-in-wrestlers-sexual-harassment-case-delhi-police-informs-sc/article66788971.ece |access-date=2023-05-01 |website=www.thehindu.com |language=en}}</ref>
==ਹਵਾਲੇ==
{{ਹਵਾਲੇ}}
==ਬਾਹਰੀ ਲਿੰਕ==
* [https://web.archive.org/web/20120329050844/http://india.gov.in/govt/loksabhampbiodata.php?mpcode=438 Detailed profile: Brij Bhushan Sharan Singh] in India.gov.in website
* [https://web.archive.org/web/20101226012921/http://brijbhushan-mp.com/ personal website]
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
[[ਸ਼੍ਰੇਣੀ:ਜਨਮ 1957]]
[[ਸ਼੍ਰੇਣੀ:ਸਮਾਜਵਾਦੀ ਪਾਰਟੀ ਦੇ ਸਿਆਸਤਦਾਨ]]
[[ਸ਼੍ਰੇਣੀ:ਭਾਰਤ ਦੇ ਸੰਸਦ ਮੈਂਬਰ 2014–2019]]
7nmjff431jxs01vjwjnsefd9syi0g4p
ਮੌਡਿਊਲ:Params
828
195378
849427
843074
2026-10-08T16:38:53Z
Grufo
47592
Update from [[d:Special:GoToLinkedPage/mediawikiwiki/Q122696746|master]] using [[mw:Synchronizer| #Synchronizer]]
849427
Scribunto
text/plain
require[[strict]]
--- ---
--- PRIVATE ENVIRONMENT ---
--- ________________________________ ---
--- ---
--[[ Abstract utilities ]]--
----------------------------
-- Helper function for `string.gsub()` (for managing zero-padded numbers)
local function zero_padded (str)
return ('%03d%s'):format(#str, str)
end
-- Helper function for `table.sort()` (for natural sorting)
local function natural_sort (var1, var2)
return var1:gsub('%d+', zero_padded) < var2:gsub('%d+', zero_padded)
end
-- Return a copy or a reference to a table
local function copy_or_ref_table (src, refonly)
if refonly then return src end
local newtab = {}
for key, val in pairs(src) do newtab[key] = val end
return newtab
end
-- Copy at most N items (of all kinds) from `src` to `dest` and return `dest`
local function copy_table_maxn (dest, src, len)
local idx = 1
for key, val in pairs(src) do
dest[key], idx = val, idx + 1
if idx > len then break end
end
return dest
end
-- Remove some numeric elements from a table, shifting everything to the left
local function remove_numeric_keys (tbl, idx, len)
local cache, tmp = {}, idx + len - 1
for key, val in pairs(tbl) do
if type(key) == 'number' and key >= idx then
if key > tmp then cache[key - len] = val end
tbl[key] = nil
end
end
for key, val in pairs(cache) do tbl[key] = val end
end
-- Make a reduced copy of a table (shifting in both directions if necessary)
local function copy_table_reduced (tbl, idx, len)
local ret, tmp = {}, idx + len - 1
if idx > 0 then
for key, val in pairs(tbl) do
if type(key) ~= 'number' or key < idx then
ret[key] = val
elseif key > tmp then ret[key - len] = val end
end
elseif tmp > 0 then
local nshift = 1 - idx
for key, val in pairs(tbl) do
if type(key) ~= 'number' then ret[key] = val
elseif key > tmp then ret[key - tmp] = val
elseif key < idx then ret[key + nshift] = val end
end
else
for key, val in pairs(tbl) do
if type(key) ~= 'number' or key > tmp then
ret[key] = val
elseif key < idx then ret[key + len] = val end
end
end
return ret
end
-- Make an expanded copy of a table (shifting in both directions if necessary)
local function copy_table_expanded (tbl, idx, len)
local ret, tmp = {}, idx + len - 1
if idx > 0 then
for key, val in pairs(tbl) do
if type(key) ~= 'number' or key < idx then
ret[key] = val
else ret[key + len] = val end
end
elseif tmp > 0 then
local nshift = idx - 1
for key, val in pairs(tbl) do
if type(key) ~= 'number' then ret[key] = val
elseif key > 0 then ret[key + tmp] = val
elseif key < 1 then ret[key + nshift] = val end
end
else
for key, val in pairs(tbl) do
if type(key) ~= 'number' or key > tmp then
ret[key] = val
else ret[key - len] = val end
end
end
return ret
end
-- Given a table, create two new tables containing the sorted list of keys
local function get_key_list_sorted (tbl, sort_fn)
local nums, words, nn, nw = {}, {}, 0, 0
for key, val in pairs(tbl) do
if type(key) == 'number' then
nn = nn + 1
nums[nn] = key
else
nw = nw + 1
words[nw] = key
end
end
table.sort(nums)
table.sort(words, sort_fn)
return nums, words, nn, nw
end
-- Parse a parameter name string and return it as a string or a number
local function get_parameter_name (par_str)
local ret = par_str:match'^%s*(.-)%s*$'
if ret ~= '0' and ret:find'^%-?[1-9]%d*$' == nil then return ret end
return tonumber(ret)
end
-- Move a key from a table to another, but only if under a different name and
-- always parsing numeric strings as numbers
local function steal_if_renamed (val, src, skey, dest, dkey)
local realkey = get_parameter_name(dkey)
if skey ~= realkey then dest[realkey], src[skey] = val, nil end
end
--[[ Public strings ]]--
------------------------
-- Special match keywords (functions and modifiers MUST avoid these names)
local mkeywords = {
['or'] = 0,
pattern = 1,
plain = 2,
strict = 3
}
-- Sort functions (functions and modifiers MUST avoid these names)
local sortfunctions = {
alphabetically = false,
naturally = natural_sort
}
-- Callback styles for the `mapping_*` and `renaming_*` class of modifiers
-- (functions and modifiers MUST avoid these names)
--[[
Meanings of the columns:
col[1] = Loop type (0-3)
col[2] = Number of module arguments that the style requires (1-3)
col[3] = Minimum number of sequential parameters passed to the callback
col[4] = Name of the callback parameter where to place each parameter name
col[5] = Name of the callback parameter where to place each parameter value
col[6] = Argument in the modifier's invocation that will override `col[4]`
col[7] = Argument in the modifier's invocation that will override `col[5]`
A value of `-1` indicates that no meaningful value is stored (i.e. `nil`)
]]--
local mapping_styles = {
names_and_values = { 3, 2, 2, 1, 2, -1, -1 },
values_and_names = { 3, 2, 2, 2, 1, -1, -1 },
values_only = { 1, 2, 1, -1, 1, -1, -1 },
names_only = { 2, 2, 1, 1, -1, -1, -1 },
names_and_values_as = { 3, 4, 0, -1, -1, 2, 3 },
names_only_as = { 2, 3, 0, -1, -1, 2, -1 },
values_only_as = { 1, 3, 0, -1, -1, -1, 2 },
blindly = { 0, 2, 0, -1, -1, -1, -1 }
}
-- Memory slots (functions and modifiers MUST avoid these names)
local memoryslots = {
h = 'header',
f = 'footer',
i = 'itersep',
l = 'lastsep',
n = 'ifngiven',
p = 'pairsep',
s = 'oxfordsep'
}
-- Possible trimming modes for the `parsing` modifier
local trim_parse_opts = {
trim_none = { false, false },
trim_positional = { false, true },
trim_named = { true, false },
trim_all = { true, true }
}
-- Possible string modes for the iteration separator in the `parsing` and
-- `reinterpreting` modifiers
local isep_parse_opts = {
splitter_pattern = false,
splitter_string = true
}
-- Possible string modes for the key-value separator in the `parsing` and
-- `reinterpreting` modifiers
local psep_parse_opts = {
setter_pattern = false,
setter_string = true
}
-- Possible position references for the `splicing` modifier
local position_references = {
add_nothing = 0,
add_smallest_number = 1,
add_last_of_sequence = 2,
add_largest_number = 3
}
-- Possible modes for the `reassigning` modifier
local a_modes = {
transfer = 0,
clone = 1,
rename = 2,
copy = 3,
sacrifice = 4,
provide = 5,
spare = 7
}
-- Functions and modifiers MUST avoid these names too: `here`, `in_substack`,
-- `let`, `expose`, `use`, `with_flushed_glue`, `without_flushed_glue`
-- `without_sorting`
--[[ Private constants ]]--
---------------------------
-- Hard-coded name of the module (to avoid going through `frame:getTitle()`)
local modulename = 'Module:Params'
-- The functions listed here declare that they don't need the `frame.args`
-- metatable to be copied into a regular table; if they are modifiers they also
-- guarantee that they will make their own (modified) copy available
local refpipe = {
call_for_each_group = true,
--coins = true,
count = true,
evaluating = true,
for_each = true,
list = true,
list_values = true,
list_maybe_with_names = true,
value_of = true
}
-- The functions listed here declare that they don't need the
-- `frame:getParent().args` metatable to be copied into a regular table; if
-- they are modifiers they also guarantee that they will make their own
-- (modified) copy available
local refparams = {
call_for_each_group = true,
combining = true,
combining_by_calling = true,
combining_values = true,
concat_and_call = true,
concat_and_invoke = true,
concat_and_magic = true,
count = true,
grouping_by_calling = true,
mixing_names_and_values = true,
keeping_at_most = true,
renaming_by_mixing = true,
renaming_to_sequence = true,
renaming_to_uppercase = true,
renaming_to_lowercase = true,
--renaming_to_values = true,
shifting = true,
splicing = true,
--swapping_names_and_values = true,
value_of = true,
with_name_matching = true
}
-- Maximum number of numeric parameters that can be filled, if missing (we
-- chose an arbitrary number for this constant; you can discuss about its
-- optimal value at Module talk:Params)
local maxfill = 1024
-- The private table of functions
local library = {}
-- Functions and modifiers that can only be invoked in first position
local static_iface = {}
--[[ Private functions ]]--
---------------------------
-- Create a new context
local function context_new (child_frame)
local main_frame = child_frame:getParent()
return {
frame = main_frame,
opipe = child_frame.args,
oparams = main_frame.args,
firstposonly = static_iface,
iterfunc = pairs,
sorttype = 0,
n_parents = 0,
n_children = 0,
n_available = maxfill
}
end
-- Move to the next action within the user-given list
local function context_iterate (ctx, n_forward)
local nextfn
if ctx.pipe[n_forward] ~= nil then
nextfn = ctx.pipe[n_forward]:match'^%s*(.*%S)'
end
if nextfn == nil then error(modulename ..
': You must specify a function to call', 0) end
if library[nextfn] == nil then
if ctx.firstposonly[nextfn] == nil then error(modulename ..
': The function ‘' .. nextfn .. '’ does not exist', 0)
else error(modulename .. ': The ‘' .. nextfn ..
'’ directive can only appear in first position', 0)
end
end
remove_numeric_keys(ctx.pipe, 1, n_forward)
return library[nextfn]
end
-- Main loop
local function main_loop (ctx, start_with)
local fn = start_with
repeat fn = fn(ctx) until not fn
if ctx.n_parents > 0 then error(modulename ..
': One or more ‘merging_substack’ directives are missing', 0) end
if ctx.n_children > 0 then error(modulename ..
', For some of the snapshots either the ‘flushing’ directive is missing or a group has not been properly closed with ‘merging_substack’', 0) end
end
-- Load a `setting`-like directive string into the `dest` table
local function set_strings_from_opts (dest, opts, start_from)
local cmd
if opts[start_from] == nil then return start_from - 1 end
cmd = opts[start_from]:gsub('%s+', ''):gsub('/+', '/')
:match'^/*(.*[^/])'
if cmd == nil then return start_from end
local vname, chr
local amap, sep, argc = {}, string.byte('/'), start_from + 1
for idx = 1, #cmd do
chr = cmd:byte(idx)
if chr == sep then
for key, val in ipairs(amap) do
dest[val], amap[key] = opts[argc], nil
end
argc = argc + 1
else
vname = memoryslots[string.char(chr)]
if vname == nil then error(modulename ..
', ‘setting’: Unknown slot ‘' ..
string.char(chr) .. '’', 0) end
table.insert(amap, vname)
end
end
for key, val in ipairs(amap) do dest[val] = opts[argc] end
return argc
end
-- Add a new stack of parameters to `ctx.children`
local function new_substack (ctx)
local currsnap, newparams = ctx.n_children + 1, {}
if ctx.children == nil then ctx.children = { newparams }
else ctx.children[currsnap] = newparams end
ctx.n_children = currsnap
return newparams
end
-- Parse a raw argument containing a `sortfunctions` directive, or
-- `'without_sorting'`, or `nil`
local function load_sort_opt (raw_arg)
if raw_arg == nil then return nil, 1, false end
local trarg = raw_arg:match'^%s*(.-)%s*$'
if trarg == 'without_sorting' then return nil, 2, false, trarg end
local tmp = sortfunctions[trarg]
if tmp == nil then return nil, 1, false, trarg end
return tmp or nil, 2, true, trarg
end
-- Parse optional user arguments of type `...|[let/use]|[...]|[let/use]|[...]|
-- [number of additional parameters]|[parameter 1]|[parameter 2]|[...]`
local function load_child_opts (src, start_from, append_after, params)
local tnamed, tmp1, tmp2
local pin, tbl, mem = start_from, {}, {}
while src[pin] ~= nil and src[pin + 1] ~= nil do
tmp1 = src[pin]:match'^%s*(.*%S)'
if tmp1 == 'let' and src[pin + 2] ~= nil then
tmp1 = get_parameter_name(src[pin + 1])
mem[tmp1], tbl[tmp1], pin = nil, src[pin + 2], pin + 3
--[[
elseif tmp1 == 'expose' then
tmp1 = get_parameter_name(src[pin + 1])
tmp2 = params[tmp1]
mem[tmp1], tbl[tmp1], pin = tmp2, tmp2, pin + 2
]]--
elseif tmp1 == 'use' and src[pin + 2] ~= nil then
tmp1 = get_parameter_name(src[pin + 2])
tmp2 = params[tmp1]
mem[tmp1], tbl[get_parameter_name(src[pin + 1])], pin =
tmp2, tmp2, pin + 3
else break end
end
local tnew = copy_or_ref_table(params, next(mem) == nil)
for key in pairs(mem) do tnew[key] = nil end
if pin ~= start_from then tnamed, tbl = tbl, {} end
tmp1 = tonumber(src[pin])
if tmp1 ~= nil and math.floor(tmp1) == tmp1 then
if tmp1 < 0 then tmp1 = -1 end
tmp2 = append_after - pin
for idx = pin + 1, pin + tmp1 do tbl[idx + tmp2] = src[idx] end
pin = pin + tmp1 + 1
end
if tnamed ~= nil then
for key, val in pairs(tnamed) do tbl[key] = val end
end
return tbl, pin, tnew, mem
end
-- Load the optional arguments of some of the `mapping_*` and `renaming_*`
-- class of modifiers
local function load_callback_opts (src, n_skip, default_style, params)
local style, shf
local tmp = src[n_skip + 1]
if tmp ~= nil then style = mapping_styles[tmp:match'^%s*(.-)%s*$'] end
if style == nil then style, shf = default_style, n_skip - 1
else shf = n_skip end
local n_exist, karg, varg = style[3], style[4], style[5]
tmp = style[6]
if tmp > -1 then
karg = src[tmp + shf]:match'^%s*(.-)%s*$'
if karg == '0' or karg:find'^%-?[1-9]%d*$' ~= nil then
karg = tonumber(karg)
n_exist = math.max(n_exist, karg)
end
end
tmp = style[7]
if tmp > -1 then
varg = src[tmp + shf]:match'^%s*(.-)%s*$'
if varg == '0' or varg:find'^%-?[1-9]%d*$' ~= nil then
varg = tonumber(varg)
n_exist = math.max(n_exist, varg)
end
end
local dest, argc, tnew, mem = load_child_opts(src, style[2] + shf,
n_exist, params)
tmp = style[1]
if (tmp == 3 or tmp == 2) and dest[karg] ~= nil then
tmp = tmp - 2 end
if (tmp == 3 or tmp == 1) and dest[varg] ~= nil then
tmp = tmp - 1 end
return dest, argc, tmp, karg, varg, tnew, mem
end
-- Parse the arguments of some of the `mapping_*` and `renaming_*` class of
-- modifiers
local function load_replace_args (opts, whoami)
if opts[1] == nil then error(modulename ..
', ‘' .. whoami .. '’: No pattern string was given', 0) end
if opts[2] == nil then error(modulename ..
', ‘' .. whoami .. '’: No replacement string was given', 0) end
local ptn, repl, nmax, argc = opts[1], opts[2], tonumber(opts[3]), 3
if nmax ~= nil or (opts[3] or ''):match'^%s*$' ~= nil then argc = 4 end
local flg = opts[argc]
if flg ~= nil then flg = mkeywords[flg:match'^%s*(.-)%s*$'] end
if flg == 0 then flg = nil elseif flg ~= nil then argc = argc + 1 end
return ptn, repl, nmax, flg, argc, (nmax ~= nil and nmax < 1) or
(flg == 3 and ptn == repl)
end
-- Parse the arguments of the `with_*_matching` class of modifiers
local function load_pattern_args (opts, whoami)
local keyw
local ptns, state, nptns, cnt = {}, 0, 0, 1
for _, val in ipairs(opts) do
if state == 0 then
nptns, state = nptns + 1, -1
ptns[nptns] = { val, false, false }
else
keyw = val:match'^%s*(.*%S)'
if keyw == nil or mkeywords[keyw] == nil or (
state > 0 and mkeywords[keyw] > 0
) then break
else
state = mkeywords[keyw]
if state > 1 then ptns[nptns][2] = true end
if state == 3 then ptns[nptns][3] = true end
end
end
cnt = cnt + 1
end
if state == 0 then error(modulename .. ', ‘' .. whoami ..
'’: No pattern was given', 0) end
return ptns, nptns, cnt
end
-- Load the optional arguments of the `parsing`, `reinterpreting` and
-- `evaluating` modifiers
local function load_parse_opts (opts, start_from, isp, psp)
local tmp
local optslots, noptslots, argc, trimn, trimu, iplain, pplain =
{ true, true, true }, 3, start_from, true, false, true, true
repeat
noptslots, tmp = noptslots - 1, opts[argc]
if tmp == nil then break end
tmp = tmp:match'^%s*(.-)%s*$'
if optslots[1] ~= nil and trim_parse_opts[tmp] ~= nil then
tmp = trim_parse_opts[tmp]
trimn, trimu, optslots[1] = tmp[1], tmp[2], nil
elseif optslots[2] ~= nil and isep_parse_opts[tmp] ~= nil then
argc = argc + 1
iplain, isp, optslots[2] = isep_parse_opts[tmp],
opts[argc], nil
elseif optslots[3] ~= nil and psep_parse_opts[tmp] ~= nil then
argc = argc + 1
pplain, psp, optslots[3] = psep_parse_opts[tmp],
opts[argc], nil
else break end
argc = argc + 1
until noptslots < 1
return isp, iplain, psp, pplain, trimn, trimu, argc
end
-- Map parameters' values using a custom callback and a referenced table
local value_maps = {
[0] = function (tbl, margs, karg, varg, fn)
for key in pairs(tbl) do tbl[key] = fn() end
end,
[1] = function (tbl, margs, karg, varg, fn)
for key, val in pairs(tbl) do
margs[varg] = val
tbl[key] = fn()
end
end,
[2] = function (tbl, margs, karg, varg, fn)
for key in pairs(tbl) do
margs[karg] = key
tbl[key] = fn()
end
end,
[3] = function (tbl, margs, karg, varg, fn)
for key, val in pairs(tbl) do
margs[karg], margs[varg] = key, val
tbl[key] = fn()
end
end
}
-- Private table for `map_names()`
local name_thieves = {
[0] = function (cache, tbl, rargs, karg, varg, fn)
for key, val in pairs(tbl) do
steal_if_renamed(val, tbl, key, cache, fn())
end
end,
[1] = function (cache, tbl, rargs, karg, varg, fn)
for key, val in pairs(tbl) do
rargs[varg] = val
steal_if_renamed(val, tbl, key, cache, fn())
end
end,
[2] = function (cache, tbl, rargs, karg, varg, fn)
for key, val in pairs(tbl) do
rargs[karg] = key
steal_if_renamed(val, tbl, key, cache, fn())
end
end,
[3] = function (cache, tbl, rargs, karg, varg, fn)
for key, val in pairs(tbl) do
rargs[karg], rargs[varg] = key, val
steal_if_renamed(val, tbl, key, cache, fn())
end
end
}
-- Map parameters' names using a custom callback and a referenced table
local function map_names (tbl, rargs, karg, varg, looptype, fn)
local cache = {}
name_thieves[looptype](cache, tbl, rargs, karg, varg, fn)
for key, val in pairs(cache) do tbl[key] = val end
end
-- Return a new table that contains `src` regrouped according to the numeric
-- suffixes in its keys
local function make_groups (src)
-- NOTE: `src` might be the original metatable!
local prefix, gid
local groups = {}
for key, val in pairs(src) do
-- `key` must only be a string or a number...
if type(key) == 'string' then
prefix, gid = key:match'^%s*(.-)%s*(%-?%d*)%s*$'
gid = tonumber(gid) or ''
else
prefix, gid = '', key
end
if groups[gid] == nil then groups[gid] = {} end
if prefix == '0' or prefix:find'^%-?[1-9]%d*$' ~= nil then
prefix = tonumber(prefix)
if prefix < 1 then prefix = prefix - 1 end
end
groups[gid][prefix] = val
end
return groups
end
-- Split into parts a string containing the `$#` and `$@` placeholders and
-- return the information as a skeleton table, a canvas table and a length
local function parse_placeholder_string (target)
local idx, s_pos, skel, canvas = 1, 1, {}, {}
local e_pos = string.find(target, '%$[@#]', 1, false)
while e_pos ~= nil do
canvas[idx] = target:sub(s_pos, e_pos - 1)
skel[idx + 1] = target:sub(e_pos, e_pos + 1) == '$@'
idx = idx + 2
s_pos = e_pos + 2
e_pos = string.find(target, '%$[@#]', s_pos, false)
end
if (s_pos > target:len()) then idx = idx - 1
else canvas[idx] = target:sub(s_pos) end
return skel, canvas, idx
end
-- Populate a table by parsing a parameter string (heavy lifting for `parsing`,
-- `reinterpreting` and `evaluating`)
local function parse_parameter_string (tbl, str, isp, ipl, psp, ppl, trn, tru)
local key, val, spos1, spos2, pos1, pos2
local pos3, idx, lenplone = 0, 1, #str + 1
if isp == nil or isp == '' then
if psp == nil or psp == '' then
if tru then tbl[idx] = str:match'^%s*(.-)%s*$'
else tbl[idx] = str end
return idx
end
spos1, spos2 = str:find(psp, 1, ppl)
if spos1 == nil then
key = idx
if tru then val = str:match'^%s*(.-)%s*$'
else val = str end
idx = idx + 1
else
key = get_parameter_name(str:sub(1, spos1 - 1))
val = str:sub(spos2 + 1)
if trn then val = val:match'^%s*(.-)%s*$' end
end
tbl[key] = val
return idx
end
if psp == nil or psp == '' then
repeat
pos1 = pos3 + 1
pos2, pos3 = str:find(isp, pos1, ipl)
val = str:sub(pos1, (pos2 or lenplone) - 1)
if tru then val = val:match'^%s*(.-)%s*$' end
tbl[idx], idx = val, idx + 1
until pos2 == nil
return idx
end
repeat
pos1 = pos3 + 1
pos2, pos3 = str:find(isp, pos1, ipl)
val = str:sub(pos1, (pos2 or lenplone) - 1)
spos1, spos2 = val:find(psp, 1, ppl)
if spos1 == nil then
key = idx
if tru then val = val:match'^%s*(.-)%s*$' end
idx = idx + 1
else
key = get_parameter_name(val:sub(1, spos1 - 1))
val = val:sub(spos2 + 1)
if trn then val = val:match'^%s*(.-)%s*$' end
end
tbl[key] = val
until pos2 == nil
return idx
end
-- Heavy lifting for `snapshotting` and `remembering`
local function make_child (ctx, src, whoami)
local len = tonumber(ctx.pipe[1])
if len == nil or len == 0 then
local stack = new_substack(ctx)
for key, val in pairs(src) do stack[key] = val end
return len == nil and 1 or 2
end
if len < 0 or math.floor(len) ~= len then error(modulename ..
', ‘' .. whoami .. '’: The number of parameters to copy must be an integer greater than zero', 0) end
copy_table_maxn(new_substack(ctx), src, len)
return 2
end
-- Heavy lifting for `setting_by_flushing`, `combining` and `combining_values`
local function set_strings_from_substack (ctx, dest, whoami)
if ctx.n_children < 1 then error(modulename ..
', ‘' .. whoami .. '’: There are no substacks to flush', 0) end
local currsnap = ctx.n_children
local stack = ctx.children[currsnap]
for key, val in pairs(memoryslots) do
if stack[key] ~= nil then dest[val] = stack[key] end
end
ctx.children[currsnap], ctx.n_children = nil, currsnap - 1
end
-- Heavy lifting for `combining` and `combining_values`
local function combine_parameters (ctx, keyval_fn, whoami)
-- NOTE: `ctx.params` might be the original metatable! This function
-- MUST create a copy of it before returning
local opts = ctx.pipe
if ctx.pipe[1] == nil then error(modulename ..
', ‘' .. whoami .. '’: No parameter name was provided', 0) end
local argc
local tbl, vars = ctx.params, {}
local sortfn, varsarg0, do_sort, tmp = load_sort_opt(opts[2])
if varsarg0 == 2 then tmp = opts[3] and opts[3]:match'^%s*(.-)%s*$' end
if tmp == 'with_flushed_glue' then
varsarg0 = varsarg0 + 1
argc = set_strings_from_opts(vars, opts, varsarg0 + 1)
set_strings_from_substack(ctx, vars, whoami)
else
if tmp == 'without_flushed_glue' then varsarg0 = varsarg0 + 1 end
argc = set_strings_from_opts(vars, opts, varsarg0 + 1)
end
if argc < varsarg0 then error(modulename ..
', ‘' .. whoami .. '’: No setting directive was given', 0) end
if next(tbl) == nil then
if vars.ifngiven ~= nil then ctx.params =
{ [get_parameter_name(ctx.pipe[1])] = vars.ifngiven }
elseif tbl == ctx.oparams then ctx.params = {} end
return argc
end
local cache, len
if do_sort then
local words
cache, words, len, tmp = get_key_list_sorted(tbl, sortfn)
for idx = 1, tmp do cache[len + idx] = words[idx] end
len = len + tmp
else
len, cache = 0, {}
for key in pairs(tbl) do
len = len + 1
cache[len] = key
end
end
local pmap, nss, kvs, pps = {}, 0, vars.pairsep or '', vars.itersep or ''
for idx = 1, len do
tmp, pmap[nss + 1] = cache[idx], pps
pmap[nss + 2] = keyval_fn(tmp, tbl[tmp], kvs)
nss = nss + 2
end
tmp = vars.oxfordsep or vars.lastsep
if tmp ~= nil and nss > 4 then pmap[nss - 1] = tmp
elseif nss > 2 and vars.lastsep ~= nil then
pmap[nss - 1] = vars.lastsep
end
pmap[1] = vars.header or ''
if vars.footer ~= nil then pmap[nss + 1] = vars.footer end
ctx.params = { [get_parameter_name(ctx.pipe[1])] = table.concat(pmap) }
return argc
end
-- Concatenate the numeric keys from the table of parameters to the numeric
-- keys from the table of options; non-numeric keys from the table of options
-- will prevail over colliding non-numeric keys from the table of parameters
local function concat_params (ctx)
local retval, tbl, nmax = {}, ctx.params, table.maxn(ctx.pipe)
if ctx.subset == 1 then
-- We need only the sequence
for key, val in ipairs(tbl) do retval[key + nmax] = val end
else
if ctx.subset == -1 then
for key in ipairs(tbl) do tbl[key] = nil end
end
for key, val in pairs(tbl) do
if type(key) == 'number' and key > 0 then
retval[key + nmax] = val
else retval[key] = val end
end
end
for key, val in pairs(ctx.pipe) do retval[key] = val end
return retval
end
-- Flush the parameters by calling a custom function for each value (after this
-- function has been invoked `ctx.params` will be no longer usable)
local function flush_params (ctx, fn)
local tmp
local tbl = ctx.params
if ctx.subset == -1 then
for key, val in ipairs(tbl) do tbl[key] = nil end
elseif ctx.subset == 1 then
if ctx.pins == nil then
for key, val in ipairs(tbl) do fn(key, val) end
return
end
tmp = {}
for key, val in ipairs(tbl) do tmp[key] = val end
tbl = tmp
end
if ctx.pins ~= nil then
local marker = ctx.sorttype < 1 and ctx.subset ~= -1 or nil
for idx = 1, #ctx.pins do
tmp = ctx.pins[idx]
if tbl[tmp] ~= nil then
fn(tmp, tbl[tmp])
tbl[tmp] = marker
end
end
if ctx.subset == 1 then
for key, val in ipairs(tbl) do
if val ~= true then fn(key, val) end
end
return
end
end
if ctx.sorttype > 0 then
local nums, words, nn, nw = get_key_list_sorted(tbl, natural_sort)
if ctx.sorttype == 2 then
for idx = 1, nw do fn(words[idx], tbl[words[idx]]) end
for idx = 1, nn do fn(nums[idx], tbl[nums[idx]]) end
return
end
for idx = 1, nn do fn(nums[idx], tbl[nums[idx]]) end
for idx = 1, nw do fn(words[idx], tbl[words[idx]]) end
return
end
if ctx.subset == -1 or ctx.pins == nil then
for key, val in ipairs(tbl) do
fn(key, val)
tbl[key] = nil
end
for key, val in pairs(tbl) do fn(key, val) end
return
end
for key, val in ipairs(tbl) do
if val ~= true then fn(key, val) end
tbl[key] = nil
end
for key, val in pairs(tbl) do
if val ~= true then fn(key, val) end
end
end
-- Flush the parameters by calling one of two custom functions for each value
-- (after this function has been invoked `ctx.params` will be no longer usable)
local function mixed_flush_params (ctx, fn_seq, fn_oth)
if ctx.subset == 1 then
flush_params(ctx, fn_seq)
return
end
if ctx.subset == -1 then
flush_params(ctx, fn_oth)
return
end
local tbl = ctx.params
if ctx.pins == nil and ctx.sorttype < 1 then
for key, val in ipairs(tbl) do
fn_seq(key, val)
tbl[key] = nil
end
for key, val in pairs(tbl) do fn_oth(key, val) end
return
end
local tseq = {}
for key, val in ipairs(tbl) do tseq[key] = val end
if ctx.pins ~= nil then
local tmp
local marker = ctx.sorttype < 1 or nil
for idx = 1, #ctx.pins do
tmp = ctx.pins[idx]
if tseq[tmp] ~= nil then
fn_seq(tmp, tbl[tmp])
tbl[tmp], tseq[tmp] = nil, marker
elseif tbl[tmp] ~= nil then
fn_oth(tmp, tbl[tmp])
tbl[tmp] = nil
end
end
end
if ctx.sorttype > 0 then
local nums, words, nn, nw = get_key_list_sorted(tbl, natural_sort)
if ctx.sorttype == 2 then
for idx = 1, nw do fn_oth(words[idx], tbl[words[idx]]) end
end
for idx = 1, nn do
if tseq[nums[idx]] ~= nil then fn_seq(nums[idx], tseq[nums[idx]])
else fn_oth(nums[idx], tbl[nums[idx]]) end
end
if ctx.sorttype ~= 2 then
for idx = 1, nw do fn_oth(words[idx], tbl[words[idx]]) end
end
return
end
for key, val in ipairs(tseq) do
if val ~= true then
fn_seq(key, val)
tbl[key] = nil
end
end
for key, val in pairs(tbl) do fn_oth(key, val) end
end
-- Finalize and return a concatenated list
local function finalize_and_return_concatenated_list (ctx, lst, len, modsize)
if len > 0 then
local tmp = ctx.oxfordsep or ctx.lastsep
if tmp ~= nil and len > modsize * 2 then
lst[len - modsize + 1] = tmp
elseif len > modsize and ctx.lastsep ~= nil then
lst[len - modsize + 1] = ctx.lastsep
end
lst[1] = ctx.header or ''
if ctx.footer ~= nil then lst[len + 1] = ctx.footer end
ctx.text = table.concat(lst)
else ctx.text = ctx.ifngiven or '' end
end
--- ---
--- PUBLIC ENVIRONMENT ---
--- ________________________________ ---
--- ---
--[[ Modifiers ]]--
-------------------
-- Syntax: #invoke:params|sequential|pipe to
library.sequential = function (ctx)
if ctx.subset == 1 then error(modulename ..
': The ‘sequential’ directive has been provided more than once', 0) end
if ctx.subset == -1 then error(modulename ..
': The two directives ‘non-sequential’ and ‘sequential’ are in contradiction with each other', 0) end
if ctx.sorttype > 0 then error(modulename ..
': The ‘all_sorted’ and ‘reassorted’ directives are redundant when followed by ‘sequential’', 0) end
ctx.iterfunc, ctx.subset = ipairs, 1
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|non-sequential|pipe to
library['non-sequential'] = function (ctx)
if ctx.subset == -1 then error(modulename ..
': The ‘non-sequential’ directive has been provided more than once', 0) end
if ctx.subset == 1 then error(modulename ..
': The two directives ‘sequential’ and ‘non-sequential’ are in contradiction with each other', 0) end
ctx.iterfunc, ctx.subset = pairs, -1
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|all_sorted|pipe to
library.all_sorted = function (ctx)
if ctx.sorttype == 1 then error(modulename ..
': The ‘all_sorted’ directive has been provided more than once', 0) end
if ctx.subset == 1 then error(modulename ..
': The ‘all_sorted’ directive is redundant after ‘sequential’', 0) end
if ctx.sorttype == 2 then error(modulename ..
': The two directives ‘reassorted’ and ‘sequential’ are in contradiction with each other', 0) end
ctx.sorttype = 1
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|reassorted|pipe to
library.reassorted = function (ctx)
if ctx.sorttype == 2 then error(modulename ..
': The ‘reassorted’ directive has been provided more than once', 0) end
if ctx.subset == 1 then error(modulename ..
': The ‘reassorted’ directive is redundant after ‘sequential’', 0) end
if ctx.sorttype == 1 then error(modulename ..
': The two directives ‘sequential’ and ‘reassorted’ are in contradiction with each other', 0) end
ctx.sorttype = 2
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|pinned_until|sentinel|[parameter name 1]|[parameter
-- name 2]|...|parameter name N|sentinel|pipe to
library.pinned_until = function (ctx)
local opts = ctx.pipe
if opts[1] == nil then error(modulename ..
', ‘pinned_until’: No sentinel was provided', 0) end
local tmp, bucket, curr, ncurr
local sntl, idx = opts[1]:match'^%s*(.-)%s*$', 2
if ctx.pin_bucket == nil then
bucket, curr, ncurr = {}, {}, 0
ctx.pin_bucket, ctx.pins = bucket, curr
else bucket, curr, ncurr = ctx.pin_bucket, ctx.pins, ctx.npins end
while opts[idx] ~= nil do
tmp = opts[idx]:match'^%s*(.-)%s*$'
if tmp == sntl then
if idx == 2 then error(modulename ..
', ‘pinned_until’: No parameters to pin were provided', 0) end
ctx.npins = ncurr + idx - 2
return context_iterate(ctx, idx + 1)
end
if tmp == '0' or tmp:find'^%-?[1-9]%d*$' ~= nil then
tmp = tonumber(tmp)
end
if bucket[tmp] then error(modulename ..
', ‘pinned_until’: Duplicate pinned parameter ‘' .. tostring(tmp) .. '’', 0) end
curr[ncurr + idx - 1], bucket[tmp], idx = tmp, true, idx + 1
end
error(modulename .. ', ‘pinned_until’: Missing sentinel in position #' .. tostring(idx), 0)
end
-- Syntax: #invoke:params|setting|directives|...|pipe to
library.setting = function (ctx)
local argc = set_strings_from_opts(ctx, ctx.pipe, 1)
if argc < 2 then error(modulename ..
', ‘setting’: No directive was given', 0) end
return context_iterate(ctx, argc + 1)
end
-- Syntax: #invoke:params|scoring|new parameter name|[container]|pipe to
library.scoring = function (ctx)
if ctx.pipe[1] == nil then error(modulename ..
', ‘scoring’: No parameter name was provided', 0) end
local tmp
local retval, opts = 0, ctx.pipe
for _ in pairs(ctx.params) do retval = retval + 1 end
if opts[2] ~= nil then tmp = opts[2]:match'^%s*(.*%S)' end
if tmp == 'in_substack' then
new_substack(ctx)[get_parameter_name(opts[1])] = tostring(retval)
return context_iterate(ctx, 3)
end
ctx.params[get_parameter_name(opts[1])] = tostring(retval)
return context_iterate(ctx, tmp == 'here' and 3 or 2)
end
-- Syntax: #invoke:params|squeezing|pipe to
library.squeezing = function (ctx)
local store, indices, tbl, newlen = {}, {}, ctx.params, 0
for key, val in pairs(tbl) do
if type(key) == 'number' then
newlen = newlen + 1
indices[newlen], store[key], tbl[key] = key, val, nil
end
end
table.sort(indices)
for idx = 1, newlen do tbl[idx] = store[indices[idx]] end
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|filling_the_gaps|pipe to
library.filling_the_gaps = function (ctx)
local newval, tbl, tmp, nmin, nmax, nnums =
ctx.pipe[1], ctx.params, {}, 1, nil, -1
if newval == nil then error(modulename ..
', ‘filling_the_gaps’: No value was provided', 0) end
for key, val in pairs(tbl) do
if type(key) == 'number' then
if nmax == nil then
if key < nmin then nmin = key end
nmax = key
elseif key > nmax then nmax = key
elseif key < nmin then nmin = key end
tmp[key], nnums = val, nnums + 1
end
end
if nmax ~= nil and nmax - nmin > nnums then
ctx.n_available = ctx.n_available + nmin + nnums - nmax
if ctx.n_available < 0 then error(modulename ..
', ‘filling_the_gaps’: It is possible to fill at most ' ..
tostring(maxfill) .. ' parameters', 0) end
for idx = nmin, nmax, 1 do tbl[idx] = newval end
for key, val in pairs(tmp) do tbl[key] = val end
end
return context_iterate(ctx, 2)
end
-- Syntax: #invoke:params|clearing|pipe to
library.clearing = function (ctx)
local tbl, numerics = ctx.params, {}
for key, val in pairs(tbl) do
if type(key) == 'number' then
numerics[key], tbl[key] = val, nil
end
end
for key, val in ipairs(numerics) do tbl[key] = val end
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|cutting|left cut|right cut|pipe to
library.cutting = function (ctx)
local lcut = tonumber(ctx.pipe[1])
if lcut == nil or math.floor(lcut) ~= lcut then error(modulename ..
', ‘cutting’: Left cut must be an integer number', 0) end
local rcut = tonumber(ctx.pipe[2])
if rcut == nil or math.floor(rcut) ~= rcut then error(modulename ..
', ‘cutting’: Right cut must be an integer number', 0) end
local tbl = ctx.params
local len = #tbl
if lcut < 0 then lcut = len + lcut end
if rcut < 0 then rcut = len + rcut end
local tot = lcut + rcut
if tot > 0 then
local cache = {}
if tot >= len then
for key in ipairs(tbl) do tbl[key] = nil end
tot = len
else
for idx = len - rcut + 1, len, 1 do tbl[idx] = nil end
for idx = 1, lcut, 1 do tbl[idx] = nil end
end
for key, val in pairs(tbl) do
if type(key) == 'number' and key > 0 then
if key > len then cache[key - tot] = val
else cache[key - lcut] = val end
tbl[key] = nil
end
end
for key, val in pairs(cache) do tbl[key] = val end
end
return context_iterate(ctx, 3)
end
-- Syntax: #invoke:params|cropping|left crop|right crop|pipe to
library.cropping = function (ctx)
local lcut = tonumber(ctx.pipe[1])
if lcut == nil or math.floor(lcut) ~= lcut then error(modulename ..
', ‘cropping’: Left crop must be an integer number', 0) end
local rcut = tonumber(ctx.pipe[2])
if rcut == nil or math.floor(rcut) ~= rcut then error(modulename ..
', ‘cropping’: Right crop must be an integer number', 0) end
local tbl = ctx.params
local nmin, nmax
for key in pairs(tbl) do
if type(key) == 'number' then
if nmin == nil then nmin, nmax = key, key
elseif key > nmax then nmax = key
elseif key < nmin then nmin = key end
end
end
if nmin ~= nil then
local len = nmax - nmin + 1
if lcut < 0 then lcut = len + lcut end
if rcut < 0 then rcut = len + rcut end
if lcut + rcut - len > -1 then
for key in pairs(tbl) do
if type(key) == 'number' then tbl[key] = nil end
end
elseif lcut + rcut > 0 then
for idx = nmax - rcut + 1, nmax do tbl[idx] = nil end
for idx = nmin, nmin + lcut - 1 do tbl[idx] = nil end
local lshift = nmin + lcut - 1
if lshift > 0 then
for idx = lshift + 1, nmax, 1 do
tbl[idx - lshift], tbl[idx] =
tbl[idx], nil
end
end
end
end
return context_iterate(ctx, 3)
end
-- Syntax: #invoke:params|purging|start offset|length|pipe to
library.purging = function (ctx)
local idx = tonumber(ctx.pipe[1])
if idx == nil or math.floor(idx) ~= idx then error(modulename ..
', ‘purging’: Start offset must be an integer number', 0) end
local len = tonumber(ctx.pipe[2])
if len == nil or math.floor(len) ~= len then error(modulename ..
', ‘purging’: Length must be an integer number', 0) end
local tbl = ctx.params
if len < 1 then
len = len + table.maxn(tbl)
if idx > len then return context_iterate(ctx, 3) end
len = len - idx + 1
end
ctx.params = copy_table_reduced(tbl, idx, len)
return context_iterate(ctx, 3)
end
-- Syntax: #invoke:params|backpurging|start offset|length|pipe to
library.backpurging = function (ctx)
local last = tonumber(ctx.pipe[1])
if last == nil or math.floor(last) ~= last then error(modulename ..
', ‘backpurging’: Start offset must be an integer number', 0) end
local len = tonumber(ctx.pipe[2])
if len == nil or math.floor(len) ~= len then error(modulename ..
', ‘backpurging’: Length must be an integer number', 0) end
local idx
local tbl = ctx.params
if len > 0 then
idx = last - len + 1
else
for key in pairs(tbl) do
if type(key) == 'number' and (idx == nil or
key < idx) then idx = key end
end
if idx == nil then return context_iterate(ctx, 3) end
idx = idx - len
if last < idx then return context_iterate(ctx, 3) end
len = last - idx + 1
end
ctx.params = copy_table_reduced(ctx.params, idx, len)
return context_iterate(ctx, 3)
end
-- Syntax: #invoke:params|shifting|addend|pipe to
library.shifting = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local nshift = tonumber(ctx.pipe[1])
if nshift == nil or nshift == 0 or math.floor(nshift) ~= nshift then
error(modulename .. ', ‘shifting’: A non-zero integer number must be provided', 0) end
local tbl = {}
for key, val in pairs(ctx.params) do
if type(key) == 'number' then tbl[key + nshift] = val
else tbl[key] = val end
end
ctx.params = tbl
return context_iterate(ctx, 2)
end
-- Syntax: #invoke:params|reversing_numeric_names|pipe to
library.reversing_numeric_names = function (ctx)
local tbl, numerics, nmax = ctx.params, {}, 0
for key, val in pairs(tbl) do
if type(key) == 'number' then
numerics[key], tbl[key] = val, nil
if key > nmax then nmax = key end
end
end
for key, val in pairs(numerics) do tbl[nmax - key + 1] = val end
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|pivoting_numeric_names|pipe to
--[[
library.pivoting_numeric_names = function (ctx)
local tbl = ctx.params
local shift = #tbl + 1
if shift < 2 then return library.reversing_numeric_names(ctx) end
local numerics = {}
for key, val in pairs(tbl) do
if type(key) == 'number' then
numerics[key] = val
tbl[key] = nil
end
end
for key, val in pairs(numerics) do tbl[shift - key] = val end
return context_iterate(ctx, 1)
end
]]--
-- Syntax: #invoke:params|mirroring_numeric_names|pipe to
--[[
library.mirroring_numeric_names = function (ctx)
local nmax, nmin
local tbl, numerics = ctx.params, {}
for key, val in pairs(tbl) do
if type(key) == 'number' then
numerics[key] = val
tbl[key] = nil
if nmax == nil then nmin, nmax = key, key
elseif key > nmax then nmax = key
elseif key < nmin then nmin = key end
end
end
for key, val in pairs(numerics) do tbl[nmax + nmin - key] = val end
return context_iterate(ctx, 1)
end
]]--
-- Syntax: #invoke:params|swapping_numeric_names|pipe to
--[[
library.swapping_numeric_names = function (ctx)
local tmp
local tbl, cache, nsize = ctx.params, {}, 0
for key in pairs(tbl) do
if type(key) == 'number' then
nsize = nsize + 1
cache[nsize] = key
end
end
table.sort(cache)
for idx = math.floor(nsize / 2), 1, -1 do
tmp = tbl[cache[idx] ]
tbl[cache[idx] ] = tbl[cache[nsize - idx + 1] ]
tbl[cache[nsize - idx + 1] ] = tmp
end
return context_iterate(ctx, 1)
end
]]--
-- Syntax: #invoke:params|sorting_sequential_values|[criterion]|pipe to
library.sorting_sequential_values = function (ctx)
local sortfn
if ctx.pipe[1] ~= nil then
sortfn = sortfunctions[ctx.pipe[1]:match'^%s*(.-)%s*$']
end
if sortfn then table.sort(ctx.params, sortfn)
else table.sort(ctx.params) end -- i.e. either `false` or `nil`
if sortfn == nil then return context_iterate(ctx, 1) end
return context_iterate(ctx, 2)
end
-- Syntax: #invoke:params|splicing|[add to position]|position|increment|
-- [number of elements to write]|...|pipe to
library.splicing = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local tmp2, argc, pos, refp
local opts, tbl = ctx.pipe, ctx.params
local tmp1 = opts[1]
if tmp1 ~= nil then
tmp2 = tonumber(tmp1)
if tmp2 == nil or math.floor(tmp2) ~= tmp2 then
pos, argc, tmp2 = tonumber(opts[2]), 4,
tmp1:match'^%s*(.*%S)'
if tmp2 ~= nil then
refp = position_references[tmp2]
if refp == nil then error(modulename ..
', ‘splicing’: ‘' .. tostring(tmp2) ..
'’ is not a valid first argument', 0) end
else refp = 0 end
else pos, argc, refp = tmp2, 3, 0 end
else pos, argc, refp = tonumber(opts[2]), 4, 0 end
if pos == nil or math.floor(pos) ~= pos then error(modulename ..
', ‘splicing’: The position must be an integer number', 0) end
local len = tonumber(opts[argc - 1])
if len == nil or math.floor(len) ~= len then error(modulename ..
', ‘splicing’: The increment must be an integer number', 0) end
local insn = tonumber(opts[argc])
if len == 0 and (insn == nil or insn < 1) then error(modulename ..
', ‘splicing’: When the increment is zero the number of elements to write cannot be zero', 0) end
if refp == 2 then
for _ in ipairs(tbl) do pos = pos + 1 end
refp = 0
end
tmp1, tmp2 = nil, nil
if refp ~= 0 or len ~= 0 then
for key, val in pairs(tbl) do
if type(key) == 'number' then
if tmp1 == nil then tmp1, tmp2 = key, key
elseif key < tmp1 then tmp1 = key
elseif key > tmp2 then tmp2 = key end
end
end
end
if tmp2 == nil then len = 0
elseif refp == 3 then pos = pos + tmp2
elseif refp == 1 then pos = pos + tmp1 end
if len > 0 and pos + len > tmp1 and pos <= tmp2 then
tbl = copy_table_expanded(tbl, pos, len)
elseif len < 0 and pos - len > tmp1 and pos <= tmp2 then
tbl = copy_table_reduced(tbl, pos, -len)
else tbl = copy_or_ref_table(tbl, tbl ~= ctx.oparams) end
ctx.params = tbl
if insn == nil or insn < 0 or math.floor(insn) ~= insn then
return context_iterate(ctx, argc)
end
tmp1 = argc - pos + 1
for key = pos, pos + insn - 1 do tbl[key] = opts[key + tmp1] end
return context_iterate(ctx, argc + insn + 1)
end
-- Syntax: #invoke:params|imposing|name|value|pipe to
library.imposing = function (ctx)
if ctx.pipe[1] == nil then error(modulename ..
', ‘imposing’: Missing parameter name to impose', 0) end
ctx.params[get_parameter_name(ctx.pipe[1])] = ctx.pipe[2]
return context_iterate(ctx, 3)
end
-- Syntax: #invoke:params|providing|name|value|pipe to
library.providing = function (ctx)
if ctx.pipe[1] == nil then error(modulename ..
', ‘providing’: Missing parameter name to provide', 0) end
local key = get_parameter_name(ctx.pipe[1])
if ctx.params[key] == nil then ctx.params[key] = ctx.pipe[2] end
return context_iterate(ctx, 3)
end
-- Syntax: #invoke:params|reassigning|source|destination|[mode]|pipe to
library.reassigning = function (ctx)
local opts, tbl = ctx.pipe, ctx.params
if opts[1] == nil then error(modulename ..
', ‘reassigning’: Missing source parameter', 0) end
if opts[2] == nil then error(modulename ..
', ‘reassigning’: Missing destination parameter', 0) end
local mode, argc
local src = get_parameter_name(opts[1])
local val = tbl[src]
if opts[3] ~= nil then mode = a_modes[opts[3]:match'^%s*(.-)%s*$'] end
if mode == nil then mode, argc = 0, 3 else argc = 4 end
if val == nil and mode > 1 then return context_iterate(ctx, argc) end
local dest = get_parameter_name(opts[2])
local tmp = tbl[dest] == nil
if mode % 2 == 0 or (mode == 7 and tmp) then tbl[src] = nil end
if tmp or mode < 4 then tbl[dest] = val end
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|discarding|name|[how many]|pipe to
library.discarding = function (ctx)
if ctx.pipe[1] == nil then error(modulename ..
', ‘discarding’: Missing parameter name to discard', 0) end
local len = tonumber(ctx.pipe[2])
if len == nil then
ctx.params[get_parameter_name(ctx.pipe[1])] = nil
return context_iterate(ctx, 2)
end
local key = tonumber(ctx.pipe[1])
if key == nil or math.floor(key) ~= key then error(modulename ..
', ‘discarding’: A range was provided, but the initial parameter name is not an integer number', 0) end
if len < 1 or math.floor(len) ~= len then error(modulename ..
', ‘discarding’: A range can only be an integer number greater than zero', 0) end
for idx = key, key + len - 1 do ctx.params[idx] = nil end
return context_iterate(ctx, 3)
end
-- Syntax: #invoke:params|excluding_non-numeric_names|pipe to
library['excluding_non-numeric_names'] = function (ctx)
local tmp = ctx.params
for key, val in pairs(tmp) do
if type(key) ~= 'number' then tmp[key] = nil end
end
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|excluding_numeric_names|pipe to
library.excluding_numeric_names = function (ctx)
local tmp = ctx.params
for key, val in pairs(tmp) do
if type(key) == 'number' then tmp[key] = nil end
end
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|with_name_matching|target 1|[plain flag 1]|[or]|
-- [target 2]|[plain flag 2]|[or]|[...]|[target N]|[plain flag
-- N]|pipe to
library.with_name_matching = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local tmp, ptn
local targets, nptns, argc = load_pattern_args(ctx.pipe,
'with_name_matching')
local tbl, newparams = ctx.params, {}
for idx = 1, nptns do
ptn = targets[idx]
if ptn[3] then
tmp = ptn[1]
if tmp == '0' or tmp:find'^%-?[1-9]%d*$' ~= nil then
tmp = tonumber(tmp)
end
newparams[tmp] = tbl[tmp]
else
for key, val in pairs(tbl) do
if tostring(key):find(ptn[1], 1, ptn[2]) then
newparams[key] = val
end
end
end
end
ctx.params = newparams
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|with_name_not_matching|target 1|[plain flag 1]|
-- [and]|[target 2]|[plain flag 2]|[and]|[...]|[target N]|[plain
-- flag N]|pipe to
library.with_name_not_matching = function (ctx)
local targets, nptns, argc = load_pattern_args(ctx.pipe,
'with_name_not_matching')
local tbl = ctx.params
if nptns == 1 and targets[1][3] then
local tmp = targets[1][1]
if tmp == '0' or tmp:find'^%-?[1-9]%d*$' ~= nil then
tbl[tonumber(tmp)] = nil
else tbl[tmp] = nil end
return context_iterate(ctx, argc)
end
local yesmatch, ptn
for key in pairs(tbl) do
yesmatch = true
for idx = 1, nptns do
ptn = targets[idx]
if ptn[3] then
if tostring(key) ~= ptn[1] then
yesmatch = false
break
end
elseif not tostring(key):find(ptn[1], 1, ptn[2]) then
yesmatch = false
break
end
end
if yesmatch then tbl[key] = nil end
end
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|with_value_matching|target 1|[plain flag 1]|[or]|
-- [target 2]|[plain flag 2]|[or]|[...]|[target N]|[plain flag
-- N]|pipe to
library.with_value_matching = function (ctx)
local nomatch, ptn
local tbl = ctx.params
local targets, nptns, argc = load_pattern_args(ctx.pipe,
'with_value_matching')
for key, val in pairs(tbl) do
nomatch = true
for idx = 1, nptns do
ptn = targets[idx]
if ptn[3] then
if val == ptn[1] then
nomatch = false
break
end
elseif val:find(ptn[1], 1, ptn[2]) then
nomatch = false
break
end
end
if nomatch then tbl[key] = nil end
end
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|with_value_not_matching|target 1|[plain flag 1]|
-- [and]|[target 2]|[plain flag 2]|[and]|[...]|[target N]|[plain
-- flag N]|pipe to
library.with_value_not_matching = function (ctx)
local yesmatch, ptn
local tbl = ctx.params
local targets, nptns, argc = load_pattern_args(ctx.pipe,
'with_value_not_matching')
for key, val in pairs(tbl) do
yesmatch = true
for idx = 1, nptns do
ptn = targets[idx]
if ptn[3] then
if val ~= ptn[1] then
yesmatch = false
break
end
elseif not val:find(ptn[1], 1, ptn[2]) then
yesmatch = false
break
end
end
if yesmatch then tbl[key] = nil end
end
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|keeping_at_most|number of parameters to pick|pipe to
library.keeping_at_most = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local len = tonumber(ctx.pipe[1])
if len == nil or len < 1 or math.floor(len) ~= len then error(modulename ..
', ‘keeping_at_most’: The number of parameters to keep must be an integer greater than zero', 0) end
ctx.params = copy_table_maxn({}, ctx.params, len)
return context_iterate(ctx, 2)
end
-- Syntax: #invoke:params|trimming_values|pipe to
library.trimming_values = function (ctx)
local tbl = ctx.params
for key, val in pairs(tbl) do tbl[key] = val:match'^%s*(.-)%s*$' end
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|mapping_to_lowercase|pipe to
library.mapping_to_lowercase = function (ctx)
local tbl = ctx.params
for key, val in pairs(tbl) do tbl[key] = val:lower() end
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|mapping_to_uppercase|pipe to
library.mapping_to_uppercase = function (ctx)
local tbl = ctx.params
for key, val in pairs(tbl) do tbl[key] = val:upper() end
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|mapping_by_calling|template name|[call
-- style]|[let/use]|[...]|[let/use]|[...]|[number of additional
-- parameters]|[parameter 1]|[parameter 2]|[...]|[parameter N]|pipe to
library.mapping_by_calling = function (ctx)
local tname
local opts = ctx.pipe
if opts[1] ~= nil then tname = opts[1]:match'^%s*(.*%S)' end
if tname == nil then error(modulename ..
', ‘mapping_by_calling’: No template name was provided', 0) end
local margs, argc, looptype, karg, varg, tbl, mem =
load_callback_opts(opts, 1, mapping_styles.values_only, ctx.params)
local model = { title = tname, args = margs }
value_maps[looptype](tbl, margs, karg, varg, function ()
return ctx.frame:expandTemplate(model)
end)
for key, val in pairs(mem) do tbl[key] = val end
ctx.params = tbl
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|mapping_by_invoking|module name|function name|[call
-- style]|[let/use]|[...]|[let/use]|[...]|[number of additional
-- arguments]|[argument 1]|[argument 2]|[...]|[argument N]|pipe to
library.mapping_by_invoking = function (ctx)
local mname, fname
local opts = ctx.pipe
if opts[1] ~= nil then mname = opts[1]:match'^%s*(.*%S)' end
if mname == nil then error(modulename ..
', ‘mapping_by_invoking’: No module name was provided', 0) end
if opts[2] ~= nil then fname = opts[2]:match'^%s*(.*%S)' end
if fname == nil then error(modulename ..
', ‘mapping_by_invoking’: No function name was provided', 0) end
local margs, argc, looptype, karg, varg, tbl, mem =
load_callback_opts(opts, 2, mapping_styles.values_only, ctx.params)
local model = { title = 'Module:' .. mname, args = margs }
local mfunc = require(model.title)[fname]
if mfunc == nil then error(modulename ..
', ‘mapping_by_invoking’: The function ‘' .. fname ..
'’ does not exist', 0) end
value_maps[looptype](tbl, margs, karg, varg, function ()
return tostring(mfunc(ctx.frame:newChild(model)))
end)
for key, val in pairs(mem) do tbl[key] = val end
ctx.params = tbl
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|mapping_by_magic|parser function|[call
-- style]|[let/use]|[...]|[let/use]|[...]|[number of additional
-- arguments]|[argument 1]|[argument 2]|[...]|[argument N]|pipe to
library.mapping_by_magic = function (ctx)
local magic
local opts = ctx.pipe
if opts[1] ~= nil then magic = opts[1]:match'^%s*(.*%S)' end
if magic == nil then error(modulename ..
', ‘mapping_by_magic’: No parser function was provided', 0) end
local margs, argc, looptype, karg, varg, tbl, mem =
load_callback_opts(opts, 1, mapping_styles.values_only, ctx.params)
value_maps[looptype](tbl, margs, karg, varg, function ()
return ctx.frame:callParserFunction(magic, margs)
end)
for key, val in pairs(mem) do tbl[key] = val end
ctx.params = tbl
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|mapping_by_replacing|target|replace|[count]|[plain
-- flag]|pipe to
library.mapping_by_replacing = function (ctx)
local ptn, repl, nmax, flg, argc, die =
load_replace_args(ctx.pipe, 'mapping_by_replacing')
if die then return context_iterate(ctx, argc) end
local tbl = ctx.params
if flg == 3 then
for key, val in pairs(tbl) do
if val == ptn then tbl[key] = repl end
end
else
if flg == 2 then
-- Copied from Module:String's `str._escapePattern()`
ptn = ptn:gsub('[%(%)%.%%%+%-%*%?%[%^%$%]]', '%%%0')
end
for key, val in pairs(tbl) do
tbl[key] = val:gsub(ptn, repl, nmax)
end
end
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|mapping_by_mixing|mixing string|pipe to
library.mapping_by_mixing = function (ctx)
if ctx.pipe[1] == nil then error(modulename ..
', ‘mapping_by_mixing’: No mixing string was provided', 0) end
local tbl, mix = ctx.params, ctx.pipe[1]
if mix == '$#' then
for key in pairs(tbl) do tbl[key] = tostring(key) end
return context_iterate(ctx, 2)
end
local skel, cnv, n_parts = parse_placeholder_string(mix)
for key, val in pairs(tbl) do
for idx = 2, n_parts, 2 do
if skel[idx] then cnv[idx] = val
else cnv[idx] = tostring(key) end
end
tbl[key] = table.concat(cnv)
end
return context_iterate(ctx, 2)
end
-- Syntax: #invoke:params|mapping_to_names|pipe to
--[[
library.mapping_to_names = function (ctx)
local tbl = ctx.params
for key in pairs(tbl) do tbl[key] = tostring(key) end
return context_iterate(ctx, 1)
end
]]--
-- Syntax: #invoke:params|renaming_to_lowercase|pipe to
library.renaming_to_lowercase = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local cache = {}
for key, val in pairs(ctx.params) do
if type(key) == 'string' then cache[key:lower()] = val else
cache[key] = val end
end
ctx.params = cache
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|renaming_to_uppercase|pipe to
library.renaming_to_uppercase = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local cache = {}
for key, val in pairs(ctx.params) do
if type(key) == 'string' then cache[key:upper()] = val else
cache[key] = val end
end
ctx.params = cache
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|renaming_to_sequence|[sort order]|pipe to
library.renaming_to_sequence = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local cache, len
local tbl = ctx.params
local sortfn, argc, do_sort = load_sort_opt(ctx.pipe[1])
if do_sort then
local words, wl
cache, words, len, wl = get_key_list_sorted(tbl, sortfn)
for idx = 1, len do cache[idx] = tbl[cache[idx]] end
for idx = 1, wl do cache[len + idx] = tbl[words[idx]] end
else
len, cache = 0, {}
for _, val in pairs(tbl) do
len = len + 1
cache[len] = val
end
end
ctx.params = cache
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|renaming_by_calling|template name|[call
-- style]|[let/use]|[...]|[let/use]|[...]|[number of additional
-- parameters]|[parameter 1]|[parameter 2]|[...]|[parameter N]|pipe to
library.renaming_by_calling = function (ctx)
local tname
local opts = ctx.pipe
if opts[1] ~= nil then tname = opts[1]:match'^%s*(.*%S)' end
if tname == nil then error(modulename ..
', ‘renaming_by_calling’: No template name was provided', 0) end
local rargs, argc, looptype, karg, varg, tbl, mem =
load_callback_opts(opts, 1, mapping_styles.names_only, ctx.params)
local model = { title = tname, args = rargs }
map_names(tbl, rargs, karg, varg, looptype, function ()
return ctx.frame:expandTemplate(model)
end)
for key, val in pairs(mem) do tbl[key] = val end
ctx.params = tbl
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|renaming_by_invoking|module name|function
-- name|[call style]|[let/use]|[...]|[let/use]|[...]|[number of
-- additional arguments]|[argument 1]|[argument 2]|[...]|[argument
-- N]|pipe to
library.renaming_by_invoking = function (ctx)
local mname, fname
local opts = ctx.pipe
if opts[1] ~= nil then mname = opts[1]:match'^%s*(.*%S)' end
if mname == nil then error(modulename ..
', ‘renaming_by_invoking’: No module name was provided', 0) end
if opts[2] ~= nil then fname = opts[2]:match'^%s*(.*%S)' end
if fname == nil then error(modulename ..
', ‘renaming_by_invoking’: No function name was provided', 0) end
local rargs, argc, looptype, karg, varg, tbl, mem =
load_callback_opts(opts, 2, mapping_styles.names_only, ctx.params)
local model = { title = 'Module:' .. mname, args = rargs }
local mfunc = require(model.title)[fname]
if mfunc == nil then error(modulename ..
', ‘renaming_by_invoking’: The function ‘' .. fname ..
'’ does not exist', 0) end
map_names(tbl, rargs, karg, varg, looptype, function ()
return tostring(mfunc(ctx.frame:newChild(model)))
end)
for key, val in pairs(mem) do tbl[key] = val end
ctx.params = tbl
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|renaming_by_magic|parser function|[call
-- style]|[let/use]|[...]|[let/use]|[...]|[number of additional
-- arguments]|[argument 1]|[argument 2]|[...]|[argument N]|pipe to
library.renaming_by_magic = function (ctx)
local opts = ctx.pipe
local magic
if opts[1] ~= nil then magic = opts[1]:match'^%s*(.*%S)' end
if magic == nil then error(modulename ..
', ‘renaming_by_magic’: No parser function was provided', 0) end
local rargs, argc, looptype, karg, varg, tbl, mem =
load_callback_opts(opts, 1, mapping_styles.names_only, ctx.params)
map_names(tbl, rargs, karg, varg, looptype, function ()
return ctx.frame:callParserFunction(magic, rargs)
end)
for key, val in pairs(mem) do tbl[key] = val end
ctx.params = tbl
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|renaming_by_replacing|target|replace|[count]|[plain
-- flag]|pipe to
library.renaming_by_replacing = function (ctx)
local ptn, repl, nmax, flg, argc, die =
load_replace_args(ctx.pipe, 'renaming_by_replacing')
if die then return context_iterate(ctx, argc) end
local tbl = ctx.params
if flg == 3 then
ptn = get_parameter_name(ptn)
local val = tbl[ptn]
if val ~= nil then
tbl[ptn], tbl[get_parameter_name(repl)] = nil, val
end
else
if flg == 2 then
-- Copied from Module:String's `str._escapePattern()`
ptn = ptn:gsub('[%(%)%.%%%+%-%*%?%[%^%$%]]', '%%%0')
end
local cache = {}
for key, val in pairs(tbl) do
steal_if_renamed(val, tbl, key, cache,
tostring(key):gsub(ptn, repl, nmax))
end
for key, val in pairs(cache) do tbl[key] = val end
end
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|renaming_by_mixing|mixing string|pipe to
library.renaming_by_mixing = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
if ctx.pipe[1] == nil then error(modulename ..
', ‘renaming_by_mixing’: No mixing string was provided', 0) end
local mix = ctx.pipe[1]:match'^%s*(.-)%s*$'
local cache = {}
if mix == '$@' then
for _, val in pairs(ctx.params) do
cache[get_parameter_name(val)] = val
end
else
local skel, canvas, n_parts = parse_placeholder_string(mix)
for key, val in pairs(ctx.params) do
for idx = 2, n_parts, 2 do
if skel[idx] then canvas[idx] = val
else canvas[idx] = tostring(key) end
end
cache[get_parameter_name(table.concat(canvas))] = val
end
end
ctx.params = cache
return context_iterate(ctx, 2)
end
-- Syntax: #invoke:params|renaming_to_values|pipe to
--[[
library.renaming_to_values = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local cache = {}
for _, val in pairs(ctx.params) do cache[val] = val end
ctx.params = cache
return context_iterate(ctx, 1)
end
]]--
-- Syntax: #invoke:params|grouping_by_calling|template
-- name|[let/use]|[...]|[let/use]|[...]|[number of additional
-- arguments]|[argument 1]|[argument 2]|[...]|[argument N]|pipe to
library.grouping_by_calling = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local tmp, argc, tbl, mem = load_child_opts(ctx.pipe, 2, 0, ctx.params)
local gargs = {}
for key, val in pairs(tmp) do
if type(key) == 'number' and key < 1 then gargs[key - 1] = val
else gargs[key] = val end
end
tmp = ctx.pipe[1]
if tmp ~= nil then tmp = tmp:match'^%s*(.*%S)' end
if tmp == nil then error(modulename ..
', ‘grouping_by_calling’: No template name was provided', 0) end
local model = { title = tmp }
local groups = make_groups(tbl)
for gid, group in pairs(groups) do
for key, val in pairs(gargs) do group[key] = val end
group[0], model.args = gid, group
groups[gid] = ctx.frame:expandTemplate(model)
end
for key, val in pairs(mem) do groups[key] = val end
ctx.params = groups
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|parsing|string to parse|[trim flag]|[iteration
-- delimiter setter]|[...]|[key-value delimiter setter]|[...]|pipe to
library.parsing = function (ctx)
local opts = ctx.pipe
if opts[1] == nil then error(modulename ..
', ‘parsing’: No string to parse was provided', 0) end
local isep, iplain, psep, pplain, trimnamed, trimunnamed, argc =
load_parse_opts(opts, 2, '|', '=')
parse_parameter_string(ctx.params, opts[1], isep, iplain, psep, pplain,
trimnamed, trimunnamed)
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|reinterpreting|parameter to reinterpret|[trim
-- flag]|[iteration delimiter setter]|[...]|[key-value delimiter
-- setter]|[...]|pipe to
library.reinterpreting = function (ctx)
local opts = ctx.pipe
if opts[1] == nil then error(modulename ..
', ‘reinterpreting’: No parameter to reinterpret was provided', 0) end
local isep, iplain, psep, pplain, trimnamed, trimunnamed, argc =
load_parse_opts(opts, 2, '|', '=')
local tbl, tmp = ctx.params, get_parameter_name(opts[1])
local str = tbl[tmp]
if str ~= nil then
tbl[tmp] = nil
parse_parameter_string(tbl, str, isep, iplain, psep, pplain,
trimnamed, trimunnamed)
end
return context_iterate(ctx, argc)
end
-- Syntax: #invoke:params|evaluating|string to parse|[trim flag]|[iteration
-- delimiter setter]|[...]|[key-value delimiter setter]|[...]|pipe to
library.evaluating = function (ctx)
-- NOTE: `ctx.pipe` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local opts = ctx.pipe
if opts[1] == nil then error(modulename ..
', ‘evaluating’: No string to parse was provided', 0) end
local isep, iplain, psep, pplain, trimnamed, trimunnamed, argc =
load_parse_opts(opts, 2, '!', ':')
if opts[1]:match'^%s*(.*%S)' == nil then
ctx.pipe = copy_or_ref_table(opts, opts ~= ctx.opipe)
return context_iterate(ctx, argc)
end
local new_opts, cache = {}, {}
local shift = parse_parameter_string(cache, opts[1], isep, iplain,
psep, pplain, trimnamed, trimunnamed) - argc
for key, val in pairs(opts) do
if type(key) ~= 'number' or key < 1 then new_opts[key] = val
elseif key >= argc then new_opts[key + shift] = val end
end
for key, val in pairs(cache) do new_opts[key] = val end
ctx.pipe = new_opts
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|mixing_names_and_values|mixing string|pipe to
library.mixing_names_and_values = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
if ctx.pipe[1] == nil then error(modulename ..
', ‘mixing_names_and_values’: No mixing string was provided for parameter names', 0) end
if ctx.pipe[2] == nil then error(modulename ..
', ‘mixing_names_and_values’: No mixing string was provided for parameter values', 0) end
local tmp
local mix_k = ctx.pipe[1]:match'^%s*(.-)%s*$'
local cache, mix_v = {}, ctx.pipe[2]
if mix_k == '$@' and mix_v == '$@' then
for _, val in pairs(ctx.params) do
cache[get_parameter_name(val)] = val
end
elseif mix_k == '$@' and mix_v == '$#' then
for key, val in pairs(ctx.params) do
cache[get_parameter_name(val)] = tostring(key)
end
elseif mix_k == '$#' and mix_v == '$#' then
for key in pairs(ctx.params) do cache[key] = tostring(key) end
else
local skel_k, cnv_k, n_parts_k = parse_placeholder_string(mix_k)
local skel_v, cnv_v, n_parts_v = parse_placeholder_string(mix_v)
for key, val in pairs(ctx.params) do
tmp = tostring(key)
for idx = 2, n_parts_k, 2 do
if skel_k[idx] then cnv_k[idx] = val else cnv_k[idx] = tmp end
end
for idx = 2, n_parts_v, 2 do
if skel_v[idx] then cnv_v[idx] = val else cnv_v[idx] = tmp end
end
cache[get_parameter_name(table.concat(cnv_k))] =
table.concat(cnv_v)
end
end
ctx.params = cache
return context_iterate(ctx, 3)
end
-- Syntax: #invoke:params|swapping_names_and_values|pipe to
--[[
library.swapping_names_and_values = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local cache = {}
for key, val in pairs(ctx.params) do cache[val] = key end
ctx.params = cache
return context_iterate(ctx, 1)
end
]]--
-- Syntax: #invoke:params|combining|new parameter name|[sort
-- order]|[with/without flushed glue]|setting directives|...|pipe to
library.combining = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
return context_iterate(ctx, combine_parameters(
ctx,
function (key, val, kvs) return key .. kvs .. val end,
'combining'
) + 1)
end
-- Syntax: #invoke:params|combining_values|new parameter name|[sort
-- order]|[with/without flushed glue]|setting directives|...|pipe to
library.combining_values = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
return context_iterate(ctx, combine_parameters(
ctx,
function (key, val, kvs) return val end,
'combining_values'
) + 1)
end
-- Syntax: #invoke:params|combining_by_calling|template name|new parameter
-- name|pipe to
library.combining_by_calling = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local tname = ctx.pipe[1]
if tname ~= nil then tname = tname:match'^%s*(.*%S)'
else error(modulename ..
', ‘combining_by_calling’: No template name was provided', 0) end
if ctx.pipe[2] == nil then error(modulename ..
', ‘combining_by_calling’: No parameter name was provided', 0) end
ctx.params = {
[get_parameter_name(ctx.pipe[2])] = ctx.frame:expandTemplate{
title = tname,
args = ctx.params
}
}
return context_iterate(ctx, 3)
end
-- Syntax: #invoke:params|combining_by_invoking|module name|function name|new
-- parameter name|pipe to
library.combining_by_invoking = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local mname = ctx.pipe[1]
if mname ~= nil then mname = mname:match'^%s*(.*%S)'
else error(modulename ..
', ‘combining_by_invoking’: No module name was provided', 0) end
local fname = ctx.pipe[2]
if fname ~= nil then fname = fname:match'^%s*(.*%S)'
else error(modulename ..
', ‘combining_by_invoking’: No function name was provided', 0) end
if ctx.pipe[3] == nil then error(modulename ..
', ‘combining_by_invoking’: No parameter name was provided', 0) end
local model = { title = 'Module:' .. mname, args = ctx.params }
local mfunc = require(model.title)[fname]
if mfunc == nil then error(modulename ..
', ‘mapping_by_invoking’: The function ‘' .. fname ..
'’ does not exist', 0) end
ctx.params = {
[get_parameter_name(ctx.pipe[3])] =
tostring(mfunc(ctx.frame:newChild(model)))
}
return context_iterate(ctx, 4)
end
-- Syntax: #invoke:params|combining_by_magic|parser function|new parameter
-- name|pipe to
library.combining_by_magic = function (ctx)
-- NOTE: `ctx.params` might be the original metatable! As a modifier,
-- this function MUST create a copy of it before returning
local magic = ctx.pipe[1]
if magic ~= nil then magic = magic:match'^%s*(.*%S)'
else error(modulename ..
', ‘combining_by_magic’: No parser function was provided', 0) end
if ctx.pipe[2] == nil then error(modulename ..
', ‘combining_by_magic’: No parameter name was provided', 0) end
ctx.params = {
[get_parameter_name(ctx.pipe[2])] =
ctx.frame:callParserFunction(magic, ctx.params)
}
return context_iterate(ctx, 3)
end
-- Syntax: #invoke:params|snapshotting|[maximum number]|pipe to
library.snapshotting = function (ctx)
return context_iterate(ctx, make_child(ctx, ctx.params, 'snapshotting'))
end
-- Syntax: #invoke:params|remembering|[maximum number]|pipe to
library.remembering = function (ctx)
return context_iterate(ctx, make_child(ctx, ctx.oparams, 'remembering'))
end
-- Syntax: #invoke:params|entering_substack|[new]|pipe to
library.entering_substack = function (ctx)
local tbl, ncurrparent = ctx.params, ctx.n_parents + 1
if ctx.parents == nil then ctx.parents = { tbl }
else ctx.parents[ncurrparent] = tbl end
ctx.n_parents = ncurrparent
if ctx.pipe[1] ~= nil and ctx.pipe[1]:match'^%s*new%s*$' then
ctx.params = {}
return context_iterate(ctx, 2)
end
local currsnap = ctx.n_children
if currsnap > 0 then
ctx.params, ctx.children[currsnap], ctx.n_children =
ctx.children[currsnap], nil, currsnap - 1
else
local newparams = {}
for key, val in pairs(tbl) do newparams[key] = val end
ctx.params = newparams
end
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|pulling|parameter name|pipe to
library.pulling = function (ctx)
local opts = ctx.pipe
if opts[1] == nil then error(modulename ..
', ‘pulling’: No parameter to pull was provided', 0) end
local tmp = ctx.n_parents
local parent = tmp < 1 and ctx.oparams or ctx.parents[tmp]
tmp = get_parameter_name(opts[1])
if parent[tmp] ~= nil then ctx.params[tmp] = parent[tmp] end
return context_iterate(ctx, 2)
end
-- Syntax: #invoke:params|recalling|parameter name|pipe to
library.recalling = function (ctx)
local opts = ctx.pipe
if opts[1] == nil then error(modulename ..
', ‘recalling’: No parameter to recall was provided', 0) end
local arg = get_parameter_name(opts[1])
if ctx.oparams[arg] ~= nil then ctx.params[arg] = ctx.oparams[arg] end
return context_iterate(ctx, 2)
end
-- Syntax: #invoke:params|finding|parameter name|pipe to
--[[
library.finding = function (ctx)
local opts = ctx.pipe
if opts[1] == nil then error(modulename ..
', ‘finding’: No parameter to find was provided', 0) end
local arg = get_parameter_name(opts[1])
local parent
for idx = ctx.n_parents, 1, -1 do
parent = ctx.parents[idx]
if parent[arg] ~= nil then
ctx.params[arg] = parent[arg]
return context_iterate(ctx, 2)
end
end
if ctx.oparams[arg] ~= nil then ctx.params[arg] = ctx.oparams[arg] end
return context_iterate(ctx, 2)
end
]]--
-- Syntax: #invoke:params|picking|number of parameters to pick|pipe to
--[[
library.picking = function (ctx)
local len = tonumber(ctx.pipe[1])
if len == nil or len < 1 or math.floor(len) ~= len then error(modulename ..
', ‘picking’: The number of parameters to pick must be an integer greater than zero', 0) end
if ctx.n_parents < 1 then copy_table_maxn(ctx.params, ctx.oparams, len)
else copy_table_maxn(ctx.params, ctx.parents[ctx.n_parents], len) end
return context_iterate(ctx, 2)
end
]]--
-- Syntax: #invoke:params|detaching_substack|pipe to
library.detaching_substack = function (ctx)
local ncurrparent = ctx.n_parents
if ncurrparent < 1 then error(modulename ..
', ‘detaching_substack’: No substack has been created', 0) end
local parent = ctx.parents[ncurrparent]
for key in pairs(ctx.params) do parent[key] = nil end
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|dropping_substack|pipe to
library.dropping_substack = function (ctx)
local ncurrparent = ctx.n_parents
if ncurrparent < 1 then error(modulename ..
', ‘dropping_substack’: No substack has been created', 0) end
ctx.params, ctx.parents[ncurrparent], ctx.n_parents =
ctx.parents[ncurrparent], nil, ncurrparent - 1
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|leaving_substack|pipe to
library.leaving_substack = function (ctx)
local ncurrparent = ctx.n_parents
if ncurrparent < 1 then error(modulename ..
', ‘leaving_substack’: No substack has been created', 0) end
local currsnap = ctx.n_children + 1
if ctx.children == nil then ctx.children = { ctx.params }
else ctx.children[currsnap] = ctx.params end
ctx.params, ctx.parents[ncurrparent], ctx.n_parents, ctx.n_children =
ctx.parents[ncurrparent], nil, ncurrparent - 1, currsnap
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|merging_substack|pipe to
library.merging_substack = function (ctx)
local ncurrparent = ctx.n_parents
if ncurrparent < 1 then error(modulename ..
', ‘merging_substack’: No substack has been created', 0) end
local parent, child = ctx.parents[ncurrparent], ctx.params
ctx.params, ctx.parents[ncurrparent], ctx.n_parents = parent, nil,
ncurrparent - 1
for key, val in pairs(child) do parent[key] = val end
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|flushing|pipe to
library.flushing = function (ctx)
if ctx.n_children < 1 then error(modulename ..
', ‘flushing’: There are no substacks to flush', 0) end
local parent, currsnap = ctx.params, ctx.n_children
for key, val in pairs(ctx.children[currsnap]) do parent[key] = val end
ctx.children[currsnap], ctx.n_children = nil, currsnap - 1
return context_iterate(ctx, 1)
end
-- Syntax: #invoke:params|setting_by_flushing|pipe to
library.setting_by_flushing = function (ctx)
set_strings_from_substack(ctx, ctx, 'setting_by_flushing')
return context_iterate(ctx, 1)
end
--[[ Functions ]]--
-----------------------------
-- Syntax: #invoke:params|count
library.count = function (ctx)
-- NOTE: `ctx.pipe` and `ctx.params` might be the original metatables!
local retval = 0
for _ in ctx.iterfunc(ctx.params) do retval = retval + 1 end
if ctx.subset == -1 then retval = retval - #ctx.params end
ctx.text = retval
return false
end
-- Syntax: #invoke:args|concat_and_call|template name|[prepend 1]|[prepend 2]|
-- [...]|[item n]|[named item 1=value 1]|[...]|[named item n=value
-- n]|[...]
library.concat_and_call = function (ctx)
-- NOTE: `ctx.params` might be the original metatable!
local tname
local opts = ctx.pipe
if opts[1] ~= nil then tname = opts[1]:match'^%s*(.*%S)' end
if tname == nil then error(modulename ..
', ‘concat_and_call’: No template name was provided', 0) end
remove_numeric_keys(opts, 1, 1)
ctx.text = ctx.frame:expandTemplate{
title = tname,
args = concat_params(ctx)
}
return false
end
-- Syntax: #invoke:args|concat_and_invoke|module name|function name|[prepend
-- 1]|[prepend 2]|[...]|[item n]|[named item 1=value 1]|[...]|[named
-- item n=value n]|[...]
library.concat_and_invoke = function (ctx)
-- NOTE: `ctx.params` might be the original metatable!
local mname, fname
local opts = ctx.pipe
if opts[1] ~= nil then mname = opts[1]:match'^%s*(.*%S)' end
if mname == nil then error(modulename ..
', ‘concat_and_invoke’: No module name was provided', 0) end
if opts[2] ~= nil then fname = opts[2]:match'^%s*(.*%S)' end
if fname == nil then error(modulename ..
', ‘concat_and_invoke’: No function name was provided', 0) end
remove_numeric_keys(opts, 1, 2)
local mfunc = require('Module:' .. mname)[fname]
if mfunc == nil then error(modulename ..
', ‘concat_and_invoke’: The function ‘' .. fname ..
'’ does not exist', 0) end
ctx.text = mfunc(ctx.frame:newChild{
title = 'Module:' .. mname,
args = concat_params(ctx)
})
return false
end
-- Syntax: #invoke:args|concat_and_magic|parser function|[prepend 1]|[prepend
-- 2]|[...]|[item n]|[named item 1=value 1]|[...]|[named item n=
-- value n]|[...]
library.concat_and_magic = function (ctx)
-- NOTE: `ctx.params` might be the original metatable!
local magic
local opts = ctx.pipe
if opts[1] ~= nil then magic = opts[1]:match'^%s*(.*%S)' end
if magic == nil then error(modulename ..
', ‘concat_and_magic’: No parser function was provided', 0) end
remove_numeric_keys(opts, 1, 1)
ctx.text = ctx.frame:callParserFunction(magic, concat_params(ctx))
return false
end
-- Syntax: #invoke:params|value_of|parameter name
library.value_of = function (ctx)
-- NOTE: `ctx.pipe` and `ctx.params` might be the original metatables!
local opts = ctx.pipe
if opts[1] == nil then error(modulename ..
', ‘value_of’: No parameter name was provided', 0) end
local val
local key = opts[1]:match'^%s*(.-)%s*$'
if key == '0' or key:find'^%-?[1-9]%d*$' ~= nil then
key = tonumber(key)
val = ctx.params[key]
-- No worries: #ctx.params is unused when the modifier is in
-- first position (and therefore `ctx.params` is a metatable)
if val ~= nil and (
ctx.subset ~= -1 or key > #ctx.params or key < 1
) and (
ctx.subset ~= 1 or (key <= #ctx.params and key > 0)
) then
ctx.text = (ctx.header or '') .. val .. (ctx.footer or '')
else ctx.text = ctx.ifngiven or '' end
else
val = ctx.params[key]
if ctx.subset ~= 1 and val ~= nil then ctx.text = (ctx.header
or '') .. val .. (ctx.footer or '')
else ctx.text = ctx.ifngiven or '' end
end
return false
end
-- Syntax: #invoke:params|list
library.list = function (ctx)
-- NOTE: `ctx.pipe` might be the original metatable!
local ret, nss, kvs, pps = {}, 0, ctx.pairsep or '', ctx.itersep or ''
flush_params(ctx, function (key, val)
ret[nss + 1], ret[nss + 2], ret[nss + 3], ret[nss + 4], nss =
pps, key, kvs, val, nss + 4
end)
finalize_and_return_concatenated_list(ctx, ret, nss, 4)
return false
end
-- Syntax: #invoke:params|list_values
library.list_values = function (ctx)
-- NOTE: `ctx.pipe` might be the original metatable!
-- NOTE: `library.coins()` and `library.unique_coins()` rely on us
local ret, nss, pps = {}, 0, ctx.itersep or ''
flush_params(ctx, function (key, val)
ret[nss + 1], ret[nss + 2], nss = pps, val, nss + 2
end)
finalize_and_return_concatenated_list(ctx, ret, nss, 2)
return false
end
-- Syntax: #invoke:params|list_maybe_with_names
library.list_maybe_with_names = function (ctx)
-- NOTE: `ctx.pipe` might be the original metatable!
local ret, nss, kvs, pps = {}, 0, ctx.pairsep or '', ctx.itersep or ''
mixed_flush_params(
ctx,
function (key, val)
ret[nss + 1], ret[nss + 2], ret[nss + 3],
ret[nss + 4], nss = pps, '', '', val, nss + 4
end,
function (key, val)
ret[nss + 1], ret[nss + 2], ret[nss + 3],
ret[nss + 4], nss = pps, key, kvs, val, nss + 4
end
)
finalize_and_return_concatenated_list(ctx, ret, nss, 4)
return false
end
-- Syntax: #invoke:params|coins|[first coin = value 1]|[second coin = value
-- 2]|[...]|[last coin = value N]
--[[
library.coins = function (ctx)
-- NOTE: `ctx.pipe` might be the original metatable!
local opts, tbl = ctx.pipe, ctx.params
for key, val in pairs(tbl) do tbl[key] = opts[get_parameter_name(val)] end
return library.list_values(ctx)
end
]]--
-- Syntax: #invoke:params|unique_coins|[first coin = value 1]|[second coin =
-- value 2]|[...]|[last coin = value N]
--[[
library.unique_coins = function (ctx)
local tmp
local opts, tbl = ctx.pipe, ctx.params
for key, val in pairs(tbl) do
tmp = get_parameter_name(val)
tbl[key], opts[tmp] = opts[tmp], nil
end
return library.list_values(ctx)
end
]]
-- Syntax: #invoke:params|for_each|wikitext
library.for_each = function (ctx)
-- NOTE: `ctx.pipe` might be the original metatable!
local ret, nss, pps, txt = {}, 0, ctx.itersep or '', ctx.pipe[1] or ''
local skel, cnv, n_parts = parse_placeholder_string(txt)
flush_params(ctx, function (key, val)
for idx = 2, n_parts, 2 do
if skel[idx] then cnv[idx] = val
else cnv[idx] = tostring(key) end
end
ret[nss + 1], nss = pps, nss + 2
ret[nss] = table.concat(cnv)
end)
finalize_and_return_concatenated_list(ctx, ret, nss, 2)
return false
end
-- Syntax: #invoke:params|call_for_each|template name|[append 1]|[append 2]|
-- [...]|[append n]|[named param 1=value 1]|[...]|[named param
-- n=value n]|[...]
library.call_for_each = function (ctx)
local tname
local opts = ctx.pipe
if opts[1] ~= nil then tname = opts[1]:match'^%s*(.*%S)' end
if tname == nil then error(modulename ..
', ‘call_for_each’: No template name was provided', 0) end
local model = { title = tname, args = opts }
local ret, nss, ccs = {}, 0, ctx.itersep or ''
table.insert(opts, 1, true)
flush_params(ctx, function (key, val)
opts[1], opts[2], ret[nss + 1], nss = key, val, ccs, nss + 2
ret[nss] = ctx.frame:expandTemplate(model)
end)
finalize_and_return_concatenated_list(ctx, ret, nss, 2)
return false
end
-- Syntax: #invoke:params|invoke_for_each|module name|module function|[append
-- 1]|[append 2]|[...]|[append n]|[named param 1=value 1]|[...]|
-- [named param n=value n]|[...]
library.invoke_for_each = function (ctx)
local mname, fname
local opts = ctx.pipe
if opts[1] ~= nil then mname = opts[1]:match'^%s*(.*%S)' end
if mname == nil then error(modulename ..
', ‘invoke_for_each’: No module name was provided', 0) end
if opts[2] ~= nil then fname = opts[2]:match'^%s*(.*%S)' end
if fname == nil then error(modulename ..
', ‘invoke_for_each’: No function name was provided', 0) end
local model = { title = 'Module:' .. mname, args = opts }
local mfunc = require(model.title)[fname]
local ret, nss, ccs = {}, 0, ctx.itersep or ''
flush_params(ctx, function (key, val)
opts[1], opts[2], ret[nss + 1], nss = key, val, ccs, nss + 2
ret[nss] = mfunc(ctx.frame:newChild(model))
end)
finalize_and_return_concatenated_list(ctx, ret, nss, 2)
return false
end
-- Syntax: #invoke:params|magic_for_each|parser function|[append 1]|[append
-- 2]|[...]|[append n]|[named param 1=value 1]|[...]|[named param
-- n=value n]|[...]
library.magic_for_each = function (ctx)
local magic
local opts = ctx.pipe
if opts[1] ~= nil then magic = opts[1]:match'^%s*(.*%S)' end
if magic == nil then error(modulename ..
', ‘magic_for_each’: No parser function was provided', 0) end
local ret, nss, ccs = {}, 0, ctx.itersep or ''
table.insert(opts, 1, true)
flush_params(ctx, function (key, val)
opts[1], opts[2], ret[nss + 1], nss = key, val, ccs, nss + 2
ret[nss] = ctx.frame:callParserFunction(magic, opts)
end)
finalize_and_return_concatenated_list(ctx, ret, nss, 2)
return false
end
-- Syntax: #invoke:params|call_for_each_value|template name|[append 1]|[append
-- 2]|[...]|[append n]|[named param 1=value 1]|[...]|[named param
-- n=value n]|[...]
library.call_for_each_value = function (ctx)
local tname
local opts = ctx.pipe
if opts[1] ~= nil then tname = opts[1]:match'^%s*(.*%S)' end
if tname == nil then error(modulename ..
', ‘call_for_each_value’: No template name was provided', 0) end
local model = { title = tname, args = opts }
local ret, nss, ccs = {}, 0, ctx.itersep or ''
flush_params(ctx, function (key, val)
opts[1], ret[nss + 1], nss = val, ccs, nss + 2
ret[nss] = ctx.frame:expandTemplate(model)
end)
finalize_and_return_concatenated_list(ctx, ret, nss, 2)
return false
end
-- Syntax: #invoke:params|invoke_for_each_value|module name|[append 1]|[append
-- 2]|[...]|[append n]|[named param 1=value 1]|[...]|[named param
-- n=value n]|[...]
library.invoke_for_each_value = function (ctx)
local opts = ctx.pipe
local mname, fname
if opts[1] ~= nil then mname = opts[1]:match'^%s*(.*%S)' end
if mname == nil then error(modulename ..
', ‘invoke_for_each_value’: No module name was provided', 0) end
if opts[2] ~= nil then fname = opts[2]:match'^%s*(.*%S)' end
if fname == nil then error(modulename ..
', ‘invoke_for_each_value’: No function name was provided', 0) end
local model = { title = 'Module:' .. mname, args = opts }
local mfunc = require(model.title)[fname]
local ret, nss, ccs = {}, 0, ctx.itersep or ''
remove_numeric_keys(opts, 1, 1)
flush_params(ctx, function (key, val)
opts[1], ret[nss + 1], nss = val, ccs, nss + 2
ret[nss] = mfunc(ctx.frame:newChild(model))
end)
finalize_and_return_concatenated_list(ctx, ret, nss, 2)
return false
end
-- Syntax: #invoke:params|magic_for_each_value|parser function|[append 1]|
-- [append 2]|[...]|[append n]|[named param 1=value 1]|[...]|[named
-- param n=value n]|[...]
library.magic_for_each_value = function (ctx)
local opts = ctx.pipe
local magic
if opts[1] ~= nil then magic = opts[1]:match'^%s*(.*%S)' end
if magic == nil then error(modulename ..
', ‘magic_for_each_value’: No parser function was provided', 0) end
local ret, nss, ccs = {}, 0, ctx.itersep or ''
flush_params(ctx, function (key, val)
opts[1], ret[nss + 1], nss = val, ccs, nss + 2
ret[nss] = ctx.frame:callParserFunction(magic, opts)
end)
finalize_and_return_concatenated_list(ctx, ret, nss, 2)
return false
end
-- Syntax: #invoke:params|call_for_each_group|template name|[append 1]|[append
-- 2]|[...]|[append n]|[named param 1=value 1]|[...]|[named param
-- n=value n]|[...]
library.call_for_each_group = function (ctx)
-- NOTE: `ctx.pipe` and `ctx.params` might be the original metatables!
local tmp
if ctx.pipe[1] ~= nil then tmp = ctx.pipe[1]:match'^%s*(.*%S)' end
if tmp == nil then error(modulename ..
', ‘call_for_each_group’: No template name was provided', 0) end
local model = { title = tmp }
local opts, ret, nss, ccs = {}, {}, 0, ctx.itersep or ''
for key, val in pairs(ctx.pipe) do
if type(key) == 'number' then opts[key - 1] = val
else opts[key] = val end
end
ctx.pipe = opts
ctx.params = make_groups(ctx.params)
flush_params(ctx, function (gid, group)
for key, val in pairs(opts) do group[key] = val end
group[0], model.args, ret[nss + 1], nss = gid, group, ccs,
nss + 2
ret[nss] = ctx.frame:expandTemplate(model)
end)
finalize_and_return_concatenated_list(ctx, ret, nss, 2)
return false
end
--[[ First-position-only modifiers ]]--
---------------------------------------
-- Syntax: #invoke:params|new|pipe to
static_iface.new = function (child_frame)
local ctx = context_new(child_frame)
ctx.pipe = copy_or_ref_table(ctx.opipe, false)
ctx.params = {}
main_loop(ctx, context_iterate(ctx, 1))
return ctx.text
end
--[[ First-position-only functions ]]--
---------------------------------------
-- Syntax: #invoke:params|self
static_iface.self = function (frame)
return frame:getParent():getTitle()
end
--[[ Public metatable of functions ]]--
---------------------------------------
return setmetatable({}, {
__index = function (_, query)
local fname = query:match'^%s*(.*%S)'
if fname == nil then error(modulename ..
': You must specify a function to call', 0) end
local func = static_iface[fname]
if func ~= nil then return func end
func = library[fname]
if func == nil then error(modulename ..
': The function ‘' .. fname .. '’ does not exist', 0) end
return function (child_frame)
local ctx = context_new(child_frame)
ctx.pipe = copy_or_ref_table(ctx.opipe, refpipe[fname])
ctx.params = copy_or_ref_table(ctx.oparams, refparams[fname])
main_loop(ctx, func)
return ctx.text
end
end
})
jd4jhydnyce3tw9c50qwx3yd53quopx
ਸ਼ਨਮੁਖਾ ਪ੍ਰਿਆ
0
196250
849417
845123
2026-10-08T12:45:38Z
InternetArchiveBot
37445
Rescuing 2 sources and tagging 0 as dead.) #IABot (v2.0.9.6
849417
wikitext
text/x-wiki
'''ਸ਼ਣਮੁਖਾ ਪ੍ਰਿਆ''' ([[ਅੰਗ੍ਰੇਜ਼ੀ]]: '''Shanmukha Priya;''' ਜਨਮ 2 ਨਵੰਬਰ 2002) ਇੱਕ ਭਾਰਤੀ ਗਾਇਕਾ ਹੈ, ਜੋ ਕਰਨਾਟਕ ਸੰਗੀਤ, [[ਜੈਜ਼]], ਰੌਕ, ਪੌਪ ਅਤੇ ਯੋਡੇਲਿੰਗ ਵਿੱਚ ਮੁਹਾਰਤ ਰੱਖਦੀ ਹੈ।<ref>{{Cite web |date=25 March 2021 |title=Shanmukhapriya FINALLY breaks her silence on participating in Indian Idol 12 despite winning other singing reality shows |url=https://www.bollywoodlife.com/tv/shanmukhapriya-finally-breaks-her-silence-on-participating-in-indian-idol-12-despite-winning-other-singing-reality-shows-1800066/ |access-date=8 July 2021 |website=Bollywood Life |language=en |archive-url=https://web.archive.org/web/20210709185500/https://www.bollywoodlife.com/tv/shanmukhapriya-finally-breaks-her-silence-on-participating-in-indian-idol-12-despite-winning-other-singing-reality-shows-1800066/ |archive-date=9 ਜੁਲਾਈ 2021 |url-status=dead}}</ref> ਉਹ ਕਈ ਮਸ਼ਹੂਰ ਰਿਐਲਿਟੀ ਟੈਲੀਵਿਜ਼ਨ ਸ਼ੋਅਜ਼ ਵਿੱਚ ਦਿਖਾਈ ਦਿੱਤੀ ਹੈ, ਜਿਸ ਵਿੱਚ <nowiki><i id="mwFQ">ਪਦੁਥਾ ਥੀਯਾਗਾ S6</i></nowiki> (2013), ''ਸਾ ਰੇ ਗਾ ਮਾ ਪਾ ਲਿਟਿਲ ਚੈਂਪਸ 2017'' (2017) ਅਤੇ <nowiki><i id="mwGQ">ਇੰਡੀਅਨ ਆਈਡਲ 12</i></nowiki> (2020–21) ਸ਼ਾਮਲ ਹਨ।<ref>{{Cite web |title=Indian Idol 12 contestant Shanmukha Priya Biography: Age, Education, Life, Family, Videos and Photos |url=https://www.jagrantv.com/show/shanmukha-priya-biography-age-education-life-family-videos-and-photos-biography-age-education-life-family-videos-and-photos-rc1016406 |access-date=8 July 2021 |website=[[Jagran Prakashan Limited|Jagran TV]] |language=en}}</ref>
== ਸ਼ੁਰੂਆਤੀ ਜ਼ਿੰਦਗੀ ਅਤੇ ਕਰੀਅਰ ==
ਸ਼ਨਮੁਖਾ ਪ੍ਰਿਆ ਦਾ ਜਨਮ [[ਵਿਸ਼ਾਖਾਪਟਨਮ]], ਭਾਰਤ ਵਿੱਚ ਇੱਕ [[ਤੇਲੁਗੂ ਭਾਸ਼ਾ|ਤੇਲਗੂ]] ਭਾਸ਼ੀ ਪਰਿਵਾਰ ਵਿੱਚ ਹੋਇਆ ਸੀ।<ref>{{Cite web |date=20 May 2021 |title=From Revanth to Shanmukha Priya, list of 10 amazing playback singers from Vizag |url=https://www.yovizag.com/list-of-10-playback-singers-from-vizag/ |access-date=8 July 2021 |website=Vizag |language=en-US}}</ref> ਉਸਦੀ ਮਾਂ ਰਤਨਮਾਲਾ ਇੱਕ ਸੰਗੀਤ ਅਧਿਆਪਕਾ ਹੈ ਅਤੇ ਉਸਦੇ ਪਿਤਾ ਸ਼੍ਰੀਨਿਵਾਸ ਕੁਮਾਰ [[ਵੀਣਾ|ਵੀਨਾ]], ਵਾਇਲਨ, ਗਿਟਾਰ, ਮੈਂਡੋਲਿਨ ਅਤੇ ਕੀਬੋਰਡ ਦੇ ਇੱਕ ਸਾਜ਼ਵਾਦਕ ਹਨ।<ref>{{Cite web |title=Indian Idol contestant Shanmukha Priya father interview Veena Srinivas face to face |url=https://www.ap7am.com/lv-343745-indian-idol-contestant-shanmukha-priya-father-interview-veena-srinivas-face-to-face |access-date=8 July 2021 |website=ap7am.com |language=en |archive-date=9 ਜੁਲਾਈ 2021 |archive-url=https://web.archive.org/web/20210709185342/https://www.ap7am.com/lv-343745-indian-idol-contestant-shanmukha-priya-father-interview-veena-srinivas-face-to-face |url-status=dead }}</ref> ''[[ਦ ਹਿੰਦੂ|ਦ ਹਿੰਦੂ ਨੇ]]'' ਰਿਪੋਰਟ ਦਿੱਤੀ ਕਿ ਜਦੋਂ ਉਹ ਤਿੰਨ ਸਾਲ ਦੀ ਸੀ ਤਾਂ ਉਸਦੇ ਪਿਤਾ ਨੇ ਪਹਿਲੀ ਵਾਰ ਉਸਨੂੰ ਅਲਾਰਮ ਘੜੀ 'ਤੇ ਵੱਜਦੀ ਧੁਨ 'ਤੇ ਗੁਣਗੁਣਾਉਂਦੇ ਸੁਣਿਆ। ਉਸਨੇ ਤੁਰੰਤ ਵੀਣਾ ਕੱਢੀ ਅਤੇ ਉਸਨੂੰ ਨੋਟਸ ਅਤੇ ਤਾਲ ਦਿੱਤੇ। ਉਸਨੇ ਆਪਣੀ ਗਾਇਕੀ ਨਾਲ ਵਧੀਆ ਪ੍ਰਦਰਸ਼ਨ ਕੀਤਾ ਅਤੇ ਫਿਰ ਕਰਨਾਟਕ ਸੰਗੀਤ ਦੀ ਸਿਖਲਾਈ ਸ਼ੁਰੂ ਕੀਤੀ।<ref>{{Cite web |date=26 March 2021 |title=Shanmukhapriya on Her Indian Idol 12 Journey, Anushka Sharma Shares a Glimpse of Vamika |url=https://www.news18.com/news/movies/shanmukhapriya-on-her-indian-idol-12-journey-anushka-sharma-shares-a-glimpse-of-vamika-3574274.html |access-date=8 July 2021 |website=News18 |language=en}}</ref>
6 ਸਾਲ ਦੀ ਉਮਰ ਵਿੱਚ, ਉਸਨੇ 2008 ਵਿੱਚ ਜ਼ੀ ਤੇਲਗੂ ' ਤੇ ਟੀਵੀ ਸ਼ੋਅ <nowiki><i id="mwOQ">ਸਾ ਰੇ ਗਾ ਮਾ ਪਾ ਲਿਟਲ ਚੈਂਪਸ 2008</i></nowiki> ਨਾਲ ਰਿਐਲਿਟੀ ਗਾਇਕੀ ਵਿੱਚ ਆਪਣੀ ਸ਼ੁਰੂਆਤ ਕੀਤੀ।<ref>{{Cite web |title=Indian Idol 12 Contestant Shanmukha Priya is a Fabulous Singer, Check Out Interesting Facts About Her |url=https://www.india.com/photos/entertainment/indian-idol-12-contestant-shanmukha-priya-is-a-fabulous-singer-check-out-interesting-facts-about-her-203766/ |access-date=8 July 2021 |website=www.india.com |language=en}}</ref> ਉਸਦਾ ਅਗਲਾ ਸ਼ੋਅ ''ਪਦੁਥਾ ਥੀਯਾਗਾ ,'' ਜਿਸਨੂੰ ਐਸਪੀ ਬਾਲਸੁਬ੍ਰਾਹਮਣੀਅਮ ਨੇ ਜੱਜ ਕੀਤਾ, ਉਸਦੀ ਵੱਡੀ ਸਫਲਤਾ ਸੀ। ਟੈਲੀਵਿਜ਼ਨ 'ਤੇ ਸਫਲਤਾ ਤੋਂ ਬਾਅਦ, ਉਹ ਇੱਕ ਪਲੇਬੈਕ ਗਾਇਕਾ ਬਣ ਗਈ ਅਤੇ 2010 ਦੀ ਤੇਲਗੂ ਫਿਲਮ ''ਤੇਜਮ'' ਲਈ ਇੱਕ ਗੀਤ ਰਿਕਾਰਡ ਕੀਤਾ।<ref>{{Cite web |title=Tejam 2010 Telugu Movie Songs, Tejam Music Director Lyrics Videos Singers & Lyricists |url=https://moviegq.com/movie/tejam-8798/songs |access-date=8 July 2021 |website=MovieGQ |language=en |archive-date=9 ਜੁਲਾਈ 2021 |archive-url=https://web.archive.org/web/20210709190111/https://moviegq.com/movie/tejam-8798/songs |url-status=dead }}</ref>
ਬਾਅਦ ਵਿੱਚ, ਉਹ ਪੰਜ ਟੈਲੀਵਿਜ਼ਨ ਗਾਇਕੀ ਸ਼ੋਅ ਵਿੱਚ ਦਿਖਾਈ ਦਿੱਤੀ, ਜਿਨ੍ਹਾਂ ਵਿੱਚੋਂ ਦੋ ਤੇਲਗੂ ਵਿੱਚ, ਦੋ ਹਿੰਦੀ ਵਿੱਚ ਅਤੇ ਇੱਕ ਤਾਮਿਲ ਵਿੱਚ ਹੈ।<ref>{{Cite web |title=Interview: I will miss 'The Voice India Kids', says ShanmukhaPriya, who recently got eliminated |url=http://www.merinews.com/mobile/article/Entertainment/2016/9/4/interview-i-will-miss-the-voice-india-kids-says-shanmukhapriya-who-recently-got-eliminated/15919985 |access-date=8 July 2021 |website=www.merinews.com}}</ref><ref>{{Cite web |date=30 October 2017 |title=Sa Re Ga Ma Pa Li'l Champs 2017: Shreyan Bhattacharya, Anjali Gaikwad emerge winners |url=https://www.hindustantimes.com/tv/sa-re-ga-ma-pa-li-l-champs-2017-shreyan-bhattacharya-anjali-gaikwad-emerge-winners/story-4vTF3xkaNVSkW0Lh0Jlh1M.html |access-date=8 July 2021 |website=[[Hindustan Times]] |language=en}}</ref> <nowiki><i id="mwVQ">ਇੰਡੀਅਨ ਆਈਡਲ 12</i></nowiki> ਵਿੱਚ ਉਸਦੇ ਪ੍ਰਦਰਸ਼ਨ ਨੇ ਉਸਨੂੰ ਬਹੁਤ ਮਸ਼ਹੂਰ ਬਣਾਇਆ।<ref>{{Cite web |title=Indian Idol 12 contestant Shanmukha Priya makes judges groove on her song 'Mera naam chin chin chu' |url=https://www.pinkvilla.com/tv/news-gossip/indian-idol-12-contestant-shanmukha-priya-makes-judges-groove-her-song-mera-naam-chin-chin-chu-790894 |access-date=8 July 2021 |website=[[Pinkvilla]] |language=en |archive-date=9 ਜੁਲਾਈ 2021 |archive-url=https://web.archive.org/web/20210709191405/https://www.pinkvilla.com/tv/news-gossip/indian-idol-12-contestant-shanmukha-priya-makes-judges-groove-her-song-mera-naam-chin-chin-chu-790894 |url-status=dead }}</ref><ref>{{Cite web |title=Shanmukhapriya's performance made the team of Scam 1992 mesmerized |url=https://www.tellychakkar.com/tv/tv-news/shanmukhapriya-s-performance-made-the-team-of-scam-1992-mesmerized-201224 |access-date=8 July 2021 |website=Tellychakkar.com |language=en}}</ref> ਫਿਲਮ ''ਜਾਨੇ ਤੂ'' ਦੇ ਗੀਤ "ਜਾਨੇ ਤੂ ਮੇਰਾ ਕੀ ਹੈ" ਲਈ ਉਸਦੀ [[ਜੈਜ਼]] -ਸਟਾਈਲ ਦੀ ਕਾਰਗੁਜ਼ਾਰੀ ਦੇਖਣ ਤੋਂ ਬਾਅਦ ... ਸ਼ੋਅ ''<nowiki/>'ਯਾ ਜਾਨੇ ਨਾ''' (2008) ਵਿੱਚ, [[ਏ. ਆਰ. ਰਹਿਮਾਨ|ਏ.ਆਰ. ਰਹਿਮਾਨ ਨੇ]] ਉਸਦੀ ਪ੍ਰਸ਼ੰਸਾ ਕੀਤੀ ਅਤੇ ਉਸਨੂੰ ਭਾਰਤ ਦਾ ਅਗਲਾ 'ਜੈਜ਼ ਸਟਾਰ' ਕਿਹਾ।<ref>{{Cite web |date=7 April 2021 |title=Indian Idol 12: Shanmukhapriya is completely mesmerised as AR Rahman backs her performance with his piano piece |url=https://www.bollywoodlife.com/photos/indian-idol-12-shanmukhapriya-is-completely-mesmerised-as-ar-rahman-backs-her-performance-with-his-piano-piece-1807113/ |access-date=8 July 2021 |website=www.bollywoodlife.com |language=en |archive-url=https://web.archive.org/web/20210709191054/https://www.bollywoodlife.com/photos/indian-idol-12-shanmukhapriya-is-completely-mesmerised-as-ar-rahman-backs-her-performance-with-his-piano-piece-1807113/ |archive-date=9 ਜੁਲਾਈ 2021 |url-status=dead}}</ref><ref>{{Cite web |date=7 April 2021 |title=A.R. Rahman plays piano during Shanmukhapriya's performance on Indian Idol Season 12 |url=https://www.bollywoodhungama.com/news/features/r-rahman-plays-piano-shanmukhapriyas-performance-indian-idol-season-12/ |access-date=8 July 2021 |website=[[Bollywood Hungama]] |language=en}}</ref><ref>{{Cite web |date=7 April 2021 |title=Watch: AR Rahman is all praise for Shanmukhapriya in Indian Idol 12 |url=https://www.yovizag.com/ar-rahman-praises-shanmukhapriya-indian-idol-12/ |access-date=8 July 2021 |website=Vizag |language=en-US}}</ref> ਇਸਦੇ ਉਲਟ, ਉਸਦੀ ਯੋਡੇਲਿੰਗ -ਸ਼ੈਲੀ ਦੀ ਗਾਇਕੀ ਅਕਸਰ ਦਰਸ਼ਕਾਂ ਦੁਆਰਾ ਆਲੋਚਨਾ ਅਤੇ ਟ੍ਰੋਲ ਕੀਤੀ ਜਾਂਦੀ ਹੈ।<ref>{{Cite web |date=26 May 2021 |title=Indian Idol 12's contestant Shanmukha Priya responds to trolling: 'I take it with a pinch of salt' |url=https://indianexpress.com/article/entertainment/television/indian-idol-12-contestant-shanmukha-priya-responds-to-trolls-7329657/ |access-date=8 July 2021 |website=The Indian Express |language=en}}</ref><ref>{{Cite web |date=26 May 2021 |title=Indian Idol 12: Shanmukha Priya Breaks Silence on People Demanding Her Eviction |url=https://www.india.com/entertainment/tv-news-indian-idol-12-shanmukha-priya-breaks-silence-on-people-demanding-her-eviction-indian-idol-controversy-update-4691859/ |access-date=8 July 2021 |website=India.com |language=en}}</ref><ref>{{Cite web |date=25 May 2021 |title='Indian Idol 12': Shanmukhapriya On Being Trolled, Says, "Even Michael Jackson Had To Endure Criticism |url=https://tellydrama.com/indian-idol-12-shanmukhapriya-on-being-trolled-says-even-michael-jackson-had-to-endure-criticism/ |access-date=8 July 2021 |website=Telly Drama {{!}} Web-Series {{!}} Television {{!}} Big Boss 14 |language=en-US |archive-date=12 ਦਸੰਬਰ 2023 |archive-url=https://web.archive.org/web/20231212043303/https://tellydrama.com/indian-idol-12-shanmukhapriya-on-being-trolled-says-even-michael-jackson-had-to-endure-criticism/ |url-status=dead }}</ref> ਇਹ ਆਲੋਚਨਾ ਜ਼ਿਆਦਾਤਰ ''ਇੰਡੀਅਨ ਆਈਡਲ 12'' ਵਿੱਚ ਵੱਖ-ਵੱਖ ਗਾਣੇ ਗਾਉਣ ਦੇ ਉਸਦੇ ਆਪਣੇ ਅੰਦਾਜ਼ ਲਈ ਹੈ।
ਉਹ ਇੱਕ ਮੈਰੀਟੋਰੀਅਸ ਵਿਦਿਆਰਥਣ ਵੀ ਰਹੀ ਹੈ। ਉਸਨੇ ਆਪਣੀ 12ਵੀਂ ਬੋਰਡ ਪ੍ਰੀਖਿਆ ਵਿੱਚ 9.7 GPA ਪ੍ਰਾਪਤ ਕੀਤਾ ਅਤੇ ਵਰਤਮਾਨ ਵਿੱਚ ਗਣਿਤ ਵਿੱਚ BSc ਕਰ ਰਹੀ ਹੈ।
== ਹਵਾਲੇ ==
[[ਸ਼੍ਰੇਣੀ:ਭਾਰਤੀ ਮਹਿਲਾ ਗਾਇਕਾਵਾਂ]]
[[ਸ਼੍ਰੇਣੀ:ਜ਼ਿੰਦਾ ਲੋਕ]]
[[ਸ਼੍ਰੇਣੀ:ਜਨਮ 2002]]
h8fwapa8r4lnh2ja7l6wymmkfkk1c1k
ਸ਼ਿਆਮਲਾ ਗੋਪਾਲਨ
0
198401
849420
842246
2026-10-08T13:27:52Z
InternetArchiveBot
37445
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.6
849420
wikitext
text/x-wiki
{{Infobox person
| image =
| other_names = Gopalan Shyamala, G. Shyamala, Shyamala Gopalan Harris
| birth_date = {{birth date|1938|12|07|mf=y}}
| birth_place = [[Madras]], [[Madras Province]], [[British Raj|British India]]<br> (present-day [[Chennai]], [[Tamil Nadu]], India)
| death_date = {{death date and age|2009|2|11|1938|12|7}}
| death_place = [[Oakland, California]], U.S.
| education = {{plainlist|
* [[Lady Irwin College]], [[University of Delhi]] ([[Bachelor of Science|BSc]])
* [[University of California, Berkeley]] ([[Master of Science|MS]], [[Doctor of Philosophy|PhD]])
}}
| known_for = Progesterone receptor biology and applications to [[breast cancer]], mother of U.S. vice president [[Kamala Harris]]
| spouse = {{marriage|[[Donald J. Harris]]|1963|1971|end=div}}
| children = {{ubl|[[Kamala Harris]]|[[Maya Harris]]}}
| parents = [[P. V. Gopalan]] (father)<br>Rajam Gopalan (mother)
| module = {{Infobox scientist|child=yes|
| workplaces = {{plainlist|
* [[Lady Davis Institute for Medical Research]], [[McGill University]]
* [[Lawrence Berkeley National Laboratory]]
}}
| thesis_title = The isolation and purification of a trypsin inhibitor from whole wheat flour
| thesis_url = https://www.ncbi.nlm.nih.gov/pubmed/14241616
| thesis_year = 1964
| doctoral_advisor = Richard L. Lyman<ref name="lyman"/>
}}|
}}
'''ਸ਼ਿਆਮਲਾ ਗੋਪਾਲਨ''' (7 ਦਸੰਬਰ, 1938-11 ਫਰਵਰੀ, 2009) ਲਾਰੈਂਸ ਬਰਕਲੇ ਨੈਸ਼ਨਲ ਲੈਬਾਰਟਰੀ ਵਿਖੇ ਇੱਕ ਬਾਇਓਮੈਡੀਕਲ ਵਿਗਿਆਨੀ ਸੀ, ਜਿਸ ਦੇ ਪ੍ਰਜੇਸਟ੍ਰੋਨ ਰੀਸੈਪਟਰ ਜੀਨ ਨੂੰ ਅਲੱਗ ਕਰਨ ਅਤੇ ਵਿਸ਼ੇਸ਼ਤਾ ਦੇਣ ਦੇ ਕੰਮ ਨੇ ਛਾਤੀ ਦੇ ਜੀਵ ਵਿਗਿਆਨ ਅਤੇ ਓਨਕੋਲੋਜੀ ਵਿੱਚ ਤਰੱਕੀ ਨੂੰ ਉਤਸ਼ਾਹਿਤ ਕੀਤਾ ਹੈ।<ref>{{Citation |last=Tabasko |first=Michael |title=A Fortuitious Connection: Vice President Kamala Harris's Mother and Her NIH Collaborations |date=July–August 2021 |url=https://irp.nih.gov/sites/default/files/catalyst/v29i4-NIH-Catalyst_JULY-AUGUST-2021_3.pdf |work=NIH Catalyst |volume=29 |issue=4 |pages=1, 6 |publisher=National Institutes of Health, Office of the Director |quote=Gopalan eventually left Canada and returned to California to continue her work on the role of hormone receptors in breast-cancer development at Lawrence Berkeley National Laboratory (Berkeley, California). She was awarded several NIH grants supporting her research through 2001, and her lab published their findings in 2006 (Cancer Res 66:10391–10398, 2006). (Photo caption: Shyamala Gopalan Harris (left) in her lab at Lawrence Berkeley National Laboratory.)}}</ref> ਉਹ [[ਕਮਲਾ ਹੈਰਿਸ]] (ਸੰਯੁਕਤ ਰਾਜ ਦੇ ਸਾਬਕਾ ਉਪ ਰਾਸ਼ਟਰਪਤੀ ਜਿਨ੍ਹਾਂ ਨੇ ਕੈਲੀਫੋਰਨੀਆ ਦੇ ਅਟਾਰਨੀ ਜਨਰਲ ਅਤੇ ਸੈਨੇਟਰ ਵਜੋਂ ਵੀ ਸੇਵਾ ਨਿਭਾਈ, ਅਤੇ ਮਾਇਆ ਹੈਰਿਸ, ਇੱਕ ਵਕੀਲ ਅਤੇ ਰਾਜਨੀਤਿਕ ਟਿੱਪਣੀਕਾਰ ਦੀ ਮਾਂ ਸੀ।<ref>{{Cite web |last=Cadelago |first=Christopher |last2=Oprysko |first2=Caitlin |date=August 11, 2020 |title=Biden picks Kamala Harris as VP nominee |url=https://www.politico.com/news/2020/08/11/joe-biden-vp-pick-kamala-harris-393768 |access-date=August 31, 2020 |publisher=Politico}}</ref>
== ਮੁੱਢਲਾ ਜੀਵਨ ਅਤੇ ਸਿੱਖਿਆ ==
ਸ਼ਿਆਮਲਾ ਦਾ ਜਨਮ 7 ਦਸੰਬਰ, 1938 ਨੂੰ [[ਚੇਨਈ|ਮਦਰਾਸ]], ਮਦਰਾਸ ਪ੍ਰਾਂਤ, [[ਬਰਤਾਨਵੀ ਰਾਜ|ਬ੍ਰਿਟਿਸ਼ ਭਾਰਤ]] (ਵਰਤਮਾਨ [[ਚੇਨਈ]], [[ਤਮਿਲ਼ ਲੋਕ|ਤਾਮਿਲ]], ਭਾਰਤ) ਵਿੱਚ ਤਮਿਲ ਬ੍ਰਾਹਮਣ ਅਈਅਰ ਦੇ ਮਾਤਾ-ਪਿਤਾ, ਪੀ. ਵੀ. ਗੋਪਾਲਨ, ਇੱਕ [[ਸਿਵਲ ਸੇਵਾ|ਸਿਵਲ ਸੇਵਕ]] ਅਤੇ ਉਸ ਦੀ ਮਾਂ ਰਾਜਮ ਦੇ ਘਰ ਹੋਇਆ ਸੀ। ਉਸ ਦੇ ਮਾਪੇ ਮਦਰਾਸ ਸੂਬੇ ਦੇ ਮੰਨਾਰਗੁਡੀ ਕਸਬੇ ਦੇ ਨੇਡ਼ੇ ਦੋ ਪਿੰਡਾਂ ਤੋਂ ਸਨ।<ref>{{Citation |last=Bengali |first=Shashank |title=The progressive Indian grandfather who inspired Kamala Harris |date=25 October 2019 |url=https://www.latimes.com/politics/story/2019-10-25/how-kamala-harris-indian-family-shaped-her-political-career |work=Los Angeles Times |access-date=24 April 2020 |last2=Mason |first2=Melanie}}</ref> ਗੋਪਾਲਨ ਨੇ ਆਪਣੀ ਪੇਸ਼ੇਵਰ ਜ਼ਿੰਦਗੀ ਦੀ ਸ਼ੁਰੂਆਤ ਇੱਕ ਸਟੈਨੋਗ੍ਰਾਫਰ ਵਜੋਂ ਕੀਤੀ ਸੀ, ਅਤੇ, ਜਿਵੇਂ ਕਿ ਉਹ ਇੰਪੀਰੀਅਲ ਸਕੱਤਰੇਤ ਸੇਵਾ ਅਤੇ ਬਾਅਦ ਵਿੱਚ ਕੇਂਦਰੀ ਸਕੱਤਰੇਤਰ ਸੇਵਾ ਦੇ ਅਹੁਦਿਆਂ ਤੋਂ ਉੱਭਰੇ, ਉਹ ਹਰ ਕੁਝ ਸਾਲਾਂ ਵਿੱਚ ਮਦਰਾਸ (ਹੁਣ [[ਚੇਨਈ]]) [[ਨਵੀਂ ਦਿੱਲੀ]], ਬੰਬਈ (ਹੁਣ [[ਮੁੰਬਈ]]) ਅਤੇ ਕਲਕੱਤਾ (ਹੁਣ [[ਕੋਲਕਾਤਾ]]) ਦੇ ਵਿਚਕਾਰ ਪਰਿਵਾਰ ਨੂੰ ਲੈ ਕੇ ਚਲੇ ਗਏ।<ref>{{Citation |last=Bengali |first=Shashank |title=The progressive Indian grandfather who inspired Kamala Harris |date=25 October 2019 |url=https://www.latimes.com/politics/story/2019-10-25/how-kamala-harris-indian-family-shaped-her-political-career |work=Los Angeles Times |quote=He started out as a stenographer, and moved the family from New Delhi to Mumbai to Kolkata as he climbed the ranks of the civil service. |access-date=24 April 2020 |last2=Mason |first2=Melanie}}</ref><ref>{{Cite web |date=1956-02-04 |title=Gazette of India, 1956, No. 34 (Archived) |url=https://archive.org/details/in.gazette.1956.34/page/n7/mode/2up |access-date=2024-07-27 |website=[[Government of India]] |page=56 |quote=No, A-5(16)/55.—The services of Shri P. V. Gopalan, permanent Grade I officer of the Central Secretariat Service and employed as Under Secretary in the Ministry of Transport (Roads Wing), were placed at the disposal of the Ministry of Rehabilitation with effect from the 31st December, 1955 (A.N.)}}</ref> ਉਸ ਨੇ ਅਤੇ ਰਾਜਮ ਨੇ ਅਰੇਂਜ ਮੈਰਿਜ ਕੀਤਾ ਸੀ, ਪਰ ਸ਼ਿਆਮਲਾ ਦੇ ਭਰਾ ਬਾਲਚੰਦਰਨ ਦੇ ਅਨੁਸਾਰ, ਉਨ੍ਹਾਂ ਦੇ ਮਾਪੇ ਬੱਚਿਆਂ ਦੀ ਪਰਵਰਿਸ਼ ਕਰਨ ਵਿੱਚ ਵਿਆਪਕ ਸੋਚ ਵਾਲੇ ਸਨ, ਜਿਨ੍ਹਾਂ ਵਿੱਚੋਂ ਸਾਰੇ ਕੁਝ ਗੈਰ ਰਵਾਇਤੀ ਜੀਵਨ ਜੀਉਂਦੇ ਸਨ। ਕਰਨਾਟਕ ਸੰਗੀਤ ਦੀ ਇੱਕ ਪ੍ਰਤਿਭਾਸ਼ਾਲੀ ਗਾਇਕਾ, ਸ਼ਿਆਮਲਾ ਨੇ ਇੱਕ ਕਿਸ਼ੋਰ ਉਮਰ ਵਿੱਚ ਇਸ ਵਿੱਚ ਇੱਕ ਰਾਸ਼ਟਰੀ ਮੁਕਾਬਲਾ ਜਿੱਤਿਆ ਸੀ।
ਸ਼ਿਆਮਲਾ ਦਿੱਲੀ ਦੇ ਐਮਈਏ ਸਕੂਲ ਗਈ ਅਤੇ 1955 ਵਿੱਚ ਆਪਣਾ ਹਾਇਰ ਸੈਕੰਡਰੀ ਸਰਟੀਫਿਕੇਟ ਪ੍ਰਾਪਤ ਕੀਤਾ। ਉਸ ਨੇ ਲੇਡੀ ਇਰਵਿਨ ਕਾਲਜ, [[ਦਿੱਲੀ ਯੂਨੀਵਰਸਿਟੀ]] ਤੋਂ ਗ੍ਰਹਿ ਵਿਗਿਆਨ ਵਿੱਚ [[ਬੀ ਐੱਸ ਸੀ|ਬੈਚਲਰ ਆਫ਼ ਸਾਇੰਸ]] ਦੀ ਪਡ਼੍ਹਾਈ ਕੀਤੀ। ਉਸ ਦੇ ਪਿਤਾ ਨੇ ਸੋਚਿਆ ਕਿ ਇਹ ਵਿਸ਼ਾ-ਜਿਸ ਨੇ ਘਰ ਬਣਾਉਣ ਵਿੱਚ ਮਦਦਗਾਰ ਮੰਨੇ ਜਾਣ ਵਾਲੇ ਹੁਨਰ ਸਿਖਾਏ-ਉਸ ਦੀਆਂ ਯੋਗਤਾਵਾਂ ਲਈ ਇੱਕ ਬੇਮੇਲ ਸੀ-ਉਸ ਦੀ ਮਾਂ ਬੱਚਿਆਂ ਤੋਂ ਦਵਾਈ, ਇੰਜੀਨੀਅਰਿੰਗ ਜਾਂ ਕਾਨੂੰਨ ਵਿੱਚ ਕਰੀਅਰ ਦੀ ਭਾਲ ਕਰਨ ਦੀ ਉਮੀਦ ਕਰਦੀ ਸੀ।<ref>{{Citation |last=Bengali |first=Shashank |title=The progressive Indian grandfather who inspired Kamala Harris |date=25 October 2019 |url=https://www.latimes.com/politics/story/2019-10-25/how-kamala-harris-indian-family-shaped-her-political-career |work=Los Angeles Times |access-date=24 April 2020 |last2=Mason |first2=Melanie}}<cite class="citation cs2" data-ve-ignore="true" id="CITEREFBengaliMason2019">Bengali, Shashank; Mason, Melanie (October 25, 2019), [https://www.latimes.com/politics/story/2019-10-25/how-kamala-harris-indian-family-shaped-her-political-career "The progressive Indian grandfather who inspired Kamala Harris"], ''Los Angeles Times''<span class="reference-accessdate">, retrieved <span class="nowrap">April 24,</span> 2020</span></cite></ref> 1958 ਵਿੱਚ, 19 ਸਾਲ ਦੀ ਉਮਰ ਵਿੱਚ ਸ਼ਿਆਮਲਾ ਨੇ ਅਚਾਨਕ [[ਕੈਲੀਫ਼ੋਰਨੀਆ ਯੂਨੀਵਰਸਿਟੀ, ਬਰਕਲੀ|ਕੈਲੀਫੋਰਨੀਆ ਯੂਨੀਵਰਸਿਟੀ, ਬਰਕਲੇ]] ਵਿੱਚ ਪੋਸ਼ਣ ਅਤੇ ਐਂਡੋਕਰੀਨੋਲੋਜੀ ਵਿੱਚ ਮਾਸਟਰ ਪ੍ਰੋਗਰਾਮ ਲਈ ਅਰਜ਼ੀ ਦਿੱਤੀ ਅਤੇ ਉਸ ਨੂੰ ਸਵੀਕਾਰ ਕਰ ਲਿਆ ਗਿਆ। ਉਸ ਦੇ ਮਾਪਿਆਂ ਨੇ ਆਪਣੀ ਰਿਟਾਇਰਮੈਂਟ ਦੀ ਬੱਚਤ ਵਿੱਚੋਂ ਕੁਝ ਦੀ ਵਰਤੋਂ ਪਹਿਲੇ ਸਾਲ ਦੌਰਾਨ ਉਸ ਦੀ ਟਿਊਸ਼ਨ ਅਤੇ ਬੋਰਡ ਦਾ ਭੁਗਤਾਨ ਕਰਨ ਲਈ ਕੀਤੀ। ਘਰ ਵਿੱਚ ਇੱਕ ਫੋਨ ਲਾਈਨ ਦੀ ਘਾਟ, ਉਹ ਅਮਰੀਕਾ ਵਿੱਚ ਪਹੁੰਚਣ ਤੋਂ ਬਾਅਦ ਉਨ੍ਹਾਂ ਨੇ ਉਸ ਨਾਲ ਏਅਰੋਗਰਾਮ ਦੁਆਰਾ ਸੰਚਾਰ ਕੀਤਾ ਉਸਨੇ 1964 ਵਿੱਚ ਯੂਸੀ ਬਰਕਲੇ ਵਿਖੇ ਪੋਸ਼ਣ ਅਤੇ ਐਂਡੋਕਰੀਨੋਲੋਜੀ ਵਿੱਚ [[ਡਾਕਟਰ ਆਫ਼ ਫਿਲਾਸਫੀ|ਪੀਐਚ. ਡੀ.]] ਕੀਤੀ। ਸ਼ਿਆਮਲਾ ਦੇ ਖੋਜ ਨਿਬੰਧ, ਜਿਸ ਦੀ ਨਿਗਰਾਨੀ ਰਿਚਰਡ ਐਲ. ਲਾਇਮੈਨ ਦੁਆਰਾ ਕੀਤੀ ਗਈ ਸੀ, ਦਾ ਸਿਰਲੇਖ ਦ ਆਇਸੋਲੇਸ਼ਨ ਐਂਡ ਪਿਉਰੀਫੀਕੇਸ਼ਨ ਆਫ਼ ਏ ਟ੍ਰਿਪਸਿਨ ਇਨਿਹਿਬਟਰ ਫਰਾਮ ਹੋਲ ਵ੍ਹੀਟ ਫਲਾਊਰ, ਸੀ।
== ਨਿੱਜੀ ਜੀਵਨ ==
1962 ਦੇ ਪਤਝਡ਼ ਵਿੱਚ, ਬਰਕਲੇ ਵਿਖੇ ਇੱਕ ਵਿਦਿਆਰਥੀ ਸਮੂਹ-ਅਫਰੋ-ਅਮੈਰੀਕਨ ਐਸੋਸੀਏਸ਼ਨ ਦੀ ਇੱਕ ਮੀਟਿੰਗ ਵਿੱਚ-ਜਿਸ ਦੇ ਮੈਂਬਰ ਬਲੈਕ ਸਟੱਡੀਜ਼ ਦੇ ਅਨੁਸ਼ਾਸਨ ਨੂੰ ਢਾਂਚਾ ਦੇਣ ਲਈ ਅੱਗੇ ਵਧਣਗੇ, ਕਵਾਨਜ਼ਾ ਦੀ ਛੁੱਟੀ ਦਾ ਪ੍ਰਸਤਾਵ ਰੱਖਣਗੇ, ਅਤੇ ਬਲੈਕ ਪੈਂਥਰ ਪਾਰਟੀ ਸਥਾਪਤ ਕਰਨ ਵਿੱਚ ਸਹਾਇਤਾ ਕਰਨਗੇ-ਸ਼ਿਆਮਾਲਾ [[ਜਮੈਕਾ]] ਤੋਂ ਅਰਥ ਸ਼ਾਸਤਰ ਵਿੱਚ ਇੱਕ ਗ੍ਰੈਜੂਏਟ ਵਿਦਿਆਰਥੀ, ਡੋਨਾਲਡ ਜੇ ਹੈਰਿਸ ਨੂੰ ਮਿਲੀ, ਜੋ ਉਸ ਦਿਨ ਦੇ ਸਪੀਕਰ ਸਨ।<ref>{{Citation |last=Barry |first=Ellen |title=How Kamala Harris's Immigrant Parents Found a Home, and Each Other, in a Black Study Group |date=13 September 2020 |url=https://www.nytimes.com/2020/09/13/us/kamala-harris-parents.html |work=New York Times |access-date=13 September 2020}}</ref> ਡੌਨਲਡ ਹੈਰਿਸ ਦੇ ਅਨੁਸਾਰ, ਜੋ ਹੁਣ [[ਸਟੈਨਫੋਰਡ ਯੂਨੀਵਰਸਿਟੀ]] ਵਿੱਚ ਅਰਥ ਸ਼ਾਸਤਰ ਦੇ ਇੱਕ ਐਮੀਰੀਟਸ ਪ੍ਰੋਫੈਸਰ ਹਨ, "ਅਸੀਂ ਉਦੋਂ ਗੱਲ ਕੀਤੀ, ਬਾਅਦ ਵਿੱਚ ਇੱਕ ਮੀਟਿੰਗ ਵਿੱਚ ਗੱਲ ਕਰਨਾ ਜਾਰੀ ਰੱਖਿਆ, ਅਤੇ ਇੱਕ ਹੋਰ, ਅਤੇ ਇੰਨਾ ਹੀ ਇੱਕ।" 1963 ਵਿੱਚ, ਉਨ੍ਹਾਂ ਨੇ ਹੈਰਿਸ ਨੂੰ ਸ਼ਿਆਮਲਾ ਦੇ ਮਾਪਿਆਂ ਨਾਲ ਪਹਿਲਾਂ ਤੋਂ ਜਾਣ-ਪਛਾਣ ਕਰਾਉਣ ਜਾਂ ਉਸ ਦੇ ਜੱਦੀ ਸ਼ਹਿਰ ਵਿੱਚ ਸਮਾਰੋਹ ਕੀਤੇ ਬਿਨਾਂ ਵਿਆਹ ਕਰਵਾ ਲਿਆ।<ref>{{Citation |last=Bengali |first=Shashank |title=The progressive Indian grandfather who inspired Kamala Harris |date=25 October 2019 |url=https://www.latimes.com/politics/story/2019-10-25/how-kamala-harris-indian-family-shaped-her-political-career |work=Los Angeles Times |access-date=24 April 2020 |last2=Mason |first2=Melanie}}<cite class="citation cs2" data-ve-ignore="true" id="CITEREFBengaliMason2019">Bengali, Shashank; Mason, Melanie (October 25, 2019), [https://www.latimes.com/politics/story/2019-10-25/how-kamala-harris-indian-family-shaped-her-political-career "The progressive Indian grandfather who inspired Kamala Harris"], ''Los Angeles Times''<span class="reference-accessdate">, retrieved <span class="nowrap">April 24,</span> 2020</span></cite></ref> ਬਾਅਦ ਵਿੱਚ 1960 ਦੇ ਦਹਾਕੇ ਵਿੱਚ, ਡੌਨਲਡ ਅਤੇ ਸ਼ਿਆਮਲਾ ਆਪਣੀਆਂ ਬੇਟੀਆਂ, ਕਮਲਾ, ਜੋ ਉਦੋਂ ਚਾਰ ਜਾਂ ਪੰਜ ਸਾਲ ਦੀ ਸੀ, ਅਤੇ ਮਾਇਆ, ਜੋ ਦੋ ਸਾਲ ਛੋਟੀ ਸੀ, ਨੂੰ ਨਵੇਂ ਸੁਤੰਤਰ [[ਜ਼ਾਂਬੀਆ|ਜ਼ੈਂਬੀਆ]] ਲੈ ਗਏ, ਜਿੱਥੇ ਸ਼ਿਆਮਲਾ ਦੇ ਪਿਤਾ, ਪੀ. ਵੀ. ਗੋਪਾਲਨ, ਇੱਕ ਸਲਾਹਕਾਰ ਅਸਾਈਨਮੈਂਟ ਉੱਤੇ ਸਨ। 1970 ਦੇ ਦਹਾਕੇ ਦੇ ਅਰੰਭ ਵਿੱਚ ਸ਼ਿਆਮਲਾ ਅਤੇ ਡੋਨਾਲਡ ਦੇ ਤਲਾਕ ਤੋਂ ਬਾਅਦ, ਉਹ ਆਪਣੀਆਂ ਧੀਆਂ ਨੂੰ [[ਚੇਨਈ]] ਵਿੱਚ ਆਪਣੇ ਮਾਪਿਆਂ ਨੂੰ ਮਿਲਣ ਲਈ ਕਈ ਵਾਰ ਭਾਰਤ ਲੈ ਗਈ, ਜਿੱਥੇ ਉਹ ਰਿਟਾਇਰ ਹੋਏ ਸਨ।<ref>{{Cite news|url=https://www.latimes.com/local/politics/la-me-pol-ca-harris-senate-20150930-story.html|title=How race helped shape the politics of Senate candidate Kamala Harris|last=Finnegan|first=Michael|date=September 30, 2015|work=Los Angeles Times|access-date=December 1, 2018}}</ref>
ਬੱਚੇ ਆਪਣੇ ਬਚਪਨ ਦੌਰਾਨ [[ਜਮੈਕਾ]] ਵਿੱਚ ਆਪਣੇ ਪਿਤਾ ਦੇ ਪਰਿਵਾਰ ਨੂੰ ਵੀ ਮਿਲੇ ਸਨ।<ref>{{Cite news|url=https://www.mercurynews.com/2019/02/10/kamala-harris-president-parents-shyamala-gopalan-donald-harris-berkeley/|title=How Kamala Harris' immigrant parents shaped her life—and her political outlook|last=Dolan|first=Casey|date=February 10, 2019|work=The Mercury News|access-date=August 14, 2020}}</ref>
== ਮੌਤ ==
ਸ਼ਿਆਮਲਾ ਦੀ 11 ਫਰਵਰੀ, 2009 ਨੂੰ 70 ਸਾਲ ਦੀ ਉਮਰ ਵਿੱਚ ਆਕਲੈਂਡ ਵਿੱਚ [[ਕੋਲਨ ਕੈਂਸਰ]] ਨਾਲ ਮੌਤ ਹੋ ਗਈ। ਉਸ ਨੇ ਬੇਨਤੀ ਕੀਤੀ ਕਿ ਬ੍ਰੈਸਟ ਕੈਂਸਰ ਐਕਸ਼ਨ ਸੰਗਠਨ ਨੂੰ ਦਾਨ ਕੀਤਾ ਜਾਵੇ। ਬਾਅਦ ਵਿੱਚ 2009 ਵਿੱਚ, ਕਮਲਾ ਹੈਰਿਸ ਆਪਣੀ ਮਾਂ ਦੀਆਂ ਅਸਥੀਆਂ ਨੂੰ ਭਾਰਤ ਪ੍ਰਾਇਦੀਪ ਦੇ ਦੱਖਣ-ਪੂਰਬੀ ਤੱਟ ਉੱਤੇ [[ਚੇਨਈ]] ਲੈ ਗਈ ਅਤੇ ਉਨ੍ਹਾਂ ਨੂੰ [[ਹਿੰਦ ਮਹਾਂਸਾਗਰ]] ਦੇ ਪਾਣੀ ਵਿੱਚ ਖਿੰਡਾ ਦਿੱਤਾ।<ref>{{Cite news|url=https://www.nytimes.com/2020/08/16/world/asia/kamala-harris-india.html|title=How Kamala Harris's Family in India Helped Shape Her Values|last=Gettleman|first=Jeffrey|date=16 August 2020|work=New York Times|access-date=17 August 2020|last2=Raj|first2=Suhasini|quote=One sunny morning, Ms. Harris and her uncle walked down to the beach in Besant Nagar where she used to stroll with her grandfather all those years ago, and scattered the ashes on the waves.}}</ref>
== ਨੋਟਸ ==
{{Notelist}}
== ਚੁਨਿੰਦਾ ਪ੍ਰਕਾਸ਼ਨ ==
* {{Cite journal|last=Shyamala|first=G.|last2=Chou|first2=Y. C.|last3=Louie|first3=S. G.|last4=Guzman|first4=R. C.|last5=Smith|first5=G. H.|last6=Nandi|first6=S.|date=2002|title=Cellular expression of estrogen and progesterone receptors in mammary glands: Regulation by hormones, development and aging|url=https://archive.org/details/journal-of-steroid-biochemistry-and-molecular-biology_2002-02_80_2/page/137|journal=The Journal of Steroid Biochemistry and Molecular Biology|volume=80|issue=2|pages=137–148|doi=10.1016/s0960-0760(01)00182-0|pmid=11897499}}
* {{Cite journal|last=Shyamala|first=G.|last2=Yang|first2=X.|last3=Cardiff|first3=R. D.|last4=Dale|first4=E.|date=2000|title=Impact of progesterone receptor on cell-fate decisions during mammary gland development|journal=Proceedings of the National Academy of Sciences|volume=97|issue=7|pages=3044–3049|bibcode=2000PNAS...97.3044S|doi=10.1073/pnas.97.7.3044|pmc=16189|pmid=10737785|doi-access=free}}
* {{Cite journal|last=Shyamala|first=G.|date=1999|title=Progesterone Signaling and Mammary Gland Morphogenesis|journal=Journal of Mammary Gland Biology and Neoplasia|volume=4|issue=1|pages=89–104|doi=10.1023/A:1018760721173|pmid=10219909}}
* {{Cite journal|last=Shyamala|first=G.|last2=Louie|first2=Sharianne G.|last3=Camarillo|first3=Ignacio G.|last4=Talamantes|first4=Frank|date=1999|title=The Progesterone Receptor and Its Isoforms in Mammary Development|journal=Molecular Genetics and Metabolism|volume=68|issue=2|pages=182–190|doi=10.1006/mgme.1999.2897|pmid=10527668}}
* {{Cite journal|last=Shyamala|first=G.|last2=Yang|first2=X.|last3=Silberstein|first3=G.|last4=Barcellos-Hoff|first4=M. H.|last5=Dale|first5=E.|date=1998|title=Transgenic mice carrying an imbalance in the native ratio of a to B forms of progesterone receptor exhibit developmental abnormalities in mammary glands|journal=Proceedings of the National Academy of Sciences|volume=95|issue=2|pages=696–701|bibcode=1998PNAS...95..696S|doi=10.1073/pnas.95.2.696|pmc=18483|pmid=9435255|doi-access=free}}
* {{Cite journal|last=Shyamala|first=G.|last2=Schneider|first2=W.|last3=Schott|first3=D.|date=1990|title=Developmental Regulation of Murine Mammary Progesterone Receptor Gene Expression|url=https://archive.org/details/endocrinology_1990-06_126_6/page/2882|journal=Endocrinology|volume=126|issue=6|pages=2882–2889|doi=10.1210/endo-126-6-2882|pmid=2190799}}
* {{Cite journal|last=Shyamala|first=G.|last2=Gauthier|first2=Y.|last3=Moore|first3=S. K.|last4=Catelli|first4=M. G.|last5=Ullrich|first5=S. J.|date=1989|title=Estrogenic regulation of murine uterine 90-kilodalton heat shock protein gene expression|journal=Molecular and Cellular Biology|volume=9|issue=8|pages=3567–3570|doi=10.1128/mcb.9.8.3567-3570.1989|pmc=362408|pmid=2796999}}
== ਹਵਾਲੇ ==
{{Reflist|refs=<ref name="bcaction">{{Cite web|url=https://bcaction.org/2009/06/21/in-memoriam-dr-shyamala-g-harris/|title=In Memoriam: Dr. Shyamala G. Harris|date=2009-06-21|website=Breast Cancer Action|language=en-US|access-date=2019-01-23|archive-url=https://web.archive.org/web/20190123121324/https://bcaction.org/2009/06/21/in-memoriam-dr-shyamala-g-harris/|archive-date=2019-01-23|url-status=dead}}</ref>
<!-- <ref name="berkeley">{{Cite web|url=http://crea.berkeley.edu/shyamala-profile.shtml|title=Dr. G. Shyamala|website=crea.berkeley.edu|access-date=2019-01-23}}</ref>-->
<ref name="montreal">{{Cite news|url=https://www.newspapers.com/clip/27537248/the_gazette/|title=Men still dominate the scientific field|last=Carson|first=Susan|date=1985-06-21|work=[[Montreal Gazette|The Gazette]]|access-date=2019-01-23|location=Montreal|pages=27|via=Newspapers.com}}</ref>
<ref name=Cbc2020-11-07>
{{cite news
| url = https://cbc.ca/player/play/1816926275902
| title = Kamala Harris's friend reacts to her historic win
| work = [[CBC News]]
| date = 2020-11-07
| archive-url = https://web.archive.org/web/20201107212814/https://www.cbc.ca/player/play/1816926275902
| archive-date = 2020-11-07
| accessdate = 2020-11-07
| url-status = live
}}
<!--
Wanda Kagan's account of telling Kamala - her best friend - that she was being abused by her step-father, at 1:15 into the video.
She goes on to describe how Kamala then told her mom, and that her mom then generously invited Kagan to move into their household,
to finish her final year of high school. She described Kamala's sister, Maya, also being very gracious in welcoming her, and that
Kamala's mom provided significant help for her to achieve independence from her family.
The clip doesn't say, but my google searches show, Kagan is now a senior Hospital administrator at the Hospital where Kamala's mom worked. -->
</ref>}}
[[ਸ਼੍ਰੇਣੀ:ਅਮਰੀਕੀ ਹਿੰਦੂ]]
[[ਸ਼੍ਰੇਣੀ:ਅਮਰੀਕੀ ਮਹਿਲਾ ਕਾਰਕੁਨ]]
[[ਸ਼੍ਰੇਣੀ:ਮੌਤ 2009]]
[[ਸ਼੍ਰੇਣੀ:ਜਨਮ 1938]]
hejaq6l273gy30n9k330m9ocqpvzjs0
ਵਿਕੀਪੀਡੀਆ:ਸੱਥ
4
203558
849455
846775
2026-10-09T09:29:00Z
MediaWiki message delivery
7061
/* Wikidata Sitelink changes in Recent Changes and Watchlist */ ਨਵਾਂ ਭਾਗ
849455
wikitext
text/x-wiki
{{ਸੱਥ/ਹੈੱਡਰ}}
== ਵਿਕੀ ਲਵਜ਼ ਹਿਮਾਲਿਆ ਵਰਕਸ਼ਾਪ ਅਤੇ ਓਕੇਆਈ ਨਾਲ਼ ਭਵਿੱਖ ਵਿੱਚ ਸੰਭਾਵਿਤ ਸਹਿਯੋਗ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ, [https://outreachdashboard.wmflabs.org/campaigns/wiki%20loves%20himalayas/programs ਵਿਕੀ ਲਵਜ਼ ਹਿਮਾਲਿਆ] ਨਾਮ ਦੇ ਹੇਠ ਹੁਣ ਤੱਕ ਤਿੰਨ ਵਰਕਸ਼ਾਪ ਹੋ ਚੁੱਕੀਆਂ ਹਨ, ਜਿਹਨਾਂ ਵਿੱਚ ਮੈਂ ਇੱਕ ਟ੍ਰੇਨਰ ਦੇ ਤੌਰ ਤੇ ਸ਼ਾਮਲ ਹੋਇਆ ਸੀ। ਇਹਨਾਂ ਵਰਕਸ਼ਾਪਾਂ ਨੂੰ [https://hsrc.iiit.ac.in/research/highland%20histories.html ਹਾਈਲੈਂਡ ਹਿਸਟਰੀਜ਼] ਅਤੇ [[m:IIITH-OKI|ਓਕੇਆਈ]] ਵੱਲੋਂ ਆਯੋਜਿਤ ਕੀਤਾ ਗਿਆ ਸੀ। ਭਵਿੱਖ ਵਿੱਚ ਓਕੇਆਈ ਅਤੇ ਪੰਜਾਬੀ ਭਾਈਚਾਰੇ ਦੇ ਸਹਿਯੋਗ ਨੂੰ ਅੱਗੇ ਵਧਾਉਣ ਲਈ ਮੈਂ ਇਸ ਲੜੀ ਦੀ ਅਗਲੀ ਵਰਕਸ਼ਾਪ ਵਿੱਚ ਪੰਜਾਬੀ ਭਾਈਚਾਰੇ ਦੇ ਕਮਿਊਨਿਟੀ ਕੋਆਰਡੀਨੇਟਰ ਵਜੋਂ ਸ਼ਾਮਲ ਹੋ ਰਿਹਾ ਹੈ। ਇਸ ਲੜੀ ਦੀ ਅਗਲੀ ਵਰਕਸ਼ਾਪ ੧ ਅਤੇ ੨ ਅਪ੍ਰੈਲ ਨੂੰ ਸਿੱਕਮ ਯੂਨੀਵਰਸਿਟੀ ਵਿੱਚ ਹੋ ਰਹੀ ਹੈ। ਧੰਨਵਾਦ। -- [[ਵਰਤੋਂਕਾਰ:Kuldeep (Punjabi Wikimedians)|Kuldeep (Punjabi Wikimedians)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kuldeep (Punjabi Wikimedians)|ਗੱਲ-ਬਾਤ]]) 17:11, 22 ਫ਼ਰਵਰੀ 2026 (UTC)
== ਦੇਵ ਸਮਾਜ ਕਾਲਜ ਫ਼ਾਰ ਵੂਮੈਨ, ਫ਼ਿਰੋਜ਼ਪੁਰ ਵਿੱਚ ਵਰਕਸ਼ਾਪ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ, ਆਪਣੇ ਪੰਜਾਬੀ ਭਾਈਚਾਰੇ ਦੇ ਵਰਤੋਂਕਾਰ [[ਵਰਤੋਂਕਾਰ:ਨਿਸ਼ਾਨ ਸਿੰਘ ਵਿਰਦੀ|ਨਿਸ਼ਾਨ ਸਿੰਘ ਵਿਰਦੀ]] ਜੀ [[ਦੇਵ ਸਮਾਜ ਕਾਲਜ ਫ਼ਾਰ ਵੂਮੈਨ, ਫ਼ਿਰੋਜ਼ਪੁਰ]] ਵਿੱਚ ਪੜ੍ਹਾਉਂਦੇ ਹਨ। ਪਿਛਲੇ ਦਿਨਾਂ ਵਿੱਚ ਉਹਨਾਂ ਵੱਲੋਂ ਸੰਪਰਕ ਕਰਕੇ ਕਾਲਜ ਵਿੱਚ ਨਵੇਂ ਵਿਦਿਆਰਥੀਆਂ ਨੂੰ ਵਿਕੀਮੀਡੀਆ ਦੇ ਪ੍ਰਾਜੈਕਟਾਂ ਨਾਲ਼ ਜਾਣੂ ਕਰਵਾਉਣ ਲਈ ਇੱਕ ਵਰਕਸ਼ਾਪ ਕਰਾਉਣ ਦੀ ਇੱਛਾ ਪ੍ਰਗਟ ਕੀਤੀ ਗਈ ਸੀ। ਇਸ ਵਰਕਸ਼ਾਪ ਦਾ ਮੁੱਖ ਮਕਸਦ ਕਾਲਜ ਦੇ ਵਿਦਿਆਰਥੀਆਂ ਨੂੰ ਵਿਕੀ ਪ੍ਰਾਜੈਕਟਾਂ ਨਾਲ਼ ਜਾਣੂ ਕਰਵਾਉਣਾ ਅਤੇ ਪੰਜਾਬੀ ਭਾਈਚਾਰੇ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਣ ਉਤਸ਼ਾਹਿਤ ਕਰਨਾ ਹੈ। ਕਾਲਜ ਦੇ ਪ੍ਰਬੰਧਕਾਂ ਨੇ ਵੀ ਇਸ ਵਰਕਸ਼ਾਪ ਨੂੰ ਕਰਵਾਉਣ ਦੇ ਪਰਵਾਨਗੀ ਦੇ ਦਿੱਤੀ ਹੈ। ਕਾਲਜ ਵਿੱਚ ਇਸ ਵਰਕਸ਼ਾਪ ਦੇ ਸਾਰੇ ਪ੍ਰਬੰਧਾਂ ਦੀ ਜ਼ਿੰਮੇਵਾਰੀ ਨਿਸ਼ਾਨ ਸਿੰਘ ਵਿਰਦੀ ਜੀ ਨੇ ਲਈ ਹੈ। ਇਹ ਵਰਕਸ਼ਾਪ [[ਅੰਤਰਰਾਸ਼ਟਰੀ ਮਹਿਲਾ ਦਿਵਸ]] ਨੂੰ ਧਿਆਨ ਵਿੱਚ ਰੱਖਦੇ ਹੋਏ ਉਸਦੇ ਨੇੜੇ ਦੇ ਦਿਨ ੬ ਮਾਰਚ ਨੂੰ ਕਰਵਾਈ ਜਾ ਰਹੀ ਹੈ।
ਇਸ ਵਰਕਸ਼ਾਪ ਵਿੱਚ ਜੇਕਰ ਕੋਈ ਵਰਤੋਂਕਾਰ ਪੰਜਾਬੀ ਭਾਈਚਾਰੇ ਵਿੱਚੋਂ ਉੱਥੇ ਸਪੀਕਰ ਦੇ ਤੌਰ ਤੇ ਸ਼ਾਮਲ ਹੋਣਾ ਚਾਹੁੰਦਾ ਹੈ ਤਾਂ ਆਪਣੀ ਇੱਛਾ ਪ੍ਰਗਟ ਕਰ ਸਕਦਾ ਹੈ। ਧੰਨਵਾਦ। -- [[ਵਰਤੋਂਕਾਰ:Kuldeep (Punjabi Wikimedians)|Kuldeep (Punjabi Wikimedians)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kuldeep (Punjabi Wikimedians)|ਗੱਲ-ਬਾਤ]]) 17:21, 22 ਫ਼ਰਵਰੀ 2026 (UTC)
== Punjabi Wikimedians Skill Development Workshop 2026, Chandigarh ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ,
ਸਮੂਹ ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ਼ ਨੂੰ ਦੱਸਦਿਆਂ ਖ਼ੁਸ਼ੀ ਹੋ ਰਹੀ ਹੈ ਕਿ ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ਼ ਯੂਜ਼ਰ ਗਰੁੱਪ ਵੱਲੋਂ '''21 ਅਤੇ 22 ਮਾਰਚ 2026''' ਨੂੰ ਚੰਡੀਗੜ੍ਹ ਵਿਖੇ ਇੱਕ ਵਿਸ਼ੇਸ਼ ਦੋ-ਰੋਜ਼ਾ ਸਮਰੱਥਾ ਨਿਰਮਾਣ (Capacity Building) ਵਰਕਸ਼ਾਪ ਕਰਵਾਈ ਜਾ ਰਹੀ ਹੈ। ਇਸ ਵਰਕਸ਼ਾਪ ਦਾ ਮੁੱਖ ਮਕਸਦ ਸਾਡੇ ਸਰਗਰਮ ਮੈਂਬਰਾਂ ਦੇ 'ਆਨ-ਵਿਕੀ' ਯੋਗਦਾਨ ਦੇ ਨਾਲ-ਨਾਲ ਉਹਨਾਂ ਦੇ 'ਆਫ-ਵਿਕੀ' ਹੁਨਰਾਂ (ਜਿਵੇਂ ਕਿ ਕਮਿਊਨੀਕੇਸ਼ਨ, ਲੀਡਰਸ਼ਿਪ ਅਤੇ ਪਾਰਟਨਰਸ਼ਿਪ) ਨੂੰ ਨਿਖਾਰਨਾ ਹੈ। ਇਸ ਪ੍ਰੋਗਰਾਮ ਵਿੱਚ ਵਿਕੀਮੀਡੀਆ ਸੰਸਥਾ ਅਤੇ OKI (IIIT-H) ਦੇ ਸਟਾਫ ਮੈਂਬਰ ਅਤੇ ਹੋਰ ਮਾਹਿਰ ਵੀ ਸ਼ਾਮਲ ਹੋਣਗੇ।
ਜੇਕਰ ਤੁਸੀਂ ਇਸ ਵਰਕਸ਼ਾਪ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਣ ਦੀ ਇੱਛਾ ਰੱਖਦੇ ਹੋ ਤਾਂ ਤੁਸੀਂ ਆਪਣੀ ਇੱਛਾ ਇਸ ਆਨਲਾਈਨ ਅਰਜ਼ੀ ਨੂੰ ਭਰਕੇ ਬਿਆਨ ਕਰ ਸਕਦੇ ਹੋ ਜਿਸਦੀ ਆਖ਼ਰੀ ਮਿਤੀ '''4 ਮਾਰਚ 2026''' ਹੈ। ਚੁਣੇ ਗਏ ਵਰਤੋਂਕਾਰਾਂ ਨੂੰ ਅਗਲੀ ਜਾਣਕਾਰੀ ਈਮੇਲ ਰਾਹੀਂ ਦਿੱਤੀ ਜਾਵੇਗੀ।
'''ਰਜਿਸਟ੍ਰੇਸ਼ਨ ਲਿੰਕ:''' [https://docs.google.com/forms/d/e/1FAIpQLSetY3Ja21LI1mCDVWJzkPX893Ll7ECrWP9MN4WQwjBgUkxjHw/viewform?usp=header ਗੂਗਲ ਫਾਰਮ]
-- [[ਵਰਤੋਂਕਾਰ:Kuldeep (Punjabi Wikimedians)|Kuldeep (Punjabi Wikimedians)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kuldeep (Punjabi Wikimedians)|ਗੱਲ-ਬਾਤ]]) 18:12, 26 ਫ਼ਰਵਰੀ 2026 (UTC)
:ਜੋ ਲੋਕ ਇਹ ਜਾਨਣ ਦੀ ਇੱਛਾ ਰੱਖਦੇ ਹਨ ਕਿ ਵਿਕੀਪੀਡੀਆ ਕਿਵੇਂ ਕੰਮ ਕਰਦਾ ਹੈ ਅਤੇ ਇਸਨੂੰ ਕਿਵੇਂ ਸੋਧਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਇਸਦੇ ਲਈ 20 ਮਾਰਚ ਨੂੰ ਇੱਕ ਚੰਡੀਗੜ੍ਹ ਵਿਖੇ ਹੀ ਵਰਕਸ਼ਾਪ ਕਰਵਾਈ ਜਾਵੇਗੀ। ਇਸ ਵਿੱਚ ਉਹਨਾਂ ਨੂੰ ਵਿਸਥਾਰ ਵਿੱਚ ਵਿਕੀਪੀਡੀਆ ਅਤੇ ਇਸਦੇ ਪ੍ਰਾਜੈਕਟਾਂ ਬਾਰੇ ਜਾਣਕਾਰੀ ਦਿੱਤੀ ਜਾਵੇਗੀ। ਸਿੱਖਣ ਦੇ ਇੱਛੁਕ [https://docs.google.com/forms/d/e/1FAIpQLSdv1EUW1QX2a4_6DXDUB-LrhBLpCqmdqqbhnt3Kn2jfds8swA/viewform?usp=header ਇਹ ਗੂਗਲ ਫਾਰਮ] ਭਰ ਸਕਦੇ ਹਨ।
:-- [[ਵਰਤੋਂਕਾਰ:Kuldeep (Punjabi Wikimedians)|Kuldeep (Punjabi Wikimedians)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kuldeep (Punjabi Wikimedians)|ਗੱਲ-ਬਾਤ]]) 17:28, 27 ਫ਼ਰਵਰੀ 2026 (UTC)
::ਕੁੱਝ ਕਾਰਨਾਂ ਕਰਕੇ ਇਹ ਆਊਟਰੀਚ ਵਰਕਸ਼ਾਪ ਮਾਰਚ ਮਹੀਨੇ ਵਿੱਚ ਨਹੀਂ ਹੋਵੇਗੀ। ਰਜਿਸਟਰ ਕੀਤੇ ਵਰਤੋਂਕਾਰਾਂ ਨੂੰ ਇਹ ਜਾਣਕਾਰੀ ਈਮੇਲ ਰਾਹੀਂ ਵੀ ਭੇਜ ਦਿੱਤੀ ਗਈ ਹੈ। -- [[ਵਰਤੋਂਕਾਰ:Kuldeep (Punjabi Wikimedians)|Kuldeep (Punjabi Wikimedians)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kuldeep (Punjabi Wikimedians)|ਗੱਲ-ਬਾਤ]]) 12:01, 18 ਮਾਰਚ 2026 (UTC)
== Punjabi Wikimedians Women's Day Meetup 2026, Patiala ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ,
ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ਼ ਨਾਲ ਜੁੜੇ ਸਾਰੇ ਮੈਂਬਰਾਂ ਨਾਲ ਜਾਣਕਾਰੀ ਸਾਂਝੀ ਕੀਤੀ ਜਾਂਦੀ ਹੈ ਕਿ ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ਼ ਯੂਜ਼ਰ ਗਰੁੱਪ ਵੱਲੋਂ '''ਵੂਮੈਨ ਡੇ (ਮਹਿਲਾ ਦਿਵਸ)''' ਦੇ ਉਤਸਵ ਮੌਕੇ ਇੱਕ ਵਿਸ਼ੇਸ਼ ਬੈਠਕ ਦਾ ਆਯੋਜਨ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੈ। ਇਹ ਬੈਠਕ 9 ਮਾਰਚ ਨੂੰ ਪਟਿਆਲਾ ਵਿਖੇ (ਪੰਜਾਬੀ ਯੂਨੀਵਰਸਿਟੀ ਦੇ ਨੇੜੇ) ਕਰਵਾਈ ਜਾਵੇਗੀ।
ਇਸ ਬੈਠਕ ਦਾ ਮੁੱਖ ਉਦੇਸ਼ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟਾਂ ਵਿੱਚ ਨਵੇਂ ਮਹਿਲਾ ਐਡਿਟਰਾਂ ਦੀ ਭਾਗੀਦਾਰੀ ਨੂੰ ਉਤਸ਼ਾਹਿਤ ਕਰਨਾ ਅਤੇ ਉਨ੍ਹਾਂ ਨੂੰ ਵਿਕੀਪੀਡੀਆ ਨਾਲ ਜਾਣ-ਪਛਾਣ ਕਰਵਾਉਣਾ ਹੈ। ਇਸ ਦੌਰਾਨ ਨਵੇਂ ਐਡਿਟਰਾ ਨੂੰ ਸੰਪਾਦਨ ਪ੍ਰਕਿਰਿਆ, ਹਵਾਲੇ ਜੋੜਨ ਅਤੇ ਲੇਖ ਵਧਾਉਣ ਬਾਰੇ ਜਾਣਕਾਰੀ ਦਿੱਤੀ ਜਾਵੇਗੀ। ਖ਼ਾਸ ਤੌਰ 'ਤੇ, ਇਸ ਬੈਠਕ ਦਾ ਕੇਂਦਰ ਔਰਤਾਂ ਨਾਲ ਸੰਬੰਧਿਤ ਮੌਜੂਦਾ ਲੇਖਾਂ ਦੇ ਸੁਧਾਰ 'ਤੇ ਰਹੇਗਾ।
[[ਵਰਤੋਂਕਾਰ:Tamanpreet Kaur|Tamanpreet Kaur]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Tamanpreet Kaur|ਗੱਲ-ਬਾਤ]]) 14:23, 27 ਫ਼ਰਵਰੀ 2026 (UTC)
== ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ਼ ਸਾਲਾਨਾ ਯੋਜਨਾ 2026-27 ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ, ਜਿਵੇਂ ਕਿ ਪਿਛਲੇ ਸਾਲ ਆਪਾਂ ਆਪਣੇ ਪੰਜਾਬੀ ਭਾਈਚਾਰੇ ਦੇ ਪੂਰੇ ਸਾਲ ਦੀਆਂ ਗਤੀਵਿਧੀਆਂ ਨੂੰ ਮੁੱਖ ਰੱਖਦੇ ਹੋਏ ਇੱਕ ਯੋਜਨਾ ਬਣਾਈ ਸੀ ਜੋ ਕਿ ਮਈ 2026 ਵਿੱਚ ਪੂਰੀ ਹੋ ਜਾਵੇਗੀ। ਇਸ ਦੀ ਤਰ੍ਹਾਂ ਹੀ ਹੁਣ ਸਾਲ ਜੂਨ 2026 ਤੋਂ ਮਈ 2027 ਦੇ ਲਈ ਯੋਜਨਾ ਬਣਾ ਰਹੇ ਹਾਂ। ਇਹਨਾਂ ਵਿੱਚ ਆਪਣੇ ਭਾਈਚਾਰੇ ਲਈ ਆਫ਼ਲਾਈਨ ਬੈਠਕ, ਵਰਕਸ਼ਾਪ, ਵਿਕੀ ਮੁਕਾਬਲੇ ਆਦਿ ਸ਼ਾਮਲ ਹਨ। ਇਹਨਾਂ ਦੀ ਪੂਰੀ ਜਾਣਕਾਰੀ ਤੁਸੀਂ ਹੇਠ ਦਿੱਤੇ ਲਿੰਕਾਂ ਉੱਤੇ ਦੇਖ ਸਕਦੇ ਹੋ। ਤੁਸੀਂ ਇਹਨਾਂ ਗਤੀਵਿਧੀਆਂ ਲਈ ਆਪਣੇ ਵਿਚਾਰ ਜਾਂ ਟਿੱਪਣੀਆਂ ਇਸੇ ਦੇ ਜਵਾਬ ਵਿੱਚ ਦੇ ਸਕਦੇ ਹੋ। ਧੰਨਵਾਦ।
* ਯੋਜਨਾ - https://docs.google.com/document/d/1hRmcQpctTkW5uD2nEMPK4rwH8gy0sPcowds_nD8RhN8/edit?tab=t.0#heading=h.xguagl4w4kiz
* ਬਜਟ - https://docs.google.com/spreadsheets/d/1ObeAO3saDF_3EV97oLTuLkRkunufnghX/edit?gid=1317624397#gid=1317624397
* ਸਮਾਂਰੇਖਾ - https://docs.google.com/spreadsheets/d/11R9rU_dw-JO8srtJuZG17bnV4SPVLHtschTbLfwgxuE/edit?gid=0#gid=0
--'''[[user:kuldeepburjbhalaike|<i style="color:#FF4500; font-family:sylfaen">KuldeepBurjBhalaike</i>]]''' <sup style="color:#FF4500; font-family:georgia">([[User_talk:Kuldeepburjbhalaike|Talk]])</sup> 06:15, 7 ਮਾਰਚ 2026 (UTC)
== ਮਹਿਲਾ ਦਿਵਸ ਨਾਲ਼ ਸੰਬੰਧਤ ਗਤੀਵਿਧੀਆਂ ਅਤੇ ਆਗਾਮੀ ਵਰਕਸ਼ਾਪ ਬਾਰੇ ਅੱਪਡੇਟ ==
ਜਿਸ ਤਰ੍ਹਾਂ ਉੱਪਰ ਕੁੱਝ ਗਤੀਵਿਧੀਆਂ ਬਾਰੇ ਸਾਂਝਾ ਕੀਤਾ ਗਿਆ ਸੀ, ਮੈਂ ਉਹਨਾਂ ਬਾਰੇ ਕੁੱਝ ਅੱਪਡੇਟ ਸਾਂਝਾ ਕਰਨਾ ਚਾਹੁੰਦਾ ਹਾਂ। ਇਹਨਾਂ ਦੋਵਾਂ ਗਤੀਵਿਧੀਆਂ ਦੇ ਆਯੋਜਕਾਂ ਨੂਂ ਵਿਸ਼ੇਸ਼ ਤੌਰ ਤੇ ਵਧਾਈ ਦੇਣਾ ਚਾਹੁੰਦਾ ਹਾਂ ਕਿਉਂਕਿ ਸਾਨੂੰ ਲੋੜ ਹੈ ਕਿ ਭਾਈਚਾਰੇ ਵਿੱਚ ਵੱਖ-ਵੱਖ ਲੋਕ ਅੱਗੇ ਆਉਣ ਅਤੇ ਇਹੋ ਜਿਹੇ ਹੋਰ ਪ੍ਰੋਗਰਾਮ ਉਲੀਕਣ।
ਮਹਿਲਾ ਦਿਵਸ ਨੂੰ ਮੁੱਖ ਰੱਖਦੇ ਹੋਏ [[ਦੇਵ ਸਮਾਜ ਕਾਲਜ ਫ਼ਾਰ ਵੂਮੈਨ, ਫ਼ਿਰੋਜ਼ਪੁਰ]] ਇੱਕ ਆਊਟਰੀਚ ਵਰਕਸ਼ਾਪ ਕਰਵਾਈ ਗਈ ਜਿਸ ਵਿੱਚ 100 ਤੋਂ ਵੱਧ ਵਿਦਿਆਰਥੀਆਂ ਅਤੇ ਸਟਾਫ਼ ਨੇ ਹਿੱਸਾ ਲਿਆ। ਜਿਸ ਵਿੱਚ ਵਿਕੀਪੀਡੀਆ ਲਹਿਰ ਕੀ ਹੈ ਅਤੇ ਇਸਦੇ ਪ੍ਰਾਜੈਕਟ ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਵਿੱਚ ਕਿਵੇਂ ਕੰਮ ਕਰਦੇ ਹਨ ਅਤੇ ਅਸੀਂ ਇਹਨਾਂ ਨੂੰ ਕਿਵੇਂ ਵਰਤ ਸਕਦੇ ਹਾਂ ਅਤੇ ਕਿਵੇਂ ਇਹਨਾਂ ਵਿੱਚ ਸੋਧ ਵੀ ਕੀਤੀ ਜਾ ਸਕਦੀ ਹੈ ਆਦਿ ਬਾਰੇ ਦੱਸਿਆ ਗਿਆ। ਇਸ ਵਰਕਸ਼ਾਪ ਨੂੰ ਕਰਵਾਉਣ ਦੀ ਪੂਰੀ ਜ਼ਿੰਮੇਵਾਰੀ [[ਵਰਤੋਂਕਾਰ:ਨਿਸ਼ਾਨ ਸਿੰਘ ਵਿਰਦੀ|ਨਿਸ਼ਾਨ ਸਿੰਘ ਵਿਰਦੀ]] ਜੀ ਨੇ ਲਈ ਸੀ। ([https://outreachdashboard.wmflabs.org/courses/Punjabi%20Wikimedians/Dev%20Samaj%20College%20For%20Women%20Firozpur,%20Outreach ਆਊਟਰੀਚ ਡੈਸਬੋਰਡ])
ਦੂਜੀ ਗਤੀਵਿਧੀ ਮਹਿਲਾ ਦਿਵਸ ਉੱਤੇ [[ਵਰਤੋਂਕਾਰ:Tamanpreet Kaur|ਤਮਨਪ੍ਰੀਤ ਕੌਰ]] ਅਤੇ [[ਵਰਤੋਂਕਾਰ:Taranpreet Goswami|ਤਰਨਪ੍ਰੀਤ ਗੋਸਵਾਮੀ]] ਜੀ ਵੱਲੋਂ ਪਟਿਆਲਾ ਵਿਖੇ ਮਹਿਲਾ ਮੀਟਅੱਪ ਕਰਵਾਇਆ ਗਿਆ। ਜਿਸ ਵਿੱਚ 10 ਮਹਿਲਾ ਵਿਕੀਮੀਡੀਅਨਜ਼ ਨੇ ਭਾਗ ਲਿਆ। ਇਸ ਦੌਰਾਨ 4 ਨਵੇਂ ਵਰਕੋਂਕਾਰ ਖ਼ਾਤੇ ਵੀ ਬਣਾਏ ਗਏ। ਇਸ ਵਿੱਚ ਵਿਕੀਪੀਡੀਆ ਸੋਧ ਅਤੇ ਵਿਕੀਸਰੋਤ ਦੇ ਮੁੱਢਲੇ ਗਿਆਨ ਬਾਰੇ ਚਰਚਾ ਕੀਤੀ ਗਈ। ([https://outreachdashboard.wmflabs.org/courses/Punjabi%20Wikimedians/Women's%20Week%20Meetup%202026/home ਆਊਟਰੀਚ ਡੈਸਬੋਰਡ])
ਆਖ਼ਰੀ ਅੱਪਡੇਟ ਆਗਾਮੀ 21 ਅਤੇ 22 ਮਾਰਚ 2026 ਨੂੰ ਹੋਣ ਵਾਲੀ ਵਰਕਸ਼ਾਪ ਹੁਣ ਚੰਡੀਗੜ੍ਹ ਦੀ ਬਜਾਏ '''ਪਟਿਆਲਾ''' ਵਿਖੇ ਕਰਵਾਈ ਜਾਵੇਗੀ। ਸੋ ਮੈਂ ਬੇਨਤੀ ਕਰਾਂਗਾ ਜਿਹਨਾਂ ਨੇ ਪਿਛਲੇ ਮੈਸੇਜ ਵਿੱਚ ਦਿੱਤਾ ਫਾਰਮ ਨਹੀਂ ਭਰਿਆ ਸੀ ਉਹ [https://docs.google.com/forms/d/1NwQHxhXorpkv1wIS6nYELgDh3oJ5-t1G1Gie9HCM7HU/edit ਇਹ ਫਾਰਮ ਕੱਲ੍ਹ ਭਾਵ 11 ਮਾਰਚ ਤੱਕ] ਭਰ ਸਕਦੇ ਹਨ। ਧੰਨਵਾਦ ਜੀ। -- [[ਵਰਤੋਂਕਾਰ:Kuldeep (Punjabi Wikimedians)|Kuldeep (Punjabi Wikimedians)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kuldeep (Punjabi Wikimedians)|ਗੱਲ-ਬਾਤ]]) 12:38, 10 ਮਾਰਚ 2026 (UTC)
== Request for Comment: VisualEditor automatic reference names ==
<div lang="en" dir="ltr">
Hi, I’m Johannes from [[:m:Wikimedia Deutschland|Wikimedia Deutschland]]’s [[:m:WMDE Technical Wishes|Technical Wishes team]]. Apologies for writing in English. {{Int:Please-translate}}! We are considering to work on [[:m:Community Wishlist/W17|Community Wishlist/W17: Improve VE references' automatic names and reuse]]. This has been a long-term issue for wikitext editors (see e.g. [[:en:WP:VisualEditor/Named references]]) which has been among the top-voted wishes in several [[:m:Community Wishlist Survey|Community Wishlist Surveys]], e.g. [[:m:Community Wishlist Survey 2017/Editing/VisualEditor: Allow editing of auto-generated references before adding them|2017]], [[:m:Community Wishlist Survey 2019/Citations/VisualEditor: Allow references to be named|2019]], [[:m:Community Wishlist Survey 2022/Editing/VisualEditor should use human-like names for references|2022]] or [[:m:Community Wishlist Survey 2023/Editing/VisualEditor should use proper names for references|2023]].
We would like your input on the [[:m:WMDE Technical Wishes/References/VisualEditor automatic reference names#Proposed solutions|solutions]] proposed on our project page: '''[[:m:WMDE Technical Wishes/References/VisualEditor automatic reference names]]'''. We are considering several options, which can be combined if desired by the community.
* Changing the default pattern for automatically generated reference names (currently <code>":n"</code>, e.g. <code>":0"</code>, <code>":1"</code>...) to use the [[:mw:Help:Reference Previews#Exposed reference types|reference type]] instead (e.g. <code>"book_reference-1"</code>).
* Providing a simple mechanism for communities to configure a different default name.
* Generating automatic reference names based on the [[:en:domain name|domain name]] (if it’s a web citation).
* Generating automatic reference names based on template parameters (e.g. "title" or "last"+"first") – defined by the community.
=== Feedback ===
[[:m:WMDE Technical Wishes/References/VisualEditor automatic reference names|Visit our project page]] to read about our proposal in detail and share your thoughts [[:m:Talk:WMDE Technical Wishes/References/VisualEditor automatic reference names#Request for comment|on metawiki]].
'''Please note''': We will only implement a solution if there’s clear consensus among the global community. Our intention is not to build the perfect solution, but to find a simple and lean one that alleviates the pain caused by auto generated names. We are aware that some experienced VisualEditor users might prefer an option to manually change reference names in VisualEditor, but such a UX intervention is difficult to achieve across reference types and thus out of scope for our team, we can only improve the auto-naming mechanism.
We are happy about suggestions for improving certain details of the proposed solutions. Any other feedback and alternative proposals are also welcome – even though it’s out of scope for us, it might still be relevant for future work on this topic.
Please support us interpreting consensus by clearly indicating your opinion (e.g. by using support/neutral/oppose templates). We are aware of [[:en:WP:NOTVOTE]], but given that we are facilitating this discussion with users from different wikis, potentially commenting in their native language, clearly indicating your position helps us avoid misunderstandings.
Thank you for participating!</div> <bdi lang="en" dir="ltr">[[User:Johannes Richter (WMDE)|Johannes Richter (WMDE)]] ([[User talk:Johannes Richter (WMDE)|ਗੱਲ-ਬਾਤ]])</bdi> 11:15, 19 ਮਾਰਚ 2026 (UTC)
(This message was sent to [[:ਵਿਕਿਪੀਡਿਆ:ਕਮਿਊਨਟੀ ਪੋਰਟਲ]] and is being posted here due to a redirect.)
<!-- Message sent by User:Johannes Richter (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Johannes_Richter_(WMDE)/MassMessageRecipients&oldid=30281362 -->
== Punjabi Wikimedians Capacity Building Workshop 2026, Chandigarh ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ, Punjabi Wikimedians Skill Development Workshop 2026, Chandigarh ਲਈ ਉੱਪਰ ਜਾਣਕਾਰੀ ਸਾਂਝੀ ਕੀਤੀ ਗਈ ਸੀ ਜੋ ਕਿ ਮਾਰਚ ਮਹੀਨੇ ਵਿੱਚ ਹੋਣੀ ਸੀ ਪਰ ਕੁੱਝ ਕਾਰਨਾਂ ਕਰਕੇ ਉਹ ਨਹੀਂ ਹੋ ਸਕੀ। ਹੁਣ ਇਹ ਵਰਕਸ਼ਾਪ 18 ਅਤੇ 19 ਅਪਰੈਲ ਨੂੰ ਚੰਡੀਗੜ੍ਹ ਵਿੱਚ ਹੋਵੇਗੀ। ਪਹਿਲਾਂ ਸਾਂਝਾ ਕੀਤੇ ਅਨੁਸਾਰ ਇਸ ਵਿੱਚ ਓਕੇਆਈ ਅਤੇ ਵਿਕੀਮੀਡੀਆ ਸੰਸਥਾ ਦੇ ਮੈਂਬਰ ਵੀ ਇਸ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋ ਰਹੇ ਹਨ। ਇਸ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਣ ਦੀ ਇੱਛਾ ਪ੍ਰਗਟ ਕਰਨ ਲਈ ਤੁਸੀਂ ਹੇਠ ਦਿੱਤਾ ਫਾਰਮ ਭਰ ਸਕਦੇ ਹੋ। ਧੰਨਵਾਦ।
ਫਾਰਮ - https://docs.google.com/forms/d/e/1FAIpQLSdY8hwqRH1oFeExAkDXL2Ag4xW4oH7EM8PKi2mERlXHmaQMyg/viewform?usp=header
-- [[ਵਰਤੋਂਕਾਰ:Kuldeep (Punjabi Wikimedians)|Kuldeep (Punjabi Wikimedians)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kuldeep (Punjabi Wikimedians)|ਗੱਲ-ਬਾਤ]]) 17:56, 28 ਮਾਰਚ 2026 (UTC)
== ਵਿਕੀ ਕਾਨਫਰੰਸ ਇੰਡੀਆ 2026 ਲਈ ਸਕਾਲਰਸ਼ਿਪ ਅਰਜ਼ੀਆਂ ਸ਼ੁਰੂ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ,
ਵਿਕੀ ਕਾਨਫਰੰਸ ਇੰਡੀਆ 2026 ਲਈ ਸਕਾਲਰਸ਼ਿਪ ਅਰਜ਼ੀਆਂ ਸ਼ੁਰੂ ਹੋ ਗਈਆਂ ਹਨ। ਇਹ ਕਾਨਫਰੰਸ 4 ਸਤੰਬਰ ਤੋਂ 6 ਸਤੰਬਰ 2026 ਤੱਕ ਕੋਚੀ (ਭਾਰਤ) ਵਿੱਚ ਹੋਵੇਗੀ।
ਵਿਕੀ ਕਾਨਫਰੰਸ ਇੰਡੀਆ ਸਮੁੱਚੇ ਭਾਰਤ, ਦੱਖਣੀ ਏਸ਼ੀਆ ਅਤੇ ਹੋਰਨਾਂ ਦੇਸ਼ਾਂ ਦੇ ਵਿਕੀਮੀਡੀਅਨ, ਕਮਿਊਨਿਟੀ ਪ੍ਰਬੰਧਕ ਅਤੇ ਭਾਗੀਦਾਰਾਂ ਨੂੰ ਇੱਕ ਮੰਚ 'ਤੇ ਇਕੱਠਾ ਕਰਦੀ ਹੈ। ਇਹ ਇੱਕ ਅਜਿਹਾ ਮੰਚ ਹੈ ਜਿੱਥੇ ਅਸੀਂ ਇੱਕ-ਦੂਜੇ ਨਾਲ ਜੁੜਦੇ ਹਾਂ, ਨਵਾਂ ਸਿੱਖਦੇ ਹਾਂ, ਆਪਣੇ ਤਜ਼ਰਬੇ ਸਾਂਝੇ ਕਰਕੇ, ਮੁਫ਼ਤ ਗਿਆਨ ਦੀ ਲਹਿਰ (free knowledge movement) ਨੂੰ ਮਜ਼ਬੂਤ ਕਰਨ ਲਈ ਮਿਲ ਕੇ ਕੰਮ ਕਰਦੇ ਹਾਂ।
ਜੇਕਰ ਤੁਸੀਂ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟਾਂ ਵਿੱਚ ਸਰਗਰਮ ਹੋ ਜਾਂ ਕਮਿਊਨਿਟੀ ਦੀਆਂ ਗਤੀਵਿਧੀਆਂ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋ, ਤਾਂ ਅਸੀਂ ਤੁਹਾਨੂੰ ਸਕਾਲਰਸ਼ਿਪ ਲਈ ਅਪਲਾਈ ਕਰਨ ਲਈ ਉਤਸ਼ਾਹਿਤ ਕਰਦੇ ਹਾਂ। ਇਸ ਬਾਰੇ ਵਿਸਥਾਰ ਵਿੱਚ ਜਾਣਕਾਰੀ ਅੱਗੇ ਦਿੱਤੀ ਗਈ ਹੈ। 🙂
ਅਪਲਾਈ ਕਰਨ ਦੀ ਆਖਰੀ ਮਿਤੀ: [15 ਅਪ੍ਰੈਲ 2026, ਰਾਤ 11:59 ਵਜੇ ਤੱਕ (IST)]
ਅਰਜ਼ੀ ਦਾ ਲਿੰਕ (Application link): https://docs.google.com/forms/d/e/1FAIpQLSdA3rR9xX_k31dzJrjM5MTDNYNUIRcAB45S4TflsYCbGJNrzg/viewform
ਵਧੇਰੇ ਜਾਣਕਾਰੀ (More information): [[metawiki:WikiConference_India_2026/Scholarship|WCI 2026 Scholarship metawiki]]
ਕਿਰਪਾ ਕਰਕੇ ਇਸ ਜਾਣਕਾਰੀ ਨੂੰ ਆਪਣੀ ਕਮਿਊਨਿਟੀ ਦੇ ਹੋਰ ਮੈਂਬਰਾਂ ਨਾਲ ਵੀ ਸਾਂਝਾ ਕਰੋ।
ਧੰਨਵਾਦ,
ਵਿਕੀ ਕਾਨਫਰੰਸ ਇੰਡੀਆ 2026 ਪ੍ਰਬੰਧਕ ਕਮੇਟੀ
-[[ਵਰਤੋਂਕਾਰ:Gnoeee|Gnoeee]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Gnoeee|ਗੱਲ-ਬਾਤ]]) 21:16, 28 ਮਾਰਚ 2026 (UTC)
== Join the sixth Ukraine’s Cultural Diplomacy Month on Wikipedia! ==
<div lang="en" dir="ltr">
[[File:Ukraine’s Cultural Diplomacy Month on Wikipedia 2026.png|right|250px|thumb|link=https://meta.wikimedia.org/wiki/Ukraine%27s_Cultural_Diplomacy_Month_2026|Join our campaign!]]
{{int:please-translate}}
Dear Wikipedians!
[[:m:Special:MyLanguage/Wikimedia Ukraine|Wikimedia Ukraine]], in cooperation with the [[:en:Ministry of Foreign Affairs of Ukraine|MFA of Ukraine]] and [[:en:Ukrainian Institute|Ukrainian Institute]], has launched the sixth edition of writing challenge "'''[[:m:Special:MyLanguage/Ukraine's Cultural Diplomacy Month 2026|Ukraine's Cultural Diplomacy Month]]'''", which lasts from '''1st April''' until '''30th April 2026'''.
The initiative aims to promote knowledge about Ukrainian culture abroad by creating and improving Wikipedia articles in multiple languages. This year marks the sixth edition of the campaign, which will focus on contemporary culture, making today’s artistic voices and practices more visible to international audiences.
🧩'''How to participate?'''
Choose an article from the suggested list → Write an article in your language, or improve an existing one according to the rules → Add your contribution to the contest page and calculate your points → Win prizes and receive a certificate of participation → Become a promoter of truthful knowledge about Ukraine.
🧩'''[[m:Special:MyLanguage/Ukraine's Cultural Diplomacy Month 2026|Check our main page for more information]]'''.
'''If you are interested in coordinating long-term community engagement for the campaign and becoming a local ambassador, we would love to hear from you! Please let us know your interest.'''
If not, then we encourage you to translate the [[m:Special:MyLanguage/Ukraine's Cultural Diplomacy Month 2026|landing page of the contest]] and [https://meta.wikimedia.org/wiki/Special:MessageGroupStats?group=Centralnotice-tgroup-UCDM2026banner&messages=&language=en&x=D banner] into your own language.
Also, we set up a [[:m:CentralNotice/Request/Ukraine's Cultural Diplomacy Month 2026|banner]] to notify users of the possibility to participate in this challenge!
[[:m:User:OlesiaLukaniuk (WMUA)|OlesiaLukaniuk (WMUA)]] ([[:m:User talk:OlesiaLukaniuk (WMUA)|talk]]) 04:35, 1 April 2026 (UTC)
</div>
(This message was sent to [[:ਵਿਕਿਪੀਡਿਆ:ਕਮਿਊਨਟੀ ਪੋਰਟਲ]] and is being posted here due to a redirect.)
<!-- Message sent by User:OlesiaLukaniuk (WMUA)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:OlesiaLukaniuk_(WMUA)/list_of_wikis&oldid=28552112 -->
== Action Required: Update templates/modules for electoral maps (Migrating from P1846 to P14226) ==
Hello everyone,
This is a notice regarding an ongoing data migration on Wikidata that may affect your election-related templates and Lua modules (such as <code>Module:Itemgroup/list</code>).
'''The Change:'''<br />
Currently, many templates pull electoral maps from Wikidata using the property [[:d:Property:P1846|P1846]], combined with the qualifier [[:d:Property:P180|P180]]: [[:d:Q19571328|Q19571328]].
We are migrating this data (across roughly 4,000 items) to a newly created, dedicated property: '''[[:d:Property:P14226|P14226]]'''.
'''What You Need To Do:'''<br />
To ensure your templates and infoboxes do not break or lose their maps, please update your local code to fetch data from [[:d:Property:P14226|P14226]] instead of the old [[:d:Property:P1846|P1846]] + [[:d:Property:P180|P180]] structure. A [[m:Wikidata/Property Migration: P1846 to P14226/List|list of pages]] was generated using Wikimedia Global Search.
'''Deadline:'''<br />
We are temporarily retaining the old data on [[:d:Property:P1846|P1846]] to allow for a smooth transition. However, to complete the data cleanup on Wikidata, the old [[:d:Property:P1846|P1846]] statements will be removed after '''May 1, 2026'''. Please update your modules and templates before this date to prevent any disruption to your wiki's election articles.
Let us know if you have any questions or need assistance with the query logic. Thank you for your help! [[User:ZI Jony|ZI Jony]] using [[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 17:12, 3 ਅਪਰੈਲ 2026 (UTC)
(This message was sent to [[:ਵਿਕਿਪੀਡਿਆ:ਕਮਿਊਨਟੀ ਪੋਰਟਲ]] and is being posted here due to a redirect.)
<!-- Message sent by User:ZI Jony@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Non-Technical_Village_Pumps_distribution_list&oldid=29941252 -->
== Invitation to join South Asian Community and the Annual Planning Discussions with WMF ==
"Kindly feel free to translate this text into your own language."
Dear Community member,
We would like to invite you all to the April edition of the South Asia Open Community Call that will focus on a discussion with the leadership of the Wikimedia Foundation on their [[:m:Wikimedia Foundation Annual Plan/2026-2027|Annual Plan (2026-2027)]].
The [[:m:Wikimedia Foundation Annual Plan|Foundation’s Annual Plan]] is a high-level roadmap for what the organisation aims to achieve in the coming year. It includes not only the foundation’s Goals, Progress, and plan but also a summary of Global Trends that impact the present and future of our movement.
This is the right time for the South Asia community to participate and share their thoughts on the Wikimedia Foundation’s annual plan, helping shape it together. Share your hopes, concerns, bold ideas, and specific requests to contribute to the Foundation’s planning.
Hence, the next [[:m:South Asia Open Community Call|South Asia Open Community Call]] will be hosted on the following dates/times. Please mark the same in your calendar and sign up [[:m:Event:South Asia Open Community Call, April 2026|here]].
* Platform: Google Meet
* Date: 17th April, 2026
* Time: 1930-2045 IST (1400-1515 UTC)
* Registration Link: [[:m:Event:South Asia Open Community Call, April 2026|here]]
Note: Only those who have registered will receive the joining link.
Look forward to seeing you on the call,
Best, [[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 18:41, 5 ਅਪਰੈਲ 2026 (UTC)
<!-- Message sent by User:Nitesh Gill@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Nitesh_Gill/lists/Indic_VPs&oldid=29127818 -->
== ਵਿਕੀਕਾਨਫਰੰਸ ਇੰਡੀਆ 2026 - Scholarship Applications ==
ਪਿਆਰੇ ਵਿਕੀਮੀਡੀਅਨ,
ਸਾਨੂੰ ਇਹ ਸਾਂਝਾ ਕਰਦੇ ਹੋਏ ਖੁਸ਼ੀ ਹੋ ਰਹੀ ਹੈ ਕਿ ਵਿਕੀਕਾਨਫਰੰਸ ਇੰਡੀਆ 2026 ਲਈ ਸਕਾਲਰਸ਼ਿਪ ਅਰਜ਼ੀਆਂ ਇਸ ਸਮੇਂ ਖੁੱਲ੍ਹੀਆਂ ਹਨ ਅਤੇ ਆਖਰੀ ਮਿਤੀ ਨੇੜੇ ਆ ਰਹੀ ਹੈ।
[[metawiki:Special:MyLanguage/WikiConference_India_2026|ਵਿਕੀਕਾਨਫਰੰਸ ਇੰਡੀਆ 2026]]
ਤੁਸੀਂ ਹੋਰ ਜਾਣਕਾਰੀ ਅਤੇ ਅਰਜ਼ੀ ਫਾਰਮ ਮੈਟਾ ਵਿਕੀ 'ਤੇ ਸਕਾਲਰਸ਼ਿਪ ਪੰਨੇ 'ਤੇ ਲੱਭ ਸਕਦੇ ਹੋ।
ਸਕਾਲਰਸ਼ਿਪ ਦੀ ਆਖਰੀ ਮਿਤੀ: 15 ਅਪ੍ਰੈਲ 2026, ਰਾਤ 11:59 IST
ਸਿਰਫ ਕੁਝ ਦਿਨ ਬਾਕੀ ਹਨ, ਜੇਕਰ ਤੁਸੀਂ ਪਹਿਲਾਂ ਹੀ ਅਰਜ਼ੀ ਨਹੀਂ ਦਿੱਤੀ ਹੈ ਤਾਂ ਅਸੀਂ ਤੁਹਾਨੂੰ ਅਰਜ਼ੀ ਦੇਣ ਲਈ ਉਤਸ਼ਾਹਿਤ ਕਰਦੇ ਹਾਂ ਅਤੇ ਕਿਰਪਾ ਕਰਕੇ ਤੁਹਾਨੂੰ ਬੇਨਤੀ ਕਰਦੇ ਹਾਂ ਕਿ ਤੁਸੀਂ ਇਸਨੂੰ ਆਪਣੇ ਭਾਈਚਾਰੇ ਨਾਲ ਸਾਂਝਾ ਕਰੋ ਅਤੇ ਦੂਜਿਆਂ ਨੂੰ ਅਰਜ਼ੀ ਦੇਣ ਲਈ ਉਤਸ਼ਾਹਿਤ ਕਰੋ।
ਵਧੇਰੇ ਜਾਣਕਾਰੀ ਅਤੇ ਨਿਯਮਤ ਅਪਡੇਟਸ ਲਈ, ਅਸੀਂ ਤੁਹਾਨੂੰ ਕਾਨਫਰੰਸ ਮੈਟਾ ਪੰਨੇ 'ਤੇ ਜਾਣ ਲਈ ਉਤਸ਼ਾਹਿਤ ਕਰਦੇ ਹਾਂ।
ਵਿਕੀਕਾਨਫਰੰਸ ਇੰਡੀਆ 2026 ਪ੍ਰਬੰਧਕ ਟੀਮ ਵੱਲੋਂ,
ਨਿੱਘਾਂ ਭਰਿਆ ਸਵਾਗਤ। [[ਵਰਤੋਂਕਾਰ:Jagmit Singh Brar|Jagmit Singh Brar]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Jagmit Singh Brar|ਗੱਲ-ਬਾਤ]]) 03:44, 13 ਅਪਰੈਲ 2026 (UTC)
== Indic Wikimedia Hackathon Hyderabad 2026 - Call for Applications ==
The [[m:Indic MediaWiki Developers User Group|Indic MediaWiki Developers User Group]] is pleased to announce the upcoming [[m:Indic Wikimedia Hackathon Hyderabad 2026|Indic Wikimedia Hackathon Hyderabad 2026]], scheduled to take place in Hyderabad from 26 - 28 June 2026 (with 25 June as Day 0), in collaboration with the [[m:IIITH-OKI|IIITH-OKI]] and [https://www.osdg.in/ OSDG] club at [[w: International Institute of Information Technology, Hyderabad|International Institute of Information Technology, Hyderabad]].
Wikimedia hackathons are spaces for developers, designers, content editors, and other community stakeholders to collaborate on building technical solutions that help improve tools, workflows, and overall user experience across Wikimedia projects.
'''The hackathon is intended for:'''
* Technical contributors active in the Wikimedia technical ecosystem, including developers, maintainers (admins/interface admins), translators, designers, researchers, documentation writers, etc.
* Content contributors having an in-depth understanding of technical issues in their home Wikimedia projects like Wikipedia, Wikisource, Wiktionary, etc.
* Contributors from other FOSS communities or those who have participated in Wikimedia events in the past and would like to begin contributing to Wikimedia technical spaces.
Participants may work on curated hackathon tasks and are also encouraged to propose their own ideas, supported by a clear problem statement and a proposed approach.
To encourage participation and support promising contributions, scholarships will be provided to support participants’ related expenses.
'''Apply here:'''
* Scholarship application form (Deadline: 2 May 2026): [https://docs.google.com/forms/d/e/1FAIpQLSej8JvGsvQ7mYmkXdUDriMrKNPajCqH4e3clEct_GnmA1HZ3g/viewform Google form]
'''More information:'''
We encourage interested contributors to apply and participate. Further updates, including program details and venue, will be shared on the Meta page.
* Meta page: [[m:Indic Wikimedia Hackathon Hyderabad 2026|Indic Wikimedia Hackathon Hyderabad 2026]]
If you have any questions, concerns, or need support with the application, please reach out via the Meta-Wiki talk page or email at {{nospam|contact|indicmediawikidev.org}}.
Best Regards,
On behalf of Indic Mediawiki Developers User Group
==ਪੰਜਾਬੀ ਸਾਹਿਤ ਸਭਾ ਦੇ ਸਹਿਯੋਗ ਨਾਲ ਕਾਲਾਂਵਾਲੀ ਵਿੱਚ ਸੈਮੀਨਾਰ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ,
ਪੰਜਾਬੀ ਸਾਹਿਤ ਸਭਾ, ਕਾਲਾਂਵਾਲੀ, ਜ਼ਿਲ੍ਹਾ ਸਿਰਸਾ ਦੇ ਸਹਿਯੋਗ ਨਾਲ ਉਸ ਵੱਲੋਂ ਚਲਾਈ ਜਾ ਰਹੀ ਪਬਲਿਕ ਲਾਇਬ੍ਰੇਰੀ ਕਾਲਾਂਵਾਲੀ ਵਿੱਚ ਸ਼ਨੀਵਾਰ, 25 ਅਪਰੈਲ, 2026 ਨੂੰ ਬਾਅਦ ਦੁਪਹਿਰ ਤਿੰਨ ਵਜੇ '''ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਨਾਲ ਜਾਣ-ਪਛਾਣ ਅਤੇ ਸੰਭਾਵਨਾਵਾਂ''' ਵਿਸ਼ੇ ਉਪਰ ਇੱਕ ਸੈਮੀਨਾਰ ਕਰਵਾਇਆ ਜਾ ਰਿਹਾ ਹੈ। ਇਸ ਵਿੱਚ ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਅਤੇ ਹੋਰ ਪ੍ਰੋਜੈਕਟਾਂ ਬਾਰੇ ਮੁੱਢਲੀ ਜਾਣਕਾਰੀ ਦਿੱਤੀ ਜਾਵੇਗੀ। ਤੁਹਾਡਾ ਇਸ ਇਲਾਕੇ ਵਿੱਚ ਕੋਈ ਜਾਣਕਾਰ ਹੋਵੇ ਤਾਂ ਉਸ ਨੂੰ ਇਸ ਲਈ ਸੱਦਾ ਪੱਤਰ ਭੇਜ ਸਕਦੇ ਹੋ। ਕੋਈ ਨੇੜਲਾ ਵਿਕੀਮੀਡੀਅਨ ਇਸ ਵਿੱਚ ਮੇਰੇ ਸਹਿਯੋਗ ਲਈ ਆ ਸਕਦਾ ਹੈ ਤਾਂ ਜਰੂਰ ਸੰਪਰਕ ਕਰੇ। ਭਵਿੱਖ ਵਿੱਚ ਇਸ ਨੂੰ ਜਾਰੀ ਰੱਖਿਆ ਜਾਵੇਗਾ। ਤੁਹਾਡੇ ਸੁਝਾਵਾਂ ਦਾ ਵੀ ਇੰਤਜ਼ਾਰ ਰਹੇਗਾ। ਧੰਨਵਾਦ ਜੀ।
ਸੈਮੀਨਾਰ ਦੀ ਰਿਪੋਰਟ ਦਾ ਲਿੰਕ [https://meta.wikimedia.org/wiki/Seminar_on_Punjabi_Wikipedia_at_Kalanwali,_Sirsa ਇਥੇ] ਹੈ।
[[ਵਰਤੋਂਕਾਰ:Mulkh Singh|Mulkh Singh]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Mulkh Singh|ਗੱਲ-ਬਾਤ]]) 16:47, 22 ਅਪਰੈਲ 2026 (UTC)
=== ਟਿੱਪਣੀ ===
:@[[ਵਰਤੋਂਕਾਰ:Mulkh Singh|Mulkh Singh]], ਬਹੁਤ ਵਧੀਆ ਕਦਮ ਜੀ, ਤੁਹਾਨੂੰ ਮੁੜ ਸਰਗਰਮ ਹੁੰਦਿਆਂ ਦੇਖ ਬਹੁਤ ਖੁਸ਼ੀ ਹੋ ਰਹੀ ਹੈ। ੨੫ ਅਪਰੈਲ ਨੂੰ ਮੈਂ ਖ਼ੁਦ ਤਾਂ ਨਹੀਂ ਆ ਪਾਵਾਂਗਾ ਪਰ ਕਿਸੇ ਸੈਮੀਨਰ ਲਈ ਕਿਸੇ ਚੀਜ਼ ਵਿੱਚ ਮੈਂ ਜ਼ਰੂਰ ਯੋਗਦਾਨ ਪਾ ਸਕਦਾ ਹੋਇਆ ਤਾਂ ਮੈਨੂੰ ਬੇਹੱਦ ਖੁਸ਼ੀ ਹੋਵੇਗੀ। ਧੰਨਵਾਦ। -- '''[[user:kuldeepburjbhalaike|<i style="color:#FF4500; font-family:sylfaen">KuldeepBurjBhalaike</i>]]''' <sup style="color:#FF4500; font-family:georgia">([[User_talk:Kuldeepburjbhalaike|Talk]])</sup> 10:24, 23 ਅਪਰੈਲ 2026 (UTC)
---'''[[user:kuldeepburjbhalaike|<i style="color:#FF4500; font-family:sylfaen">KuldeepBurjBhalaike</i>]]''' ਜੀ, ਪੰਜਾਬੀ ਸਾਹਿਤ ਸਭਾ ਕਾਲਾਂਵਾਲੀ ਮੇਰੇ ਲਈ ਕੋਈ ਓਪਰੀ ਸੰਸਥਾ ਨਹੀਂ ਹੈ। ਇਸ ਵਿੱਚ ਪ੍ਰੋਜੈਕਟਾਂ ਬਾਰੇ ਗੱਲ ਕਰਨੀ ਮੇਰੇ ਲਈ ਬਿਲਕੁਲ ਆਸਾਨ ਹੈ। ਸਕਾਰਾਤਮਕ ਹੁੰਗਾਰੇ ਲਈ ਬਹੁਤ ਧੰਨਵਾਦ। --- [[ਵਰਤੋਂਕਾਰ:Mulkh Singh|Mulkh Singh]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Mulkh Singh|ਗੱਲ-ਬਾਤ]]) 15:08, 23 ਅਪਰੈਲ 2026 (UTC)
== Request for comment (global AI policy) ==
<bdi lang="en" dir="ltr" class="mw-content-ltr">
Apologies for writing in English. {{int:Please-translate}}
A [[:m:Requests for comment/Artificial intelligence policy|request for comment]] is currently being held to decide on a global AI policy. {{int:Feedback-thanks-title}}
[[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 00:58, 26 ਅਪਰੈਲ 2026 (UTC)
</bdi>
(This message was sent to [[:ਵਿਕਿਪੀਡਿਆ:ਕਮਿਊਨਟੀ ਪੋਰਟਲ]] and is being posted here due to a redirect.)
<!-- Message sent by User:Codename Noreste@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=30424282 -->
== ਲੇਖਾਂ ਦੀ ਗੁਣਵੱਤਾ 'ਤੇ ਕੰਮ ਕਰਦਿਆਂ ਮਨ ਵਿੱਚ ਉੱਠੇ ਕੁਝ ਸਵਾਲ ==
ਸਤ ਸ੍ਰੀ ਅਕਾਲ ਜੀ ਸਭ ਨੂੰ,
ਅੱਜ-ਕੱਲ੍ਹ ਅਸੀਂ, ਲਗਭਗ, ਸਭ ਆਪਣੇ 25 ਸਭ ਤੋਂ ਵੱਧ ਪੜ੍ਹੇ ਜਾਣ ਵਾਲੇ ਲੇਖਾਂ 'ਤੇ ਕੰਮ ਕਰ ਰਹੇ ਹਾਂ। ਕਿਉਂਕਿ ਇਹ ਲੇਖ ਵਧੇਰੇ ਕਰਕੇ ਗੁਰੂ ਸਾਹਿਬਾਨਾਂ ਬਾਰੇ ਹਨ, ਅਤੇ ਇਸ ਤੋਂ ਇਲਾਵਾ ਭਗਤ ਸਿੰਘ ਵਰਗੀਆਂ ਮਹੱਤਵਪੂਰਨ ਸ਼ਖ਼ਸੀਅਤਾਂ ਵੀ ਸ਼ਾਮਲ ਹਨ। ਇਨ੍ਹਾਂ ਸਭ ਬਾਰੇ ਲੇਖ ਲਿਖਦੇ ਸਮੇਂ, ਵਿਕੀਪੀਡੀਆ ਦੀ ਨਿਰਪੱਖਤਾ ਨੀਤੀ ਅਨੁਸਾਰ 'ਉਨ੍ਹਾਂ' ਦੀ ਜਗ੍ਹਾ 'ਉਹ' ਵਰਤਣਾ ਚਾਹੀਦਾ ਹੈ। ਪਰ ਧਾਰਮਿਕ ਵਿਸ਼ਵਾਸਾਂ ਅਤੇ ਇਜ਼ੱਤ ਨੂੰ ਧਿਆਨ ਵਿੱਚ ਰੱਖਦਿਆਂ ਇਸ 'ਤੇ ਗੱਲ ਕਰਨੀ ਬਿਹਤਰ ਹੋਵੇਗੀ। ਇਸ ਬਾਰੇ ਪਹਿਲਾਂ ਇੱਕ-ਦੋ ਬੈਠਕਾਂ ਵਿੱਚ ਵੀ ਗੱਲ ਸ਼ੁਰੂ ਹੋਈ ਹੈ ਪਰ ਕਦੀ ਕੁਝ ਨਿਚੋੜ ਨਹੀਂ ਨਿਕਲ ਪਾਇਆ। ਜੇਕਰ ਕੋਈ ਇਸ ਬਾਰੇ ਆਪਣੇ ਵਿਚਾਰ ਸਾਂਝੇ ਕਰਨਾ ਚਾਹੇ, ਤਾਂ ਬਹੁਤ ਮਿਹਰਬਾਨੀ ਹੋਵੇਗੀ। ਸ਼ੁਕਰਾਨੇ [[ਵਰਤੋਂਕਾਰ:Nitesh Gill|Nitesh Gill]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Nitesh Gill|ਗੱਲ-ਬਾਤ]]) 17:34, 28 ਅਪਰੈਲ 2026 (UTC)
:@[[ਵਰਤੋਂਕਾਰ:Nitesh Gill|Nitesh Gill]] ਜੀ ਤੁਹਾਡਾ ਬਹੁਤ ਧੰਨਵਾਦ ਇਸ ਜ਼ਰੂਰੀ ਗੱਲ ਨੂੰ ਵਿਕੀਪੀਡੀਆ ਸੱਥ ਉੱਤੇ ਸ਼ੁਰੂ ਕਰਨ ਲਈ ਤਾਂ ਕਿ ਇਸ ਵਿੱਚ ਸਭ ਦੀ ਭਾਗੀਦਾਰੀ ਵੀ ਹੋ ਸਕੇ ਅਤੇ ਇਸ ਕੋਈ ਰਾਹ ਲੱਭਕੇ ਕੋਈ ਖ਼ਾਸ ਨੀਤੀ ਨੂੰ ਅੱਪਡੇਟ ਕੀਤਾ ਜਾ ਸਕੇ ਜਾਂ ਇਸ ਲਈ ਕੋਈ ਅਲੱਗ ਤੋਂ ਨੀਤੀ ਬਣਾਈ ਜਾ ਸਕੇ। ਮੇਰਾ ਵਿਚਾਰ ਹੈ ਕਿ ਧਰਮ ਇੱਕ ਬਹੁਤ ਹੀ ਸੰਜੀਦਾ ਵਿਸ਼ਾ ਹੈ ਇਸ ਆਪਾਂ ਧਰਮ ਦੇ ਬਾਬਤ ਲੇਖਾਂ ਤੋਂ ਸ਼ੁਰੂ ਕਰ ਸਕਦੇ ਹਾਂ ਅਤੇ ਫਿਰ ਹੋਰ ਵਿਸ਼ਿਆਂ ਉੱਤੇ ਚਰਚਾ ਕਰ ਸਕਦੇ ਹਾਂ। ਮੈਂ ਕੁੱਝ ਸਫ਼ਿਆਂ ਦੇ ਲਿੰਕ ਸਾਂਝਾ ਕਰ ਰਿਹਾ ਜਿਸ ਉੱਤੇ ਪੰਜਾਬੀ ਭਾਈਚਾਰੇ ਨੇ ਹਾਲੀਆ ਹੀ ਉਹਨਾਂ ਨੂੰ ਅੱਪਡੇਟ ਕੀਤਾ ਸੀ (ਜਾਂ ਕੋਸ਼ਿਸ਼ ਕੀਤੀ ਸੀ)
:ਹਾਲੀਆ ਸ਼ੁਰੂ ਕੀਤੇ ਸਫ਼ੇ -
:ਸ਼ਬਦ ਜੋੜ (Spelling) ਬਾਰੇ - [[ਵਿਕੀਪੀਡੀਆ:ਸ਼ੈਲੀ ਦਸਤਾਵੇਜ਼/ਸ਼ਬਦ-ਜੋੜ|ਲਿੰਕ]]
:ਵਿਕੀਪੀਡੀਆ ਚੰਗਾ ਲੇਖ (Good Article) - [[ਵਿਕੀਪੀਡੀਆ:ਚੰਗੇ ਲੇਖ|ਲਿੰਕ]]
:ਇਸ ਉੱਤੇ ਕੋਈ ਖ਼ਾਸ ਨਤੀਜੇ ਉੱਤੇ ਪਹੁੰਚਣ ਤੋਂ ਬਾਅਦ ਆਪਾਂ ਹੇਠ ਦਿੱਤੇ ਸਫ਼ੇ ਨੂੰ ਅੱਪਡੇਟ ਕਰ ਦੇਵਾਂਗੇ -
:[[ਵਿਕੀਪੀਡੀਆ:ਸ਼ੈਲੀ ਦਸਤਾਵੇਜ਼/ਸਿੱਖ ਧਰਮ ਨਾਲ਼ ਸੰਬਂਧਿਤ ਲੇਖ]]
:ਇਸ ਦੇ ਲਈ ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਪੀਡੀਆ ਦੇ ਸਫ਼ੇ ਨੂੰ ਦੇਖਿਆ ਜਾ ਸਕਦਾ ਹੈ - [[:en:Wikipedia:Manual of Style/Islam-related articles|Wikipedia:Manual of Style/Islam-related articles]]
:-- '''[[user:kuldeepburjbhalaike|<i style="color:#FF4500; font-family:sylfaen">KuldeepBurjBhalaike</i>]]''' <sup style="color:#FF4500; font-family:georgia">([[User_talk:Kuldeepburjbhalaike|Talk]])</sup> 09:21, 30 ਅਪਰੈਲ 2026 (UTC)
:‘ਉਨ੍ਹਾਂ’ ਸ਼ਬਦ ਦੀ ਜਗ੍ਹਾ ‘ਆਪ’ ਸ਼ਬਦ ਵਿਚਾਰਿਆ ਜਾ ਸਕਦਾ ਹੈ। ਪਰ ਹੈ ਇਹ ਵੀ ਬਹੁ-ਵਚਨ। [[ਵਰਤੋਂਕਾਰ:Geet Arts|Geet Arts]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Geet Arts|ਗੱਲ-ਬਾਤ]]) 11:28, 9 ਮਈ 2026 (UTC)
:ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਆ ਪ੍ਰੋਜੈਕਟਾਂ ਵਿੱਚ ਭਾਸ਼ਾਈ ਨੀਤੀ ਸਬੰਧੀ ਚੱਲ ਰਹੀ ਚਰਚਾ ਦੇ ਸੰਦਰਭ ਵਿੱਚ ਮੇਰਾ ਵਿਚਾਰ ਇਹ ਹੈ ਕਿ ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਦੀ ਆਪਣੀ ਸਭਿਆਚਾਰਕ ਅਤੇ ਵਿਆਕਰਣਕ ਵਿਸ਼ੇਸ਼ਤਾ ਨੂੰ ਧਿਆਨ ਵਿੱਚ ਰੱਖਦਿਆਂ ਪੜਨਾਵਾਂ ਦੀ ਵਰਤੋਂ ਬਾਰੇ ਸਪਸ਼ਟ ਨੀਤੀ ਬਣਾਈ ਜਾਣੀ ਚਾਹੀਦੀ ਹੈ।
:ਅੰਗਰੇਜ਼ੀ ਵਿੱਚ “you” ਵਰਗਾ ਇਕ ਤਟਸਥ ਸ਼ਬਦ ਹੈ, ਜਦਕਿ ਪੰਜਾਬੀ ਵਿੱਚ “ਤੂੰ”, “ਤੁਸੀਂ”, “ਆਪ” ਆਦਿ ਸ਼ਬਦ ਸਿਰਫ਼ ਵਿਆਕਰਣ ਨਹੀਂ, ਸਗੋਂ ਆਦਰ ਅਤੇ ਸਮਾਜਕ ਵਿਵਹਾਰ ਨੂੰ ਵੀ ਦਰਸਾਉਂਦੇ ਹਨ। ਪੰਜਾਬੀ ਸਭਿਆਚਾਰ ਹਰ ਵਿਅਕਤੀ ਨਾਲ ਸਤਿਕਾਰ ਪੂਰਵਕ ਗੱਲ ਕਰਨ ਦੀ ਪ੍ਰੇਰਣਾ ਦਿੰਦਾ ਹੈ। ਇਸੇ ਕਰਕੇ ਪੰਜਾਬੀ ਦੀ ਆਮ ਲਿਖਤ, ਪੱਤਰਕਾਰਤਾ, ਅਕਾਦਮਿਕ ਅਤੇ ਸਰਕਾਰੀ ਭਾਸ਼ਾ ਵਿੱਚ ਵੀ “ਉਨ੍ਹਾਂ ਨੇ”, “ਉਨ੍ਹਾਂ ਦਾ” ਵਰਗੇ ਪੜਨਾਂਵ ਆਮ ਤੌਰ ’ਤੇ ਵਰਤੇ ਜਾਂਦੇ ਹਨ।
:ਮੇਰੇ ਵਿਚਾਰ ਅਨੁਸਾਰ ਵਿਕੀਪੀਡੀਆ ’ਤੇ “ਉਨ੍ਹਾਂ ਨੇ” ਵਰਤਣਾ ਨਿਰਪੱਖਤਾ ਦੇ ਖ਼ਿਲਾਫ਼ ਨਹੀਂ ਮੰਨਿਆ ਜਾਣਾ ਚਾਹੀਦਾ, ਕਿਉਂਕਿ ਇਹ ਪੰਜਾਬੀ ਦੀ ਕੁਦਰਤੀ ਅਤੇ ਸਨਮਾਨਜਨਕ ਭਾਸ਼ਾਈ ਰੀਤ ਦਾ ਹਿੱਸਾ ਹੈ। ਨਿਰਪੱਖਤਾ ਦਾ ਮਤਲਬ ਬੇਅਦਬੀ ਨਹੀਂ ਹੁੰਦਾ।
:ਇਸ ਲਈ ਮੇਰਾ ਸੁਝਾਅ ਹੈ ਕਿ:
:•ਸਾਰੇ ਵਿਅਕਤੀਆਂ ਲਈ ਆਮ ਤੌਰ ’ਤੇ “ਉਨ੍ਹਾਂ”, “ਉਨ੍ਹਾਂ ਨੇ”, “ਉਨ੍ਹਾਂ ਦਾ” ਵਰਗੇ ਆਦਰਸੂਚਕ ਪੜਨਾਂਵ ਵਰਤੇ ਜਾਣ।
:• ਲੇਖਾਂ ਵਿੱਚ ਭਾਵਨਾਤਮਕ ਜਾਂ ਪ੍ਰਚਾਰਾਤਮਕ ਵਿਸ਼ੇਸ਼ਣਾਂ ਜਿਵੇਂ “ਮਹਾਨ”, “ਪੂਜਨੀਕ”, “ਅਵਤਾਰੀ”, “ਸਤਿਕਾਰਯੋਗ” ਆਦਿ ਤੋਂ ਬਚਿਆ ਜਾਵੇ, ਜਦ ਤੱਕ ਉਹ ਕਿਸੇ ਹਵਾਲੇ ਦਾ ਹਿੱਸਾ ਨਾ ਹੋਣ।
:• ਨੀਤੀ ਸਾਰੀਆਂ ਧਾਰਮਿਕ, ਇਤਿਹਾਸਕ, ਰਾਜਨੀਤਿਕ ਅਤੇ ਸਮਕਾਲੀ ਜਨਤਕ ਹਸਤੀਆਂ ਲਈ ਇੱਕੋ ਜਿਹੀ ਹੋਵੇ।
:• ਜਿੱਥੇ ਸੰਭਵ ਹੋਵੇ, ਲੇਖਾਂ ਵਿੱਚ ਵਾਰ-ਵਾਰ ਪੜਨਾਂਵ ਦੀ ਥਾਂ ਸਿੱਧਾ ਨਾਮ ਵਰਤਿਆ ਜਾਵੇ, ਤਾਂ ਜੋ ਲਿਖਤ ਹੋਰ ਸਪਸ਼ਟ ਅਤੇ ਵਿਸ਼ਵਕੋਸ਼ੀ ਰਹੇ।
:ਮੇਰੇ ਅਨੁਸਾਰ ਇਸ ਤਰ੍ਹਾਂ ਦੀ ਨੀਤੀ ਪੰਜਾਬੀ ਭਾਸ਼ਾ ਦੀ ਮਰਿਆਦਾ, ਪਾਠਕਾਂ ਦੀ ਭਾਵਨਾ ਅਤੇ ਵਿਕੀਪੀਡੀਆ ਦੀ ਨਿਰਪੱਖਤਾ — ਤਿੰਨਾਂ ਵਿਚਕਾਰ ਇੱਕ ਸੰਤੁਲਨ ਬਣਾਈ ਰੱਖ ਸਕਦੀ ਹੈ।
:ਧੰਨਵਾਦ [[ਵਰਤੋਂਕਾਰ:Aman Arora PTL|Aman Arora PTL]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Aman Arora PTL|ਗੱਲ-ਬਾਤ]]) 13:21, 9 ਮਈ 2026 (UTC)
--- @[[ਵਰਤੋਂਕਾਰ:Nitesh Gill|Nitesh Gill]] ਜੀ, ਇਸ ਚਰਚਾ ਨੂੰ ਸ਼ੁਰੂ ਕਰਨ ਲਈ ਸ਼ੁਕਰੀਆ। ਪਹਿਲਾਂ ਤਾਂ ਇਹ ਵਧੀਆ ਗੱਲ ਹੈ ਕਿ ਚਰਚਾ ਵਿਕੀਪੀਡੀਆ ਸੱਥ ਉੱਤੇ ਹੋਵੇ। ਦੂਜਾ, ਜਿਸ ਤਰ੍ਹਾਂ ਤੁਸੀਂ ਲਿਖਿਆ ਹੈ, ਉਹਨਾਂ ਦੀ ਥਾਂ ਉੱਤੇ ਉਸ/ਉਹ ਕਰਦਿਆਂ ਪੰਜਾਬੀ ਸਮਾਜ ਦੀ ਭਾਵਨਾ ਦਾ ਧਿਆਨ ਰੱਖਿਆ ਜਾਣਾ ਚਾਹੀਦਾ ਹੈ। ਅਸੀਂ ਜੇਕਰ ਇਸ ਤਰ੍ਹਾਂ ਦੇ ਲੇਖਾਂ ਵਿੱਚ ਇੱਕਵਚਨ ਕਰ ਵੀ ਦਿੰਦੇ ਹਾਂ ਤਾਂ ਉਹ ਪਾਠਕਾਂ ਨੂੰ ਸਵੀਕਾਰ ਨਹੀਂ ਹੋਵੇਗਾ। ਇਸ ਤਰ੍ਹਾਂ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਵੀ ਸਵਾਲ ਖੜ੍ਹਾ ਹੋਵੇਗਾ ਕਿ ਉਹ ਕਿਸੇ ਖ਼ਾਸ ਏਜੰਡੇ ਤਹਿਤ ਕੰਮ ਕਰ ਰਿਹਾ ਹੈ। ਜੇਕਰ ਇਹ ਗੱਲ ਕਿਸੇ ਫਿਰਕੂ ਸੰਗਠਨ ਦੇ ਧਿਆਨ ਵਿੱਚ ਆਉਂਦੀ ਹੈ ਤਾਂ ਉਹ ਸੰਪਾਦਕਾਂ ਲਈ ਵੀ ਮੁਸ਼ਕਿਲ ਖੜ੍ਹੀ ਕਰ ਸਕਦੀ ਹੈ। ਇਸ ਲਈ ਇਹਨਾਂ ਵਿਸ਼ੇਸ਼ ਲੇਖਾਂ ਲਈ ਨੀਤੀ ਵਿੱਚ ਤਬਦੀਲੀ ਕਰਨ ਦੀ ਲੋੜ ਹੈ। ਪਰ ਇਸ ਲਈ ਵੀ ਗਹਿਰੇ ਸੰਵਾਦ ਦੀ ਅਤੇ ਸਾਰੇ ਧਰਮਾਂ ਦੀਆਂ ਸ਼ਖਸੀਅਤਾਂ ਦਾ ਧਿਆਨ ਰੱਖਣ ਦੀ ਲੋੜ ਹੈ। ਪਰ ਇੱਕ ਦੌਰ ਉਹ ਵੀ ਆਉਂਦਾ ਹੈ ਜਦੋਂ ਨੇੜ ਭੂਤ ਅਤੇ ਵਰਤਮਾਨ ਵਿੱਚ ਵਿਚਰ ਰਹੀਆਂ ਧਾਰਮਿਕ ਸ਼ਖਸੀਅਤਾਂ ਦੇ ਪੈਰੋਕਾਰਾਂ ਦੀ ਗਿਣਤੀ ਵੀ ਬਹੁਤ ਹੈ ਪਰ ਨਾਲ ਹੀ ਅਜਿਹੇ ਆਗੂਆਂ ਦੇ ਕਿਰਦਾਰ ਉੱਤੇ ਸੁਆਲ ਵੀ ਉੱਠਦੇ ਰਹੇ/ਰਹਿੰਦੇ ਹਨ ਅਤੇ ਉਹਨਾਂ ਦੇ ਭ੍ਰਿਸ਼ਟ ਆਚਰਨ ਦੇ ਕਾਨੂੰਨੀ ਅਤੇ ਅਖਬਾਰੀ ਹਵਾਲੇ ਵੀ ਮੌਜੂਦ ਹਨ, ਉਹਨਾਂ ਨਾਲ ਅਜਿਹੇ ਸ਼ਬਦਾਂ ਦਾ ਇਸਤੇਮਾਲ ਕਰਨਾ ਵੀ ਸਹੀ ਨਹੀਂ ਹੈ। ਇਹ ਗੱਲ ਆਪਣੇ ਭਾਈਚਾਰੇ ਵਿੱਚ ਅੱਗੇ ਤੁਰੇ ਅਤੇ ਕਿਸੇ ਨਿਚੋੜ ਉੱਤੇ ਪਹੁੰਚੇ ਤਾਂ ਬਿਹਤਰ ਹੈ। --- [[ਵਰਤੋਂਕਾਰ:Mulkh Singh|Mulkh Singh]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Mulkh Singh|ਗੱਲ-ਬਾਤ]]) 16:14, 29 ਅਪਰੈਲ 2026 (UTC)
* [[ਵਰਤੋਂਕਾਰ:Mulkh Singh|Mulkh Singh]] ਜੀ, ਬਹੁਤ ਧੰਨਵਾਦ। ਖੁਸ਼ੀ ਹੋਈ ਕਿ ਤੁਸੀਂ ਇਸ ਚਰਚਾ ਵਿੱਚ ਸਭ ਤੋਂ ਪਹਿਲਾਂ ਆਪਣਾ ਯੋਗਦਾਨ ਦਿੱਤਾ। ਮੈਂ ਤੁਹਾਡੇ ਨਾਲ ਪੂਰੀ ਤਰ੍ਹਾਂ ਸਹਿਮਤ ਹਾਂ ਕਿ ਜੇ ਅਸੀਂ ਸਭ ਮਿਲ ਕੇ ਇਸ ਦੇ ਹੱਲ 'ਤੇ ਗੱਲ ਕਰੀਏ, ਤਾਂ ਅਸੀਂ ਕੋਈ ਰਾਹ ਕੱਢ ਸਕਦੇ ਹਾਂ। ਉਦਾਹਰਨ ਵਜੋਂ, ਜੇ ਨੀਤੀਆਂ ਨੂੰ ਅਪਡੇਟ ਕਰਨ ਦੀ ਲੋੜ ਹੋਵੇ, ਤਾਂ ਇਹ ਸਭ ਲਈ ਮਦਦਗਾਰ ਹੋਵੇਗਾ ਅਤੇ ਹਰ ਵਾਰ ਇਸ ਮਾਮਲੇ 'ਤੇ ਵੱਖਰੇ ਤੌਰ 'ਤੇ ਗੱਲ ਕਰਨ ਦੀ ਲੋੜ ਨਹੀਂ ਪਵੇਗੀ। ਬਾਕੀ ਸਭ ਨੂੰ ਵੀ ਬੇਨਤੀ ਹੈ ਕਿ ਤੁਸੀਂ ਆਪਣੇ ਸੁਝਾਅ ਜ਼ਰੂਰ ਸਾਂਝੇ ਕਰੋ। ਸ਼ੁਕਰੀਆ [[ਵਰਤੋਂਕਾਰ:Nitesh Gill|Nitesh Gill]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Nitesh Gill|ਗੱਲ-ਬਾਤ]]) 17:18, 29 ਅਪਰੈਲ 2026 (UTC)
*:ਸ਼ੁਕਰੀਆ @[[ਵਰਤੋਂਕਾਰ:Nitesh Gill|Nitesh Gill]] ਇਸ ਸਵਾਲ ਲਈ. ਮੇਰੇ ਵਿਚਾਰ ਨਾਲ ਸਿੱਖ ਗੁਰੂਆਂ ਦੇ ਲੇਖਾਂ 'ਤੇ 'ਉਨ੍ਹਾਂ' ਸ਼ਬਦ ਦੀ ਵਰਤੋਂ ਹੀ ਜ਼ਿਆਦਾ ਬਿਹਤਰ ਰਹੇਗੀ। ਹੋਰ ਸਭ ਵੀ ਆਪਣੇ ਵਿਚਾਰ ਸਾਂਝੇ ਕਰਨ ਤਾਂ ਜੋ ਇਸ ਉੱਤੇ ਸਾਂਝੇ ਤੌਰ ਤੇ ਕੰਮ ਕੀਤਾ ਜਾ ਸਕੇ। ਧੰਨਵਾਦ। [[ਵਰਤੋਂਕਾਰ:Tamanpreet Kaur|Tamanpreet Kaur]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Tamanpreet Kaur|ਗੱਲ-ਬਾਤ]]) 14:49, 30 ਅਪਰੈਲ 2026 (UTC)
* ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ। ਮੈਂ ਇਸ ਚਰਚਾ ਵਿੱਚ @[[ਵਰਤੋਂਕਾਰ:Kuldeepburjbhalaike|Kuldeepburjbhalaike]] ਜੀ ਦੇ ਵਿਚਾਰਾਂ ਨਾਲ ਪੂਰੀ ਤਰ੍ਹਾਂ ਸਹਿਮਤ ਹਾਂ। ਜਿਵੇਂ ਉਹਨਾਂ ਨੇ ਸੁਝਾਅ ਦਿੱਤਾ ਹੈ ਕਿ ਸਾਨੂੰ [[:en:Main_Page|ਅੰਗਰੇਜ਼ੀ ਵਿਕੀਪੀਡੀਆ]] ਦੇ '[[:en:Wikipedia:Manual_of_Style/Islam-related_articles|Manual of Style/Islam-related articles]]' ਵਾਂਗ ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਲਈ ਵੀ ਇੱਕ ਵਿਸ਼ੇਸ਼ ਨੀਤੀ ਤਿਆਰ ਕਰਨੀ ਚਾਹੀਦੀ ਹੈ, ਇਹ ਇੱਕ ਬਹੁਤ ਹੀ ਸਹੀ ਅਤੇ ਤਕਨੀਕੀ ਹੱਲ ਹੈ।
:ਇਸ ਚਰਚਾ ਨੂੰ ਅੱਗੇ ਵਧਾਉਂਦੇ ਹੋਏ, ਮੈਂ ਹੇਠ ਲਿਖੇ ਨੁਕਤੇ ਸਾਂਝੇ ਕਰਨਾ ਚਾਹੁੰਦਾ ਹਾਂ:
:ਨੀਤੀਗਤ ਢਾਂਚਾ (Policy Framework): ਸਾਨੂੰ ਇੱਕ ਅਜਿਹਾ 'ਸ਼ੈਲੀ ਦਸਤਾਵੇਜ਼' (Manual of Style) ਤਿਆਰ ਕਰਨ ਦੀ ਲੋੜ ਹੈ ਜੋ ਖਾਸ ਤੌਰ 'ਤੇ ਧਾਰਮਿਕ ਅਤੇ ਇਤਿਹਾਸਿਕ ਸ਼ਖਸੀਅਤਾਂ ਲਈ ਸ਼ਬਦਾਵਲੀ ਤੈਅ ਕਰੇ। ਇਸ ਨਾਲ ਸੰਪਾਦਕਾਂ ਵਿਚਾਲੇ ਹੋਣ ਵਾਲੇ ਸੰਭਾਵੀ ਟਕਰਾਅ ਖਤਮ ਹੋ ਜਾਣਗੇ ਅਤੇ ਲਿਖਤ ਵਿੱਚ ਇੱਕਸਾਰਤਾ ਆਵੇਗੀ।
:ਸਾਡੇ ਮੌਜੂਦਾ '[[ਵਿਕੀਪੀਡੀਆ:ਸ਼ੈਲੀ ਦਸਤਾਵੇਜ਼/ਸ਼ਬਦ-ਜੋੜ|ਸ਼ਬਦ-ਜੋੜ]]' ਦਸਤਾਵੇਜ਼ ਵਾਂਗ ਸਾਨੂੰ ਇਸ ਨਵੀਂ ਨੀਤੀ ਵਿੱਚ ਵੀ ਸਪਸ਼ਟ ਉਦਾਹਰਨਾਂ ਸ਼ਾਮਲ ਕਰਨੀਆਂ ਚਾਹੀਦੀਆਂ ਹਨ। ਉਦਾਹਰਨ ਲਈ, ਗੁਰੂ ਸਾਹਿਬਾਨ ਜਾਂ ਸ਼ਹੀਦ ਭਗਤ ਸਿੰਘ ਜੀ ਵਰਗੀਆਂ ਸਤਿਕਾਰਤ ਸ਼ਖਸੀਅਤਾਂ ਲਈ 'ਉਹ' ਦੀ ਬਜਾਏ 'ਉਨ੍ਹਾਂ/ਉਹਨਾਂ' ਦੀ ਵਰਤੋਂ ਨੂੰ ਨੀਤੀਗਤ ਤੌਰ 'ਤੇ ਸਪਸ਼ਟ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੈ।
:ਇਹ ਨੀਤੀ ਪਾਠਕਾਂ ਦੇ ਵਿਸ਼ਵਾਸ ਅਤੇ ਵਿਕੀਪੀਡੀਆ ਦੇ ਮਿਆਰਾਂ ਵਿਚਕਾਰ ਇੱਕ ਮਜ਼ਬੂਤ ਪੁਲ ਦਾ ਕੰਮ ਕਰੇਗੀ।
:ਮੈਂ ਇਸ ਨੀਤੀ ਨੂੰ ਤਿਆਰ ਕਰਨ ਅਤੇ ਤਕਨੀਕੀ ਪੱਖੋਂ ਸਹਿਯੋਗ ਦੇਣ ਲਈ ਤਿਆਰ ਹਾਂ। <font color="green" face="Segoe Script" size="4"><b> [[User:Harry sidhuz|Harry sidhuz]] </b></font><sup><font face="Andalus"> ([[User talk:Harry sidhuz|talk]]) |[[Special:Contributions/Harry sidhuz|Contribs]])</font></sup> 17:17, 1 ਮਈ 2026 (UTC)
* ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ! ਇਹ ਵਿਸ਼ਾ ਬਹੁਤ ਜਰੂਰੀ ਵੀ ਹੈ ਅਤੇ ਸੰਵੇਦਨਸ਼ੀਲ ਵੀ ਹੈ। ਮੈਂ ਉੱਪਰ ਦਿੱਤੇ ਸਾਰਿਆਂ ਦੇ ਵਿਚਾਰਾਂ ਨਾਲ ਸਹਿਮਤ ਹਾਂ। ਸਾਨੂੰ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਲੋਕਾਂ ਦੀਆਂ ਭਾਵਨਾਵਾਂ ਦਾ ਖਿਆਲ ਰੱਖਦੇ ਹੋਏ ਸਪੱਸ਼ਟ ਅਤੇ ਵਿਸ਼ੇਸ਼ ਨੀਤੀਆਂ ਬਣਾਉਣੀਆਂ ਪੈਣਗੀਆਂ। ਮੇਰੇ ਖਿਆਲ ਨਾਲ ਪੂਰੀ ਦੁਨੀਆਂ ਵਿੱਚ ਪ੍ਰ੍ਮੁੱਖ ਧਰਮਾਂ (ਜਿਵੇਂ ਕਿ ਹਿੰਦੂ/ਮੁਸਲਮਾਨ/ਸਿੱਖ/ਇਸਾਈ ਆਦਿ) ਦੇ ਇਤਿਹਾਸਿਕ ਅਤੇ ਧਾਰਮਿਕ ਗੁਰੂਆਂ, ਪੀਰਾਂ, ਪੈਗੰਬਰਾਂ, ਗ੍ਰੰਥਾਂ ਆਦਿ ਲਈ ਇੱਕ ਖਾਸ ਸਤਿਕਾਰਯੋਗ ਸ਼ੈਲੀ (ਜਿਵੇਂ ਕਿ ਓਹਨਾਂ/ਆਪ ਆਦਿ) ਵਰਤਣੀ ਚਾਹੀਦੀ ਹੈ। ਪ੍ਰੰਤੂ ਕਿਸੇ ਇੱਕ ਖਾਸ ਛੋਟੇ ਜਿਹੇ ਖਿੱਤੇ ਜਾਂ ਜਗ੍ਹਾ ਦੇ ਅਗਵਾਈ ਕਰ ਰਹੇ ਕਿਸੇ ਧਾਰਮਿਕ ਆਗੂ ਜਾਂ ਲੀਡਰ ਲਈ ਸਿਰਫ ਆਮ ਪੰਜਾਬੀ (ਉਸ/ਓਹ ਆਦਿ) ਵਰਤੀ ਜਾ ਸਕਦੀ ਹੈ। ਇਹ ਮੇਰਾ ਨਿੱਜੀ ਵਿਚਾਰ ਹੈ ਅਤੇ ਇਹਨਾਂ ਦੋਵਾਂ ਕੈਟਾਗਰੀਆਂ ਨੂੰ ਵੰਡਣ ਲਈ ਬਹੁਤ ਬਰੀਕ ਜਿਹੀ ਲਾਈਨ ਹੋ ਸਕਦੀ ਹੈ, ਜਿਸ ਨੂੰ ਇੱਕ ਨੀਤੀ ਜਾਂ ਖਰੜੇ ਵਜੋਂ ਤਿਆਰ ਕਰਨ ਦੀ ਲੋੜ ਹੈ, ਜਿਸ ਉੱਪਰ ਬਾਅਦ ਵਿੱਚ ਸਾਰੇ ਆਪਣੇ ਆਪਣੇ ਸੁਝਾਅ ਦੇ ਸਕਦੇ ਹਨ।[[ਵਰਤੋਂਕਾਰ:Jagmit Singh Brar|Jagmit Singh Brar]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Jagmit Singh Brar|ਗੱਲ-ਬਾਤ]]) 13:47, 9 ਮਈ 2026 (UTC)
*ਸਤਿ ਸ਼੍ਰੀ ਅਕਾਲ ਜੀ ! ਇਹ ਬਹੁਤ ਮਹੱਤਵਪੂਰਨ ਚਰਚਾ ਹੈ। ਜਿਵੇ ਕਿ ਉੱਪਰ ਸਾਰੇ ਪੰਜਾਬੀ ਭਾਈਚਾਰੇ ਨੇ ਕਿਹਾ ਹੈ ਕਿ ਪੰਜਾਬੀ ਵਿੱਚ ਤੂੰ, ਦੀ ਜਗ੍ਹਾ ਤੁਸੀ, ਉਸਦੀ ਜਗ੍ਹਾ ਉਹਨਾਂ ਸਬਦ ਠੀਕ ਹਨ ਜਿਵੇ ਕਿ ਇੱਕ ਲੇਖ ਹੈ ਮਾਤਾ ਗੰਗਾ ਜੀ, ਉਹ ਮੈਨੂੰ ਪੜ੍ਹਨ ਵੇਲ਼ੇ ਬਹੁਤ ਅਜੀਬ ਲੱਗਿਆ ਕਿ ਉਸਦਾ ਵਿਆਹ ਅਰਜਨ ਦੇਵ ਨਾਲ਼ ਹੋਇਆ ਉਸਦਾ ਦੀ ਜਗ੍ਹਾ ਓਹਨਾਂ ਦਾ ਵਿਆਹ ਸ੍ਰੀ ਗੁਰੂ ਅਰਜਨ ਦੇਵ ਜੀ ਹੋਇਆ ਠੀਕ ਲੱਗੇਗਾ ਜੀ [[ਵਰਤੋਂਕਾਰ:Gurtej Chauhan|Gurtej Chauhan]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Gurtej Chauhan|ਗੱਲ-ਬਾਤ]])
== Call for Applications: TTT 2026 (Deadline Extended to 20 May) ==
''<small>Apologies for writing in English. Please feel free to translate this into your language.</small>''
Hello everyone,
We hope you are doing well.
We would like to share that applications for the [[:m:IIITH-OKI/Train the Trainer Program/2026|Train the Trainer (TTT) 2026]] program are currently open. TTT is a capacity-building initiative aimed at supporting Wikimedians in developing training, facilitation, and leadership skills.
We are happy to inform you that the scholarship application deadline has been [[:m:IIITH-OKI/Train the Trainer Program/2026/Scholarship|extended until 20 May 2026]]. We are still receiving applications and encourage interested community members, especially emerging leaders, to [https://docs.google.com/forms/d/17eq6lJNCTVBoKRqz5IdSCiYWv-eHBrYRnx1wXfncwLI/viewform?edit_requested=true&pli=1 apply].
We also request your support in sharing this opportunity within your communities and networks, so that it can reach a wider and more diverse group of participants.
Thank you for your continued support. '''OKI (IIIT-H)''' [[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 13:02, 17 ਮਈ 2026 (UTC)
<!-- Message sent by User:Nitesh (OKI)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Nitesh_Gill/lists/Indic_VPs&oldid=30361720 -->
== ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ਼ ਸਾਲਾਨਾ ਯੋਜਨਾ 2026-27 ਅੱਪਡੇਟ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ, ਆਪਣੇ ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ਼ ਯੂਜ਼ਰ ਗਰੁੱਪ ਵੱਲੋਂ ਜੂਨ 2026 ਤੋਂ ਮਈ 2027 ਤੱਕ [https://meta.wikimedia.org/wiki/Community_Resources_and_Partnerships/India_General_Support_Project/Punjabi_Wikimedians_Annual_Plan_2026-27 ਸਾਲਾਨਾ ਯੋਜਨਾ ਲਈ ਅਰਜ਼ੀ] ਪਾਈ ਗਈ ਸੀ। ਇਹ ਸਾਂਝਾ ਕਰਦੇ ਬੋਹੱਦ ਖੁਸ਼ੀ ਹੋ ਰਹੀ ਹੈ ਕਿ ਇਹ ਅਰਜ਼ੀ ਵਿਕੀਮੀਡੀਆ ਸੰਸਥਾ ਵੱਲੋਂ ਪ੍ਰਵਾਨ ਕਰ ਲਈ ਹੈ। ਇਸ ਯੋਜਨਾ ਸੰਬੰਧੀ ਹੋਣ ਵਾਲੀਆਂ ਗਤੀਵਿਧੀਆਂ ਬਾਰੇ ਚਰਚਾ ਆਪਣੀ ਅਗਲੀ ਮੀਟਿੰਗ ਵਿੱਚ ਕੀਤੀ ਜਾਵੇਗੀ। ਸਭ ਦੇ ਸਹਿਯੋਗ ਲਈ ਬਹੁਤ ਬਹੁਤ ਧੰਨਵਾਦ। -- '''[[user:kuldeepburjbhalaike|<i style="color:#FF4500; font-family:sylfaen">KuldeepBurjBhalaike</i>]]''' <sup style="color:#FF4500; font-family:georgia">([[User_talk:Kuldeepburjbhalaike|Talk]])</sup> 15:13, 20 ਮਈ 2026 (UTC)
== 25 ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਲੇਖ ਸੁਧਾਰ ਮੁਹਿੰਮ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ, ਜਿਵੇਂ ਕਿ ਆਪਾਂ ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ 25 ਸਭ ਤੋਂ ਵੱਧ ਦੇਖੇ ਜਾਣ ਵਾਲੇ ਲੇਖਾਂ ਨੂੰ ਸੁਧਾਰਣ ਲਈ ਇੱਕ ਮੁਹਿੰਮ ਦੀ ਸ਼ੁਰੂਆਤ ਕੀਤੀ ਸੀ। ਪਿਛਲੇ ਕੁਛ ਮਹੀਨਿਆਂ ਵਿੱਚ ਥੋੜ੍ਹਾ ਕੰਮ ਕੀਤਾ ਵੀ ਗਿਆ ਹੈ ਪਰ ਉਸ ਵਿੱਚ ਹੋਰ ਕੰਮ ਕਰਨ ਦੀ ਜ਼ਰੂਰਤ ਹੈ। ਇਸ ਲਈ 25 ਮਈ ਤੋਂ 7 ਜੂਨ ਤੱਕ ਇਹਨਾਂ 25 ਲੇਖਾਂ ਵਿਚੋਂ ਰਹਿੰਦੇ ਲੇਖਾਂ ਨੂੰ ਸੁਧਾਰਣ ਅਤੇ ਸੁਧਾਰੇ ਗਏ ਲੇਖਾਂ ਦੀ ਸਮੀਖਿਆ ਕਰਨ ਉੱਤੇ ਧਿਆਨ ਦੇਣ ਦੀ ਲੋੜ ਹੈ। ਇਸ ਦੌਰਾਨ ਯੋਗਦਾਨ ਦੇਣ ਹੇਠਾਂ ਦਿੱਤੇ ਰਜਿਸਟ੍ਰੇਸ਼ਨ ਲਿੰਕ ਰਾਹੀਂ ਰਜਿਸਟਰ ਕਰਨ ਤੋਂ ਸੂਚੀ ਵਿੱਚੋਂ ਕਿਸੇ ਵੀ ਲਿਖ ਉੱਤੇ ਤੁਸੀਂ ਕੰਮ ਕਰਨਾ ਸ਼ੁਰੂ ਕਰ ਸਕਦੇ ਹੋ। ਧੰਨਵਾਦ।
*ਰਜਿਸਟ੍ਰੇਸ਼ਨ ਲਿੰਕ: https://w.wiki/P45L
*ਲੇਖਾਂ ਦੀ ਸੂਚੀ: https://w.wiki/HtyR
-- [[ਵਰਤੋਂਕਾਰ:Kuldeep (Punjabi Wikimedians)|Kuldeep (Punjabi Wikimedians)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kuldeep (Punjabi Wikimedians)|ਗੱਲ-ਬਾਤ]]) 17:07, 23 ਮਈ 2026 (UTC)
== <span lang="en" dir="ltr">Vote now in the 2026 U4C election</span> ==
<div lang="en" dir="ltr">
<section begin="announcement-content" />
Eligible voters are asked to participate in the 2026 [[m:Special:MyLanguage/Universal_Code_of_Conduct/Coordinating_Committee|Universal Code of Conduct Coordinating Committee]] election. More information–including an eligibility check, voting process information, candidate information, and a link to the vote–are available on Meta at the [[m:Special:MyLanguage/Universal_Code_of_Conduct/Coordinating_Committee/Election/2026|2026 Election information page]]. The vote closes on 2 June 2026 at [https://zonestamp.toolforge.org/1780358400 00:00 UTC].
Please vote if your account is eligible. Results will be available by 14 June 2026. -- In cooperation with the U4C,<section end="announcement-content" />
</div>
[[m:User:Keegan (WMF)|Keegan (WMF)]] ([[m:User talk:Keegan (WMF)|talk]]) 17:14, 27 ਮਈ 2026 (UTC)
(This message was sent to [[:ਵਿਕਿਪੀਡਿਆ:ਕਮਿਊਨਟੀ ਪੋਰਟਲ]] and is being posted here due to a redirect.)
<!-- 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=30513860 -->
== ਵਿਕੀ ਲਵਜ਼ ਹਿਮਾਲਿਆ ਤਹਿਤ ਇਸ ਲੜੀ ਦੀ ਆਖ਼ਰੀ ਵਰਕਸ਼ਾਪ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ, [https://outreachdashboard.wmflabs.org/campaigns/wiki%20loves%20himalayas/programs ਵਿਕੀ ਲਵਜ਼ ਹਿਮਾਲਿਆ] ਨਾਮ ਦੇ ਹੇਠ ਹੁਣ ਤੱਕ ਚਾਰ ਵਰਕਸ਼ਾਪ ਹੋ ਚੁੱਕੀਆਂ ਹਨ, ਜਿਹਨਾਂ ਵਿੱਚ ਮੈਂ ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ਼ ਵੱਲੋਂ ਇੱਕ ਟ੍ਰੇਨਰ ਦੇ ਤੌਰ ਤੇ ਸ਼ਾਮਲ ਹੋਇਆ ਸੀ। ਇਹਨਾਂ ਵਰਕਸ਼ਾਪਾਂ ਨੂੰ [https://hsrc.iiit.ac.in/research/highland%20histories.html ਹਾਈਲੈਂਡ ਹਿਸਟਰੀਜ਼] ਅਤੇ [[m:IIITH-OKI|ਓਕੇਆਈ]] ਵੱਲੋਂ ਆਯੋਜਿਤ ਕੀਤਾ ਗਿਆ ਹੈ। ਪਿਛਲੀਆਂ ਵਰਕਸ਼ਾਪ ਦੇ ਤਰ੍ਹਾਂ ਹੀ ਇਸ ਆਖ਼ਰੀ ਵਰਕਸ਼ਾਪ ਵਿੱਚ ਵੀ ਮੈਂ ਇਸ ਵਰਕਸ਼ਾਪ ਵਿੱਚ ਪੰਜਾਬੀ ਭਾਈਚਾਰੇ ਦੇ ਕਮਿਊਨਿਟੀ ਕੋਆਰਡੀਨੇਟਰ ਵਜੋਂ ਸ਼ਾਮਲ ਹੋ ਰਿਹਾ ਹੈ, ਜਿਸ ਵਿੱਚ ਮੇਰਾ ਕੰਮ ਉੱਥੇ ਆਏ ਨਵੇਂ ਭਾਗੀਦਾਰਾਂ ਨੂੰ ਵਿਕੀਮੀਡੀਆ ਲਹਿਰ ਅਤੇ ਇਸਦੇ ਪ੍ਰਾਜੈਕਟਾਂ ਬਾਰੇ ਜਾਣਕਾਰੀ ਪ੍ਰਦਾਨ ਕਰਨਾ ਹੋਵੇਗਾ। ਇਸ ਲੜੀ ਦੀ ਅਗਲੀ ਵਰਕਸ਼ਾਪ ੨੨ ਅਤੇ ੨੩ ਜੂਨ ੨੦੨੬ ਨੂੰ ਲੱਦਾਖ਼ ਵਿੱਚ ਹੋ ਰਹੀ ਹੈ। ਧੰਨਵਾਦ। -- [[ਵਰਤੋਂਕਾਰ:Kuldeep (Punjabi Wikimedians)|Kuldeep (Punjabi Wikimedians)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kuldeep (Punjabi Wikimedians)|ਗੱਲ-ਬਾਤ]]) 05:27, 31 ਮਈ 2026 (UTC)
== <span lang="en" dir="ltr">Migration to Parsoid</span> ==
<div lang="en" dir="ltr">
<section begin="announcement-content" />
<em>[[m:Special:MyLanguage/Wikimedia Foundation/Product and Technology/Parsoid Read Views/Read View Announcement|Read this in another language]]</em>
Hello everyone! I am glad to inform you that as the next step in the [[mw:Special:MyLanguage/Parsoid/Parser Unification|Parser Unification]] project, Parsoid will soon be turned on as the default article renderer on your wiki. We are gradually increasing the number of wikis using Parsoid, with the intention of making it the default wikitext parser for MediaWiki's next long-term support release. This will make our wikis more reliable and consistent for editors, readers, and tools to use, as well as making the development of future wikitext features easier.
If this disrupts your workflow, don’t worry! You can still opt out through a user preference or turn Parsoid off on the current page using the Tools submenu, as described in the [[mw:Special:MyLanguage/Help:Extension:ParserMigration|Extension:ParserMigration]] documentation.
There is [[mw:Special:MyLanguage/Parsoid/Parser Unification/Confidence Framework|more information about our roll-out strategy]] available, including the testing done before we turn on Parsoid for a new wiki.
To report bugs and issues, please look at our [[mw:Special:MyLanguage/Parsoid/Parser Unification/Known Issues|known issues]] documentation and if you found a new bug please create a phab ticket and tag the [[phab:project/view/5846|Content Transform Team in Phabricator]].
<section end="announcement-content" />
</div>
<bdi lang="en" dir="ltr">[[mw:User:ABreault (WMF)|Content Transform Team]]</bdi> 23:21, 2 ਜੂਨ 2026 (UTC)
(This message was sent to [[:ਵਿਕਿਪੀਡਿਆ:ਕਮਿਊਨਟੀ ਪੋਰਟਲ]] and is being posted here due to a redirect.)
<!-- Message sent by User:ABreault (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Wikimedia_Foundation/Product_and_Technology/Parsoid_Read_Views/2026-06-04_Wikipedias&oldid=30626143 -->
== ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ਼ ਦੀ ਅਗਲੀ ਮੀਟਿੰਗ ਅਤੇ ਸਾਲਾਨਾ ਯੋਜਨਾ ਦੀ ਰਿਪੋਰਟ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ, ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ਼ ਵੱਲੋਂ ਅਗਲੀ ਆਫ਼ਲਾਈਨ ਮੀਟਿੰਗ ੧੪ ਜੂਨ ੨੦੨੬ ਨੂੰ ਪਟਿਆਲਾ ਵਿਖੇ ਹੋਵੇਗੀ ਜਿਸ ਵਿੱਚ ਅਗਲੀ ਸਾਲਾਨਾ ਯੋਜਨਾ ਬਾਰੇ ਜਾਣਕਾਰੀ ਸਾਂਝੀ ਕੀਤੀ ਜਾਵੇਗੀ ਅਤੇ ਲੇਖ ਗੁਣਵੱਤਾ ਲਈ ਚੱਲ ਰਹੀ ਮੁਹਿੰਮ ਵਿੱਚ ਲੇਖ ਸੋਧਣ ਦਾ ਕੰਮ ਵੀ ਕੀਤਾ ਜਾਵੇਗਾ।
ਦੂਸਰਾ ਇਹ ਕਿ ਪੰਜਾਬੀ ਵਿਕੀਮੀਡੀਅਨਜ਼ ਵੱਲੋਂ ੨੦੨੬-੨੭ ਦੀ ਸਾਲਾਨਾ ਯੋਜਨਾ ਲਈ ਪਾਈ ਗਈ ਅਰਜ਼ੀ ਸਵੀਕਾਰ ਲਈ ਗਈ ਹੈ ਅਤੇ ਸਾਲਾਨਾ ਯੋਜਨਾ ੨੦੨੫-੨੬ ਦਾ ਸਮਾਂ ਜੂਨ ੨੦੨੬ ਤੱਕ ਦਾ ਸੀ। ਹੁਣ ਇਸ ਯੋਜਨਾ ਦੌਰਾਨ ਹੋਈਆਂ ਗਤੀਵਿਧੀਆਂ ਦੀ ਰਿਪੋਰਟ ਨੂੰ ਸਬਮਿੱਟ ਕੀਤਾ ਜਾਵੇਗਾ। ਇਸ ਯੋਜਨਾ ਦੀ ਰਿਪੋਰਟ ਤਿਆਰ ਕੀਤੀ ਜਾ ਰਹੀ ਹੈ ਜੇਕਰ ਇਸ ਵਿੱਚ ਕੋਈ ਸਹਾਇਤਾ ਜਾਂ ਸੁਝਾਅ ਦੇਣਾ ਚਾਹੁੰਦਾ ਹੈ ਤਾਂ ਤੁਸੀਂ ਮੇਰੇ ਨਾਲ਼ ਸੰਪਰਕ ਕਰ ਸਕਦੇ ਹੋ। ਧੰਨਵਾਦ ਜੀ। -- '''[[user:kuldeepburjbhalaike|<i style="color:#FF4500; font-family:sylfaen">KuldeepBurjBhalaike</i>]]''' <sup style="color:#FF4500; font-family:georgia">([[User_talk:Kuldeepburjbhalaike|Talk]])</sup> 16:32, 13 ਜੂਨ 2026 (UTC)
== RFC about AI-generated content in Wikimedia Commons ==
<bdi lang="en" dir="ltr">Apologies for writing in English, please help translate this message to your language. You are invited to participate in a [[c:Commons:Requests for comment/Policy update for AI content|request for comment on Wikimedia Commons about a policy update for AI content]]. This may affect files that are uploaded to Wikimedia Commons for use on this project. Thank you. [[m:User:Codename Noreste|Codename Noreste]] ([[m:User talk:Codename Noreste|ਗੱਲ-ਬਾਤ]])</bdi> 17:11, 23 ਜੂਨ 2026 (UTC)
(This message was sent to [[:ਵਿਕਿਪੀਡਿਆ:ਕਮਿਊਨਟੀ ਪੋਰਟਲ]] and is being posted here due to a redirect.)
<!-- Message sent by User:Codename Noreste@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=30513860 -->
== <span lang="en" dir="ltr">Deployment of Legal and Safety Contacts Link in the Footer of Your Wiki</span> ==
<div lang="en" dir="ltr">
<section begin="Message"/>
'''Legal & Safety Contacts'''
Hello community, the Wikimedia Foundation has provided a [[wmf:Special:MyLanguage/Legal:Wikimedia Foundation Legal and Safety Contact Information|single legal and safety contact page]], to be linked in the footer of your wiki, to ensure access to accurate legal information. This is a regulatory requirement. We have already rolled out links to English, German, Italian, Spanish and other wikis and we will deploy to your wiki soon. [[m:Special:MyLanguage/Wikimedia_Foundation_Legal_and_Safety_Contacts_FAQ|Please read more on the project page]] and leave any comments in this thread or on the [[m:Special:MyLanguage/Talk:Wikimedia Foundation Legal and Safety Contacts FAQ|talk page]].
<section end="Message"/>
</div>
-- [[User:Sannita (WMF)|User:Sannita (WMF)]] ([[User talk:Sannita (WMF)|talk]]) 13:29, 25 ਜੂਨ 2026 (UTC)
(This message was sent to [[:ਵਿਕਿਪੀਡਿਆ:ਕਮਿਊਨਟੀ ਪੋਰਟਲ]] and is being posted here due to a redirect.)
<!-- Message sent by User:Sannita (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Sannita_(WMF)/Mass_sending_test&oldid=30731267 -->
== ਵਿਕੀਕਾਨਫਰੰਸ ਭਾਰਤ 2026: ਸਵੈ-ਨਿਧੀ ਮੈਂਬਰਾਂ ਲਈ ਰਜਿਸਟ੍ਰੇਸ਼ਨ ਅਤੇ ਪ੍ਰੋਗਰਾਮ ਸੈਸ਼ਨਾਂ ਲਈ ਅਰਜ਼ੀਆਂ ==
ਪਿਆਰੇ ਭਾਈਚਾਰਕ ਸਦੱਸ,
ਸਾਨੂੰ ਇਹ ਦੱਸਦੇ ਖੁਸ਼ੀ ਹੋ ਰਹੀ ਹੈ ਕਿ [[m:WikiConference_India_2026|'''ਵਿਕੀਕਾਨਫਰੰਸ ਭਾਰਤ 2026''']] ਲਈ ਸਵੈ-ਨਿਧੀ ਮੈਂਬਰਾਂ ਲਈ ਰਜਿਸਟ੍ਰੇਸ਼ਨ ਅਤੇ ਪ੍ਰੋਗਰਾਮ ਸੈਸ਼ਨਾਂ ਲਈ ਅਰਜ਼ੀਆਂ[1] ਹੁਣ ਖੁੱਲ੍ਹ ਚੁੱਕੀਆਂ ਹਨ।
ਵਿਕੀਕਾਨਫਰੰਸ ਭਾਰਤ 2026 4 ਤੋਂ 6 ਸਤੰਬਰ 2026 ਤੱਕ ਕੋਚੀ, ਕੇਰਲਾ ਵਿੱਚ ਹੋਣ ਜਾ ਰਹੀ ਹੈ। ਇਹ ਕਾਨਫ਼ਰੰਸ ਭਾਰਤ ਅਤੇ ਦੱਖਣੀ ਏਸ਼ੀਆ ਦੇ ਵਿਕੀਮੀਡੀਅਨਾਂ, ਭਾਈਚਾਰਕ ਲੀਡਰਾਂ, ਡਿਵੈਲਪਰਾਂ, ਖੋਜਕਾਰਾਂ ਅਤੇ ਖੁੱਲ੍ਹੇ ਗਿਆਨ ਦੇ ਖੇਤਰ ਵਿੱਚ ਉਤਸੁਕ ਵਿਅਕਤੀਆਂ ਨੂੰ ਇਕੱਠਾ ਇੱਕ ਜਗ੍ਹਾ ਉੱਤੇ ਮਿਲਕੇ ਮਿਲਵਰਤਨ, ਮਿਲਕੇ ਕੰਮ ਕਰਨ ਅਤੇ ਆਪਣੇ ਅਨੁਭਵ ਸਾਂਝੇ ਕਰਨ ਲਈ ਇੱਕ ਮੰਚ ਪ੍ਰਦਾਨ ਕਰੇਗੀ।
ਵਿਕੀਕਾਨਫਰੰਸ ਭਾਰਤ 2026 ਦਾ ਮੁੱਖ ਵਿਸ਼ਾ '''“Reimagining the Knowledge Commons: Community Leadership in an Evolving Wikimedia Ecosystem”''' ਹੈ। ਜਿਵੇਂ ਕਿ ਵਿਕੀਮੀਡੀਆ ਲਹਿਰ ਵਿੱਚ ਤੇਜ਼ ਨਾਲ਼ ਤਕਨੀਕੀ ਤਬਦੀਲੀਆਂ ਆ ਰਹੀਆਂ ਹੈ, ਜਿਸ ਵਿੱਚ ਏਆਈ ਦਾ ਉਭਾਰ ਅਤੇ ਗਿਆਨ ਸਿਰਜਣ ਦੇ ਨਵੇਂ ਮਾਡਲ ਸ਼ਾਮਲ ਹਨ, ਕਾਨਫਰੰਸ ਦਾ ਉਦੇਸ਼ ਭਾਈਚਾਰਕ ਲੀਡਰਸ਼ਿਪ, ਗਿਆਨ ਸਮਾਨਤਾ, ਖੇਤਰੀ ਭਾਸ਼ਾਵਾਂ, ਖੁੱਲ੍ਹੇ ਗਿਆਨ, ਅਤੇ ਭਾਰਤ ਅਤੇ ਦੱਖਣੀ ਏਸ਼ੀਆ ਵਿੱਚ ਵਿਕੀਮੀਡੀਆ ਦੇ ਭਵਿੱਖ ਬਾਰੇ ਗੱਲਬਾਤ ਲਈ ਜਗ੍ਹਾ ਬਣਾਉਣਾ ਹੈ।
=== ਸਵੈ-ਨਿਧੀ ਰਜਿਸਟ੍ਰੇਸ਼ਨ ===
ਸਵੈ-ਨਿਧੀ ਰਜਿਸਟ੍ਰੇਸ਼ਨ ਅਰਜ਼ੀਆਂ ਹੁਣ ਪ੍ਰੀਟਿਕਸ 'ਤੇ ਚੱਲ ਰਹੀਆਂ ਹਨ।
* ਵੇਰਵੇ ਅਤੇ ਯੋਗਤਾ [2] : [[m:WikiConference_India_2026/Registration|'''ਰਜਿਸਟ੍ਰੇਸ਼ਨ ਮੈਟਾ ਸਫ਼ਾ ਲਿੰਕ''']]
* ਰਜਿਸਟਰੇਸ਼ਨ ਫਾਰਮ [3] : '''https://pretix.eu/wikimedia-events/WCI2026/'''
* ਰਜਿਸਟ੍ਰੇਸ਼ਨ ਦੀ ਆਖ਼ਰੀ ਮਿਤੀ : '''ਜੁਲਾਈ 15, 2026'''
=== ਪ੍ਰੋਗਰਾਮ ਸੈਸ਼ਨਾਂ ਲਈ ਅਰਜ਼ੀਆਂ ===
ਪ੍ਰੋਗਰਾਮ ਸੈਸ਼ਨਾਂ ਲਈ ਅਰਜ਼ੀਆਂ ਹੁਣ ਈਵੈਂਟਯੇ 'ਤੇ ਚੱਲ ਰਹੀਆਂ ਹਨ।
ਅਸੀਂ ਵਰਕਸ਼ਾਪਾਂ, ਵਿਚਾਰ-ਵਟਾਂਦਰੇ, ਪੈਨਲਾਂ, ਇੰਟਰਐਕਟਿਵ ਸੈਸ਼ਨਾਂ, ਲਾਈਟਨਿੰਗ ਵਾਰਤਾਵਾਂ, ਅਤੇ ਪੋਸਟਰ ਪੇਸ਼ਕਾਰੀਆਂ ਲਈ ਪ੍ਰਸਤਾਵਾਂ ਨੂੰ ਸੱਦਾ ਦਿੰਦੇ ਹਾਂ। ਭਾਵੇਂ ਤੁਸੀਂ ਇੱਕ ਤਜਰਬੇਕਾਰ ਯੋਗਦਾਨੀ ਹੋ ਜਾਂ ਇੱਕ ਨਵੇਂ ਭਾਈਚਾਰਕ ਮੈਂਬਰ ਹੋ, ਤੁਹਾਡੇ ਵਿਚਾਰ, ਅਨੁਭਵ, ਅਤੇ ਸਿੱਖਣ ਕਾਨਫਰੰਸ ਪ੍ਰੋਗਰਾਮ ਨੂੰ ਆਕਾਰ ਦੇਣ ਅਤੇ ਅੰਦੋਲਨ ਵਿੱਚ ਮਹੱਤਵਪੂਰਨ ਗੱਲਬਾਤ ਵਿੱਚ ਯੋਗਦਾਨ ਪਾਉਣ ਵਿੱਚ ਮਦਦ ਕਰ ਸਕਦੇ ਹਨ।
* ਵੇਰਵੇ ਅਤੇ ਦਿਸ਼ਾ-ਨਿਰਦੇਸ਼ [4] : '''[<nowiki/>[[m:WikiConference_India_2026/Programme/Submissions|ਮੈਟਾ-ਵਿਕੀ ਸਫ਼ੇ ਦਾ ਲਿੰਕ]]]'''
* ਜਮ੍ਹਾਂ ਕਰਨ ਦੀ ਆਖਰੀ ਮਿਤੀ: '''[ਜੁਲਾਈ 15, 2026]'''
ਵਿਕੀਕਾਨਫਰੰਸ ਭਾਰਤ 2026 ਬਾਰੇ ਪੂਰੀ ਜਾਣਕਾਰੀ ਲਈ, ਜਿਸ ਵਿੱਚ ਭਾਗੀਦਾਰੀ ਦੇ ਵੇਰਵਿਆਂ, ਸਮਾਂ-ਸੀਮਾਵਾਂ, ਕਾਨਫਰੰਸ ਅੱਪਡੇਟ, ਅਤੇ ਸਬਮਿਸ਼ਨ ਦਿਸ਼ਾ-ਨਿਰਦੇਸ਼ ਸ਼ਾਮਲ ਹਨ, ਕਿਰਪਾ ਕਰਕੇ ਅਧਿਕਾਰਤ ਘੋਸ਼ਣਾ ਨੂੰ ਵੇਖੋ:
* ਵਿਸਤ੍ਰਿਤ ਘੋਸ਼ਣਾ [5]: [[diffblog:2026/06/26/shape-the-future-call-for-submissions-open-for-wikiconference-india-2026/|'''[Blog Post Link]''']]
ਅਸੀਂ ਭਾਈਚਾਰਕ ਮੈਂਬਰਾਂ ਨੂੰ ਰਜਿਸਟਰ ਕਰਨ, ਪ੍ਰਸਤਾਵ ਪੇਸ਼ ਕਰਨ ਅਤੇ ਇਸ ਘੋਸ਼ਣਾ ਨੂੰ ਉਹਨਾਂ ਦੇ ਨੈੱਟਵਰਕਾਂ ਵਿੱਚ ਸਾਂਝਾ ਕਰਨ ਲਈ ਉਤਸ਼ਾਹਿਤ ਕਰਦੇ ਹਾਂ।
ਸਤਿਕਾਰ ਸਹਿਤ,
ਵਿਕੀਕਾਨਫਰੰਸ ਭਾਰਤ 2026 ਪ੍ਰਬੰਧਕੀ ਟੀਮ
[1] https://meta.wikimedia.org/wiki/WikiConference_India_2026
[2] https://meta.wikimedia.org/wiki/WikiConference_India_2026/Registration
[3] https://pretix.eu/wikimedia-events/WCI2026/
[4] https://meta.wikimedia.org/wiki/WikiConference_India_2026/Programme/Submissions
[5] https://diff.wikimedia.org/2026/06/26/shape-the-future-call-for-submissions-open-for-wikiconference-india-2026/
ਕੋਈ ਸੁਆਲ ਹੈ: [mailto:connect@wikiconference.in connect@wikiconference.in] ਉੱਤੇ ਸੰਪਰਕ ਕਰੋ।
ਕਿਰਪਾ ਕਰਕੇ ਇਸ ਘੋਸ਼ਣਾ ਨੂੰ ਆਪਣੇ ਭਾਈਚਾਰਿਆਂ ਅਤੇ ਨੈੱਟਵਰਕਾਂ ਨਾਲ ਸਾਂਝਾ ਕਰੋ। [[ਵਰਤੋਂਕਾਰ:Amrit Sufi|Amrit Sufi]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Amrit Sufi|ਗੱਲ-ਬਾਤ]]) 10:27, 30 ਜੂਨ 2026 (UTC)
== Reminder: WikiConference India 2026 – Deadline on 15 July 2026 ==
Dear Community Members,
This is a friendly reminder that the deadline for '''Self-funded Registration''' and the '''Call for Submissions''' for '''WikiConference India 2026''' is '''15 July 2026'''.
=== Self-funded Registration ===
https://pretix.eu/wikimedia-events/WCI2026/
=== Call for Submissions ===
https://meta.wikimedia.org/wiki/WikiConference_India_2026/Programme/Submissions
We invite proposals for workshops, discussions, panel sessions, interactive sessions, lightning talks, and poster presentations.
=== For more information ===
https://meta.wikimedia.org/wiki/WikiConference_India_2026
We encourage everyone to register, submit proposals, and share this reminder within your communities.
Regards,
'''WikiConference India 2026 Organizing Team''' [[ਵਰਤੋਂਕਾਰ:Gauri Guptaa|Gauri Guptaa]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Gauri Guptaa|ਗੱਲ-ਬਾਤ]]) 14:44, 7 ਜੁਲਾਈ 2026 (UTC)
== Request for comment (the future of Abstract Wikipedia) ==
<bdi lang="en" dir="ltr" class="mw-content-ltr">
Apologies if this has not yet been translated into your wiki's language. {{int:Please-translate}}
You are invited to voice your opinions in a [[:m:Requests for comment/The future of Abstract Wikipedia|request for comment about the future of Abstract Wikipedia]]. {{Int:Feedback-thanks-title}}
[[:m:User:Kowal2701|Kowal2701]] ([[:m:User talk:Kowal2701|talk]]) 12:24, 24 ਜੁਲਾਈ 2026 (UTC)
</bdi>
(This message was sent to [[:ਵਿਕਿਪੀਡਿਆ:ਕਮਿਊਨਟੀ ਪੋਰਟਲ]] and is being posted here due to a redirect.)
<!-- Message sent by User:DreamRimmer@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Global_message_delivery&oldid=30513860 -->
== Invitation to Participate in Kerala Culture Month 2026 ==
Dear Wikimedia Contributors,
We are excited to announce '''[[m:Kerala_Culture_Month_2026|Kerala Culture Month 2026]]''', a collaborative campaign launched in conjunction with '''[[m:WikiConference_India_2026|WikiConference India 2026]]'''. This initiative aims to expand and enhance content about Kerala across all Wikimedia projects, creating a comprehensive, open-access knowledge base.
'''Campaign Focus:'''
* Expand Wikipedia articles about Kerala in multiple languages
* Improve content quality with citations, images, and comprehensive information
* Populate Wikimedia Commons with freely licensed Kerala media
* Enrich Wikidata with structured information about Kerala-related topics
We invite you to contribute by writing new articles, enhancing existing ones, uploading media, or organizing data on Wikidata. Whether you're an experienced editor or new to Wikimedia, your participation matters.
For more information and to get involved, visit the campaign page: https://meta.wikimedia.org/wiki/Kerala_Culture_Month_2026 on your preferred Wikimedia project.
Best regards,
''Communications Team, WCI 2026''
<nowiki>~~~~</nowiki> [[ਵਰਤੋਂਕਾਰ:Shadabgdg|Shadabgdg]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Shadabgdg|ਗੱਲ-ਬਾਤ]]) 16:10, 25 ਜੁਲਾਈ 2026 (UTC)
== Community Tech Task Force: Technical needs assessment for Indic communities ==
''Please feel free to translate it into your language.''
Hello everyone,
We hope you're doing well!
The [[m:Indic_MediaWiki_Developers_User_Group|Indic_MediaWiki_Developers_User_Group]] (IMDUG) is reaching out to Wikimedia communities across India to strengthen collaboration and better understand the technical needs of different language communities. Last year, we piloted [[m:Indic_Community_Task_Force_2025|Indic_Community_Task_Force_2025]] initiative by engaging with two language communities to understand their technical challenges and identify opportunities for collaboration. Based on our learnings, experience, and the valuable insights we received, we are expanding the initiative this year to reach all Indic communities. Our goal is to reach every community and understand where technical support is most needed.
=== What are we looking for? ===
We invite your community to nominate one or two points of contact and share:
* The name of your Wikimedia community.
* A primary and alternate community contact.
* Telegram usernames of the nominated contacts.
* A brief overview of your community's technical challenges, needs, or priorities.
This could include areas such as:
* Editing or patrolling workflows that could be improved.
* Gadgets, tools, or bots that your community needs.
* Template or interface-related challenges.
* Technical barriers faced by contributors.
* Any other broad technical priorities for your community.
=== How to participate ===
Please fill out the community response [https://docs.google.com/forms/d/e/1FAIpQLSdhpPdn0qgHkEiYZCXEumpV-WNWm6n8bZdfR6TIkGTcbuBOew/viewform?usp=dialog form] by '''18th August'''.
If your community prefers, you are also welcome to reply directly on this message.
=== What happens next? ===
The information collected will help us:
* Build a network of community contacts for future technical collaboration.
* Understand and prioritize the technical needs of Indic Wikimedia communities.
* Plan focused technical support and community engagement activities.
* Connect communities with developers and relevant technical initiatives where appropriate.
Please note that while we will carefully review every submission, our ability to provide support will depend on the complexity of the request, available expertise within the User Group, volunteer bandwidth, and available resources. Although we may not be able to address every request immediately, we will make every effort to prioritize and support as many community needs as possible, and where appropriate, connect communities with the relevant developers or technical channels. We look forward to working more closely with your community!
'''Best wishes,'''
[[ਵਰਤੋਂਕਾਰ:Kalli navya|Navya sri Kalli]]
''On behalf of the Indic MediaWiki Developers User Group (IMDUG)'' [[ਵਰਤੋਂਕਾਰ:Kalli navya|Kalli navya]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kalli navya|ਗੱਲ-ਬਾਤ]]) 15:58, 2 ਅਗਸਤ 2026 (UTC)
== ਪੰਜਾਬੀ ਕਮਿਊਨਿਟੀ ਕਮਿਊਨੀਕੇਸ਼ਨ ਸਪੈਸ਼ਲਿਸਟ ਲਈ ਅਰਜ਼ੀਆਂ ਦੀ ਮੰਗ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ,
ਉਮੀਦ ਹੈ ਕਿ ਤੁਸੀਂ ਸਭ ਠੀਕ-ਠਾਕ ਹੋਵੋਗੇ।
ਜਿਵੇਂ ਕਿ ਅਸੀਂ ਸਾਰੇ ਜਾਣਦੇ ਹਾਂ ਕਿ ਪੰਜਾਬੀ ਭਾਈਚਾਰੇ ਨੇ [https://meta.wikimedia.org/wiki/Community_Resources_and_Partnerships/India_General_Support_Project/Punjabi_Wikimedians_Annual_Plan_2026-27 ਸਲਾਨਾ ਯੋਜਨਾ] ਲਈ ਅਰਜ਼ੀ ਪਾਈ ਸੀ, ਜਿਸ ਨੂੰ ਫਾਊਂਡੇਸ਼ਨ ਵੱਲੋਂ ਪ੍ਰਵਾਨਗੀ (ਮਨਜ਼ੂਰੀ) ਮਿਲ ਗਈ ਹੈ। ਉਸ ਪ੍ਰਸਤਾਵ (Proposal) ਵਿੱਚ, ਭਾਈਚਾਰੇ ਦੇ ਵਿਕਾਸ ਅਤੇ ਵਾਧੇ ਲਈ ਕਮਿਊਨਿਟੀ ਕਮਿਊਨੀਕੇਸ਼ਨ ਸਪੈਸ਼ਲਿਸਟ (Community Communication Specialist) ਦੀ ਇੱਕ ਪੋਸਟ ਲਈ ਵੀ ਬੇਨਤੀ ਕੀਤੀ ਗਈ ਸੀ।
ਇਸ ਲਈ, ਸਲਾਨਾ ਗਤੀਵਿਧੀਆਂ ਨੂੰ ਬਿਹਤਰ ਢੰਗ ਨਾਲ ਸ਼ੁਰੂ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਪੰਜਾਬੀ ਕਮਿਊਨਿਟੀ ਸਪੈਸ਼ਲਿਸਟ ਦੀ ਪੋਸਟ ਲਈ ਅਰਜ਼ੀਆਂ ਦੀ ਮੰਗ ਕੀਤੀ ਜਾ ਰਹੀ ਹੈ।
ਅਰਜ਼ੀ ਦੇਣ ਲਈ ਜ਼ਰੂਰੀ ਜਾਣਕਾਰੀ:
'''ਕੌਣ ਅਪਲਾਈ ਕਰ ਸਕਦਾ ਹੈ:''' ਭਾਈਚਾਰੇ ਦੇ ਜੋ ਵੀ ਇੱਛੁਕ ਸਾਥੀ ਇਹ ਜ਼ਿੰਮੇਵਾਰੀ ਸੰਭਾਲਣ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹਨ, ਉਹ ਇਸ ਪੋਸਟ ਲਈ ਅਪਲਾਈ ਕਰ ਸਕਦੇ ਹਨ।<br>
'''ਜ਼ਰੂਰੀ ਹਦਾਇਤ:''' ਅਪਲਾਈ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ, ਸਾਰੇ ਉਮੀਦਵਾਰਾਂ ਨੂੰ ਬੇਨਤੀ ਹੈ ਕਿ ਉਹ ਲੋੜੀਂਦੀਆਂ ਯੋਗਤਾਵਾਂ ਅਤੇ ਸ਼ਰਤਾਂ ਨੂੰ ਸਮਝਣ ਲਈ ਨੱਥੀ ਕੀਤੇ ਦਸਤਾਵੇਜ਼ ਨੂੰ ਧਿਆਨ ਨਾਲ ਜ਼ਰੂਰ ਪੜ੍ਹਨ। ਅਧੂਰੀਆਂ ਜਾਂ ਅਸਪਸ਼ਟ ਅਰਜ਼ੀਆਂ ਨੂੰ ਸਵੀਕਾਰ ਨਹੀਂ ਕੀਤਾ ਜਾਵੇਗਾ।<br>
'''ਕਿਵੇਂ ਅਪਲਾਈ ਕਰਨਾ ਹੈ:''' ਤੁਸੀਂ ਆਪਣੀ ਅਰਜ਼ੀ (Application) ਦਸਤਾਵੇਜ਼ ਵਿੱਚ ਦਿੱਤੀ ਗਈ ਈਮੇਲ ਆਈਡੀ 'ਤੇ ਭੇਜ ਸਕਦੇ ਹੋ।<br>
'''ਨੋਟ:''' ਦਿਲਚਸਪੀ ਰੱਖਣ ਵਾਲੇ ਸਾਥੀ 9 ਅਗਸਤ ਤੱਕ ਆਪਣੀਆਂ ਅਰਜ਼ੀਆਂ ਭੇਜ ਸਕਦੇ ਹਨ, ਤਾਂ ਜੋ ਅਰਜ਼ੀਆਂ ਦੀ ਸਮੀਖਿਆ (Review) ਦਾ ਕੰਮ ਸਮੇਂ ਸਿਰ ਪੂਰਾ ਕੀਤਾ ਜਾ ਸਕੇ। ਦਸਤਾਵੇਜ਼ ਦਾ ਲਿੰਕ - https://docs.google.com/document/d/1b5Nd9xSbW3Gfldk2FVpfKfL-0DG2_KuRap48S-IEkIA/edit?tab=t.0
ਕਿਸੇ ਵੀ ਤਰ੍ਹਾਂ ਦੇ ਸਵਾਲ ਜਾਂ ਵਧੇਰੇ ਜਾਣਕਾਰੀ ਲਈ ਤੁਸੀਂ ਇਸ ਮੈਸੇਜ ਦੇ ਜਵਾਬ ਜਾਂ ਹੋਰ ਮਾਧਿਅਮ ਜਿਵੇਂ ਵਟਸਐਪ ਜਾਂ ਟੈਲੀਗਰਾਮ ਰਾਹੀਂ ਸੰਪਰਕ ਕਰ ਸਕਦੇ ਹੋ।
ਸ਼ੁਕਰੀਆ!
-- [[ਵਰਤੋਂਕਾਰ:Kuldeep (Punjabi Wikimedians)|Kuldeep (Punjabi Wikimedians)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kuldeep (Punjabi Wikimedians)|ਗੱਲ-ਬਾਤ]]) 17:30, 3 ਅਗਸਤ 2026 (UTC)
:ਇਹ ਅਹੁਦਾ ਬਹੁਤ ਮਹੱਤਵਪੂਰਨ ਹੈ। ਇੱਕ ਕੁਲਵਕਤੀ ਪੰਜਾਬੀ ਭਾਈਚਾਰੇ ਦਾ ਵਿਸ਼ੇਸ਼ਗ ਪੰਜਾਬੀ ਵਿਕੀ ਭਾਈਚਾਰੇ ਲਈ ਬਹੁਤ ਲਾਹੇਵੰਦ ਹੋ ਸਕਦਾ ਹੈ। ਪਰ ਜਿਸ ਤਰ੍ਹਾਂ ਦੇ ਕੰਮ ਕਰਨ ਦੇ ਮੌਕੇ ਉਸ ਨੂੰ ਇਸ ਭਾਈਚਾਰੇ ਅਤੇ ਹੋਰ ਭਾਈਚਾਰਿਆਂ ਨਾਲ ਮਿਲ ਕੇ ਮਿਲਣਗੇ, ਉਹ ਉਸ ਲਈ ਵੀ ਬਹੁਤ ਲਾਹੇਵੰਦ ਹੋਣਗੇ। ਇਸ ਲਈ ਵੱਧ ਤੋਂ ਵੱਧ ਲੋਕ ਅਪਲਾਈ ਕਰਨ, ਮੇਰਾ ਇਹੀ ਸੁਨੇਹਾ ਹੈ। --- [[ਵਰਤੋਂਕਾਰ:Mulkh Singh|Mulkh Singh]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Mulkh Singh|ਗੱਲ-ਬਾਤ]]) 16:36, 4 ਅਗਸਤ 2026 (UTC)
== Invitation to pre-conference activities for WikiConference India 2026 ==
Dear Wikimedia contributors,
As the Wikiconference India 2026 draws nearer, the excitement is soaring as well! We are sending this message to inform you that two pre-conference activities are being held as a part of this meetup. The Wiki Loves Villages campaign 2026 starts on 15th August 2026, so get ready to contribute! This initiative aims to expand and enhance content and media about villages across all Wikimedia projects, creating a comprehensive, open-access knowledge base.
Campaign Focus:
A. Expand Wikipedia articles about Villages in India in multiple languages
B. Improve content quality with citations, images, and comprehensive information
C. Populate Wikimedia Commons with freely licensed media about a village
D. Enrich Wikidata with structured information about Village-related topics
We invite you to contribute by writing new articles, enhancing existing ones, uploading media, or organizing data on Wikidata. Whether you're an experienced editor or new to Wikimedia, your participation matters.
For more information and to get involved, visit the campaign page ([https://meta.wikimedia.org/wiki/Wiki_Loves_Village_2026](https://meta.wikimedia.org/wiki/Wiki_Loves_Village_2026)) on your preferred Wikimedia project.
Another way to contribute to a pre-conference activity is the innovative Wiki Loves Medicinal Plants 2026- it is a photography campaign hosted by WikiConference India 2026. The activity already started on 1st August and ends on 31st August 2026, so gear up to document local medicinal knowledge and fill the knowledge gaps.
This initiative aims to expand and enhance freely licensed images and other media of medicinal plants in and around our surroundings.
Campaign Focus:
A. Add freely licensed images of medicinal plants.
B. Improve description of existing medicinal plants.
C. Improve depictions of images.
D. Improve wikidata items.
We invite you to contribute by adding new photos, videos or enhancing existing ones. Whether you're an experienced editor or new to Wikimedia, your participation matters.
To know more about how to contribute, rules, and tips head to the Meta page to find information ([https://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Medicinal_Plants](https://commons.wikimedia.org/wiki/Commons:Wiki_Loves_Medicinal_Plants)) on your preferred Wikimedia project.
Best regards,<br>WikiConference India 2026 pre-conference organizing team
-- '''[[user:kuldeepburjbhalaike|<i style="color:#FF4500; font-family:sylfaen">KuldeepBurjBhalaike</i>]]''' <sup style="color:#FF4500; font-family:georgia">([[User_talk:Kuldeepburjbhalaike|Talk]])</sup> 15:34, 13 ਅਗਸਤ 2026 (UTC)
== ਹੈਰੀਟੇਜ ਅਕਰੌਸ ਬਾਡਰਸ ਐਡਿਟਾਥਾਨ ==
ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਜੀ, ਜਿਵੇਂ ਕਿ ਆਪ ਸਭ ਨਾਲ਼ ਪਿਛਲੀ ਮੀਟਿੰਗ ਵਿੱਚ ਸਾਂਝਾ ਕੀਤਾ ਗਿਆ ਸੀ ਕਿ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਇੱਕ ਐਡਿਟਾਥਾਨ ਸ਼ੁਰੂ ਹੋਵੇਗੀ। ਇਹ ਐਡਿਟਾਥਾਨ 15 ਅਗਸਤ ਤੋਂ 24 ਅਗਸਤ (9 ਦਿਨ) ਤੱਕ ਹੋਵੇਗੀ। ਇਸਦਾ ਮਕਸਦ ਯੂਕਰੇਨ ਅਤੇ ਭਾਰਤ ਦੀ ਸਮੱਗਰੀ ਨੂੰ ਇਹਨਾਂ ਦੇਸ਼ਾਂ ਦੀਆਂ ਆਪਸੀ ਭਾਸ਼ਾਵਾਂ ਦੇ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਸ਼ਾਮਿਲ ਕਰਨਾ ਹੈ। ਇਸ ਦੌਰਾਨ ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਯੂਕਰੇਨ ਦੇ ਯੂਨੈਸਕੋ ਵਿਰਾਸਤੀ ਟਿਕਾਣਿਆਂ ਦੇ ਲੇਖ ਬਣਾਏ ਜਾਂ ਸੁਧਾਰੇ ਜਾ ਸਕਦੇ ਹਨ। ਵਿਕੀ ਸਫ਼ੇ ਉੱਤੇ ਲੇਖਾਂ ਦੀ ਸੂਚੀ ਦਿੱਤੀ ਗਈ ਹੈ, ਜੋ ਲੇਖ ਨਵੇਂ ਬਣਾਏ ਜਾਂ ਸੁਧਾਰੇ ਜਾਂ ਵਧਾਏ ਜਾ ਸਕਦੇ ਹਨ। ਇਸ ਮੁਹਿੰਮ ਵਿੱਚ ਯੂਕਰੇਨ ਐਂਬੈਸੀ, ਵਿਕੀਮੀਡੀਆ ਸੰਸਥਾ ਅਤੇ ਓਕੇਆਈ (ਆਈਆਈਆਈਟੀ ਹੈਦਰਾਬਾਦ) ਸਹਿਭਾਗੀ ਸੰਸਥਾਵਾਂ ਹਨ। ਆਪ ਸਭ ਨੂੰ ਇਸ ਮੁਹਿੰਮ ਵਿੱਚ ਹਿੱਸਾ ਲੈਕੇ ਪੰਜਾਬੀ ਵਿਕੀਪੀਡੀਆ ਉੱਤੇ ਵੱਧ ਤੋਂ ਵੱਧ ਯੋਗਦਾਨ ਪਾਉਣ ਦੀ ਬੇਨਤੀ ਹੈ। ਧੰਨਵਾਦ।
ਹੋਰ ਵਿਸਥਾਰ ਵਿੱਚ ਜਾਣਕਾਰੀ ਲਈ ਵਿਕੀ ਸਫ਼ਾ - https://w.wiki/TSXY
-- [[ਵਰਤੋਂਕਾਰ:Kuldeep (Punjabi Wikimedians)|Kuldeep (Punjabi Wikimedians)]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kuldeep (Punjabi Wikimedians)|ਗੱਲ-ਬਾਤ]]) 08:15, 15 ਅਗਸਤ 2026 (UTC)
== <span lang="en" dir="ltr">Server switch - Your wiki will be read-only for a short time soon</span> ==
<div lang="en" dir="ltr">
<section begin="server-switch"/><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]] will switch the traffic between its data centers. This will make sure that Wikipedia and the other Wikimedia wikis can stay online even after a disaster.
All traffic will switch on '''{{#time:j xg|2026-09-23|en}}'''. The switch will start at '''[https://zonestamp.toolforge.org/{{#time:U|2026-09-23T14:00|en}} {{#time:H:i e|2026-09-23T14:00}}]'''.
Unfortunately, because of some limitations in [[mw:Special:MyLanguage/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.
A banner will be displayed on all wikis 30 minutes before this operation happens. This banner will remain visible until the end of the operation.
You can contribute to the [https://meta.wikimedia.org/w/index.php?title=Special%3ATranslate&group=Centralnotice-tgroup-read_only_banner&task=view&language=&filter=&action=translate translation or proofreading] of this banner text.
'''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 {{#time:l j xg Y|2026-09-23|en}}.
* 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.
* [[mw:Special:MyLanguage/GitLab|GitLab]] will be unavailable for about 90 minutes.
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.
'''Please share this information with your community.'''</div><section end="server-switch"/>
</div>
[[m:user:Trizek (WMF)|Trizek (WMF)]] 12:58, 15 ਸਤੰਬਰ 2026 (UTC)
(This message was sent to [[:ਵਿਕਿਪੀਡਿਆ:ਕਮਿਊਨਟੀ ਪੋਰਟਲ]] and is being posted here due to a redirect.)
<!-- 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=30513874 -->
== ਗਾਡੀ ਲੁਹਾਰ ਕਬੀਲੇ ਸਬੰਧਿਤ ਫੋਟੋ ਸ਼ੂਟ ==
ਮੇਰਾ ਨਾਮ ਅੰਮ੍ਰਿਤਪਾਲ ਸਿੰਘ ਹੈ। ਮੈਂ ਸਾਲ 2026 ਵਿੱਕੀ ਲਵਸ ਪੰਜਾਬ ਵਿੱਚ ਯੋਗਦਾਨ ਪਾਇਆ ਸੀ, ਜਿਸ ਦੌਰਾਨ ਮੈਂ 100 ਤੋਂ ਵੱਧ ਫ਼ੋਟੋਆਂ ਅਪਲੋਡ ਕੀਤੀਆਂ ਅਤੇ ਪਹਿਲਾਂ ਸਥਾਨ ਵੀ ਹਾਸਿਲ ਕੀਤਾ ਸੀ। ਹੁਣ ਮੈਂ ਸ੍ਰੀ ਆਨੰਦਪੁਰ ਸਾਹਿਬ ਜ਼ਿਲ੍ਹਾ ਰੋਪੜ ਪੰਜਾਬ ਜਾ ਰਿਹਾ ਹਾਂ, ਗਾਡੀ ਲੁਹਾਰ ਕਬੀਲੇ ਨੂੰ ਡਾਕੂਮੈਂਟ ਕਰਨ ਲਈ। ਇਸ ਪਾਇਲਟ ਤਹਿਤ ਮੈਂ 50 ਤੋਂ 80 ਫੋਟੋਆਂ ਖਿੱਚਾਂਗਾ। ਮੈਂ ਇਸ ਪਾਇਲਟ ਲਈ ਆਉਣ-ਜਾਣ ਤੇ ਖਾਣ-ਪੀਣ ਦੇ ਖ਼ਰਚੇ ਦੀ ਸਹਾਇਤਾ ਚਾਹੀਦਾ ਹੈ। ਜੇਕਰ ਪੰਜਾਬੀ ਭਾਈਚਾਰੇ ਵਿੱਚੋਂ ਕੋਈ ਹੋਰ ਵੀ ਇਸ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਣਾ ਚਾਹੁੰਦਾ ਹੈ ਤਾਂ ਮੈਨੂੰ ਖ਼ੁਸ਼ੀ ਹੋਵੇਗੀ। [[ਵਰਤੋਂਕਾਰ:AMRIT RAISAR|AMRIT RAISAR]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:AMRIT RAISAR|ਗੱਲ-ਬਾਤ]]) 05:23, 17 ਸਤੰਬਰ 2026 (UTC)
== Your feedback wanted: Remove ''(Language link added:) and similar'' edits from Special:RecentChanges ==
''(Apologies for posting in English. You can help by translating it)''
Hello, I’m Danny from [[:en:w:Wikimedia_Deutschland|Wikimedia Deutschland’s]] [[m:Wikidata_For_Wikimedia_Projects|Wikidata For Wikimedia Projects]] team.<br/>
We have been investigating and examining how Wikidata’s use in the [[Special:RecentChanges]] and [[Special:Watchlist]] pages can be made to be more useful, or less ‘noisy’ (fewer edits that have little value to the reader).
We are currently exploring to make a change in the volume and the type of Wikidata edits that appear in these pages, and '''we need your feedback''' to help us ensure this is a positive change for the Wikis and won’t disrupt your workflows.<br/>
Language links are also known as sitelinks or interlanguage links and describe when a Wikidata item is connected to a Wiki, adding it to the language dropdown tool for other connected Wikis.
[[File:Types of Lang Link changes.png|x350px|frame|A variety of "Language Link" edits as seen in the Recent Changes feed]]
The request for feedback is whether you support the removal of these language link edits from the Recent Changes and Watchlist feed, or would you oppose such a change and if so, why?
Please share you thoughts on the dedicated '''[[m:Talk:Wikidata_For_Wikimedia_Projects/Clearer_Wikidata_Edit_Summaries/Hide_Language_Link_edits|metawiki Talk page]]'''.
Further information about this change: [[m:Wikidata_For_Wikimedia_Projects/Clearer_Wikidata_Edit_Summaries/Hide_Language_Link_edits|m:Wikidata_For_Wikimedia_Projects/Hide_Language_Link_edits]]
Thank you for any participation or feedback you give, -- [[m:User:Danny_Benjafield_(WMDE)|User:Danny Benjafield (WMDE)]] 15:16, 22 ਸਤੰਬਰ 2026 (UTC)
(This message was sent to [[:ਵਿਕਿਪੀਡਿਆ:ਕਮਿਊਨਟੀ ਪੋਰਟਲ]] and is being posted here due to a redirect.)
<!-- Message sent by User:Danny Benjafield (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Danny_Benjafield_(WMDE)/MassMessage_test_list&oldid=31067455 -->
== Wikidata Sitelink changes in Recent Changes and Watchlist ==
''(Apologies for cross-posting in English, translating it will help spread the message)''
Earlier last month, all Wikis were contacted for feedback on our proposal to remove language link changes, this change has already been deployed to Wikisource, Wikibooks, Wikivoyage, Wikiquote, Wikiversity and Wiktionary.
The same change is now being rolled out globally to all Wikipedias on '''October 13, 07:00 UTC'''. Editors will no longer see notifications after this time on their [[Special:RecentChanges|Recent Changes]] and [[Special:Watchlist|Watchlist]] when a link to ''another'' language version of a page is added, removed, or changed in its Wikidata item (it does not affect language link notifications to the home wiki). There will then be a two-week monitoring period to observe if a reduction of high-volume but low-value notifications takes place, or if higher-value changes become easier to identify. Editors who rely on these notifications should be aware of the change and can share feedback or concerns on the Wikidata For Wikimedia [[m:Talk:Wikidata_For_Wikimedia_Projects/Clearer_Wikidata_Edit_Summaries/Hide_Language_Link_edits|Projects talk page]].<br/>
Wikidata's own Recent Changes page is not affected as it serves as the repository for these changes.
Please reach out if you have any questions, or if your wiki would like to opt-out, thank you! -- [[User:Danny_Benjafield_(WMDE)|Danny Benjafield (WMDE)]] ([[User_talk:Danny_Benjafield_(WMDE)|talk]]) sent via [[ਵਰਤੋਂਕਾਰ:MediaWiki message delivery|MediaWiki message delivery]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:MediaWiki message delivery|ਗੱਲ-ਬਾਤ]]) 09:29, 9 ਅਕਤੂਬਰ 2026 (UTC)
(This message was sent to [[:ਵਿਕਿਪੀਡਿਆ:ਕਮਿਊਨਟੀ ਪੋਰਟਲ]] and is being posted here due to a redirect.)
<!-- Message sent by User:Danny Benjafield (WMDE)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=User:Danny_Benjafield_(WMDE)/MassMessage_Test_List&oldid=31142775 -->
r6owkis6gnqtggpr0xk043ugu49enpl
ਗੱਲ-ਬਾਤ:ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ
1
205303
849444
849085
2026-10-09T05:28:02Z
Kuldeepburjbhalaike
18176
Kuldeepburjbhalaike ਨੇ ਸਫ਼ਾ [[ਗੱਲ-ਬਾਤ:ਦਵਿੰਦਰ ਸੈਫ਼ੀ]] ਨੂੰ [[ਗੱਲ-ਬਾਤ:ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ]] ’ਤੇ ਭੇਜਿਆ
849085
wikitext
text/x-wiki
== ਮੌਜੂਦਾ ਸਿਰਲੇਖ "ਦਵਿੰਦਰ ਸੈਫ਼ੀ" ਹੈ। ਸਹੀ ਨਾਮ "ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ" ਹੈ। ਕਿਰਪਾ ਕਰਕੇ ਸਫ਼ੇ ਦਾ ਸਿਰਲੇਖ "ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ" ਕੀਤਾ ਜਾਵੇ। ==
ਮੌਜੂਦਾ ਸਿਰਲੇਖ "ਦਵਿੰਦਰ ਸੈਫ਼ੀ" ਹੈ। ਸਹੀ ਨਾਮ "ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ" ਹੈ। ਕਿਰਪਾ ਕਰਕੇ ਸਫ਼ੇ ਦਾ ਸਿਰਲੇਖ "ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ" ਕੀਤਾ ਜਾਵੇ। [[ਵਰਤੋਂਕਾਰ:PunjabiLiterature2026|PunjabiLiterature2026]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:PunjabiLiterature2026|ਗੱਲ-ਬਾਤ]]) 15:47, 4 ਅਕਤੂਬਰ 2026 (UTC)
idmakmve3xnl8gcnuwaethov9sfszud
849446
849444
2026-10-09T05:29:53Z
Kuldeepburjbhalaike
18176
/* ਮੌਜੂਦਾ ਸਿਰਲੇਖ "ਦਵਿੰਦਰ ਸੈਫ਼ੀ" ਹੈ। ਸਹੀ ਨਾਮ "ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ" ਹੈ। ਕਿਰਪਾ ਕਰਕੇ ਸਫ਼ੇ ਦਾ ਸਿਰਲੇਖ "ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ" ਕੀਤਾ ਜਾਵੇ। */ ਜੁਆਬ
849446
wikitext
text/x-wiki
== ਮੌਜੂਦਾ ਸਿਰਲੇਖ "ਦਵਿੰਦਰ ਸੈਫ਼ੀ" ਹੈ। ਸਹੀ ਨਾਮ "ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ" ਹੈ। ਕਿਰਪਾ ਕਰਕੇ ਸਫ਼ੇ ਦਾ ਸਿਰਲੇਖ "ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ" ਕੀਤਾ ਜਾਵੇ। ==
ਮੌਜੂਦਾ ਸਿਰਲੇਖ "ਦਵਿੰਦਰ ਸੈਫ਼ੀ" ਹੈ। ਸਹੀ ਨਾਮ "ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ" ਹੈ। ਕਿਰਪਾ ਕਰਕੇ ਸਫ਼ੇ ਦਾ ਸਿਰਲੇਖ "ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ" ਕੀਤਾ ਜਾਵੇ। [[ਵਰਤੋਂਕਾਰ:PunjabiLiterature2026|PunjabiLiterature2026]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:PunjabiLiterature2026|ਗੱਲ-ਬਾਤ]]) 15:47, 4 ਅਕਤੂਬਰ 2026 (UTC)
:ਧਿਆਨ ਵਿੱਚ ਲਿਆਉਣ ਲਈ ਬਹੁਤ ਧੰਨਵਾਦ ਜੀ। ਮੈਂ ਸਿਰਲੇਖ ਸਹੀ ਕਰ ਦਿੱਤਾ ਹੈ। -- '''[[user:kuldeepburjbhalaike|<i style="color:#FF4500; font-family:sylfaen">KuldeepBurjBhalaike</i>]]''' <sup style="color:#FF4500; font-family:georgia">([[User_talk:Kuldeepburjbhalaike|Talk]])</sup> 05:29, 9 ਅਕਤੂਬਰ 2026 (UTC)
fzfsgauswyk6xw5gu1z72m6zo7wsnhg
ਫੂਲ
0
205326
849450
849388
2026-10-09T05:37:56Z
Kuldeepburjbhalaike
18176
added [[Category:ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹੇ ਦੇ ਪਿੰਡ]] using [[WP:HC|HotCat]]
849450
wikitext
text/x-wiki
'''ਫੂਲ''' ਪੰਜਾਬ, ਭਾਰਤ ਦੇ ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹੇ ਦਾ ਇੱਕ ਇਤਿਹਾਸਕ ਪਿੰਡ ਅਤੇ ਬਲਾਕ ਹੈ, ਜਿਸਦਾ ਇਤਿਹਾਸ ਨੇੜਲੇ ਸ਼ਹਿਰ ਰਾਮਪੁਰਾ ਫੂਲ ਨਾਲ ਗਹਿਰਾਈ ਨਾਲ ਜੁੜਿਆ ਹੋਇਆ ਹੈ।<ref name=":1">{{Cite web |title=ਫੂਲ - ਪੰਜਾਬੀ ਪੀਡੀਆ |url=https://punjabipedia.org/topic.aspx?txt=%E0%A8%AB%E0%A9%82%E0%A8%B2 |access-date=2026-10-08 |website=punjabipedia.org}}</ref>
ਫੂਲ ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹੇ ਵਿੱਚ ਸਥਿਤ ਇੱਕ ਇਤਿਹਾਸਕ ਵਸੇਬਾ ਜਾਂ ਕਸਬਾ ਹੈ, ਜਿਸਦਾ ਸੰਬੰਧ ਚੌਧਰੀ ਫੂਲ ਸਿੱਧੂ-ਬਰਾੜ ਨਾਲ ਹੈ। ਚੌਧਰੀ ਫੂਲ ਨੂੰ ਸਤਾਰ੍ਹਵੀਂ ਸਦੀ ਵਿੱਚ ਫੂਲਕੀਆਂ ਰਿਆਸਤਾਂ ਦੇ ਸਾਂਝੇ ਵਡੇਰੇ ਹਨ। ਇਹ ਵਸੇਬਾ ਜਾਂ ਕਸਬਾ ਰਾਮਪੁਰਾ ਫੂਲ ਤਹਿਸੀਲ ਵਿੱਚ ਸਥਿਤ ਹੈ ਅਤੇ ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹੇ ਦੇ ਪ੍ਰਸ਼ਾਸਕੀ ਫੂਲ ਵਿਕਾਸ ਬਲਾਕ ਨਾਲ ਵੀ ਸੰਬੰਧਿਤ ਹੈ।<ref name=":2">{{Citation |title=ਫੂਲਕੀਆ ਮਿਸਲ |date=2026-05-22 |url=https://pa.wikipedia.org/w/index.php?title=%E0%A8%AB%E0%A9%82%E0%A8%B2%E0%A8%95%E0%A9%80%E0%A8%86_%E0%A8%AE%E0%A8%BF%E0%A8%B8%E0%A8%B2&oldid=839880 |work=ਵਿਕੀਪੀਡੀਆ, ਇਕ ਅਜ਼ਾਦ ਵਿਸ਼ਵਗਿਆਨਕੋਸ਼ |language=pa |access-date=2026-10-08}}</ref>
2011 ਦੀ ਜਨਗਣਨਾ ਦੇ ਰਿਕਾਰਡ ਵਿੱਚ ਫੂਲ ਨੂੰ ਰਾਮਪੁਰਾ ਫੂਲ ਉਪ-ਜ਼ਿਲ੍ਹੇ ਅਧੀਨ ਪਿੰਡ ਵਜੋਂ ਦਰਜ ਕੀਤਾ ਗਿਆ ਹੈ ਅਤੇ ਇਸ ਦਾ location code 035703 ਹੈ।<ref name=":2" />
[[ਤਸਵੀਰ:Phul Village.jpg|thumb|ਫੂਲ ਪਿੰਡ ਦੀ ਤਸਵੀਰ।]]
ਬਲਾਕ / ਤਹਿਸੀਲ: ਰਾਮਪੁਰਾ ਫੂਲ
ਜ਼ਿਲ੍ਹਾ: ਬਠਿੰਡਾ
ਰਾਜ: ਪੰਜਾਬ
ਪਿੰਨ ਕੋਡ: 151104
ਫੂਲ ਨੂੰ ਇਤਿਹਾਸਕ ਤੌਰ 'ਤੇ ਰਿਆਸਤ, ਸਬ-ਡਿਵੀਜ਼ਨ ਜ਼ਿਲ੍ਹੇ ਅਤੇ ਤਹਿਸੀਲ ਨਾਲ ਸੰਬੰਧਿਤ ਹੋਣ ਦਾ ਦਰਜਾ ਪ੍ਰਾਪਤ ਰਿਹਾ ਹੈ।<ref name=":1" />
== '''ਇਤਿਹਾਸ''' ==
ਫੂਲ ਦਾ ਫੂਲਕੀਆਂ ਵੰਸ਼ ਦੇ ਇਤਿਹਾਸ ਵਿੱਚ ਮਹੱਤਵਪੂਰਨ ਸਥਾਨ ਹੈ। ਫੂਲਕੀਆਂ ਇੱਕ ਅਜਿਹਾ ਰਾਜਸੀ ਪਰਿਵਾਰਕ ਵੰਸ਼ ਸੀ ਜਿਸਦੇ ਵੱਖ-ਵੱਖ ਵੰਸ਼ਜਾਂ ਨੇ ਪੰਜਾਬ ਖੇਤਰ ਵਿੱਚ ਕਈ ਰਾਜਸੀ ਘਰਾਣੇ ਸਥਾਪਤ ਕੀਤੇ। ਇਨ੍ਹਾਂ ਦਾ ਸਾਂਝਾ ਵਡੇਰਾ ਚੌਧਰੀ ਫੂਲ ਸਿੱਧੂ ਬਰਾੜ ਹੈ। <ref name=":2" />
ਇਤਿਹਾਸਕ ਸਰੋਤ ਫੂਲ ਅਤੇ ਫੂਲਕੀਆਂ ਪਰਿਵਾਰ ਨੂੰ ਸਤਾਰ੍ਹਵੀਂ ਸਦੀ ਨਾਲ ਜੋੜਦੇ ਹਨ। ਫੂਲਕੀਆਂ ਪਰਿਵਾਰ ਨਾਲ ਸੰਬੰਧਿਤ ਵੰਸ਼ਾਵਲੀ ਸਰੋਤਾਂ ਵਿੱਚ 1627 ਦਾ ਸਾਲ ਚੌਧਰੀ ਫੂਲ ਨਾਲ ਜੋੜਿਆ ਜਾਂਦਾ ਹੈ। ਮਤਲਬ ਚੌਧਰੀ ਫੂਲ ਸਿੱਧੂ ਬਰਾੜ ਦਾ ਜਨਮ 1627 ਈ. (ਮਹਾਨ ਕੋਸ਼ ਦੇ ਹਵਾਲੇ ਨਾਲ ਸਬੰਧਤ) ਵਿੱਚ ਹੋਇਆ ਸੀ। ਬ੍ਰਿਟਿਸ਼ ਦੌਰ ਦੇ Imperial Gazetteer of India ਵਿੱਚ ਵੀ ਪਟਿਆਲਾ, ਜੀਂਦ ਅਤੇ ਨਾਭਾ ਦੇ ਸ਼ਾਸਕ ਪਰਿਵਾਰਾਂ ਨੂੰ ਫੂਲ ਨਾਲ ਉਤਰਾਧਿਕਾਰੀ ਸੰਬੰਧ ਰੱਖਣ ਵਾਲੇ “Phulkian houses” ਵਜੋਂ ਦਰਸਾਇਆ ਗਿਆ ਹੈ।<ref name=":1" />
ਚੌਧਰੀ ਫੂਲ ਦੇ ਵੰਸ਼ਜਾਂ ਨੇ ਬਾਅਦ ਵਿੱਚ ਪੰਜਾਬ ਖੇਤਰ ਵਿੱਚ ਕਈ ਮਹੱਤਵਪੂਰਨ ਰਾਜਸੀ ਘਰਾਣੇ ਸਥਾਪਤ ਕੀਤੇ, ਜਿਨ੍ਹਾਂ ਵਿੱਚ ਪਟਿਆਲਾ, ਨਾਭਾ ਅਤੇ ਜੀਂਦ ਦੀਆਂ ਰਿਆਸਤਾਂ ਪ੍ਰਮੁੱਖ ਸਨ। ਇਨ੍ਹਾਂ ਫੂਲਕੀਆਂ ਰਿਆਸਤਾਂ ਅਤੇ ਉਨ੍ਹਾਂ ਦੇ ਸ਼ਾਸਕ ਪਰਿਵਾਰਾਂ ਨੇ ਬਾਅਦ ਵਿੱਚ ਸਤਲੁਜ ਦੇ ਦੱਖਣ ਵਾਲੇ ਖੇਤਰ, ਜਿਸਨੂੰ Cis-Sutlej ਖੇਤਰ ਕਿਹਾ ਜਾਂਦਾ ਸੀ, ਦੇ ਰਾਜਨੀਤਿਕ ਇਤਿਹਾਸ ਵਿੱਚ ਮਹੱਤਵਪੂਰਨ ਭੂਮਿਕਾ ਨਿਭਾਈ।<ref name=":2" />
ਇਸ ਤਰ੍ਹਾਂ ਫੂਲ ਦੀ ਇਤਿਹਾਸਕ ਮਹੱਤਤਾ ਫੂਲਕੀਆਂ ਪਰਿਵਾਰ ਅਤੇ ਮਾਲਵਾ ਖੇਤਰ ਦੇ ਰਾਜਨੀਤਿਕ ਵਿਕਾਸ ਨਾਲ ਨੇੜਿਓਂ ਜੁੜੀ ਹੋਈ ਹੈ।<ref name=":1" />
ਸਥਾਨਕ ਪਰੰਪਰਾ ਅਨੁਸਾਰ ਫੂਲ ਪਿੰਡ ਦੀ ਸਥਾਪਨਾ 1653 ਈਸਵੀ ਵਿੱਚ ਚੌਧਰੀ ਫੂਲ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਬਾਬਾ ਫੂਲ ਜੀ ਵੀ ਕਿਹਾ ਜਾਂਦਾ ਹੈ, ਵੱਲੋਂ ਕੀਤੀ ਗਈ ਸੀ। ਉਨ੍ਹਾਂ ਨੂੰ ਸਿੱਧੂ ਬਰਾੜ ਵੰਸ਼ ਨਾਲ ਸੰਬੰਧਿਤ, ਚੌਧਰੀ ਮੋਹਨ ਰਾਓ (ਬਾਬਾ ਮੋਹਨ) ਦਾ ਪੋਤਾ, ਚੌਧਰੀ ਕਾਲਾ, ਜਿਸਨੂੰ ਦਿਆ ਚੰਦ (ਬਾਬਾ ਕਾਲਾ) ਵੀ ਕਿਹਾ ਜਾਂਦਾ ਹੈ, ਦਾ ਭਤੀਜਾ ਅਤੇ ਚੌਧਰੀ ਰੂਪ ਚੰਦ ਦਾ ਪੁੱਤਰ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ। ਚੌਧਰੀ ਫੂਲ ਨੂੰ ਫੂਲ ਵੰਸ਼ ਦਾ ਵਡੇਰਾ ਅਤੇ ਫੂਲਕੀਆਂ ਮਿਸਲ ਦਾ ਸੰਸਥਾਪਕ ਮੰਨਿਆ ਜਾਂਦਾ ਹੈ।<ref name=":2" />
ਪਿੰਡ ਨਾਲ ਜੁੜੀ ਸਥਾਨਕ ਪਰੰਪਰਾ ਅਨੁਸਾਰ ਚੌਧਰੀ ਫੂਲ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਬਾਬਾ ਫੂਲ ਜੀ ਵੀ ਕਿਹਾ ਜਾਂਦਾ ਹੈ, ਨੇ ਸੰਤ ਸਮੇਸ਼ਪੁਰੀ ਜੀ ਦੀ ਸਲਾਹ ਨਾਲ ਇਸ ਵਸੇਬੇ ਦੀ ਨੀਂਹ ਰੱਖੀ। ਕਿਹਾ ਜਾਂਦਾ ਹੈ ਕਿ ਬਾਬਾ ਫੂਲ ਜੀ ਨੇ ਖੁਦ ਪਿੰਡ ਦੀ ਨੀਂਹ ਦਾ ਨਿਸ਼ਾਨ ਲਗਾਇਆ ਅਤੇ ਇਸ ਕਰਕੇ ਇਸ ਵਸੇਬੇ ਦਾ ਨਾਮ ਉਨ੍ਹਾਂ ਦੇ ਨਾਮ ਉੱਤੇ “ਫੂਲ” ਰੱਖਿਆ ਗਿਆ।<ref name=":1" />
ਪਿੰਡ ਵਸਾਉਣ ਤੋਂ ਬਾਅਦ ਬਾਬਾ ਫੂਲ ਜੀ ਨੇ 1654 ਈਸਵੀ ਵਿੱਚ ਇੱਕ ਕੱਚਾ ਕਿਲ੍ਹਾ ਬਣਾਇਆ। ਬਾਅਦ ਵਿੱਚ ਫੂਲਕੀਆਂ ਵੰਸ਼ ਨਾਲ ਸੰਬੰਧਿਤ ਜੀਂਦ ਦੇ ਮਹਾਰਾਜਾ ਗਜਪਤ ਸਿੰਘ ਦੇ ਸਮੇਂ ਇਸ ਕਿਲ੍ਹੇ ਨੂੰ ਪੱਕੀ ਬਣਤਰ ਵਿੱਚ ਤਬਦੀਲ ਕੀਤਾ ਗਿਆ। ਮਹਾਰਾਜਾ ਗਜਪਤ ਸਿੰਘ, ਬੀਬੀ ਰਾਜ ਕੌਰ ਦੇ ਪਿਤਾ ਅਤੇ ਮਹਾਰਾਜਾ ਰਣਜੀਤ ਸਿੰਘ ਦੇ ਨਾਨਾ ਸਨ। ਮਹਾਰਾਜਾ ਰਣਜੀਤ ਸਿੰਘ ਨੂੰ ਆਮ ਤੌਰ 'ਤੇ “ਸ਼ੇਰ-ਏ-ਪੰਜਾਬ” ਅਤੇ ਪੰਜਾਬ ਦਾ ਮਹਾਰਾਜਾ ਕਿਹਾ ਜਾਂਦਾ ਹੈ। ਉਹ ਮਹਾਰਾਜਾ ਫੂਲਕੀਆ ਖ਼ਾਨਦਾਨ ਦਾ ਦੋਹਤਾ ਸੀ।<ref name=":2" />
ਫੂਲ ਕਿਲ੍ਹੇ ਦੀ ਮੌਜੂਦਾ ਪੱਕੀ ਬਣਤਰ ਉਸ ਪੁਰਾਣੇ ਕੱਚੇ ਕਿਲ੍ਹੇ ਨਾਲ ਜੋੜੀ ਜਾਂਦੀ ਹੈ ਜਿਸਦੀ ਸਥਾਪਨਾ ਬਾਬਾ ਫੂਲ ਜੀ ਵੱਲੋਂ ਕੀਤੀ ਗਈ ਸੀ। ਮਹਾਰਾਜਾ ਗਜਪਤ ਸਿੰਘ ਜੀਂਦ ਵੱਲੋਂ ਆਪਣੇ ਸਮੇਂ ਦੀਆਂ ਲੋੜਾਂ ਅਨੁਸਾਰ ਕਿਲ੍ਹੇ ਵਿੱਚ ਕੁਝ ਤਬਦੀਲੀਆਂ ਕੀਤੀਆਂ ਗਈਆਂ, ਜਿਨ੍ਹਾਂ ਵਿੱਚ ਸ਼ਾਸਕਾਂ ਅਤੇ ਮਹਾਰਾਜਿਆਂ ਲਈ ਦਰਬਾਰ ਦੀ ਵਿਵਸਥਾ ਵੀ ਸ਼ਾਮਲ ਦੱਸੀ ਜਾਂਦੀ ਹੈ। ਕਿਲ੍ਹੇ ਦੇ ਪੱਛਮੀ ਪਾਸੇ ਪੁਰਾਣੀ ਕੱਚੀ ਬਣਤਰ ਦੇ ਨਿਸ਼ਾਨ ਹੋਣ ਦੀ ਜਾਣਕਾਰੀ ਮਿਲਦੀ ਹੈ।<ref name=":1" />
ਇਹ ਕਿਲ੍ਹਾ ਹੁਣ ਕਿਲ੍ਹਾ ਮੁਬਾਰਕ ਫੂਲ ਟਾਊਨ ਦੇ ਨਾਮ ਨਾਲ ਜਾਣਿਆ ਜਾਂਦਾ ਹੈ। ਇਹ ਪਿੰਡ ਵਿੱਚ ਮੌਜੂਦ ਹੈ, ਹਾਲਾਂਕਿ ਮੌਜੂਦਾ ਸਮੇਂ ਵਿੱਚ ਇਸ ਦੀ ਹਾਲਤ ਖ਼ਰਾਬ ਹੋ ਰਹੀ ਹੈ।<ref name=":2" />
ਬਾਬਾ ਫੂਲ ਜੀ ਨੇ ਫੂਲਕੀਆਂ ਮਿਸਲ ਦੀ ਸਥਾਪਨਾ ਵੀ ਕੀਤੀ ਸੀ। ਕਈ ਰਿਆਸਤਾਂ ਅਤੇ ਇਲਾਕੇ ਬਾਅਦ ਵਿੱਚ ਫੂਲਕੀਆਂ ਮੁਖੀਆਂ ਦੇ ਪ੍ਰਭਾਵ ਜਾਂ ਅਧਿਕਾਰ ਹੇਠ ਆਏ। ਇਨ੍ਹਾਂ ਵਿੱਚ ਪਟਿਆਲਾ, ਨਾਭਾ ਅਤੇ ਜੀਂਦ ਦੀਆਂ ਤਿੰਨ ਪ੍ਰਮੁੱਖ ਰਿਆਸਤਾਂ ਸ਼ਾਮਲ ਸਨ। ਫੂਲਕੀਆਂ ਪਰਿਵਾਰ ਨਾਲ ਪਟਿਆਲਾ, ਨਾਭਾ ਅਤੇ ਜੀਂਦ ਦੇ ਰਾਜਸੀ ਘਰਾਣਿਆਂ ਦਾ ਸੰਬੰਧ ਇਤਿਹਾਸਕ ਸਰੋਤਾਂ ਵਿੱਚ ਵੀ ਦਰਜ ਹੈ।<ref name=":1" />
[[ਤਸਵੀਰ:Phul Town.jpg|thumb|ਜੀ ਆਇਆ ਨੂੰ - ਫੂਲ ]]
ਬਾਬਾ ਫੂਲ ਜੀ ਦੇ ਦੋ ਵਿਆਹ ਹੋਏ ਸਨ।
ਪਹਿਲੇ ਵਿਆਹ ਤੋਂ ਉਨ੍ਹਾਂ ਦੇ ਤਿੰਨ ਪੁੱਤਰ—ਤਿਲੋਕਾ, ਰਾਮਾ ਅਤੇ ਰਘੂ—ਅਤੇ ਇੱਕ ਧੀ ਰਾਮੀ ਜਾਂ ਸਾਹਿਬ ਰਾਮੀ, ਜਿਸਨੂੰ ਬੀਬੀ ਫੱਤੋ ਵੀ ਕਿਹਾ ਜਾਂਦਾ ਹੈ, ਦੱਸੀ ਜਾਂਦੀ ਹੈ।<ref name=":2" />
ਦੂਜੇ ਵਿਆਹ ਤੋਂ ਉਨ੍ਹਾਂ ਦੇ ਚਾਰ ਪੁੱਤਰ—ਤਖ਼ਤ ਮੱਲ, ਚੰਨੂ, ਝੰਡੂ ਅਤੇ ਗੁਰਦਾਸ—ਦੱਸੇ ਜਾਂਦੇ ਹਨ।<ref name=":1" />
== '''ਫੂਲਕੀਆਂ ਵੰਸ਼ ਨਾਲ ਸੰਬੰਧ''' ==
“ਫੂਲਕੀਆਂ” ਨਾਮ ਫੂਲ ਤੋਂ ਨਿਕਲਿਆ ਮੰਨਿਆ ਜਾਂਦਾ ਹੈ, ਜਿਸਦੇ ਵੰਸ਼ਜਾਂ ਨੇ ਪੰਜਾਬ ਖੇਤਰ ਵਿੱਚ ਕਈ ਰਾਜਸੀ ਰਿਆਸਤਾਂ ਅਤੇ ਜਾਗੀਰਾਂ ਦੇ ਸ਼ਾਸਕ ਪਰਿਵਾਰ ਬਣਾਏ। ਫੂਲਕੀਆਂ ਪਰਿਵਾਰ ਨਾਲ ਪਟਿਆਲਾ, ਨਾਭਾ, ਜੀਂਦ, ਕੋਟਦੁੱਨਾ, ਬਡਰੁੱਖਾਂ, ਬਜੀਦਪੁਰ, ਦਿਆਲਪੁਰਾ ਮਿਰਜ਼ਾ, ਮਲੌਦ ਜਾਂ ਮਲੌਧ, ਪੱਖੋਕੇ, ਭਦੌੜ ਅਤੇ ਹੋਰ ਇਲਾਕਿਆਂ ਦਾ ਸੰਬੰਧ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ।<ref name=":2" />
ਫੂਲ ਦੇ ਵੰਸ਼ਜਾਂ ਨੇ ਅਠਾਰ੍ਹਵੀਂ ਅਤੇ ਉੱਨੀਵੀਂ ਸਦੀ ਦੇ ਪੰਜਾਬ ਦੇ ਰਾਜਨੀਤਿਕ ਇਤਿਹਾਸ ਵਿੱਚ ਮਹੱਤਵਪੂਰਨ ਭੂਮਿਕਾ ਨਿਭਾਈ। ਬਾਅਦ ਵਿੱਚ ਇਹ ਪਰਿਵਾਰ ਵਿਸ਼ੇਸ਼ ਤੌਰ 'ਤੇ ਪਟਿਆਲਾ, ਨਾਭਾ ਅਤੇ ਜੀਂਦ ਦੀਆਂ ਰਿਆਸਤਾਂ ਨਾਲ ਜੁੜਿਆ ਰਿਹਾ।<ref name=":1" />
ਚੌਧਰੀ ਫੂਲ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਬਾਬਾ ਫੂਲ ਜੀ ਵੀ ਕਿਹਾ ਜਾਂਦਾ ਹੈ, ਦੇ ਵੰਸ਼ਜਾਂ ਨਾਲ ਜੁੜੇ ਪਿੰਡਾਂ ਅਤੇ ਰਿਆਸਤਾਂ ਬਾਰੇ ਪਰੰਪਰਾਗਤ ਜਾਣਕਾਰੀ ਇਸ ਤਰ੍ਹਾਂ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ:<ref name=":2" />
* ਨਾਭਾ ਰਿਆਸਤ ਅਤੇ ਰਿਆਸਤ ਅਧੀਨ ਪਿੰਡ — ਗੁਰਦਿੱਤਾ, ਬਾਬਾ ਫੂਲ ਜੀ ਦਾ ਪੋਤਾ।
* ਜੀਂਦ ਰਿਆਸਤ ਅਤੇ ਰਿਆਸਤ ਅਧੀਨ ਪਿੰਡ — ਸੁਖਚੈਨ, ਬਾਬਾ ਫੂਲ ਜੀ ਦਾ ਪੋਤਾ।
* ਬਲਿਆਂਵਾਲੀ — ਸਰਦਾਰ ਆਲਮ ਸਿੰਘ, ਸੁਖਚੈਨ ਦਾ ਪੁੱਤਰ।
* ਦਿਆਲਪੁਰਾ ਮਿਰਜ਼ਾ — ਸਰਦਾਰ ਬਾਲਕੀ ਸਿੰਘ, ਸੁਖਚੈਨ ਦਾ ਪੁੱਤਰ।
* ਬਡਰੁੱਖਾਂ ਅਤੇ ਬਜੀਦਪੁਰ — ਸਰਦਾਰ ਭੂਪ ਸਿੰਘ, ਸੁਖਚੈਨ ਦਾ ਪੋਤਾ।
* ਪਟਿਆਲਾ ਰਿਆਸਤ ਅਤੇ ਰਿਆਸਤ ਅਧੀਨ ਪਿੰਡ — ਬਾਬਾ ਆਲਾ ਸਿੰਘ, ਬਾਬਾ ਫੂਲ ਜੀ ਦਾ ਪੋਤਾ।
* ਕੋਟਦੁੱਨਾ ਅਤੇ ਭਦੌੜ — ਸਰਦਾਰ ਦੁੱਨਾ ਸਿੰਘ, ਬਾਬਾ ਫੂਲ ਜੀ ਦਾ ਪੋਤਾ।
* ਰਾਮਪੁਰਾ ਪਿੰਡ — ਸਰਦਾਰ ਸੁਮਾ ਸਿੰਘ, ਸਰਦਾਰ ਦੁੰਨਾ ਸਿੰਘ ਦਾ ਪੁੱਤਰ।
* ਹੰਢਿਆਇਆ — ਸਰਦਾਰ ਸੱਭਾ ਸਿੰਘ ਜਾਂ ਸੁਭਾ ਸਿੰਘ, ਬਾਬਾ ਫੂਲ ਜੀ ਦਾ ਪੋਤਾ।
* ਢਿਪਾਲੀ, ਬੇਰ, ਮਲੌਦ (ਮਲੌਧ) ਅਤੇ ਪੱਖੋਕੇ — ਬਖ਼ਤ ਮੱਲ, ਜਿਸਨੂੰ ਸਰਦਾਰ ਬਖ਼ਤਾ ਸਿੰਘ ਵੀ ਕਿਹਾ ਜਾਂਦਾ ਹੈ, ਬਾਬਾ ਫੂਲ ਜੀ ਦਾ ਪੋਤਾ।
* ਜਿਉਂਦ — ਚੌਧਰੀ ਰਘੂ, ਬਾਬਾ ਫੂਲ ਜੀ ਦਾ ਪੁੱਤਰ।
* ਲੋਢਘਰੀਆ ਪਰਿਵਾਰ — ਗੁੰਮਟੀ ਕਲਾਂ, ਗੁੰਮਟੀ ਖੁਰਦ (ਸੇਵੇਵਾਲਾ), ਝਾੜੀ ਵਾਲਾ ਅਤੇ ਰੈਣਵਾਲੀ (ਹਰਿਆਣਾ) — ਤਖ਼ਤ ਮੱਲ, ਚੰਨੂ ਅਤੇ ਝੰਡੂ, ਬਾਬਾ ਫੂਲ ਜੀ ਦੇ ਪੁੱਤਰ।
ਇਨ੍ਹਾਂ ਤੋਂ ਇਲਾਵਾ ਹੋਰ ਵੀ ਕਈ ਪਿੰਡ ਪਰੰਪਰਾਗਤ ਤੌਰ 'ਤੇ ਬਾਬਾ ਫੂਲ ਜੀ ਦੇ ਵੰਸ਼ਜਾਂ ਦੇ ਅਧਿਕਾਰ ਜਾਂ ਪ੍ਰਭਾਵ ਹੇਠ ਦੱਸੇ ਜਾਂਦੇ ਹਨ।<ref name=":1" />
== '''ਸੰਤ ਸਮੇਰਪੁਰੀ''' ==
[[ਤਸਵੀਰ:Sant Samerpuri ji and Baba Phul Ji (Chaudhary Phul Sidhu Brar).png|thumb|ਚੌਧਰੀ ਫੂਲ (ਬਾਬਾ ਫੂਲ) ਆਪਣੇ ਗੁਰੂ ਸੰਤ ਸਮੇਰਪੁਰੀ ਜੀ ਨਾਲ।]]
ਬਾਬਾ ਫੂਲ ਜੀ ਨੂੰ ਸੰਤ ਸਮੇਰਪੁਰੀ ਜੀ ਦਾ ਚੇਲਾ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ। ਸਥਾਨਕ ਪਰੰਪਰਾ ਅਨੁਸਾਰ ਬਾਬਾ ਫੂਲ ਜੀ ਨੇ ਆਪਣੀ ਮੁੱਢਲੀ ਸਿੱਖਿਆ ਸੰਤ ਸਮੇਰਪੁਰੀ ਜੀ ਤੋਂ ਪ੍ਰਾਪਤ ਕੀਤੀ ਅਤੇ ਉਨ੍ਹਾਂ ਦੀ ਬਹੁਤ ਸਮਰਪਣ ਭਾਵਨਾ ਨਾਲ ਸੇਵਾ ਕੀਤੀ।<ref name=":2" />
ਸੰਤ ਸਮੇਰਪੁਰੀ ਜੀ ਦਾ ਡੇਰਾ ਫੂਲ ਪਿੰਡ ਵਿੱਚ ਸਥਿਤ ਹੈ ਅਤੇ ਇਸਨੂੰ ਚਿੜੀ ਵਾਲਾ ਡੇਰਾ ਕਿਹਾ ਜਾਂਦਾ ਹੈ। ਸਥਾਨਕ ਪਰੰਪਰਾ ਅਨੁਸਾਰ ਬਾਬਾ ਫੂਲ ਜੀ ਨੇ ਇਸ ਡੇਰੇ ਵਿੱਚ ਸੰਤ ਸਮੇਰਪੁਰੀ ਜੀ ਦੀ ਸੇਵਾ ਕੀਤੀ।<ref name=":2" />
ਸਥਾਨਕ ਰਿਵਾਇਤ ਅਨੁਸਾਰ ਬਾਬਾ ਫੂਲ ਜੀ ਨੇ ਸੰਤ ਸਮੇਰਪੁਰੀ ਜੀ ਤੋਂ ਇੱਕ ਵਿਸ਼ੇਸ਼ ਕਿਸਮ ਦਾ ਅਧਿਆਤਮਿਕ ਗਿਆਨ ਪ੍ਰਾਪਤ ਕੀਤਾ ਸੀ। ਇਸ ਗਿਆਨ ਬਾਰੇ ਇਹ ਵਿਸ਼ਵਾਸ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ ਕਿ ਇਸ ਰਾਹੀਂ ਮਨੁੱਖ ਆਪਣੀ ਆਤਮਾ ਨੂੰ ਕਿਸੇ ਹੋਰ ਸਥਾਨ 'ਤੇ ਭੇਜ ਸਕਦਾ ਸੀ। ਇਸਨੂੰ ਧਿਆਨ ਜਾਂ ਅਜਿਹੀ ਅਵਸਥਾ ਵਜੋਂ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ ਜਿਸ ਵਿੱਚ ਵਿਅਕਤੀ ਦਾ ਭੌਤਿਕ ਸਰੀਰ ਇੱਕ ਸਥਾਨ 'ਤੇ ਰਹਿੰਦਾ ਹੈ ਅਤੇ ਆਤਮਾ ਨੂੰ ਸਰੀਰ ਤੋਂ ਬਾਹਰ ਹੋਣ ਦੀ ਧਾਰਨਾ ਨਾਲ ਜੋੜਿਆ ਜਾਂਦਾ ਹੈ।<ref name=":1" />
== '''ਗੁਰੂ ਗੋਬਿੰਦ ਸਿੰਘ ਜੀ ਦਾ ਫੂਲ ਦੇ ਪੁੱਤਰਾਂ ਨੂੰ ਹੁਕਮਨਾਮਾ''' ==
2 ਅਗਸਤ 1696 ਈਸਵੀ ਨੂੰ ਗੁਰੂ ਗੋਬਿੰਦ ਸਿੰਘ ਜੀ ਵੱਲੋਂ ਬਾਬਾ ਫੂਲ ਦੇ ਪੁੱਤਰਾਂ ਭਾਈ ਰਾਮਾ ਅਤੇ ਭਾਈ ਤਿਲੋਕਾ ਦੇ ਨਾਮ ਇੱਕ ਹੁਕਮਨਾਮਾ ਜਾਰੀ ਕੀਤਾ ਗਿਆ। ਇਹ ਹੁਕਮਨਾਮਾ 2 ਭਾਦੋਂ 1753 ਬਿਕਰਮੀ ਦਾ ਹੈ ਅਤੇ ਵਰਤਮਾਨ ਵਿੱਚ ਮਹਾਰਾਜਾ ਪਟਿਆਲਾ ਦੇ ਸੰਗ੍ਰਹਿ ਨਾਲ ਸੰਬੰਧਿਤ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ। ਪੰਜਾਬੀ ਪੀਡੀਆ ਵਿੱਚ ਵੀ ਇਸ ਹੁਕਮਨਾਮੇ ਦਾ ਜ਼ਿਕਰ ਕਰਦਿਆਂ ਦੱਸਿਆ ਗਿਆ ਹੈ ਕਿ ਗੁਰੂ ਗੋਬਿੰਦ ਸਿੰਘ ਜੀ ਨੇ ਰਾਮਾ ਅਤੇ ਤਿਲੋਕਾ ਨੂੰ ਘੋੜਸਵਾਰਾਂ ਸਮੇਤ ਹਾਜ਼ਰ ਹੋਣ ਦਾ ਆਦੇਸ਼ ਦਿੱਤਾ ਸੀ<ref name=":2" />
ਇਹ ਹੁਕਮਨਾਮਾ ਉਸ ਸਮੇਂ ਦਾ ਹੈ ਜਦੋਂ ਗੁਰੂ ਗੋਬਿੰਦ ਸਿੰਘ ਜੀ ਦਾ ਪਹਾੜੀ ਰਾਜਿਆਂ ਨਾਲ ਸੰਘਰਸ਼ ਚੱਲ ਰਿਹਾ ਸੀ। ਹੁਕਮਨਾਮੇ ਵਿੱਚ ਭਾਈ ਰਾਮਾ ਅਤੇ ਭਾਈ ਤਿਲੋਕਾ ਨੂੰ ਗੁਰੂ ਜੀ ਦੀ ਹਜ਼ੂਰੀ ਵਿੱਚ ਆਪਣੇ ਸਾਥੀਆਂ ਅਤੇ ਘੋੜਸਵਾਰਾਂ ਸਮੇਤ ਪਹੁੰਚਣ ਲਈ ਕਿਹਾ ਗਿਆ। ਇਸ ਵਿੱਚ ਉਨ੍ਹਾਂ ਪ੍ਰਤੀ ਗੁਰੂ ਜੀ ਦੀ ਪ੍ਰਸੰਨਤਾ ਅਤੇ ਵਿਸ਼ਵਾਸ ਦਾ ਵੀ ਪ੍ਰਗਟਾਵਾ ਹੁੰਦਾ ਹੈ। ਉਪਲਬਧ ਵੇਰਵਿਆਂ ਅਨੁਸਾਰ ਹੁਕਮਨਾਮੇ ਵਿੱਚ ਉਨ੍ਹਾਂ ਦੇ ਘਰ ਨੂੰ ਗੁਰੂ ਜੀ ਨਾਲ ਵਿਸ਼ੇਸ਼ ਸੰਬੰਧ ਵਿੱਚ ਦਰਸਾਉਂਦਾ ਵਾਕ “ਤੇਰਾ ਘਰ ਮੇਰਾ ਅਸੈ” ਵੀ ਦਰਜ ਹੈ। <ref name=":2" />
ਹੁਕਮਨਾਮੇ ਵਿੱਚ ਗੁਰੂ ਜੀ ਵੱਲੋਂ ਭਾਈ ਰਾਮਾ ਅਤੇ ਭਾਈ ਤਿਲੋਕਾ ਨੂੰ ਤੁਰੰਤ ਹਾਜ਼ਰ ਹੋਣ ਅਤੇ ਘੋੜਸਵਾਰਾਂ ਸਮੇਤ ਆਉਣ ਲਈ ਕਿਹਾ ਗਿਆ ਸੀ। ਨਾਲ ਹੀ ਉਨ੍ਹਾਂ ਲਈ ਇੱਕ ਸਿਰੋਪਾ/ਬਸਤਰ ਭੇਜਣ ਦਾ ਵੀ ਜ਼ਿਕਰ ਮਿਲਦਾ ਹੈ। ਇੱਕ ਇਤਿਹਾਸਕ ਸਰੋਤ ਵਿੱਚ ਇਸ ਹੁਕਮਨਾਮੇ ਨੂੰ ਗੁਰੂ ਗੋਬਿੰਦ ਸਿੰਘ ਜੀ ਅਤੇ ਫੂਲ ਦੇ ਘਰਾਣੇ ਵਿਚਕਾਰ ਬਣੇ ਨੇੜਲੇ ਸੰਬੰਧ ਦਾ ਮਹੱਤਵਪੂਰਨ ਸਬੂਤ ਮੰਨਿਆ ਗਿਆ ਹੈ।<ref name=":1" />
ਇਸ ਹੁਕਮਨਾਮੇ ਦੀ ਮਹੱਤਤਾ ਫੂਲ ਪਿੰਡ ਦੇ ਇਤਿਹਾਸ ਨਾਲ ਵੀ ਜੁੜਦੀ ਹੈ, ਕਿਉਂਕਿ ਭਾਈ ਰਾਮਾ ਅਤੇ ਭਾਈ ਤਿਲੋਕਾ ਬਾਬਾ ਫੂਲ ਦੇ ਪ੍ਰਮੁੱਖ ਪੁੱਤਰਾਂ ਵਿੱਚੋਂ ਸਨ। ਅਗਲੇ ਸਮੇਂ ਵਿੱਚ ਉਨ੍ਹਾਂ ਦੀ ਸੰਤਾਨ ਤੋਂ ਫੂਲਕੀਆਂ ਘਰਾਣੇ ਦੀਆਂ ਮਹੱਤਵਪੂਰਨ ਰਿਆਸਤਾਂ—ਪਟਿਆਲਾ, ਨਾਭਾ ਅਤੇ ਜੀਂਦ—ਨਾਲ ਸੰਬੰਧਿਤ ਰਾਜਸੀ ਘਰਾਣੇ ਵਿਕਸਿਤ ਹੋਏ। <ref name=":2" />
== '''ਰਾਮਪੁਰਾ ਅਤੇ ਫੂਲ ਦਾ ਸੰਬੰਧ''' ==
ਨੇੜਲੇ ਸ਼ਹਿਰ ਰਾਮਪੁਰਾ ਫੂਲ ਦੀ ਇਤਿਹਾਸਕ ਪਛਾਣ ਵੀ ਫੂਲਕੀਆਂ ਪਰਿਵਾਰ ਨਾਲ ਜੁੜੀ ਹੋਈ ਹੈ। ਇਤਿਹਾਸਕ ਪਰੰਪਰਾ ਅਨੁਸਾਰ ਚੌਧਰੀ ਫੂਲ ਦੇ ਪੁੱਤਰ ਚੌਧਰੀ ਰਾਮਾ ਨੇ 1680 ਵਿੱਚ ਰਾਮਪੁਰਾ ਵਸਾਇਆ। ਬਾਅਦ ਵਿੱਚ ਰਾਮਪੁਰਾ ਦੇ ਵਿਕਾਸ ਨੇ ਉਸ ਵੱਡੇ ਇਲਾਕੇ ਦੇ ਵਿਕਾਸ ਵਿੱਚ ਯੋਗਦਾਨ ਪਾਇਆ ਜੋ ਅੱਜ ਰਾਮਪੁਰਾ ਫੂਲ ਦੇ ਨਾਮ ਨਾਲ ਜਾਣਿਆ ਜਾਂਦਾ ਹੈ।<ref name=":2" />
ਫੂਲ ਅਤੇ ਰਾਮਪੁਰਾ ਦੇ ਇਤਿਹਾਸਕ ਸੰਬੰਧ ਦੀ ਝਲਕ ਰਾਮਪੁਰਾ ਫੂਲ ਨਾਮ ਵਿੱਚ ਵੀ ਮਿਲਦੀ ਹੈ, ਜੋ ਅੱਜ ਤਹਿਸੀਲ ਅਤੇ ਆਲੇ-ਦੁਆਲੇ ਦੇ ਇਲਾਕੇ ਦੇ ਪ੍ਰਮੁੱਖ ਸ਼ਹਿਰੀ ਕੇਂਦਰ ਦਾ ਨਾਮ ਹੈ। ਰਾਮਪੁਰਾ ਨੂੰ ਚੌਧਰੀ ਫੂਲ ਦੇ ਪੁੱਤਰ ਰਾਮਾ ਨਾਲ ਜੋੜਨ ਵਾਲੀ ਪਰੰਪਰਾ ਹੋਰ ਇਤਿਹਾਸਕ ਸਰੋਤਾਂ ਵਿੱਚ ਵੀ ਮਿਲਦੀ ਹੈ।<ref name=":2" />
ਰਾਮਪੁਰਾ ਫੂਲ ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹੇ ਦੀ ਇੱਕ ਤਹਿਸੀਲ ਹੈ। ਇਹ ਤਹਿਸੀਲ ਰਾਮਪੁਰਾ ਮੰਡੀ ਅਤੇ ਫੂਲ ਮਿਲ ਨੂੰ ਜੋੜ ਕੇ ਬਣਾਈ ਹੋਣ ਕਰਕੇ ਇਸ ਦਾ ਨਾਂ ਰਾਮਪੁਰਾ ਫੂਲ ਤਹਿਸੀਲ ਹੈ। ਇਹ ਪੰਜਾਬ ਵਿਧਾਨ ਸਭਾ ਦਾ ਇੱਕ ਹਲਕਾ ਵੀ ਹੈ ਅਤੇ ਮਾਲਵਾ ਖੇਤਰ ਦਾ ਇੱਕ ਮਹੱਤਵਪੂਰਨ ਸ਼ਹਿਰ ਅਤੇ ਵਪਾਰਕ ਕੇਂਦਰ ਹੈ।<ref name=":1" />
ਅਸਲ ਵਿੱਚ ਰਾਮਪੁਰਾ ਅਤੇ ਫੂਲ ਦੋ ਵੱਖਰੇ ਸ਼ਹਿਰੀ ਅਤੇ ਅਰਧ-ਸ਼ਹਿਰੀ ਵਸੇਬੇ ਹਨ। ਰਾਮਪੁਰਾ ਇੱਕ ਸ਼ਹਿਰ/ਕਸਬਾ ਹੈ, ਜਦਕਿ ਫੂਲ ਇੱਕ ਵੱਡਾ ਪਿੰਡ ਹੈ ਜਿਸਦਾ ਰੂਪ ਕਸਬੇ ਵਰਗਾ ਹੈ। ਦੋਵਾਂ ਦੇ ਨੇੜਲੇ ਇਤਿਹਾਸਕ ਅਤੇ ਪ੍ਰਸ਼ਾਸਕੀ ਸੰਬੰਧਾਂ ਕਾਰਨ ਇਹ ਦੋਵੇਂ ਅਕਸਰ ਇਕੱਠੇ ਰਾਮਪੁਰਾ ਫੂਲ ਦੇ ਨਾਮ ਨਾਲ ਜਾਣੇ ਜਾਂਦੇ ਹਨ।<ref name=":2" />
ਰਾਮਪੁਰਾ ਫੂਲ ਵਿੱਚ 21 ਨਗਰ ਵਾਰਡ ਹੋਣ ਦੀ ਜਾਣਕਾਰੀ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ, ਜਿਨ੍ਹਾਂ ਵਿੱਚੋਂ 16.5 ਵਾਰਡ ਰਾਮਪੁਰਾ ਅਤੇ 4.5 ਵਾਰਡ ਫੂਲ ਨਾਲ ਜੋੜੇ ਜਾਂਦੇ ਹਨ।<ref name=":2" /><ref name=":2" />
ਰਾਮਪੁਰਾ ਨਾਲ 17 ਮਿਊਂਸਪਲ ਕੌਂਸਲਰ (MCs), ਜਦਕਿ ਫੂਲ ਨਾਲ ਚਾਰ ਮਿਊਂਸਪਲ ਕੌਂਸਲਰ (MCs) ਜੋੜੇ ਜਾਂਦੇ ਹਨ।<ref name=":1" />
== '''ਭੂਗੋਲ ਅਤੇ ਪ੍ਰਸ਼ਾਸਨ''' ==
ਫੂਲ ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹੇ ਦੇ ਮਾਲਵਾ ਖੇਤਰ ਵਿੱਚ ਸਥਿਤ ਹੈ। ਪ੍ਰਸ਼ਾਸਕੀ ਤੌਰ 'ਤੇ ਇਹ ਰਾਮਪੁਰਾ ਫੂਲ ਤਹਿਸੀਲ ਅਧੀਨ ਆਉਂਦਾ ਹੈ। ਭਾਰਤ ਦੀ 2011 ਦੀ ਜਨਗਣਨਾ ਵਿੱਚ ਫੂਲ ਨੂੰ ਰਾਮਪੁਰਾ ਫੂਲ ਉਪ-ਜ਼ਿਲ੍ਹੇ ਅਧੀਨ ਦਰਜ ਕੀਤਾ ਗਿਆ ਹੈ ਅਤੇ ਇਸ ਦਾ location code 035703 ਹੈ।<ref name=":1" />
ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹਾ ਕਈ ਪ੍ਰਸ਼ਾਸਕੀ ਵਿਕਾਸ ਬਲਾਕਾਂ ਵਿੱਚ ਵੰਡਿਆ ਹੋਇਆ ਹੈ, ਜਿਨ੍ਹਾਂ ਵਿੱਚ ਫੂਲ ਵਿਕਾਸ ਬਲਾਕ ਵੀ ਸ਼ਾਮਲ ਹੈ। ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹਾ ਪ੍ਰਸ਼ਾਸਨ ਅਨੁਸਾਰ ਫੂਲ ਬਲਾਕ ਵਿੱਚ 13 ਪਿੰਡ ਅਤੇ 24 ਪੰਚਾਇਤਾਂ ਹਨ।<ref name=":2" />
ਜ਼ਿਲ੍ਹਾ ਪ੍ਰਸ਼ਾਸਨ ਅਨੁਸਾਰ ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹੇ ਵਿੱਚ ਬਠਿੰਡਾ, ਰਾਮਪੁਰਾ ਫੂਲ (ਰਾਮਪੁਰਾ+ਫੂਲ), ਮੌੜ ਅਤੇ ਤਲਵੰਡੀ ਸਾਬੋ ਤਹਿਸੀਲਾਂ ਹਨ ਅਤੇ ਇਨ੍ਹਾਂ ਦੇ ਅਧੀਨ ਨੌਂ ਵਿਕਾਸ ਬਲਾਕ ਹਨ, ਜਿਨ੍ਹਾਂ ਵਿੱਚ ਫੂਲ ਵੀ ਸ਼ਾਮਲ ਹੈ।<ref name=":1" />
ਫੂਲ ਪਿੰਡ ਦਾ ਇਤਿਹਾਸਕ ਸੰਬੰਧ ਰਿਆਸਤਾਂ ਦੇ ਸਮੇਂ ਇੱਕ ਰਾਜ ਨਾਲ ਵੀ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ। ਬਾਅਦ ਵਿੱਚ ਇਸਨੂੰ ਸਬ-ਡਿਵੀਜ਼ਨ ਜ਼ਿਲ੍ਹੇ ਵਿੱਚ ਤਬਦੀਲ ਕੀਤੇ ਜਾਣ ਦੀ ਜਾਣਕਾਰੀ ਮਿਲਦੀ ਹੈ। ਇਸ ਸਬ-ਡਿਵੀਜ਼ਨ ਜ਼ਿਲ੍ਹੇ ਦੇ ਪਹਿਲੇ ਡਿਪਟੀ ਕਮਿਸ਼ਨਰ (DC) ਵਜੋਂ ਭਾਈ ਕਾਹਨ ਸਿੰਘ ਨਾਭਾ ਦਾ ਨਾਮ 1896 ਈਸਵੀ ਨਾਲ ਜੋੜਿਆ ਜਾਂਦਾ ਹੈ।<ref name=":2" />
“ਫੂਲ” ਸਬ-ਡਿਵੀਜ਼ਨ ਜ਼ਿਲ੍ਹੇ ਦੀ ਆਪਣੀ ਸਰਕਾਰੀ ਮੋਹਰ ਹੋਣ ਦੀ ਜਾਣਕਾਰੀ ਵੀ ਦਿੱਤੀ ਜਾਂਦੀ ਹੈ। ਵਰਤਮਾਨ ਸਮੇਂ ਵਿੱਚ ਫੂਲ ਨੂੰ ਤਹਿਸੀਲ ਨਾਲ ਸੰਬੰਧਿਤ ਕੀਤਾ ਜਾਂਦਾ ਹੈ।<ref name=":2" />
2011 ਦੀ ਜਨਗਣਨਾ ਅਨੁਸਾਰ ਫੂਲ ਪਿੰਡ ਦਾ location code ਜਾਂ village code 035703 ਹੈ।<ref name=":2" />
ਫੂਲ ਪਿੰਡ ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹੇ ਦੀ ਰਾਮਪੁਰਾ ਫੂਲ ਤਹਿਸੀਲ ਵਿੱਚ ਸਥਿਤ ਹੈ। ਬਠਿੰਡਾ ਅਤੇ ਰਾਮਪੁਰਾ ਫੂਲ ਕ੍ਰਮਵਾਰ ਫੂਲ ਪਿੰਡ ਲਈ ਜ਼ਿਲ੍ਹਾ ਅਤੇ ਉਪ-ਜ਼ਿਲ੍ਹਾ ਮੁੱਖ ਦਫ਼ਤਰ ਹਨ। ਪਿੰਡ ਦਾ ਕੁੱਲ ਭੂਗੋਲਿਕ ਖੇਤਰਫਲ 3,560 ਹੈਕਟੇਅਰ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ।<ref name=":2" />
== '''ਇਤਿਹਾਸਕ ਮਹੱਤਤਾ''' ==
ਫੂਲ ਦੀ ਮਹੱਤਤਾ ਸਿਰਫ਼ ਇੱਕ ਵਸੇਬੇ ਵਜੋਂ ਨਹੀਂ ਹੈ, ਸਗੋਂ ਇਸਦਾ ਸੰਬੰਧ ਚੌਧਰੀ ਫੂਲ ਅਤੇ ਬਾਅਦ ਵਿੱਚ ਉਭਰੇ ਫੂਲਕੀਆਂ ਰਾਜਸੀ ਘਰਾਣਿਆਂ ਨਾਲ ਵੀ ਹੈ। ਫੂਲਕੀਆਂ ਰਿਆਸਤਾਂ ਦਾ ਰਾਜਨੀਤਿਕ ਇਤਿਹਾਸ ਦੱਖਣ-ਪੂਰਬੀ ਪੰਜਾਬ ਅਤੇ ਸਤਲੁਜ ਦੇ ਦੱਖਣ ਵਾਲੇ ਖੇਤਰ ਦੇ ਇਤਿਹਾਸ ਦਾ ਮਹੱਤਵਪੂਰਨ ਹਿੱਸਾ ਰਿਹਾ ਹੈ। Census ਦੇ ਇਤਿਹਾਸਕ ਜ਼ਿਲ੍ਹਾ ਸਰੋਤ ਵੀ ਪਟਿਆਲਾ ਅਤੇ ਨਾਭਾ ਦੇ ਇਤਿਹਾਸ ਨੂੰ ਫੂਲਕੀਆਂ ਪਰਿਵਾਰ ਨਾਲ ਜੋੜਦੇ ਹਨ।<ref name=":2" />
ਫੂਲ ਦਾ ਫੂਲਕੀਆਂ ਵੰਸ਼ ਨਾਲ ਇਤਿਹਾਸਕ ਸੰਬੰਧ ਆਲੇ-ਦੁਆਲੇ ਦੇ ਖੇਤਰ ਵਿੱਚ ਸਥਾਨਾਂ ਅਤੇ ਸੰਸਥਾਵਾਂ ਦੇ ਨਾਮਾਂ ਵਿੱਚ ਵੀ ਦਿਖਾਈ ਦਿੰਦਾ ਹੈ।<ref name=":2" />
ਸੱਭਿਆਚਾਰ ਅਤੇ ਭਾਸ਼ਾ
ਪੰਜਾਬ ਦੇ ਮਾਲਵਾ ਖੇਤਰ ਦੇ ਹੋਰ ਵਸੇਬਿਆਂ ਵਾਂਗ ਫੂਲ ਵੀ ਪੰਜਾਬੀ ਸੱਭਿਆਚਾਰਕ ਅਤੇ ਭਾਸ਼ਾਈ ਖੇਤਰ ਦਾ ਹਿੱਸਾ ਹੈ। ਆਲੇ-ਦੁਆਲੇ ਦੇ ਖੇਤਰ ਦੀ ਪ੍ਰਮੁੱਖ ਭਾਸ਼ਾ ਪੰਜਾਬੀ ਹੈ।<ref name=":2" />
ਇਸ ਖੇਤਰ ਦੀ ਸੱਭਿਆਚਾਰਕ ਪਛਾਣ ਖੇਤੀਬਾੜੀ ਦੀਆਂ ਪਰੰਪਰਾਵਾਂ, ਪਿੰਡੂ ਸਮਾਜ ਅਤੇ ਮਾਲਵਾ ਖੇਤਰ ਦੀ ਇਤਿਹਾਸਕ ਵਿਰਾਸਤ ਨਾਲ ਨੇੜਿਓਂ ਜੁੜੀ ਹੋਈ ਹੈ।<ref name=":2" />
== '''ਕਿਲ੍ਹਾ ਫੂਲ''' ==
[[ਤਸਵੀਰ:Qila Mubarak Phul.jpg|thumb|ਚੌਧਰੀ ਫੂਲ (ਬਾਬਾ ਫੂਲ) ਦਾ ਕਿਲ੍ਹਾ - ਕਿਲ੍ਹਾ ਮੁਬਾਰਕ ਫੂਲ]]
ਫੂਲ ਪਿੰਡ ਦੇ ਪ੍ਰਮੁੱਖ ਇਤਿਹਾਸਕ ਸਥਾਨਾਂ ਵਿੱਚੋਂ ਇੱਕ ਕਿਲ੍ਹਾ ਮੁਬਾਰਕ ਫੂਲ ਟਾਊਨ ਹੈ। ਮੂਲ ਕਿਲ੍ਹਾ ਬਾਬਾ ਫੂਲ ਜੀ ਵੱਲੋਂ ਪਿੰਡ ਦੀ ਸਥਾਪਨਾ ਤੋਂ ਥੋੜ੍ਹੇ ਸਮੇਂ ਬਾਅਦ 1654 ਈਸਵੀ ਵਿੱਚ ਕੱਚੇ ਕਿਲ੍ਹੇ ਵਜੋਂ ਬਣਾਇਆ ਗਿਆ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ।<ref name=":2" /><ref name=":2" />
ਬਾਅਦ ਵਿੱਚ ਜੀਂਦ ਦੇ ਮਹਾਰਾਜਾ ਗਜਪਤ ਸਿੰਘ ਦੇ ਸਮੇਂ ਕਿਲ੍ਹੇ ਨੂੰ ਮਜ਼ਬੂਤ ਕਰਕੇ ਪੱਕੀ ਬਣਤਰ ਵਿੱਚ ਤਬਦੀਲ ਕਰਨ ਦੀ ਜਾਣਕਾਰੀ ਮਿਲਦੀ ਹੈ। ਕਿਲ੍ਹੇ ਵਿੱਚ ਰਾਜਸੀ ਦਰਬਾਰ ਨਾਲ ਸੰਬੰਧਿਤ ਕੁਝ ਵਿਵਸਥਾਵਾਂ ਵੀ ਕੀਤੀਆਂ ਗਈਆਂ ਦੱਸੀਆਂ ਜਾਂਦੀਆਂ ਹਨ।<ref name=":1" />
ਕਿਲ੍ਹਾ ਅੱਜ ਵੀ ਪਿੰਡ ਵਿੱਚ ਮੌਜੂਦ ਹੈ, ਹਾਲਾਂਕਿ ਇਸ ਦੀ ਮੌਜੂਦਾ ਹਾਲਤ ਖ਼ਰਾਬ ਦੱਸੀ ਜਾਂਦੀ ਹੈ।<ref name=":2" />
== '''ਤਲਾਬ''' ==
ਕਿਲ੍ਹਾ ਮੁਬਾਰਕ ਤੋਂ ਇਲਾਵਾ ਫੂਲ ਪਿੰਡ ਵਿੱਚ ਇੱਕ ਇਤਿਹਾਸਕ ਤਲਾਬ ਵੀ ਹੈ, ਜੋ ਪਿੰਡ ਦੀਆਂ ਅਦਾਲਤਾਂ/ਕੋਰਟਾਂ ਦੇ ਨੇੜੇ ਮੌਜੂਦ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ।<ref name=":2" />
ਸਥਾਨਕ ਪਰੰਪਰਾ ਅਨੁਸਾਰ ਇਸ ਤਲਾਬ ਦਾ ਨਿਰਮਾਣ ਮਹਾਰਾਜਾ ਜਸਵੰਤ ਸਿੰਘ ਨਾਭਾ ਦੀ ਦੂਜੀ ਮਹਾਰਾਣੀ ਚੰਦ ਕੌਰ ਨੇ ਬਣਾਇਆ ਸੀ। ਕਿਹਾ ਜਾਂਦਾ ਹੈ ਕਿ ਉਨ੍ਹਾਂ ਨੇ ਆਪਣੇ ਪ੍ਰਸ਼ਾਸਕੀ ਸਮੇਂ ਦੌਰਾਨ ਇਸ ਦੇ ਨਿਰਮਾਣ ਦਾ ਪ੍ਰਬੰਧ ਕਰਵਾਇਆ ਸੀ।<ref name=":2" />
ਮਹਾਰਾਣੀ ਚੰਦ ਕੌਰ ਨੇ ਆਪਣੇ ਪਤੀ ਮਹਾਰਾਜਾ ਜਸਵੰਤ ਸਿੰਘ ਦੀ ਮੌਤ ਤੋਂ ਬਾਅਦ 1847 ਤੋਂ 1857 ਤੱਕ ਨਾਭਾ ਰਿਆਸਤ ਦਾ ਪ੍ਰਬੰਧ ਸੰਭਾਲਿਆ। ਉਸ ਸਮੇਂ ਉਨ੍ਹਾਂ ਦਾ ਪੁੱਤਰ ਭਗਵਾਨ ਸਿੰਘ ਨਾਬਾਲਗ ਸੀ।<ref name=":2" />
ਮਹਾਰਾਣੀ ਚੰਦ ਕੌਰ ਨੂੰ ਸਰਦਾਰ ਰਾਮ ਸਿੰਘ ਢਿੱਲੋਂ ਦੀ ਧੀ ਅਤੇ ਸਰਦਾਰ ਹਰਨਾਮ ਸਿੰਘ ਢਿੱਲੋਂ ਦੀ ਭੂਆ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ। ਹਰਨਾਮ ਸਿੰਘ ਵਾਲਾ ਪਿੰਡ ਦਾ ਨਾਮ ਵੀ ਸਰਦਾਰ ਹਰਨਾਮ ਸਿੰਘ ਢਿੱਲੋਂ ਦੇ ਨਾਂ ਤੇ ਹੀ ਪਿਆ ਹੈ। ਸਥਾਨਕ ਪਰੰਪਰਾ ਵਿੱਚ ਇਸਨੂੰ ਢਿੱਲੋਂ ਭਾਈਚਾਰੇ ਨਾਲ ਸੰਬੰਧਿਤ ਪਿੰਡ ਵਜੋਂ ਦਰਸਾਇਆ ਜਾਂਦਾ ਹੈ।<ref name=":2" />
== '''ਫੂਲ ਪਿੰਡ ਦੇ ਚਾਰ ਦਰਵਾਜ਼ੇ''' ==
ਇਤਿਹਾਸਕ ਤੌਰ 'ਤੇ ਫੂਲ ਪਿੰਡ ਦੇ ਚਾਰ ਮੁੱਖ ਦਰਵਾਜ਼ੇ ਦੱਸੇ ਜਾਂਦੇ ਹਨ:<ref name=":2" />
* ਢਿਪਾਲੀ ਗੇਟ — ਇਹ ਅਜੇ ਵੀ ਪੂਰੀ ਤਰ੍ਹਾਂ ਮੌਜੂਦ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ।
* ਚੋਟੀਆ ਗੇਟ
* ਰਾਮਪੁਰਾ ਗੇਟ
* ਮਹਿਰਾਜ ਗੇਟ — ਇਹ ਅਧੂਰਾ ਹੈ ਪਰ ਅਜੇ ਵੀ ਮੌਜੂਦ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ।
ਰਾਜਿਆਂ ਅਤੇ ਮਹਾਰਾਜਿਆਂ ਦੇ ਸਮੇਂ ਇਹ ਚਾਰੇ ਦਰਵਾਜ਼ੇ ਇੱਕ ਚੌੜੀ ਅਤੇ ਵੱਡੀ ਕੰਧ ਨਾਲ ਜੁੜੇ ਹੋਏ ਦੱਸੇ ਜਾਂਦੇ ਹਨ। ਇਹ ਕੰਧ ਪੂਰੇ ਫੂਲ ਪਿੰਡ ਨੂੰ ਘੇਰਦੀ ਸੀ। ਇਹ ਕੰਧ ਇੰਨੀ ਚੌੜੀ ਸੀ ਕਿ ਰਾਜਿਆਂ ਅਤੇ ਮਹਾਰਾਜਿਆਂ ਦੇ ਸਮੇਂ ਰੱਥ ਦੀ ਸਹਾਇਤਾ ਨਾਲ ਕੰਧ ਉੱਪਰੋਂ ਪਿੰਡ ਦੀ ਨਿਗਰਾਨੀ ਕੀਤੀ ਜਾ ਸਕਦੀ ਸੀ।<ref name=":2" /><ref name=":2" />
ਅੱਜ ਪਿੰਡ ਵਿੱਚ ਇਸ ਕੰਧ ਦੇ ਕੋਈ ਸਪਸ਼ਟ ਦਿੱਖਣ ਵਾਲੇ ਅਵਸ਼ੇਸ਼ ਮੌਜੂਦ ਨਹੀਂ ਹਨ। ਚਾਰੇ ਦਰਵਾਜ਼ਿਆਂ ਉੱਤੇ ਸਿਪਾਹੀ ਤਾਇਨਾਤ ਰਹਿੰਦੇ ਸਨ ਅਤੇ ਦਰਵਾਜ਼ਿਆਂ ਵਿੱਚ ਵੱਡੇ ਲੱਕੜ ਦੇ ਫਾਟਕ ਲੱਗੇ ਹੁੰਦੇ ਸਨ। ਉਸ ਸਮੇਂ ਰਿਵਾਜ ਅਨੁਸਾਰ ਇਹ ਦਰਵਾਜ਼ੇ ਸ਼ਾਮ ਨੂੰ ਬੰਦ ਅਤੇ ਸਵੇਰੇ ਖੋਲ੍ਹੇ ਜਾਂਦੇ ਸਨ।<ref name=":1" />
== '''ਰਾਈਆਂ ਵਾਲਾ ਖੂਹ''' ==
ਫੂਲ ਇੱਕ ਵੱਡਾ ਅਤੇ ਇਤਿਹਾਸਕ ਮਹੱਤਤਾ ਵਾਲਾ ਪਿੰਡ ਹੋਣ ਕਰਕੇ ਇੱਥੇ ਕਈ ਇਤਿਹਾਸਕ ਸਥਾਨਾਂ ਅਤੇ ਪਰੰਪਰਾਵਾਂ ਨਾਲ ਜੁੜੀਆਂ ਕਹਾਣੀਆਂ ਮਿਲਦੀਆਂ ਹਨ।<ref name=":1" />
ਸਥਾਨਕ ਪਰੰਪਰਾ ਅਨੁਸਾਰ ਸੋਲ੍ਹਵੀਂ ਸਦੀ ਵਿੱਚ, ਜਦੋਂ ਅੱਜ ਫੂਲ ਪਿੰਡ ਵਾਲਾ ਇਲਾਕਾ ਬੰਜਰ ਅਤੇ ਬੇਆਬਾਦ ਸੀ, ਉਸ ਸਮੇਂ ਪ੍ਰਸਿੱਧ ਵਪਾਰੀ ਲੱਖੀ ਸ਼ਾਹ ਵਣਜਾਰਾ ਕਿਸੇ ਹੋਰ ਇਲਾਕੇ ਵਿੱਚ ਘੋੜੀਆਂ ਖਰੀਦਣ ਲਈ ਜਾਂਦੇ ਸਮੇਂ ਇਸ ਇਲਾਕੇ ਵਿੱਚ ਰੁਕਿਆ ਸੀ। ਜਦੋਂ ਲੱਖੀ ਸ਼ਾਹ ਵਣਜਾਰਾ ਇੱਥੇ ਰੁਕਿਆ ਤਾਂ ਉਸਨੇ ਇਸ ਇਲਾਕੇ ਨੂੰ ਬਹੁਤ ਬੰਜਰ ਅਤੇ ਸੁੰਨਸਾਨ ਪਾਇਆ।<ref name=":1" />
ਲੱਖੀ ਸ਼ਾਹ ਵਣਜਾਰਾ ਧਨਾਢ ਵਿਅਕਤੀ ਸੀ ਅਤੇ ਉਸਦੇ ਨਾਲ ਬਹੁਤ ਸਾਰੀਆਂ ਗਊਆਂ ਵੀ ਸਨ। ਕੁਝ ਸਮੇਂ ਬਾਅਦ ਉਸ ਦੀਆਂ ਗਊਆਂ ਨੂੰ ਬਹੁਤ ਜ਼ਿਆਦਾ ਪਿਆਸ ਲੱਗੀ। ਉਸਨੇ ਉਨ੍ਹਾਂ ਲਈ ਪਾਣੀ ਦਾ ਸਰੋਤ ਲੱਭਣ ਦੀ ਕੋਸ਼ਿਸ਼ ਕੀਤੀ ਪਰ ਕੋਈ ਪਾਣੀ ਦਾ ਸਰੋਤ ਨਾ ਮਿਲਿਆ।<ref name=":1" /><ref name=":2" />
ਇਸ ਤੋਂ ਬਾਅਦ ਉਸਨੇ ਇਲਾਕੇ ਵਿੱਚ ਇੱਕ ਖੂਹ ਲਗਾਉਣ ਦਾ ਫ਼ੈਸਲਾ ਕੀਤਾ। ਇਲਾਕੇ ਦੀ ਮਿੱਟੀ ਪੱਥਰਾਂ ਅਤੇ ਰੋੜਿਆਂ ਨਾਲ ਭਰੀ ਹੋਈ ਸੀ। ਇਸ ਦੇ ਬਾਵਜੂਦ ਲੱਖੀ ਸ਼ਾਹ ਵਣਜਾਰਾ ਮਿਹਨਤੀ ਸੀ। ਉਸਨੇ ਜ਼ਮੀਨ ਵਿੱਚੋਂ ਪੱਥਰ ਇਕੱਠੇ ਕਰਕੇ ਖੇਤਰ ਨੂੰ ਸਾਫ਼ ਕੀਤਾ ਅਤੇ ਖੂਹ ਦੀ ਉਸਾਰੀ ਲਈ ਥਾਂ ਤਿਆਰ ਕੀਤੀ।<ref name=":2" /><ref name=":1" />
ਨੀਂਹ ਦਾ ਕੰਮ ਪੂਰਾ ਹੋਣ ਤੋਂ ਬਾਅਦ ਰਾਜਸਥਾਨ ਤੋਂ ਉੱਚ ਗੁਣਵੱਤਾ ਵਾਲਾ ਚੂਨਾ ਲਿਆਂਦਾ ਗਿਆ। ਲੋੜੀਂਦੀ ਸਮੱਗਰੀ ਮਿਲਾ ਕੇ ਚੂਨਾ ਤਿਆਰ ਕੀਤਾ ਗਿਆ। ਆਪਣੀ ਮਿਹਨਤ ਨਾਲ ਲੱਖੀ ਸ਼ਾਹ ਵਣਜਾਰੇ ਨੇ ਇੱਕ ਵੱਡਾ ਅਤੇ ਸੁੰਦਰ ਖੂਹ ਬਣਾਇਆ।<ref name=":2" />
ਇਹ ਖੂਹ ਅੱਜ ਵੀ ਫੂਲ ਪਿੰਡ ਵਿੱਚ ਰਾਈਆਂ ਵਾਲੇ ਖੂਹ ਦੇ ਨਾਮ ਨਾਲ ਜਾਣਿਆ ਜਾਂਦਾ ਹੈ। ਖੂਹ ਦੀ ਉਸਾਰੀ ਵਿੱਚ ਰਾਜਸਥਾਨ ਤੋਂ ਲਿਆਂਦੇ ਚੂਨੇ ਅਤੇ “ਡੋਟਾ” ਆਕਾਰ ਦੀਆਂ ਇੱਟਾਂ ਦੀ ਵਰਤੋਂ ਕੀਤੀ ਗਈ ਹੈ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਲਾਹੌਰੀ ਇੱਟਾਂ ਵੀ ਕਿਹਾ ਜਾਂਦਾ ਹੈ।<ref name=":2" />
ਇਸ ਖੂਹ ਦੀ ਡੂੰਘਾਈ ਲਗਭਗ 250 ਫੁੱਟ ਹੈ। ਖੂਹ ਵਿੱਚੋਂ ਪਾਣੀ ਕੱਢਣ ਲਈ ਰਵਾਇਤੀ ਤੌਰ 'ਤੇ ਚਮੜੇ ਦੀਆਂ ਬਾਲਟੀਆਂ ਵਰਤੀਆਂ ਜਾਂਦੀਆਂ ਸਨ, ਜਿਨ੍ਹਾਂ ਨੂੰ ਬੋਕੇ ਕਿਹਾ ਜਾਂਦਾ ਸੀ। ਹਰ ਬੋਕਾ ਲਗਭਗ ਦੋ ਮਣ ਪਾਣੀ ਰੱਖਣ ਦੇ ਸਮਰੱਥ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ। ਖੂਹ ਵਿੱਚੋਂ ਪਾਣੀ ਕੱਢਣ ਲਈ ਲੱਜ ਨਾਮ ਦੀ ਰੱਸੀ ਵਰਤੀ ਜਾਂਦੀ ਸੀ, ਜਿਸਦਾ ਭਾਰ ਵੀ ਲਗਭਗ ਦੋ ਮਣ ਦੱਸਿਆ ਜਾਂਦਾ ਹੈ।<ref name=":1" />
ਇਸ ਖੂਹ ਵਿੱਚੋਂ ਪਾਣੀ ਕੱਢਣਾ ਹਰ ਵਿਅਕਤੀ ਲਈ ਸੌਖਾ ਕੰਮ ਨਹੀਂ ਸੀ। ਇਸ ਲਈ ਬਖ਼ਤੌਰ ਸਿੰਘ ਅਤੇ ਲਾਲ ਸਿੰਘ ਲੋਕਾਂ ਦੀ ਸੇਵਾ ਕਰਦੇ ਹੋਏ ਖੂਹ ਵਿੱਚੋਂ ਪਾਣੀ ਕੱਢਦੇ ਸਨ। ਦੋਵੇਂ ਭਰਾ ਮਹਿਰੇ ਸਿੱਖ ਅਤੇ ਫੂਲ ਪਿੰਡ ਦੇ ਵਸਨੀਕ ਸਨ। ਬਖ਼ਤੌਰ ਸਿੰਘ ਦੀ ਪਤਨੀ ਬੀਬੀ ਸੰਤ ਕੌਰ ਵੀ ਚਮੜੇ ਦੀਆਂ ਬਾਲਟੀਆਂ ਸੰਭਾਲਣ ਵਿੱਚ ਮਦਦ ਕਰਕੇ ਸੇਵਾ ਕਰਦੀ ਸੀ।<ref name=":2" />
ਪਰਿਵਾਰ ਨਾਲ ਸੰਬੰਧਿਤ ਪਰੰਪਰਾ ਅਨੁਸਾਰ ਉਨ੍ਹਾਂ ਨੇ ਲਗਭਗ 50 ਸਾਲ ਤੱਕ ਬਿਨਾਂ ਕਿਸੇ ਨਿੱਜੀ ਲਾਭ ਦੀ ਇੱਛਾ ਤੋਂ ਇਹ ਸੇਵਾ ਕੀਤੀ। ਉਨ੍ਹਾਂ ਦੇ ਪਰਿਵਾਰ ਦੇ ਇੱਕ ਮੈਂਬਰ ਸੁਖਜੀਤ ਸਿੰਘ ਸੁੱਖੀ (MC) ਵੱਲੋਂ ਵੀ ਸਥਾਨਕ ਲੋਕਾਂ ਦੀ ਸੇਵਾ ਜਾਰੀ ਹੈ।<ref name=":2" />
ਸਥਾਨਕ ਪਰੰਪਰਾ ਅਨੁਸਾਰ, ਜਦੋਂ ਫੂਲ ਦਾ ਇਲਾਕਾ ਅਜੇ ਬੰਜਰ ਸੀ, ਤਾਂ ਲੱਖੀ ਸ਼ਾਹ ਵਣਜਾਰਾ ਇਸ ਇਲਾਕੇ ਵਿੱਚ ਆਉਣ ਵਾਲਾ ਪਹਿਲਾ ਵਿਅਕਤੀ ਸੀ ਅਤੇ ਰਾਈਆਂ ਵਾਲਾ ਖੂਹ ਮੌਜੂਦਾ ਫੂਲ ਪਿੰਡ ਦੀ ਧਰਤੀ ਉੱਤੇ ਬਣਿਆ ਪਹਿਲਾ ਢਾਂਚਾ ਸੀ।<ref name=":2" />
== '''ਜਨਗਣਨਾ ਰਿਕਾਰਡ''' ==
ਭਾਰਤ ਦੀ 2011 ਦੀ ਜਨਗਣਨਾ ਵਿੱਚ ਫੂਲ ਨੂੰ “Phul (Rural) (39) (Part)” ਵਜੋਂ ਰਾਮਪੁਰਾ ਫੂਲ ਤਹਿਸੀਲ ਅਧੀਨ ਦਰਜ ਕੀਤਾ ਗਿਆ ਹੈ। ਸਰਕਾਰੀ Census database ਵਿੱਚ ਇਸ ਵਸੇਬੇ ਦਾ location code 035703 ਦਰਜ ਹੈ।<ref name=":1" /><ref name=":2" />
ਜਨਗਣਨਾ ਦੇ ਇਹ ਰਿਕਾਰਡ ਫੂਲ ਪਿੰਡ ਅਤੇ ਵੱਖਰੇ ਫੂਲ ਵਿਕਾਸ ਬਲਾਕ ਵਿੱਚ ਅੰਤਰ ਕਰਨ ਲਈ ਮਹੱਤਵਪੂਰਨ ਹਨ। ਫੂਲ ਵਿਕਾਸ ਬਲਾਕ ਵਿੱਚ ਕਈ ਪਿੰਡ ਸ਼ਾਮਲ ਹਨ ਅਤੇ ਇਹ ਪਿੰਡ ਦੀ ਇਕੱਲੀ administrative entry ਤੋਂ ਵੱਖਰਾ ਪ੍ਰਸ਼ਾਸਕੀ unit ਹੈ। Census ਦੇ CD Block records ਵਿੱਚ Phul ਨੂੰ development/CD block ਵਜੋਂ ਵੀ ਦਰਜ ਕੀਤਾ ਗਿਆ ਹੈ।<ref name=":2" />
ਜ਼ਿਲ੍ਹਾ ਜਨਗਣਨਾ ਹੈਂਡਬੁੱਕ ਵਿੱਚ ਵੀ ਫੂਲ ਵਿਕਾਸ ਬਲਾਕ ਨੂੰ ਵੱਖਰੇ ਤੌਰ 'ਤੇ ਦਰਸਾਇਆ ਗਿਆ ਹੈ ਅਤੇ ਬਲਾਕ ਪੱਧਰ ਦੀ ਜਨਸੰਖਿਆ ਸੰਬੰਧੀ ਜਾਣਕਾਰੀ ਦਿੱਤੀ ਗਈ ਹੈ।<ref name=":2" /><ref name=":2" />
== '''ਸੱਭਿਆਚਾਰ ਅਤੇ ਭਾਸ਼ਾ''' ==
ਪੰਜਾਬ ਦੇ ਮਾਲਵਾ ਖੇਤਰ ਦੇ ਹੋਰ ਵਸੇਬਿਆਂ ਵਾਂਗ ਫੂਲ ਵੀ ਪੰਜਾਬੀ ਸੱਭਿਆਚਾਰਕ ਅਤੇ ਭਾਸ਼ਾਈ ਖੇਤਰ ਦਾ ਹਿੱਸਾ ਹੈ। ਆਲੇ-ਦੁਆਲੇ ਦੇ ਖੇਤਰ ਦੀ ਪ੍ਰਮੁੱਖ ਭਾਸ਼ਾ ਪੰਜਾਬੀ ਹੈ।<ref name=":2" />
ਇਸ ਖੇਤਰ ਦੀ ਸੱਭਿਆਚਾਰਕ ਪਛਾਣ ਖੇਤੀਬਾੜੀ ਦੀਆਂ ਪਰੰਪਰਾਵਾਂ, ਪਿੰਡੂ ਸਮਾਜ ਅਤੇ ਮਾਲਵਾ ਖੇਤਰ ਦੀ ਇਤਿਹਾਸਕ ਵਿਰਾਸਤ ਨਾਲ ਨੇੜਿਓਂ ਜੁੜੀ ਹੋਈ ਹੈ।<ref name=":1" /><ref name=":2" />
== '''ਸਿੱਖਿਆ''' ==
ਫੂਲ ਅਤੇ ਇਸਦੇ ਆਲੇ-ਦੁਆਲੇ ਦੇ ਖੇਤਰ ਵਿੱਚ ਸਿੱਖਿਆ ਦੇਣ ਵਾਲੀਆਂ ਸੰਸਥਾਵਾਂ ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹੇ ਦੇ ਵਿਆਪਕ ਸਿੱਖਿਆ ਨੈੱਟਵਰਕ ਦਾ ਹਿੱਸਾ ਹਨ। ਫੂਲ ਨੇੜਲੇ ਪਿੰਡਾਂ ਅਤੇ ਪੇਂਡੂ ਖੇਤਰ ਦੇ ਵਿਦਿਆਰਥੀਆਂ ਲਈ ਸਿੱਖਿਆ ਸੰਬੰਧੀ ਸਹੂਲਤਾਂ ਦਾ ਕੇਂਦਰ ਵੀ ਹੈ।<ref name=":1" />
== '''ਆਵਾਜਾਈ''' ==
ਫੂਲ, ਰਾਮਪੁਰਾ ਫੂਲ ਖੇਤਰ ਦੇ ਨੇੜਲੇ ਵਸੇਬਿਆਂ ਨਾਲ ਸਥਾਨਕ ਸੜਕੀ ਨੈੱਟਵਰਕ ਰਾਹੀਂ ਜੁੜਿਆ ਹੋਇਆ ਹੈ। ਨੇੜਲਾ ਸ਼ਹਿਰੀ ਕੇਂਦਰ ਰਾਮਪੁਰਾ ਫੂਲ ਆਲੇ-ਦੁਆਲੇ ਦੇ ਪਿੰਡਾਂ ਲਈ ਮਹੱਤਵਪੂਰਨ ਵਪਾਰਕ ਅਤੇ ਪ੍ਰਸ਼ਾਸਕੀ ਕੇਂਦਰ ਵਜੋਂ ਕੰਮ ਕਰਦਾ ਹੈ।<ref name=":1" />
== '''ਨੇੜਲੇ ਪਿੰਡ ਅਤੇ ਸ਼ਹਿਰ''' ==
ਫੂਲ ਪਿੰਡ ਦੇ ਨੇੜੇ ਸਥਿਤ ਪਿੰਡਾਂ ਅਤੇ ਸ਼ਹਿਰਾਂ ਵਿੱਚ ਸ਼ਾਮਲ ਹਨ:<ref name=":1" /><ref name=":1" />
* ਰਾਮਪੁਰਾ ਸ਼ਹਿਰ
* ਗਿੱਲ ਕਲਾਂ
* ਬੁਰਜ ਮਾਨਸਾਹੀਆ
* ਚੋਟੀਆਂ
* ਢਿਪਾਲੀ
* ਧਿੰਗੜ
* ਸਿਧਾਣਾ
* ਮਹਿਰਾਜ
== '''ਹਵਾਲੇ''' ==
* Census of India. District Census Handbook: Bathinda, 2011. Office of the Registrar General & Census Commissioner, India.
* Census of India. Primary Census Abstract: District Bathinda, Punjab, 2011. Office of the Registrar General & Census Commissioner, India.
* District Administration, Bathinda, Government of Punjab. Village & Panchayats.
* District Administration, Bathinda, Government of Punjab. Administrative Setup.
* District Administration, Bathinda, Government of Punjab. Blocks.
* Low, D. A., ed. The Political Inheritance of Pakistan. Springer, 1991.
* Singh, Harbans. The Encyclopaedia of Sikhism. Volume 3. Punjabi University, Patiala, 1992–1998, pp. 336–337.
* Ramusack, Barbara N. The Indian Princes and Their States. Cambridge University Press, 2004.
* Imperial Gazetteer of India, Volume XI. Historical account of the Phulkian houses of Patiala, Jind and Nabha.
* District Census Handbook, Patiala, Census of India, 2011 — Phulkian States ਅਤੇ Phul ਨਾਲ ਸੰਬੰਧਿਤ ਇਤਿਹਾਸਕ ਜਾਣਕਾਰੀ।
* District Census Handbook, Sangrur, Census of India, 2011 — Phulkian States ਅਤੇ ਪੰਜਾਬ ਦੇ ਮਾਲਵਾ ਖੇਤਰ ਦੇ ਇਤਿਹਾਸ ਸੰਬੰਧੀ ਜਾਣਕਾਰੀ।
[[ਸ਼੍ਰੇਣੀ:ਬਠਿੰਡਾ ਜ਼ਿਲ੍ਹੇ ਦੇ ਪਿੰਡ]]
andja2uescbjoi48pjzpnam9ctziivk
ਧੁਰਬੇ
0
205335
849439
2026-10-09T04:40:57Z
Dhanush1345
62384
"[[:en:Special:Redirect/revision/1379309856|Dhurbe]]" ਸਫ਼ੇ ਦਾ ਤਰਜਮਾ ਕਰਕੇ ਬਣਾਇਆ ਗਿਆ
849439
wikitext
text/x-wiki
<templatestyles src="Module:Infobox/styles.css"></templatestyles>{{Infobox animal|name=ਧੁਰਬੇ|image=Dhurbe; Wild Asian Elephant.jpg|image_size=320px|caption=Dhurbe spotted in [[Chitwan National Park]]|species=''[[Elephas maximus]]'' (Asian elephant)|breed=|birth_date=|birth_place=[[Chitwan]], Nepal|death_date=|death_place=|resting_place=|resting_place_coordinates=|nationality=Nepal|occupation=|employer=|years_active=|known_for=Attacks on humans and property|predecessor=|successor=|owner=|weight=|height=|website=}}
'''ਧੁਰਬੇ''' ([[ਨੇਪਾਲ]] ਧੁਰਬੇ) ਨੇਪਾਲ ਦੇ ਚਿਤਵਾਨ ਨੈਸ਼ਨਲ ਪਾਰਕ ਵਿੱਚ ਇੱਕ ਜੰਗਲੀ ਨਰ ਹਾਥੀ ਹੈ। 2009 ਅਤੇ 2026 ਦੇ ਵਿਚਕਾਰ, ਉਸਨੇ 25 ਲੋਕਾਂ ਨੂੰ ਮਾਰ ਦਿੱਤਾ ਅਤੇ 50 ਤੋਂ ਵੱਧ ਘਰਾਂ ਨੂੰ ਤਬਾਹ ਕਰ ਦਿੱਤਾ।<ref>{{Cite web |date=2026-07-05 |title=Violent elephant Dhurbe claims lives of a mother and son after 9 years - OnlineKhabar English News |url=https://english.onlinekhabar.com/violent-elephant-dhurbe-claims-lives.html |access-date=2026-07-12 |language=en-GB}}</ref><ref>{{Cite news|url=https://timesofindia.indiatimes.com/etimes/animals/how-a-rogue-elephant-shattered-one-familys-lives-twice-over-14-years/articleshow/132399693.cms|title=How a rogue elephant shattered one family's lives twice, over 14 years|date=15 July 2026|work=[[The Times of India]]|access-date=15 July 2026}}</ref> ਉਸ ਦੁਆਰਾ ਮਾਰੇ ਗਏ ਇੱਕ ਸਿਪਾਹੀ ਦੇ ਨਾਮ ਤੇ, ਧੁਰਬੇ ਨੂੰ ਦੁਨੀਆ ਦੇ ਸਭ ਤੋਂ ਬਦਨਾਮ ਜੰਗਲੀ ਹਾਥੀ ਵਿੱਚੋਂ ਇੱਕ ਮੰਨਿਆ ਜਾਂਦਾ ਹੈ।<ref>{{Cite web |last=Duncan |first=Andrew |date=6 March 2021 |title=On the road in West Nepal |url=https://www.nepalitimes.com/here-now/on-the-road-in-west-nepal/ |access-date=2021-10-27}}</ref><ref>{{Cite news|url=https://www.vice.com/en/article/the-same-wild-elephant-has-killed-four-members-of-one-family-over-14-years/|title=The Same Wild Elephant Has Killed Four Members of One Family Over 14 Years|last=|first=|date=10 July 2026|work=[[Vice (magazine)|Vice]]|access-date=10 July 2026|language=en}}</ref><ref>{{Cite news|url=https://nypost.com/2026/07/12/world-news/infamous-killer-elephant-dhurbe-stalks-family-in-nepal/|title=Infamous Killer Elephant Dhurbe Stalks Family in Nepal|date=12 July 2026|work=[[New York Post]]}}</ref>
2009 ਤੋਂ 2012 ਤੱਕ ਦੇ ਸ਼ੁਰੂਆਤੀ ਹਮਲਿਆਂ ਤੋਂ ਬਾਅਦ, ਧੁਰਬੇ ਨੂੰ ਉਸ ਦੀਆਂ ਹਰਕਤਾਂ 'ਤੇ ਨਜ਼ਰ ਰੱਖਣ ਲਈ ਰੇਡੀਓ-ਕਾਲਰ ਕੀਤਾ ਗਿਆ ਸੀ, ਪਰ ਕੁਝ ਹਫ਼ਤਿਆਂ ਬਾਅਦ ਰੇਡੀਓ ਨੇ ਕੰਮ ਕਰਨਾ ਬੰਦ ਕਰ ਦਿੱਤਾ। ਜਦੋਂ ਹਾਥੀ ਨੇ 2012 ਵਿੱਚ ਹੋਰ ਲੋਕਾਂ ਨੂੰ ਮਾਰ ਦਿੱਤਾ ਤਾਂ ਅਧਿਕਾਰੀਆਂ ਨੇ ਉਸ ਨੂੰ ਪਾਗਲ ਹਾਥੀ ਘੋਸ਼ਿਤ ਕਰ ਦਿੱਤਾ ਅਤੇ ਉਸ ਦਾ ਸ਼ਿਕਾਰ ਕਰਨ ਅਤੇ ਮਾਰਨ ਦਾ ਫੈਸਲਾ ਕੀਤਾ। ਨੇਪਾਲ ਫੌਜ ਅਤੇ ਚਿਤਵਾਨ ਨੈਸ਼ਨਲ ਪਾਰਕ ਦੇ 93 ਸਿਪਾਹੀ ਹਾਥੀ ਨੂੰ ਮਾਰਨ ਲਈ ਜੁਟਾਏ ਗਏ ਸਨ ਪਰ ਉਹ ਉਸ ਦਾ ਪਤਾ ਨਹੀਂ ਲਗਾ ਸਕੇ।<ref>{{Cite web |date=8 January 2013 |title=Nepali Gov't officials divided over how to deal with killer elephant {{!}} THEAsiaN |url=http://www.theasian.asia/archives/53955 |access-date=2021-10-27}}</ref> ਬਾਅਦ ਵਿੱਚ, ਅਧਿਕਾਰੀਆਂ ਨੇ ਦਾਅਵਾ ਕੀਤਾ ਕਿ ਧੁਰਬੇ ਜ਼ਖਮੀ ਹੋ ਗਿਆ ਸੀ ਪਰ ਭੱਜ ਗਿਆ ਅਤੇ ਬਚ ਗਿਆ।<ref>{{Cite web |last=Rijal |first=Prahlad |date=2018-04-15 |title=Lovesick wild tusker-Dhrube elopes with female elephant |url=https://thehimalayantimes.com/nepal/lovesick-wild-tusker-dhrube-elopes-with-female-elephant |access-date=2021-10-27 |website=The Himalayan Times}}</ref>
ਧੁਰਬੇ ਅਗਲੀ ਵਾਰ 2018 ਵਿੱਚ ਪ੍ਰਗਟ ਹੋਇਆ। ਉਹ ਤੀਰਥਮੰਕਲੀ ਵਿਖੇ ਚਿਤਵਾਨ ਨੈਸ਼ਨਲ ਪਾਰਕ ਦੀ ਫੌਜੀ ਚੌਕੀ ਵਿੱਚ ਦਾਖਲ ਹੋਇਆ ਅਤੇ ਆਪਣੇ ਨਾਲ ਇੱਕ ਮਾਦਾ ਹਾਥੀ ਲੈ ਗਿਆ। ਉਸੇ ਸਮੇਂ, ਧੁਰਬੇ ਨੇ ਪਾਰਸ ਗਜ ਨਾਮ ਦੇ ਇੱਕ ਨਰ ਹਾਥੀ ਉੱਤੇ ਹਮਲਾ ਕੀਤਾ ਅਤੇ ਜ਼ਖਮੀ ਕਰ ਦਿੱਤਾ। 2020 ਵਿੱਚ, ਧੁਰਬੇ ਨੂੰ ਉਸ ਦੀ ਹਰਕਤ ਨੂੰ ਟਰੈਕ ਕਰਨ ਲਈ ਦੁਬਾਰਾ ਰੇਡੀਓ ਕਾਲਰ ਕੀਤਾ ਗਿਆ ਸੀ।<ref name="rv01" /> ਅਪ੍ਰੈਲ 2021 ਵਿੱਚ, ਧੁਰਬੇ ਨੇ ਇੱਕ ਸਰਵੇਖਣ ਟੀਮ ਉੱਤੇ ਹਮਲਾ ਕੀਤਾ ਜੋ ਗੈਂਡਿਆਂ ਦੀ ਗਿਣਤੀ ਕਰ ਰਹੀ ਸੀ। ਕੋਈ ਜਾਨੀ ਨੁਕਸਾਨ ਨਹੀਂ ਹੋਇਆ, ਪਰ ਸਰਵੇਖਣ ਵਿੱਚ ਵਿਘਨ ਪਿਆ।<ref name="rv01">{{Cite web |date=2021-04-06 |title=Rhino census in Chitwan affected after a wild elephant attacks counting team (Nepal) |url=https://rhinoreview.org/rhino-census-in-chitwan-affected-after-a-wild-elephant-attacks-counting-team-nepal/ |url-status=dead |archive-url=https://web.archive.org/web/20211027104001/https://rhinoreview.org/rhino-census-in-chitwan-affected-after-a-wild-elephant-attacks-counting-team-nepal/ |archive-date=2021-10-27 |access-date=2021-10-27 |website=Rhino Review}}</ref> ਅਕਤੂਬਰ 2021 ਵਿੱਚ, ਉਹ ਦੁਬਾਰਾ ਪ੍ਰਗਟ ਹੋਇਆ ਅਤੇ ਉਸ ਦੇ ਨਾਲ ਇੱਕ ਮਾਦਾ ਹਾਥੀ ਵੀ ਸੀ।<ref name="kp01">{{Cite web |title=Dhurbe spotted in Chitwan National Park |url=https://kathmandupost.com/national/2018/04/16/dhurbe-spotted-in-chitwan-national-park |access-date=2021-10-27}}</ref> ਦਸੰਬਰ 2023 ਵਿੱਚ, ਚਿਤਵਾਨ ਨੈਸ਼ਨਲ ਪਾਰਕ ਵਿੱਚ ਤੀਜੀ ਵਾਰ ਉਸ ਦੇ ਕਾਲਰ ਵਿੱਚ ਇੱਕ ਰੇਡੀਓ ਟ੍ਰਾਂਸਮੀਟਰ ਲਗਾਇਆ ਗਿਆ ਸੀ।<ref>{{Cite web |title=११ वर्षमा 'ध्रुवे' हात्तीको गलामा तेस्रो रेडियो कलर |url=http://ekantipur.com/news/2023/12/11/for-the-third-time-in-11-years-a-radio-collar-was-attached-to-the-neck-of-dhruvey-the-elephant-20-19.html |access-date=2023-12-11}}</ref>
ਜਨਵਰੀ 2024 ਵਿੱਚ, ਧੁਰਬੇ ਨੂੰ ਫਿਰ ਚਿਤਵਾਨ ਨੈਸ਼ਨਲ ਪਾਰਕ ਦੇ ਨੇਡ਼ੇ ਸਥਾਨਕ ਘਰਾਂ ਨੂੰ ਦਹਿਸ਼ਤਗਰਦ ਬਣਾਉਣ ਦੀ ਰਿਪੋਰਟ ਕੀਤੀ ਗਈ ਸੀ।<ref>{{Cite web |title=Dhurbe causing havoc again, locals terrified |url=https://radionepalonline.com/en/2024/01/05/370049.html |access-date=2025-01-07 |website=Public Service Broadcasting, Radio Nepal |language=en-US}}</ref> ਸਤੰਬਰ 2025 ਵਿੱਚ ਹਾਥੀ ਨੇ ਫਿਰ ਸਥਾਨਕ ਘਰਾਂ ਨੂੰ ਢਾਹ ਦਿੱਤਾ। ਹਾਲਾਂਕਿ ਕਿਸੇ ਮਨੁੱਖੀ ਜਾਨੀ ਨੁਕਸਾਨ ਦੀ ਕੋਈ ਰਿਪੋਰਟ ਨਹੀਂ ਕੀਤੀ ਗਈ ਸੀ, ਪਰ ਇਸ ਘਟਨਾ ਨੇ ਮਹੱਤਵਪੂਰਣ ਜਾਇਦਾਦ ਨੂੰ ਨੁਕਸਾਨ ਪਹੁੰਚਾਇਆ ਅਤੇ ਇਸ ਖੇਤਰ ਵਿੱਚ ਮਨੁੱਖੀ-ਜੰਗਲੀ ਜੀਵ ਸੰਘਰਸ਼ ਬਾਰੇ ਨਵੀਂ ਚਿੰਤਾਵਾਂ ਪੈਦਾ ਕੀਤੀਆਂ।<ref name="Republica2025">{{Cite news|url=https://myrepublica.nagariknetwork.com/news/dhrube-elephant-demolishes-four-houses-in-chitwan/|title=Dhrube elephant demolishes four houses in Chitwan|date=28 September 2025|work=[[MyRepublica]]|access-date=29 September 2025}}</ref>
== 2026 ਦਾ ਹਮਲਾ ==
[[File:Villagers_protesting.png|thumb|190x190px|ਨਿਆਂ ਦੀ ਮੰਗ ਨੂੰ ਲੈ ਕੇ ਪਿੰਡ ਵਾਸੀਆਂ ਨੇ ਕੀਤਾ ਰੋਸ ਪ੍ਰਦਰਸ਼ਨ]]
4 ਜੁਲਾਈ 2026 ਨੂੰ, ਧੁਰਬੇ ਨੇ [[ਭਰਤਪੁਰ, ਨੇਪਾਲ|ਭਰਤਪੁਰ ਮੈਟਰੋਪੋਲੀਟਨ ਸਿਟੀ]], ਚਿਤਵਾਨ ਦੇ ਜਗਤਪੁਰ ਵਿੱਚ ਇੱਕ ਘਰ ਉੱਤੇ ਹਮਲਾ ਕੀਤਾ, ਜਿਸ ਵਿੱਚ ਆਸ਼ਿਕਾ ਬੋਟੇ ਅਤੇ ਉਸ ਦੇ ਚਾਰ ਸਾਲ ਦੇ ਪੁੱਤਰ ਭਰਤ ਬੋਟੇ ਦੀ ਮੌਤ ਹੋ ਗਈ। ਪੀਡ਼ਤ ਇੱਕੋ ਪਰਿਵਾਰ ਨਾਲ ਸਬੰਧਤ ਸਨ, ਜਿਨ੍ਹਾਂ ਦੇ ਦੋ ਮੈਂਬਰਾਂ ਨੂੰ ਪਹਿਲਾਂ 2012 ਵਿੱਚ ਧੁਰਬੇ ਨੇ ਮਾਰ ਦਿੱਤਾ ਸੀ, ਭਾਵ ਹੁਣ 14 ਸਾਲਾਂ ਦੇ ਅਰਸੇ ਵਿੱਚ ਇੱਕੋ ਹੀ ਪਰਿਵਾਰ ਦੇ ਚਾਰ ਮੈਂਬਰਾਂ ਨੂੰ ਹਾਥੀ ਨੇ ਮਾਰ ਦਿੰਦਾ ਹੈ। ਇਸ ਘਟਨਾ ਨੇ ਨੇਪਾਲ ਵਿੱਚ ਮਨੁੱਖ-ਹਾਥੀ ਟਕਰਾਅ ਉੱਤੇ ਚਿੰਤਾਵਾਂ ਨੂੰ ਨਵਾਂ ਰੂਪ ਦਿੱਤਾ ਅਤੇ ਵਿਆਪਕ ਰਾਸ਼ਟਰੀ ਅਤੇ ਅੰਤਰਰਾਸ਼ਟਰੀ ਮੀਡੀਆ ਕਵਰੇਜ ਪ੍ਰਾਪਤ ਕੀਤੀ।<ref>{{Cite news|url=https://english.onlinekhabar.com/violent-elephant-dhurbe-claims-lives.html|title=Violent elephant Dhurbe claims lives of a mother and son after 9 years|date=5 July 2026|work=[[OnlineKhabar]]}}</ref><ref>{{Cite news|url=https://www.independent.co.uk/asia/south-asia/nepal-wild-elephant-dhurbe-bote-family-chitwan-national-park-b3014370.html|title=‘Nowhere left for us to run’: Same wild elephant returns to village to kill four members of a family over 14 years|last=Muzaffar|first=Maroosha|date=14 July 2026|work=[[The Independent]]|access-date=15 July 2026}}</ref>
ਇਹ ਹਮਲਾ 2017 ਤੋਂ ਬਾਅਦ ਧੁਰਬੇ ਦਾ ਪਹਿਲਾ ਰਿਕਾਰਡ ਕੀਤਾ ਗਿਆ ਘਾਤਕ ਹਮਲਾ ਸੀ ਅਤੇ 2010 ਤੋਂ ਹਾਥੀ ਦੀ ਪੁਸ਼ਟੀ ਕੀਤੀ ਗਈ ਮਨੁੱਖੀ ਮੌਤ ਦੀ ਗਿਣਤੀ 25 ਹੋ ਗਈ। ਹੱਤਿਆਵਾਂ ਤੋਂ ਬਾਅਦ, ਸਥਾਨਕ ਵਸਨੀਕਾਂ ਨੇ ਵਿਰੋਧ ਪ੍ਰਦਰਸ਼ਨ ਕੀਤਾ ਅਤੇ ਸਡ਼ਕਾਂ ਨੂੰ ਜਾਮ ਕਰ ਦਿੱਤਾ, ਸਰਕਾਰ ਅਤੇ ਜੰਗਲੀ ਜੀਵ ਅਧਿਕਾਰੀਆਂ ਤੋਂ ਤੁਰੰਤ ਕਾਰਵਾਈ ਦੀ ਮੰਗ ਕੀਤੀ। ਪ੍ਰਦਰਸ਼ਨਕਾਰੀਆਂ ਨੇ ਚਿਤਵਾਨ ਨੈਸ਼ਨਲ ਪਾਰਕ ਦੇ ਆਲੇ-ਦੁਆਲੇ ਰਹਿਣ ਵਾਲੇ ਭਾਈਚਾਰਿਆਂ ਦੀ ਸੁਰੱਖਿਆ ਲਈ ਸਖ਼ਤ ਕਦਮ ਚੁੱਕਣ ਦੀ ਮੰਗ ਕੀਤੀ, ਜਦੋਂ ਕਿ ਕੁਝ ਲੋਕਾਂ ਨੇ ਮੰਗ ਕੀਤਾ ਕਿ ਹੋਰ ਮੌਤਾਂ ਨੂੰ ਰੋਕਣ ਲਈ ਧੁਰਬੇ ਨੂੰ ਫਡ਼ ਲਿਆ ਜਾਵੇ ਜਾਂ ਮੌਤ ਦੇ ਘਾਟ ਉਤਾਰ ਦਿੱਤਾ ਜਾਵੇ।<ref>{{Cite news|url=https://kathmandupost.com/province-no-3/2026/07/06/dhurbe-the-rogue-elephant-that-followed-a-family-for-14-years|title=Dhurbe, the rogue elephant that followed a family for 14 years|date=6 July 2026|work=[[The Kathmandu Post]]}}</ref>
== ਹਵਾਲੇ ==
<templatestyles src="Reflist/styles.css" />{{Reflist}}
== ਬਾਹਰੀ ਲਿੰਕ ==
* [https://www.elephant.se/database2.php?elephant_id=16331 ਧੁਰਬੇ]
<templatestyles src="Module:Side box/styles.css"></templatestyles><templatestyles src="Sister project/styles.css"></templatestyles>{{Commons category|Dhurbe}}
azttwd9t5d6mm7jhkf0hbp2hhzk0947
ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Dhanush1345
3
205336
849440
2026-10-09T04:40:58Z
New user message
10694
Adding [[Template:Welcome|welcome message]] to new user's talk page
849440
wikitext
text/x-wiki
{{Template:Welcome|name=Dhanush1345}}
-- [[ਵਰਤੋਂਕਾਰ:New user message|New user message]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:New user message|ਗੱਲ-ਬਾਤ]]) 04:40, 9 ਅਕਤੂਬਰ 2026 (UTC)
8nnys5qhalg5bne6dc8pa9ywrlq077y
ਦਵਿੰਦਰ ਸੈਫ਼ੀ
0
205337
849443
2026-10-09T05:28:02Z
Kuldeepburjbhalaike
18176
Kuldeepburjbhalaike ਨੇ ਸਫ਼ਾ [[ਦਵਿੰਦਰ ਸੈਫ਼ੀ]] ਨੂੰ [[ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ]] ’ਤੇ ਭੇਜਿਆ
849443
wikitext
text/x-wiki
#ਰੀਡਾਇਰੈਕਟ [[ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ]]
o88d75740abbdrxbl24u3fh39d9ixnz
ਗੱਲ-ਬਾਤ:ਦਵਿੰਦਰ ਸੈਫ਼ੀ
1
205338
849445
2026-10-09T05:28:02Z
Kuldeepburjbhalaike
18176
Kuldeepburjbhalaike ਨੇ ਸਫ਼ਾ [[ਗੱਲ-ਬਾਤ:ਦਵਿੰਦਰ ਸੈਫ਼ੀ]] ਨੂੰ [[ਗੱਲ-ਬਾਤ:ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ]] ’ਤੇ ਭੇਜਿਆ
849445
wikitext
text/x-wiki
#ਰੀਡਾਇਰੈਕਟ [[ਗੱਲ-ਬਾਤ:ਦੇਵਿੰਦਰ ਸੈਫ਼ੀ]]
gx3ncj3qvn2psytdl3x8b9gqszaq17n
ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Kent Wang
3
205339
849452
2026-10-09T07:39:40Z
New user message
10694
Adding [[Template:Welcome|welcome message]] to new user's talk page
849452
wikitext
text/x-wiki
{{Template:Welcome|name=Kent Wang}}
-- [[ਵਰਤੋਂਕਾਰ:New user message|New user message]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:New user message|ਗੱਲ-ਬਾਤ]]) 07:39, 9 ਅਕਤੂਬਰ 2026 (UTC)
ilk2r8g21qzpnjifmaenagk17q38r0q
Draft:ਕਰਮ ਲਹਿਲ
0
205340
849453
2026-10-09T09:26:40Z
LegacyWiki
62374
ਮੁੱਢਲੀ ਖੋਜ ਦੇ ਆਧਾਰ ’ਤੇ ਇੱਕ ਸ਼ੁਰੂਆਤੀ ਖਰੜਾ ਤਿਆਰ ਕੀਤਾ ਗਿਆ ਹੈ। ਇਸ ਵਿੱਚ ਅੱਗੇ ਹੋਰ ਸੁਧਾਰ, ਸੰਪਾਦਨ ਅਤੇ ਹਵਾਲਿਆਂ ਨਾਲ ਸਬੰਧਤ ਕੰਮ ਕੀਤਾ ਜਾਵੇਗਾ।
849453
wikitext
text/x-wiki
{{Short description|ਭਾਰਤੀ ਨਿਸ਼ਾਨੇਬਾਜ਼}}
{{Use dmy dates|date=ਅਕਤੂਬਰ 2026}}
{{Infobox sportsperson
| name = ਕਰਮ ਲਹਿਲ
| birth_name = ਕਰਮ ਸੁਖਬੀਰ ਸਿੰਘ ਲਹਿਲ
| birth_date = {{Birth date and age|1994|2|10|df=y}}
| birth_place = [[ਸੰਗਰੂਰ]], ਪੰਜਾਬ, ਭਾਰਤ
| country = ਭਾਰਤ
| sport = ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ
| event = [[ਸਕੀਟ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ|ਸਕੀਟ]]
| show_medals = yes
| medal_templates =
{{MedalSport|ਪੁਰਸ਼ਾਂ ਦੀ ਸਕੀਟ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ}}
{{MedalCountry|{{IND}}}}
{{MedalCompetition|[[ਏਸ਼ੀਆਈ ਸ਼ਾਟਗਨ ਚੈਂਪੀਅਨਸ਼ਿਪ]]}}
{{MedalBronze|2014 ਅਲ ਐਨ|ਜੂਨੀਅਰ ਪੁਰਸ਼ ਸਕੀਟ}}
{{MedalGold|2014 ਅਲ ਐਨ|ਜੂਨੀਅਰ ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ}}
{{MedalCompetition|[[ਭਾਰਤ ਦੀਆਂ ਰਾਸ਼ਟਰੀ ਖੇਡਾਂ]]}}
{{MedalGold|2015 ਕੇਰਲ|ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ}}
{{MedalCompetition|ਰਾਸ਼ਟਰੀ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਚੈਂਪੀਅਨਸ਼ਿਪ}}
{{MedalGold|2019 ਨਵੀਂ ਦਿੱਲੀ|ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ}}
{{MedalSilver|2019 ਨਵੀਂ ਦਿੱਲੀ|ਸਕੀਟ ਮਿਕਸਡ ਟੀਮ}}
}}
'''ਕਰਮ ਸੁਖਬੀਰ ਸਿੰਘ ਲਹਿਲ''' (ਜਨਮ 10 ਫਰਵਰੀ 1994) ਇੱਕ ਭਾਰਤੀ ਨਿਸ਼ਾਨੇਬਾਜ਼ ਹੈ, ਜੋ ਸਕੀਟ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਵਿੱਚ ਮੁਕਾਬਲਾ ਕਰਦਾ ਹੈ। ਉਸਨੇ 2014 ਏਸ਼ੀਆਈ ਸ਼ਾਟਗਨ ਚੈਂਪੀਅਨਸ਼ਿਪ ਵਿੱਚ ਜੂਨੀਅਰ ਪੁਰਸ਼ ਸਕੀਟ ਦੇ ਵਿਅਕਤੀਗਤ ਮੁਕਾਬਲੇ ਵਿੱਚ ਕਾਂਸੀ ਦਾ ਤਗਮਾ ਅਤੇ ਟੀਮ ਮੁਕਾਬਲੇ ਵਿੱਚ ਸੋਨੇ ਦਾ ਤਗਮਾ ਜਿੱਤਿਆ। ਉਹ 2015 ਭਾਰਤ ਦੀਆਂ ਰਾਸ਼ਟਰੀ ਖੇਡਾਂ ਵਿੱਚ ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ ਦਾ ਹਿੱਸਾ ਵੀ ਸੀ, ਜਿਸ ਨੇ ਸੋਨੇ ਦਾ ਤਗਮਾ ਜਿੱਤਿਆ।<ref name="ISSF">{{cite web
|title=Karam Lehal
|url=https://www.issf-sports.org/athletes/SHINDM1002199201
|publisher=International Shooting Sport Federation
|access-date=13 August 2026
}}</ref><ref name="Asian2014">{{cite web
|title=4th Asian Shotgun Championship – Results
|url=https://shooting.by/im/results/Results_Asian_Clay_Championship_2014_Al-Ain_UAE.pdf
|publisher=Asian Shooting Confederation
|date=9 November 2014
|access-date=6 October 2026
}}</ref><ref name="TOI2014">{{cite news
|title=Anantjeet leads jr skeet team to gold at Asian Shotgun Championship
|url=https://timesofindia.indiatimes.com/sports/more-sports/shooting/anantjeet-leads-jr-skeet-team-to-gold-at-asian-shotgun-championship/articleshow/45089450.cms
|work=[[The Times of India]]
|date=9 November 2014
|access-date=12 August 2026
}}</ref>
== ਮੁੱਢਲਾ ਜੀਵਨ ==
ਲਹਿਲ ਦਾ ਜਨਮ 10 ਫਰਵਰੀ 1994 ਨੂੰ [[ਸੰਗਰੂਰ]], ਪੰਜਾਬ, ਭਾਰਤ ਵਿੱਚ ਹੋਇਆ ਸੀ।<ref name="ISSF" /> ਉਸਨੇ ਸੰਗਰੂਰ ਦੇ ਜੀਜੀਐੱਸ ਸਕੂਲ ਤੋਂ ਸਕੂਲੀ ਸਿੱਖਿਆ ਪ੍ਰਾਪਤ ਕੀਤੀ ਅਤੇ [[ਸਮਾਣਾ]] ਦੇ ਪਬਲਿਕ ਕਾਲਜ ਤੋਂ ਗ੍ਰੈਜੂਏਸ਼ਨ ਕੀਤੀ। ਉਸਨੇ [[ਖ਼ਾਲਸਾ ਕਾਲਜ, ਪਟਿਆਲਾ]] ਤੋਂ ਰਾਜਨੀਤੀ ਵਿਗਿਆਨ ਵਿੱਚ ਮਾਸਟਰ ਡਿਗਰੀ ਕੀਤੀ।<ref name="Tribune2021">{{cite news
|title=Sangrur shooter selected in WC skeet team
|url=https://www.tribuneindia.com/news/punjab/sangrur-shooter-selected-in-wc-skeet-team-215864
|work=The Tribune
|date=18 February 2021
|access-date=13 August 2026
}}</ref> ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਸ਼ੁਰੂ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਉਹ ਘੋੜਸਵਾਰੀ ਵਿੱਚ ਰਾਸ਼ਟਰੀ ਪੱਧਰ ਉੱਤੇ ਅਤੇ ਮੁੱਕੇਬਾਜ਼ੀ ਵਿੱਚ ਰਾਜ ਪੱਧਰ ਉੱਤੇ ਸਰਗਰਮ ਸੀ।<ref name="Jagbani2019">{{cite news
|title=ਸੰਗਰੂਰ ਦੇ ਨੌਜਵਾਨ ਨੇ ਪੰਜਾਬ ਸਟੇਟ ਚੈਂਪੀਅਨਸ਼ਿਪ ਰਾਈਫਿਲ ਸ਼ੂਟਿੰਗ 'ਚ ਜਿੱਤਿਆ ਸੋਨ ਤਗਮਾ
|url=https://jagbani.punjabkesari.in/malwa/news/sangrur--karam-lehal--punjab-state-championship-rifle-shooting--gold-medal-1143336
|work=Jagbani
|date=24 September 2019
|access-date=19 August 2026
}}</ref>
== ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਕਰੀਅਰ ==
ਲਹਿਲ ਨੇ 2012 ਵਿੱਚ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਸ਼ੁਰੂ ਕੀਤੀ ਅਤੇ ਭਾਰਤੀ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਟੀਮ ਲਈ ਚੁਣਿਆ ਗਿਆ।<ref name="Jagbani2019" />
2014 ਏਸ਼ੀਆਈ ਸ਼ਾਟਗਨ ਚੈਂਪੀਅਨਸ਼ਿਪ ਵਿੱਚ, ਜੋ ਅਲ ਐਨ, [[ਸੰਯੁਕਤ ਅਰਬ ਅਮੀਰਾਤ]] ਵਿੱਚ ਹੋਈ ਸੀ, ਉਸਨੇ ਜੂਨੀਅਰ ਪੁਰਸ਼ ਸਕੀਟ ਦੇ ਵਿਅਕਤੀਗਤ ਮੁਕਾਬਲੇ ਵਿੱਚ ਕਾਂਸੀ ਦਾ ਤਗਮਾ ਜਿੱਤਿਆ। ਉਸਨੇ ਅਨੰਤਜੀਤ ਸਿੰਘ ਨਾਰੂਕਾ ਅਤੇ ਅੰਗਦ ਵੀਰ ਸਿੰਘ ਬਾਜਵਾ ਦੇ ਨਾਲ ਭਾਰਤ ਦੀ ਜੂਨੀਅਰ ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ ਵੱਲੋਂ ਸੋਨੇ ਦਾ ਤਗਮਾ ਵੀ ਜਿੱਤਿਆ।<ref name="Asian2014" /><ref name="TOI2014" /><ref>{{cite news
|title=Junior Indian men's Skeet team wins Asian gold
|url=https://www.business-standard.com/article/news-ians/junior-indian-men-s-skeet-team-wins-asian-gold-114110900456_1.html
|work=Business Standard
|date=9 November 2014
|access-date=6 October 2026
}}</ref>
ਲਹਿਲ ਨੇ ਸ਼ੁਰੂਆਤੀ ਸਿਖਲਾਈ ਅਮਰਦੀਪ ਸਿੰਘ ਰਾਏ ਤੋਂ ਪ੍ਰਾਪਤ ਕੀਤੀ। ਭਾਰਤੀ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਟੀਮ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਣ ਤੋਂ ਬਾਅਦ ਉਸਨੇ ਇਟਲੀ ਦੇ ਓਲੰਪਿਕ ਤਮਗਾ ਜੇਤੂ ਅਤੇ ਕੋਚ ਐਨਿਓ ਫਾਲਕੋ ਅਧੀਨ ਸਿਖਲਾਈ ਲਈ।<ref name="Tribune2021" />
2015 ਵਿੱਚ, ਲਹਿਲ ਕੇਰਲ ਵਿੱਚ ਹੋਈਆਂ [[ਭਾਰਤ ਦੀਆਂ ਰਾਸ਼ਟਰੀ ਖੇਡਾਂ]] ਵਿੱਚ ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ ਮੁਕਾਬਲੇ ਵਿੱਚ ਸੋਨੇ ਦਾ ਤਗਮਾ ਜਿੱਤਣ ਵਾਲੀ [[ਪੰਜਾਬ]] ਦੀ ਟੀਮ ਦਾ ਹਿੱਸਾ ਸੀ।<ref>{{cite news
|title=Smit's skeet double helps Punjab pip Maharashtra
|url=https://www.business-standard.com/article/news-ians/smit-s-skeet-double-helps-punjab-pip-maharashtra-115020800581_1.html
|work=Business Standard
|date=8 February 2015
|access-date=28 August 2026
}}</ref><ref>{{cite news
|title=National Games: Smit strikes double gold
|url=https://www.thehindu.com/sport/other-sports/national-games-smit-strikes-double-gold/article6871334.ece
|work=[[The Hindu]]
|date=8 February 2015
|access-date=8 October 2026
}}</ref> ਉਸਨੇ [[ਪੰਜਾਬੀ ਯੂਨੀਵਰਸਿਟੀ]] ਵਿੱਚ ਹੋਏ ਅੰਤਰ-ਯੂਨੀਵਰਸਿਟੀ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਮੁਕਾਬਲੇ ਵਿੱਚ ਵੀ ਜਿੱਤ ਪ੍ਰਾਪਤ ਕੀਤੀ।<ref name="Tribune2021" />
2019 ਵਿੱਚ [[ਨਵੀਂ ਦਿੱਲੀ]] ਵਿਖੇ ਹੋਈ 63ਵੀਂ ਰਾਸ਼ਟਰੀ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਚੈਂਪੀਅਨਸ਼ਿਪ ਵਿੱਚ ਲਹਿਲ ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ ਮੁਕਾਬਲੇ ਵਿੱਚ ਸੋਨੇ ਦਾ ਤਗਮਾ ਜਿੱਤਣ ਵਾਲੀ ਪੰਜਾਬ ਦੀ ਟੀਮ ਦਾ ਹਿੱਸਾ ਸੀ। ਉਸਨੇ ਗਣੇਮਤ ਸੇਖੋਂ ਦੇ ਨਾਲ ਸਕੀਟ ਮਿਕਸਡ ਟੀਮ ਮੁਕਾਬਲੇ ਵਿੱਚ ਚਾਂਦੀ ਦਾ ਤਗਮਾ ਵੀ ਜਿੱਤਿਆ।<ref>{{cite web
|title=63rd National Shooting Championship Competitions in Shotgun Events – Team Result
|url=https://thenrai.in/
|publisher=National Rifle Association of India
|access-date=29 July 2026
}}</ref><ref>{{cite news
|title=Mairaj-Areeba shoot mixed skeet gold in the 63rd National Shotgun Championship
|url=https://www.thehindu.com/sport/other-sports/mairaj-areeba-shoot-mixed-skeet-gold-in-the-63rd-national-shotgun-championship/article30154263.ece
|work=[[The Hindu]]
|date=30 November 2019
|access-date=19 August 2026
}}</ref>
2020 ਵਿੱਚ, ਉਸਨੂੰ ਰਾਸ਼ਟਰੀ ਰਾਈਫਲ ਐਸੋਸੀਏਸ਼ਨ ਆਫ਼ ਇੰਡੀਆ ਵੱਲੋਂ ਨਵੀਂ ਦਿੱਲੀ ਵਿੱਚ ਹੋਣ ਵਾਲੇ ਆਈਐੱਸਐੱਸਐੱਫ ਵਿਸ਼ਵ ਕੱਪ ਲਈ ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ ਵਿੱਚ ਘੱਟੋ-ਘੱਟ ਯੋਗਤਾ ਅੰਕ (MQS) ਸ਼੍ਰੇਣੀ ਅਧੀਨ ਚੁਣਿਆ ਗਿਆ।<ref>{{cite news
|title=Indian shooting: NRAI announce 57-member squad for ISSF World Cup in Delhi
|url=https://scroll.in/field/987351/indian-shooting-nrai-announce-57-member-squad-for-issf-world-cup-in-delhi
|work=Scroll.in
|date=16 February 2021
|access-date=29 July 2026
}}</ref><ref>{{cite news
|title=India name 57-member squad for Shooting World Cup in New Delhi
|url=https://olympics.com/en/news/india-shooting-world-cup-2021-nrai-squad
|work=Olympics.com
|date=16 February 2021
|access-date=19 August 2026
}}</ref>
== ਸਿਆਸੀ ਜੀਵਨ ==
ਲਹਿਲ ਜਨਵਰੀ 2022 ਵਿੱਚ [[ਭਾਰਤੀ ਜਨਤਾ ਪਾਰਟੀ]] (ਭਾਜਪਾ) ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਇਆ।<ref>{{cite news
|title=ਨੈਸ਼ਨਲ ਸ਼ੂਟਿੰਗ ਚੈਂਪੀਅਨ ਕਰਮ ਸਿੰਘ ਲਹਿਲ ਭਾਰਤੀ ਜਨਤਾ ਪਾਰਟੀ 'ਚ ਸ਼ਾਮਲ
|url=https://jagbani.punjabkesari.in/punjab/news-karam-singh-lehal-joined-bjp-1332411
|work=Jagbani
|date=21 January 2022
|access-date=12 August 2026
}}</ref> ਉਸਨੇ ਪੰਜਾਬ ਵਿੱਚ ਭਾਜਪਾ ਯੁਵਾ ਮੋਰਚਾ ਦੇ ਖੇਡ ਸੈੱਲ ਦੇ ਇੰਚਾਰਜ ਵਜੋਂ ਵੀ ਕੰਮ ਕੀਤਾ ਹੈ।<ref>{{cite news
|title=ਭਾਜਪਾ ਨਾਲ ਹੀ ਦੇਸ਼ ਦੀ ਰਾਜਨੀਤੀ ਦਾ ਭਵਿੱਖ ਉੱਜਵਲ- ਕਰਮ ਲਹਿਲ
|url=https://punjab.news18.com/news/punjab/karam-lehal-on-bjp-politics-in-punjab-777931.html
|work=News18 ਪੰਜਾਬ
|date=25 January 2024
|access-date=9 August 2026
}}</ref>
== ਹਵਾਲੇ ==
{{reflist}
== ਬਾਹਰੀ ਕੜੀਆਂ ==
* {{ISSF athlete|SHINDM1002199201|ਕਰਮ ਲਹਿਲ}} — [[International Shooting Sport Federation]]
{{Authority control}}
[[:ਸ਼੍ਰੇਣੀ:1994 ਵਿੱਚ ਜਨਮੇ]]
[[:ਸ਼੍ਰੇਣੀ:ਜਿਉਂਦੇ ਲੋਕ]]
[[:ਸ਼੍ਰੇਣੀ:ਭਾਰਤੀ ਪੁਰਸ਼ ਨਿਸ਼ਾਨੇਬਾਜ਼]]
[[:ਸ਼੍ਰੇਣੀ:ਸਕੀਟ ਨਿਸ਼ਾਨੇਬਾਜ਼]]
[[:ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬ, ਭਾਰਤ ਦੇ ਖਿਡਾਰੀ]]
truk2nlne2uk9wai6vxtmyuc6obqg0w
849456
849453
2026-10-09T09:42:20Z
LegacyWiki
62374
849456
wikitext
text/x-wiki
{{Short description|ਭਾਰਤੀ ਨਿਸ਼ਾਨੇਬਾਜ਼}}
{{Use dmy dates|date=ਅਕਤੂਬਰ 2026}}
{{Infobox sportsperson
| name = ਕਰਮ ਲਹਿਲ
| birth_name = ਕਰਮ ਸੁਖਬੀਰ ਸਿੰਘ ਲਹਿਲ
| birth_date = {{Birth date and age|1994|2|10|df=y}}
| birth_place = [[ਸੰਗਰੂਰ]], ਪੰਜਾਬ, ਭਾਰਤ
| country = ਭਾਰਤ
| sport = ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ
| event = [[ਸਕੀਟ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ|ਸਕੀਟ]]
| show_medals = yes
| medal_templates =
{{MedalSport|ਪੁਰਸ਼ਾਂ ਦੀ ਸਕੀਟ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ}}
{{MedalCountry|{{IND}}}}
{{MedalCompetition|[[ਏਸ਼ੀਆਈ ਸ਼ਾਟਗਨ ਚੈਂਪੀਅਨਸ਼ਿਪ]]}}
{{MedalBronze|2014 ਅਲ ਐਨ|ਜੂਨੀਅਰ ਪੁਰਸ਼ ਸਕੀਟ}}
{{MedalGold|2014 ਅਲ ਐਨ|ਜੂਨੀਅਰ ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ}}
{{MedalCompetition|[[ਭਾਰਤ ਦੀਆਂ ਰਾਸ਼ਟਰੀ ਖੇਡਾਂ]]}}
{{MedalGold|2015 ਕੇਰਲ|ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ}}
{{MedalCompetition|ਰਾਸ਼ਟਰੀ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਚੈਂਪੀਅਨਸ਼ਿਪ}}
{{MedalGold|2019 ਨਵੀਂ ਦਿੱਲੀ|ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ}}
{{MedalSilver|2019 ਨਵੀਂ ਦਿੱਲੀ|ਸਕੀਟ ਮਿਕਸਡ ਟੀਮ}}
}}
'''ਕਰਮ ਸੁਖਬੀਰ ਸਿੰਘ ਲਹਿਲ''' (ਜਨਮ 10 ਫਰਵਰੀ 1994) ਇੱਕ ਭਾਰਤੀ ਨਿਸ਼ਾਨੇਬਾਜ਼ ਹੈ, ਜੋ ਸਕੀਟ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਵਿੱਚ ਮੁਕਾਬਲਾ ਕਰਦਾ ਹੈ। ਉਸਨੇ 2014 ਏਸ਼ੀਆਈ ਸ਼ਾਟਗਨ ਚੈਂਪੀਅਨਸ਼ਿਪ ਵਿੱਚ ਜੂਨੀਅਰ ਪੁਰਸ਼ ਸਕੀਟ ਦੇ ਵਿਅਕਤੀਗਤ ਮੁਕਾਬਲੇ ਵਿੱਚ ਕਾਂਸੀ ਦਾ ਤਗਮਾ ਅਤੇ ਟੀਮ ਮੁਕਾਬਲੇ ਵਿੱਚ ਸੋਨੇ ਦਾ ਤਗਮਾ ਜਿੱਤਿਆ। ਉਹ 2015 ਭਾਰਤ ਦੀਆਂ ਰਾਸ਼ਟਰੀ ਖੇਡਾਂ ਵਿੱਚ ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ ਦਾ ਹਿੱਸਾ ਵੀ ਸੀ, ਜਿਸ ਨੇ ਸੋਨੇ ਦਾ ਤਗਮਾ ਜਿੱਤਿਆ।<ref name="ISSF">{{cite web
|title=Karam Lehal
|url=https://www.issf-sports.org/athletes/SHINDM1002199201
|publisher=International Shooting Sport Federation
|access-date=13 August 2026
}}</ref><ref name="Asian2014">{{cite web
|title=4th Asian Shotgun Championship – Results
|url=https://shooting.by/im/results/Results_Asian_Clay_Championship_2014_Al-Ain_UAE.pdf
|publisher=Asian Shooting Confederation
|date=9 November 2014
|access-date=6 October 2026
}}</ref><ref name="TOI2014">{{cite news
|title=Anantjeet leads jr skeet team to gold at Asian Shotgun Championship
|url=https://timesofindia.indiatimes.com/sports/more-sports/shooting/anantjeet-leads-jr-skeet-team-to-gold-at-asian-shotgun-championship/articleshow/45089450.cms
|work=[[The Times of India]]
|date=9 November 2014
|access-date=12 August 2026
}}</ref>
== ਮੁੱਢਲਾ ਜੀਵਨ ==
ਲਹਿਲ ਦਾ ਜਨਮ 10 ਫਰਵਰੀ 1994 ਨੂੰ [[ਸੰਗਰੂਰ]], ਪੰਜਾਬ, ਭਾਰਤ ਵਿੱਚ ਹੋਇਆ ਸੀ।<ref name="ISSF" /> ਉਸਨੇ ਸੰਗਰੂਰ ਦੇ ਜੀਜੀਐੱਸ ਸਕੂਲ ਤੋਂ ਸਕੂਲੀ ਸਿੱਖਿਆ ਪ੍ਰਾਪਤ ਕੀਤੀ ਅਤੇ [[ਸਮਾਣਾ]] ਦੇ ਪਬਲਿਕ ਕਾਲਜ ਤੋਂ ਗ੍ਰੈਜੂਏਸ਼ਨ ਕੀਤੀ। ਉਸਨੇ [[ਖ਼ਾਲਸਾ ਕਾਲਜ, ਪਟਿਆਲਾ]] ਤੋਂ ਰਾਜਨੀਤੀ ਵਿਗਿਆਨ ਵਿੱਚ ਮਾਸਟਰ ਡਿਗਰੀ ਕੀਤੀ।<ref name="Tribune2021">{{cite news
|title=Sangrur shooter selected in WC skeet team
|url=https://www.tribuneindia.com/news/punjab/sangrur-shooter-selected-in-wc-skeet-team-215864
|work=The Tribune
|date=18 February 2021
|access-date=13 August 2026
}}</ref> ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਸ਼ੁਰੂ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਉਹ ਘੋੜਸਵਾਰੀ ਵਿੱਚ ਰਾਸ਼ਟਰੀ ਪੱਧਰ ਉੱਤੇ ਅਤੇ ਮੁੱਕੇਬਾਜ਼ੀ ਵਿੱਚ ਰਾਜ ਪੱਧਰ ਉੱਤੇ ਸਰਗਰਮ ਸੀ।<ref name="Jagbani2019">{{cite news
|title=ਸੰਗਰੂਰ ਦੇ ਨੌਜਵਾਨ ਨੇ ਪੰਜਾਬ ਸਟੇਟ ਚੈਂਪੀਅਨਸ਼ਿਪ ਰਾਈਫਿਲ ਸ਼ੂਟਿੰਗ 'ਚ ਜਿੱਤਿਆ ਸੋਨ ਤਗਮਾ
|url=https://jagbani.punjabkesari.in/malwa/news/sangrur--karam-lehal--punjab-state-championship-rifle-shooting--gold-medal-1143336
|work=Jagbani
|date=24 September 2019
|access-date=19 August 2026
}}</ref>
== ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਕਰੀਅਰ ==
ਲਹਿਲ ਨੇ 2012 ਵਿੱਚ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਸ਼ੁਰੂ ਕੀਤੀ ਅਤੇ ਭਾਰਤੀ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਟੀਮ ਲਈ ਚੁਣਿਆ ਗਿਆ।<ref name="Jagbani2019" />
2014 ਏਸ਼ੀਆਈ ਸ਼ਾਟਗਨ ਚੈਂਪੀਅਨਸ਼ਿਪ ਵਿੱਚ, ਜੋ ਅਲ ਐਨ, [[ਸੰਯੁਕਤ ਅਰਬ ਅਮੀਰਾਤ]] ਵਿੱਚ ਹੋਈ ਸੀ, ਉਸਨੇ ਜੂਨੀਅਰ ਪੁਰਸ਼ ਸਕੀਟ ਦੇ ਵਿਅਕਤੀਗਤ ਮੁਕਾਬਲੇ ਵਿੱਚ ਕਾਂਸੀ ਦਾ ਤਗਮਾ ਜਿੱਤਿਆ। ਉਸਨੇ ਅਨੰਤਜੀਤ ਸਿੰਘ ਨਾਰੂਕਾ ਅਤੇ ਅੰਗਦ ਵੀਰ ਸਿੰਘ ਬਾਜਵਾ ਦੇ ਨਾਲ ਭਾਰਤ ਦੀ ਜੂਨੀਅਰ ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ ਵੱਲੋਂ ਸੋਨੇ ਦਾ ਤਗਮਾ ਵੀ ਜਿੱਤਿਆ।<ref name="Asian2014" /><ref name="TOI2014" /><ref>{{cite news
|title=Junior Indian men's Skeet team wins Asian gold
|url=https://www.business-standard.com/article/news-ians/junior-indian-men-s-skeet-team-wins-asian-gold-114110900456_1.html
|work=Business Standard
|date=9 November 2014
|access-date=6 October 2026
}}</ref>
ਲਹਿਲ ਨੇ ਸ਼ੁਰੂਆਤੀ ਸਿਖਲਾਈ ਅਮਰਦੀਪ ਸਿੰਘ ਰਾਏ ਤੋਂ ਪ੍ਰਾਪਤ ਕੀਤੀ। ਭਾਰਤੀ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਟੀਮ ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਣ ਤੋਂ ਬਾਅਦ ਉਸਨੇ ਇਟਲੀ ਦੇ ਓਲੰਪਿਕ ਤਮਗਾ ਜੇਤੂ ਅਤੇ ਕੋਚ ਐਨਿਓ ਫਾਲਕੋ ਅਧੀਨ ਸਿਖਲਾਈ ਲਈ।<ref name="Tribune2021" />
2015 ਵਿੱਚ, ਲਹਿਲ ਕੇਰਲ ਵਿੱਚ ਹੋਈਆਂ [[ਭਾਰਤ ਦੀਆਂ ਰਾਸ਼ਟਰੀ ਖੇਡਾਂ]] ਵਿੱਚ ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ ਮੁਕਾਬਲੇ ਵਿੱਚ ਸੋਨੇ ਦਾ ਤਗਮਾ ਜਿੱਤਣ ਵਾਲੀ [[ਪੰਜਾਬ]] ਦੀ ਟੀਮ ਦਾ ਹਿੱਸਾ ਸੀ।<ref>{{cite news
|title=Smit's skeet double helps Punjab pip Maharashtra
|url=https://www.business-standard.com/article/news-ians/smit-s-skeet-double-helps-punjab-pip-maharashtra-115020800581_1.html
|work=Business Standard
|date=8 February 2015
|access-date=28 August 2026
}}</ref><ref>{{cite news
|title=National Games: Smit strikes double gold
|url=https://www.thehindu.com/sport/other-sports/national-games-smit-strikes-double-gold/article6871334.ece
|work=[[The Hindu]]
|date=8 February 2015
|access-date=8 October 2026
}}</ref> ਉਸਨੇ [[ਪੰਜਾਬੀ ਯੂਨੀਵਰਸਿਟੀ]] ਵਿੱਚ ਹੋਏ ਅੰਤਰ-ਯੂਨੀਵਰਸਿਟੀ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਮੁਕਾਬਲੇ ਵਿੱਚ ਵੀ ਜਿੱਤ ਪ੍ਰਾਪਤ ਕੀਤੀ।<ref name="Tribune2021" />
2019 ਵਿੱਚ [[ਨਵੀਂ ਦਿੱਲੀ]] ਵਿਖੇ ਹੋਈ 63ਵੀਂ ਰਾਸ਼ਟਰੀ ਨਿਸ਼ਾਨੇਬਾਜ਼ੀ ਚੈਂਪੀਅਨਸ਼ਿਪ ਵਿੱਚ ਲਹਿਲ ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ ਮੁਕਾਬਲੇ ਵਿੱਚ ਸੋਨੇ ਦਾ ਤਗਮਾ ਜਿੱਤਣ ਵਾਲੀ ਪੰਜਾਬ ਦੀ ਟੀਮ ਦਾ ਹਿੱਸਾ ਸੀ। ਉਸਨੇ ਗਣੇਮਤ ਸੇਖੋਂ ਦੇ ਨਾਲ ਸਕੀਟ ਮਿਕਸਡ ਟੀਮ ਮੁਕਾਬਲੇ ਵਿੱਚ ਚਾਂਦੀ ਦਾ ਤਗਮਾ ਵੀ ਜਿੱਤਿਆ।<ref>{{cite web
|title=63rd National Shooting Championship Competitions in Shotgun Events – Team Result
|url=https://thenrai.in/
|publisher=National Rifle Association of India
|access-date=29 July 2026
}}</ref><ref>{{cite news
|title=Mairaj-Areeba shoot mixed skeet gold in the 63rd National Shotgun Championship
|url=https://www.thehindu.com/sport/other-sports/mairaj-areeba-shoot-mixed-skeet-gold-in-the-63rd-national-shotgun-championship/article30154263.ece
|work=[[The Hindu]]
|date=30 November 2019
|access-date=19 August 2026
}}</ref>
2020 ਵਿੱਚ, ਉਸਨੂੰ ਰਾਸ਼ਟਰੀ ਰਾਈਫਲ ਐਸੋਸੀਏਸ਼ਨ ਆਫ਼ ਇੰਡੀਆ ਵੱਲੋਂ ਨਵੀਂ ਦਿੱਲੀ ਵਿੱਚ ਹੋਣ ਵਾਲੇ ਆਈਐੱਸਐੱਸਐੱਫ ਵਿਸ਼ਵ ਕੱਪ ਲਈ ਪੁਰਸ਼ ਸਕੀਟ ਟੀਮ ਵਿੱਚ ਘੱਟੋ-ਘੱਟ ਯੋਗਤਾ ਅੰਕ (MQS) ਸ਼੍ਰੇਣੀ ਅਧੀਨ ਚੁਣਿਆ ਗਿਆ।<ref>{{cite news
|title=Indian shooting: NRAI announce 57-member squad for ISSF World Cup in Delhi
|url=https://scroll.in/field/987351/indian-shooting-nrai-announce-57-member-squad-for-issf-world-cup-in-delhi
|work=Scroll.in
|date=16 February 2021
|access-date=29 July 2026
}}</ref><ref>{{cite news
|title=India name 57-member squad for Shooting World Cup in New Delhi
|url=https://olympics.com/en/news/india-shooting-world-cup-2021-nrai-squad
|work=Olympics.com
|date=16 February 2021
|access-date=19 August 2026
}}</ref>
== ਸਿਆਸੀ ਜੀਵਨ ==
ਲਹਿਲ ਜਨਵਰੀ 2022 ਵਿੱਚ [[ਭਾਰਤੀ ਜਨਤਾ ਪਾਰਟੀ]] (ਭਾਜਪਾ) ਵਿੱਚ ਸ਼ਾਮਲ ਹੋਇਆ।<ref>{{cite news
|title=ਨੈਸ਼ਨਲ ਸ਼ੂਟਿੰਗ ਚੈਂਪੀਅਨ ਕਰਮ ਸਿੰਘ ਲਹਿਲ ਭਾਰਤੀ ਜਨਤਾ ਪਾਰਟੀ 'ਚ ਸ਼ਾਮਲ
|url=https://jagbani.punjabkesari.in/punjab/news-karam-singh-lehal-joined-bjp-1332411
|work=Jagbani
|date=21 January 2022
|access-date=12 August 2026
}}</ref> ਉਸਨੇ ਪੰਜਾਬ ਵਿੱਚ ਭਾਜਪਾ ਯੁਵਾ ਮੋਰਚਾ ਦੇ ਖੇਡ ਸੈੱਲ ਦੇ ਇੰਚਾਰਜ ਵਜੋਂ ਵੀ ਕੰਮ ਕੀਤਾ ਹੈ।<ref>{{cite news
|title=ਭਾਜਪਾ ਨਾਲ ਹੀ ਦੇਸ਼ ਦੀ ਰਾਜਨੀਤੀ ਦਾ ਭਵਿੱਖ ਉੱਜਵਲ- ਕਰਮ ਲਹਿਲ
|url=https://punjab.news18.com/news/punjab/karam-lehal-on-bjp-politics-in-punjab-777931.html
|work=News18 ਪੰਜਾਬ
|date=25 January 2024
|access-date=9 August 2026
}}</ref>
== ਹਵਾਲੇ ==
{{reflist}}
== ਬਾਹਰੀ ਕੜੀਆਂ ==
* {{ISSF athlete|SHINDM1002199201|ਕਰਮ ਲਹਿਲ}}
{{Authority control}}
[[:ਸ਼੍ਰੇਣੀ:1994 ਵਿੱਚ ਜਨਮੇ]]
[[:ਸ਼੍ਰੇਣੀ:ਜਿਉਂਦੇ ਲੋਕ]]
[[:ਸ਼੍ਰੇਣੀ:ਭਾਰਤੀ ਪੁਰਸ਼ ਨਿਸ਼ਾਨੇਬਾਜ਼]]
[[:ਸ਼੍ਰੇਣੀ:ਸਕੀਟ ਨਿਸ਼ਾਨੇਬਾਜ਼]]
[[:ਸ਼੍ਰੇਣੀ:ਪੰਜਾਬ, ਭਾਰਤ ਦੇ ਖਿਡਾਰੀ]]
cyoonyy7yg41902mvfr7a0s5c31w59l
ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:LegacyWiki
3
205341
849454
2026-10-09T09:26:41Z
New user message
10694
Adding [[Template:Welcome|welcome message]] to new user's talk page
849454
wikitext
text/x-wiki
{{Template:Welcome|name=LegacyWiki}}
-- [[ਵਰਤੋਂਕਾਰ:New user message|New user message]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:New user message|ਗੱਲ-ਬਾਤ]]) 09:26, 9 ਅਕਤੂਬਰ 2026 (UTC)
35bo1u90grwnth6qsl79140j2p6ipu4
ਬਾਨ ਕੀ ਮੂਨ
0
205342
849460
2026-10-09T09:56:27Z
Kuldeepburjbhalaike
18176
Kuldeepburjbhalaike ਨੇ ਸਫ਼ਾ [[ਬਾਨ ਕੀ ਮੂਨ]] ਨੂੰ [[ਬਾਨ ਕੀ-ਮੂਨ]] ’ਤੇ ਭੇਜਿਆ
849460
wikitext
text/x-wiki
#ਰੀਡਾਇਰੈਕਟ [[ਬਾਨ ਕੀ-ਮੂਨ]]
pf1h9dr4serxxt7szbyz0siu8jv1mta
ਮੌਡਿਊਲ:Page
828
205343
849461
2026-10-09T10:00:14Z
Nimmzo
62202
`p.getContent(frame)` retrieves the content of a wikipage with [[:en:Module:Page]]. require [[ਮੌਡਿਊਲ:CallAssert]]
849461
Scribunto
text/plain
local callAssert = require('Module:CallAssert')
local function main(frame, field)
local args, pargs = frame.args, ( frame:getParent() or {} ).args or {}
local makeTitle=args.makeTitle or pargs.makeTitle
local namespace=args.namespace or pargs.namespace or ""
local fragment=args.fragment or pargs.fragment or ""
local interwiki=args.interwiki or pargs.interwiki or ""
local page=args.page or args[1] or pargs.page or pargs[1] or ""
local id= tonumber( args.id or pargs.id )
local pn = {}
local title -- holds the result of the mw.title.xxx call
for i = 1,9 do pn[i] = args['p'..i] or pargs['p'..i] end
if not id and not mw.ustring.match( page, '%S' ) then page = nil end
if id then
title = callAssert(mw.title.new, 'mw.title.new', id)
elseif not page then
title = callAssert(mw.title.getCurrentTitle, 'getCurrentTitle')
elseif makeTitle then
title = callAssert(mw.title.makeTitle, 'makeTitle', namespace, page, fragment, interwiki)
else
title = callAssert(mw.title.new, 'mw.title.new', page, namespace)
end
local result = title[field]
if type(result) == "function" then
result = result(title, unpack(pn))
elseif type(result) == "table" then
result = mw.text.listToText(result)
end
return tostring(result or "")
end
-- handle all errors in main
main = require('Module:Protect')(main)
local p = {}
-- main function does all the work
local meta = {}
function meta.__index(self, key)
return function(frame)
return main(frame, key)
end
end
setmetatable(p, meta)
function p.getContent(frame)
local args, pargs = frame.args, ( frame:getParent() or {} ).args or {}
local fmt = args.as or pargs.as or "pre"
local text = main(frame, "getContent")
fmt = mw.text.split( fmt, ", ?" )
for _, how in ipairs( fmt ) do
if how == "pre" then
text = table.concat{ "<pre>", text, "</pre>" }
elseif how == "expand" then
text = frame:preprocess(text)
elseif how == "nowiki" then
text = mw.text.nowiki(text)
end
end
return text
end
return p
l8h6bgkknwru7a3k0rw3g12itf7ie0b
ਮੌਡਿਊਲ:CallAssert
828
205344
849462
2026-10-09T10:10:08Z
Nimmzo
62202
[[:en:Module:CallAssert]] is a runner of Lua function. If it fails, the error message includes the function name and argument values. Caller: [[ਮੌਡਿਊਲ:Page]]
849462
Scribunto
text/plain
local function pack(...)
return {...}, select('#', ...)
end
local function mapArray(func, array, count)
local result = {}
for i = 1, count or #array do
result[i] = func(array[i])
end
return result
end
local function quote(value)
if type(value) == 'string' then
return (string.gsub(string.format('%q', value), '\\\n', '\\n')) -- Outer parentheses remove second value returned by gsub
end
local str = tostring(value)
if type(value) == 'table' and str ~= 'table' then
return '{' .. str .. '}'
end
return str
end
local function callAssert(func, funcName, ...)
local result, resultCount = pack(func(...))
if not result[1] then
local args, argsCount = pack(...)
args = mapArray(quote, args, argsCount)
local message = mw.ustring.format(
'%s(%s) failed',
funcName,
table.concat(args, ', ')
)
error(message, 2)
end
return unpack(result, 1, resultCount)
end
return callAssert
3o4jhhx56ckjnptmrhpx1y5jfvi04ui
ਮੌਡਿਊਲ:Page/doc
828
205345
849464
2026-10-09T10:20:09Z
Nimmzo
62202
[[:en:Module:Page/doc]]
849464
wikitext
text/x-wiki
{{used in system}}
{{Module rating|release}}
{{Lua|ਮੌਡਿਊਲ:CallAssert|ਮੌਡਿਊਲ:Protect}}
This module is meant to allow the goodies listed in {{slink|mw:Extension:Scribunto/Lua reference manual#Title objects}} to be accessed by people who do not want to write a Lua module.
Usage is: <code><nowiki>{{#invoke:Page|</nowiki>'''function'''|''parameters''<nowiki>}}</nowiki></code>
== Functions==
In the usage above, '''function''' is one of the following fields or functions for title objects:
:* '''id''': The page_id. 0 if the page does not exist.
:* '''interwiki''': The interwiki prefix, or the empty string if none.
:* '''namespace''': The namespace number.
:* '''fragment''': The fragment, or the empty string. May be assigned.
:* '''nsText''': The text of the namespace for the page.
:* '''subjectNsText''': The text of the subject namespace for the page.
:* '''text''': The title of the page, without the namespace or interwiki prefixes.
:* '''prefixedText''': The title of the page, with the namespace and interwiki prefixes.
:* '''fullText''': The title of the page, with the namespace and interwiki prefixes and the fragment.
:* '''rootText''': If this is a subpage, the title of the root page without prefixes. Otherwise, the same as title.text.
:* '''baseText''': If this is a subpage, the title of the page it is a subpage of without prefixes. Otherwise, the same as title.text.
:* '''subpageText''': If this is a subpage, just the subpage name. Otherwise, the same as title.text.
:* '''canTalk''': Whether the page for this title could have a talk page.
:* '''exists''': Whether the page exists. Alias for fileExists for Media-namespace titles.
:* '''fileExists''': Whether the file exists. For File- and Media-namespace titles, this is expensive.
:* '''isContentPage''': Whether this title is in a content namespace.
:* '''isExternal''': Whether this title has an interwiki prefix.
:* '''isLocal''': Whether this title is in this project. For example, on the English Wikipedia, any other Wikipedia is considered "local" while Wiktionary and such are not.
:* '''isRedirect''': Whether this is the title for a page that is a redirect.
:* '''isSpecialPage''': Whether this is the title for a possible special page (i.e. a page in the Special: namespace).
:* '''isSubpage''': Whether this title is a subpage of some other title.
:* '''isTalkPage''': Whether this is a title for a talk page.
:* '''isSubpageOf'''( title2 ): Whether this title is a subpage of the given title.
:* '''inNamespace'''( ns ): Whether this title is in the given namespace. Namespaces may be specified by anything that is a key found in mw.site.namespaces.
:* '''inNamespaces'''( ... ): Whether this title is in any of the given namespaces. Namespaces may be specified by anything that is a key found in mw.site.namespaces.
:* '''hasSubjectNamespace'''( ns ): Whether this title's subject namespace is in the given namespace. Namespaces may be specified by anything that is a key found in mw.site.namespaces.
:* '''contentModel''': The content model for this title, as a string.
:* '''basePageTitle''': The same as mw.title.makeTitle( title.namespace, title.baseText ).
:* '''rootPageTitle''': The same as mw.title.makeTitle( title.namespace, title.rootText ).
:* '''talkPageTitle''': The same as mw.title.makeTitle( mw.site.namespaces[title.namespace].talk.id, title.text ), or nil if this title cannot have a talk page.
:* '''subjectPageTitle''': The same as mw.title.makeTitle( mw.site.namespaces[title.namespace].subject.id, title.text ).
:* '''subPageTitle'''( text ): The same as mw.title.makeTitle( title.namespace, title.text .. '/' .. text ).
:* '''partialUrl'''(): Returns title.text encoded as it would be in a URL.
:* '''fullUrl'''( query, proto ): Returns the full URL (with optional query table/string) for this title. proto may be specified to control the scheme of the resulting url: "http", "https", "relative" (the default), or "canonical".
:* '''localUrl'''( query ): Returns the local URL (with optional query table/string) for this title.
:* '''canonicalUrl'''( query ): Returns the canonical URL (with optional query table/string) for this title.
:* '''getContent'''(): Returns the (unparsed) content of the page, or nil if there is no page.
== Parameters ==
=== Page selection ===
:* ''id'' = [[Help:Page ID|Page ID]] of the page to load and evaluate. If this parameter is specified, then other page selection parameters are ignored.
:* ''page'' = name of the page to load and evaluate. This is parameter "text" passed to mw.title.new or "title" passed to mw.title.makeTitle in the Mediawiki documentation.
:** Leave ''page'' blank to call mw.title.getCurrentTitle() and thus default to the page presently being viewed.
:* ''makeTitle'' = Set this to any nonblank value to call mw.title.makeTitle. Otherwise mw.title.new is called. The functions available for these and for getCurrentTitle() are generally ''(exactly?)'' the same.
:* ''namespace'' = This parameter is passed to new/makeTitle to define what page to open.
:* ''fragment'' = This parameter is passed to makeTitle per the MediaWiki documentation.
:* ''interwiki'' = This parameter is passed to makeTitle per the MediaWiki documentation.
=== Title object function parameters ===
:* ''p1'' is the first parameter passed to the functions '''within''' the title object.
:** "title2" for isSubPageOf
:** "ns" for inNamespace
:** (first parameter) of inNameSpaces
:** "ns" for hasSubjectNamespace
:** "text" for subpageTitle
:** "query" for fullUrl, localUrl, canonicalUrl
:* ''p2'' is the second parameter passed to the functions '''within''' the title object.
:** (second parameter) of inNameSpaces
:** "proto" for fullUrl
:* ''p3'' to ''p9'' are collected and passed to the functions, but should only affect inNamespaces.
=== Postprocessing ===
:* ''as'' = Changes how contents of a page is returned when function getContent() is called.
:** "pre" (default) to wrap the page's content inside <nowiki><pre></pre></nowiki>.
:** "nowiki" to wrap the page's content inside <nowiki></nowiki>
:** "expand" to expand the page's content
:** "'''raw'''" (or any other unrecognized value) to return the page content without any wrapping
<includeonly>{{Sandbox other||
<!-- Template categories below this line, please. -->
[[Category:Template metamodules]]
}}</includeonly>
grybgvapggyhlpiwpaix6vswbke978z
ਕੰਪਿਉਟਰ ਦੀ ਵਰਤੋ
0
205346
849465
2026-10-09T10:42:54Z
Kamal0786
62368
"### ਕੰਪਿਊਟਰ ਦੀ ਵਰਤੋਂ ਕੰਪਿਊਟਰ ਦੀ ਵਰਤੋਂ ਅੱਜਕੱਲ੍ਹ ਹਰ ਖੇਤਰ ਵਿੱਚ ਕੀਤੀ ਜਾਂਦੀ ਹੈ। ਕੰਪਿਊਟਰ ਸਾਡਾ ਕੰਮ ਆਸਾਨੀ ਅਤੇ ਤੇਜ਼ੀ ਨਾਲ ਕਰਨ ਵਿੱਚ ਮਦਦ ਕਰਦਾ ਹੈ। ਕੰਪਿਊਟਰ ਦੀਆਂ ਮੁੱਖ ਵਰਤੋਂਆਂ ਹੇਠ ਲਿਖੀਆਂ ਹਨ..." ਨਾਲ਼ ਸਫ਼ਾ ਬਣਾਇਆ
849465
wikitext
text/x-wiki
### ਕੰਪਿਊਟਰ ਦੀ ਵਰਤੋਂ
ਕੰਪਿਊਟਰ ਦੀ ਵਰਤੋਂ ਅੱਜਕੱਲ੍ਹ ਹਰ ਖੇਤਰ ਵਿੱਚ ਕੀਤੀ ਜਾਂਦੀ ਹੈ। ਕੰਪਿਊਟਰ ਸਾਡਾ ਕੰਮ ਆਸਾਨੀ ਅਤੇ ਤੇਜ਼ੀ ਨਾਲ ਕਰਨ ਵਿੱਚ ਮਦਦ ਕਰਦਾ ਹੈ।
ਕੰਪਿਊਟਰ ਦੀਆਂ ਮੁੱਖ ਵਰਤੋਂਆਂ ਹੇਠ ਲਿਖੀਆਂ ਹਨ:
* ਸਿੱਖਿਆ ਵਿੱਚ: ਪੜ੍ਹਾਈ ਕਰਨ, ਨੋਟਸ ਬਣਾਉਣ ਅਤੇ ਆਨਲਾਈਨ ਕਲਾਸਾਂ ਲਗਾਉਣ ਲਈ।
* ਦਫ਼ਤਰ ਵਿੱਚ: ਚਿੱਠੀਆਂ, ਰਿਪੋਰਟਾਂ ਅਤੇ ਦਸਤਾਵੇਜ਼ ਤਿਆਰ ਕਰਨ ਲਈ।
* ਬੈਂਕਾਂ ਵਿੱਚ: ਪੈਸੇ ਜਮ੍ਹਾਂ ਕਰਵਾਉਣ, ਕਢਵਾਉਣ ਅਤੇ ਖਾਤਿਆਂ ਦਾ ਰਿਕਾਰਡ ਰੱਖਣ ਲਈ।
* ਹਸਪਤਾਲਾਂ ਵਿੱਚ: ਮਰੀਜ਼ਾਂ ਦਾ ਰਿਕਾਰਡ ਰੱਖਣ ਅਤੇ ਟੈਸਟਾਂ ਦੀਆਂ ਰਿਪੋਰਟਾਂ ਤਿਆਰ ਕਰਨ ਲਈ।
* ਮਨੋਰੰਜਨ ਲਈ: ਗਾਣੇ ਸੁਣਨ, ਫ਼ਿਲਮਾਂ ਦੇਖਣ ਅਤੇ ਗੇਮਾਂ ਖੇਡਣ ਲਈ।
* ਇੰਟਰਨੈੱਟ ਲਈ: ਜਾਣਕਾਰੀ ਲੱਭਣ, ਈ-ਮੇਲ ਭੇਜਣ ਅਤੇ ਵੀਡੀਓ ਕਾਲ ਕਰਨ ਲਈ।
* ਕਾਰੋਬਾਰ ਵਿੱਚ: ਹਿਸਾਬ-ਕਿਤਾਬ ਰੱਖਣ ਅਤੇ ਬਿੱਲ ਬਣਾਉਣ ਲਈ।
* ਰੇਲਵੇ ਅਤੇ ਹਵਾਈ ਅੱਡਿਆਂ ਵਿੱਚ: ਟਿਕਟਾਂ ਬੁੱਕ ਕਰਨ ਅਤੇ ਸਮਾਂ-ਸਾਰਣੀ ਦੀ ਜਾਣਕਾਰੀ ਲੈਣ ਲਈ।
ਸਿੱਟਾ: ਕੰਪਿਊਟਰ ਇੱਕ ਮਹੱਤਵਪੂਰਨ ਇਲੈਕਟ੍ਰਾਨਿਕ ਯੰਤਰ ਹੈ, ਜੋ ਸਾਡੇ ਕੰਮ ਨੂੰ ਆਸਾਨ, ਤੇਜ਼ ਅਤੇ ਸਹੀ ਬਣਾਉਂਦਾ ਹੈ।
5b5vhg0akea2p8hl37k0st55cw8uyze
849466
849465
2026-10-09T10:44:34Z
Kamal0786
62368
849466
wikitext
text/x-wiki
'''ਕੰਪਿਊਟਰ ਦੀ ਵਰਤੋਂ
'''
ਕੰਪਿਊਟਰ ਦੀ ਵਰਤੋਂ ਅੱਜਕੱਲ੍ਹ ਹਰ ਖੇਤਰ ਵਿੱਚ ਕੀਤੀ ਜਾਂਦੀ ਹੈ। ਕੰਪਿਊਟਰ ਸਾਡਾ ਕੰਮ ਆਸਾਨੀ ਅਤੇ ਤੇਜ਼ੀ ਨਾਲ ਕਰਨ ਵਿੱਚ ਮਦਦ ਕਰਦਾ ਹੈ।
ਕੰਪਿਊਟਰ ਦੀਆਂ ਮੁੱਖ ਵਰਤੋਂਆਂ ਹੇਠ ਲਿਖੀਆਂ ਹਨ:
* ਸਿੱਖਿਆ ਵਿੱਚ: ਪੜ੍ਹਾਈ ਕਰਨ, ਨੋਟਸ ਬਣਾਉਣ ਅਤੇ ਆਨਲਾਈਨ ਕਲਾਸਾਂ ਲਗਾਉਣ ਲਈ।
* ਦਫ਼ਤਰ ਵਿੱਚ: ਚਿੱਠੀਆਂ, ਰਿਪੋਰਟਾਂ ਅਤੇ ਦਸਤਾਵੇਜ਼ ਤਿਆਰ ਕਰਨ ਲਈ।
* ਬੈਂਕਾਂ ਵਿੱਚ: ਪੈਸੇ ਜਮ੍ਹਾਂ ਕਰਵਾਉਣ, ਕਢਵਾਉਣ ਅਤੇ ਖਾਤਿਆਂ ਦਾ ਰਿਕਾਰਡ ਰੱਖਣ ਲਈ।
* ਹਸਪਤਾਲਾਂ ਵਿੱਚ: ਮਰੀਜ਼ਾਂ ਦਾ ਰਿਕਾਰਡ ਰੱਖਣ ਅਤੇ ਟੈਸਟਾਂ ਦੀਆਂ ਰਿਪੋਰਟਾਂ ਤਿਆਰ ਕਰਨ ਲਈ।
* ਮਨੋਰੰਜਨ ਲਈ: ਗਾਣੇ ਸੁਣਨ, ਫ਼ਿਲਮਾਂ ਦੇਖਣ ਅਤੇ ਗੇਮਾਂ ਖੇਡਣ ਲਈ।
* ਇੰਟਰਨੈੱਟ ਲਈ: ਜਾਣਕਾਰੀ ਲੱਭਣ, ਈ-ਮੇਲ ਭੇਜਣ ਅਤੇ ਵੀਡੀਓ ਕਾਲ ਕਰਨ ਲਈ।
* ਕਾਰੋਬਾਰ ਵਿੱਚ: ਹਿਸਾਬ-ਕਿਤਾਬ ਰੱਖਣ ਅਤੇ ਬਿੱਲ ਬਣਾਉਣ ਲਈ।
* ਰੇਲਵੇ ਅਤੇ ਹਵਾਈ ਅੱਡਿਆਂ ਵਿੱਚ: ਟਿਕਟਾਂ ਬੁੱਕ ਕਰਨ ਅਤੇ ਸਮਾਂ-ਸਾਰਣੀ ਦੀ ਜਾਣਕਾਰੀ ਲੈਣ ਲਈ।
ਸਿੱਟਾ: ਕੰਪਿਊਟਰ ਇੱਕ ਮਹੱਤਵਪੂਰਨ ਇਲੈਕਟ੍ਰਾਨਿਕ ਯੰਤਰ ਹੈ, ਜੋ ਸਾਡੇ ਕੰਮ ਨੂੰ ਆਸਾਨ, ਤੇਜ਼ ਅਤੇ ਸਹੀ ਬਣਾਉਂਦਾ ਹੈ।
hqsymybkqdyoz4jx25zx6p5gy7l4l50
849467
849466
2026-10-09T10:45:58Z
Kamal0786
62368
849467
wikitext
text/x-wiki
'''ਕੰਪਿਊਟਰ ਦੀ ਵਰਤੋਂ'''
ਅੱਜਕੱਲ੍ਹ ਹਰ ਖੇਤਰ ਵਿੱਚ ਕੀਤੀ ਜਾਂਦੀ ਹੈ। ਕੰਪਿਊਟਰ ਸਾਡਾ ਕੰਮ ਆਸਾਨੀ ਅਤੇ ਤੇਜ਼ੀ ਨਾਲ ਕਰਨ ਵਿੱਚ ਮਦਦ ਕਰਦਾ ਹੈ।
ਕੰਪਿਊਟਰ ਦੀਆਂ ਮੁੱਖ ਵਰਤੋਂਆਂ ਹੇਠ ਲਿਖੀਆਂ ਹਨ:
* ਸਿੱਖਿਆ ਵਿੱਚ: ਪੜ੍ਹਾਈ ਕਰਨ, ਨੋਟਸ ਬਣਾਉਣ ਅਤੇ ਆਨਲਾਈਨ ਕਲਾਸਾਂ ਲਗਾਉਣ ਲਈ।
* ਦਫ਼ਤਰ ਵਿੱਚ: ਚਿੱਠੀਆਂ, ਰਿਪੋਰਟਾਂ ਅਤੇ ਦਸਤਾਵੇਜ਼ ਤਿਆਰ ਕਰਨ ਲਈ।
* ਬੈਂਕਾਂ ਵਿੱਚ: ਪੈਸੇ ਜਮ੍ਹਾਂ ਕਰਵਾਉਣ, ਕਢਵਾਉਣ ਅਤੇ ਖਾਤਿਆਂ ਦਾ ਰਿਕਾਰਡ ਰੱਖਣ ਲਈ।
* ਹਸਪਤਾਲਾਂ ਵਿੱਚ: ਮਰੀਜ਼ਾਂ ਦਾ ਰਿਕਾਰਡ ਰੱਖਣ ਅਤੇ ਟੈਸਟਾਂ ਦੀਆਂ ਰਿਪੋਰਟਾਂ ਤਿਆਰ ਕਰਨ ਲਈ।
* ਮਨੋਰੰਜਨ ਲਈ: ਗਾਣੇ ਸੁਣਨ, ਫ਼ਿਲਮਾਂ ਦੇਖਣ ਅਤੇ ਗੇਮਾਂ ਖੇਡਣ ਲਈ।
* ਇੰਟਰਨੈੱਟ ਲਈ: ਜਾਣਕਾਰੀ ਲੱਭਣ, ਈ-ਮੇਲ ਭੇਜਣ ਅਤੇ ਵੀਡੀਓ ਕਾਲ ਕਰਨ ਲਈ।
* ਕਾਰੋਬਾਰ ਵਿੱਚ: ਹਿਸਾਬ-ਕਿਤਾਬ ਰੱਖਣ ਅਤੇ ਬਿੱਲ ਬਣਾਉਣ ਲਈ।
* ਰੇਲਵੇ ਅਤੇ ਹਵਾਈ ਅੱਡਿਆਂ ਵਿੱਚ: ਟਿਕਟਾਂ ਬੁੱਕ ਕਰਨ ਅਤੇ ਸਮਾਂ-ਸਾਰਣੀ ਦੀ ਜਾਣਕਾਰੀ ਲੈਣ ਲਈ।
ਸਿੱਟਾ: ਕੰਪਿਊਟਰ ਇੱਕ ਮਹੱਤਵਪੂਰਨ ਇਲੈਕਟ੍ਰਾਨਿਕ ਯੰਤਰ ਹੈ, ਜੋ ਸਾਡੇ ਕੰਮ ਨੂੰ ਆਸਾਨ, ਤੇਜ਼ ਅਤੇ ਸਹੀ ਬਣਾਉਂਦਾ ਹੈ।
3louahvh8yshi26ssz64g1yi891jc3r
849468
849467
2026-10-09T10:46:55Z
Kamal0786
62368
849468
wikitext
text/x-wiki
ਕੰਪਿਊਟਰ ਦੀ ਵਰਤੋਂ
ਅੱਜਕੱਲ੍ਹ ਹਰ ਖੇਤਰ ਵਿੱਚ ਕੀਤੀ ਜਾਂਦੀ ਹੈ। ਕੰਪਿਊਟਰ ਸਾਡਾ ਕੰਮ ਆਸਾਨੀ ਅਤੇ ਤੇਜ਼ੀ ਨਾਲ ਕਰਨ ਵਿੱਚ ਮਦਦ ਕਰਦਾ ਹੈ।
ਕੰਪਿਊਟਰ ਦੀਆਂ ਮੁੱਖ ਵਰਤੋਂਆਂ ਹੇਠ ਲਿਖੀਆਂ ਹਨ:
* ਸਿੱਖਿਆ ਵਿੱਚ: ਪੜ੍ਹਾਈ ਕਰਨ, ਨੋਟਸ ਬਣਾਉਣ ਅਤੇ ਆਨਲਾਈਨ ਕਲਾਸਾਂ ਲਗਾਉਣ ਲਈ।
* ਦਫ਼ਤਰ ਵਿੱਚ: ਚਿੱਠੀਆਂ, ਰਿਪੋਰਟਾਂ ਅਤੇ ਦਸਤਾਵੇਜ਼ ਤਿਆਰ ਕਰਨ ਲਈ।
* ਬੈਂਕਾਂ ਵਿੱਚ: ਪੈਸੇ ਜਮ੍ਹਾਂ ਕਰਵਾਉਣ, ਕਢਵਾਉਣ ਅਤੇ ਖਾਤਿਆਂ ਦਾ ਰਿਕਾਰਡ ਰੱਖਣ ਲਈ।
* ਹਸਪਤਾਲਾਂ ਵਿੱਚ: ਮਰੀਜ਼ਾਂ ਦਾ ਰਿਕਾਰਡ ਰੱਖਣ ਅਤੇ ਟੈਸਟਾਂ ਦੀਆਂ ਰਿਪੋਰਟਾਂ ਤਿਆਰ ਕਰਨ ਲਈ।
* ਮਨੋਰੰਜਨ ਲਈ: ਗਾਣੇ ਸੁਣਨ, ਫ਼ਿਲਮਾਂ ਦੇਖਣ ਅਤੇ ਗੇਮਾਂ ਖੇਡਣ ਲਈ।
* ਇੰਟਰਨੈੱਟ ਲਈ: ਜਾਣਕਾਰੀ ਲੱਭਣ, ਈ-ਮੇਲ ਭੇਜਣ ਅਤੇ ਵੀਡੀਓ ਕਾਲ ਕਰਨ ਲਈ।
* ਕਾਰੋਬਾਰ ਵਿੱਚ: ਹਿਸਾਬ-ਕਿਤਾਬ ਰੱਖਣ ਅਤੇ ਬਿੱਲ ਬਣਾਉਣ ਲਈ।
* ਰੇਲਵੇ ਅਤੇ ਹਵਾਈ ਅੱਡਿਆਂ ਵਿੱਚ: ਟਿਕਟਾਂ ਬੁੱਕ ਕਰਨ ਅਤੇ ਸਮਾਂ-ਸਾਰਣੀ ਦੀ ਜਾਣਕਾਰੀ ਲੈਣ ਲਈ।
ਸਿੱਟਾ: ਕੰਪਿਊਟਰ ਇੱਕ ਮਹੱਤਵਪੂਰਨ ਇਲੈਕਟ੍ਰਾਨਿਕ ਯੰਤਰ ਹੈ, ਜੋ ਸਾਡੇ ਕੰਮ ਨੂੰ ਆਸਾਨ, ਤੇਜ਼ ਅਤੇ ਸਹੀ ਬਣਾਉਂਦਾ ਹੈ।
d45p0p0irh9lqjutc6tgaau7cwtqwqe
ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:Sidhu151102
3
205347
849471
2026-10-09T11:41:21Z
New user message
10694
Adding [[Template:Welcome|welcome message]] to new user's talk page
849471
wikitext
text/x-wiki
{{Template:Welcome|name=Sidhu151102}}
-- [[ਵਰਤੋਂਕਾਰ:New user message|New user message]] ([[ਵਰਤੋਂਕਾਰ ਗੱਲ-ਬਾਤ:New user message|ਗੱਲ-ਬਾਤ]]) 11:41, 9 ਅਕਤੂਬਰ 2026 (UTC)
8ne1egr573g6nex1hf170p0neuyv39q