မေႃႇၵျူး:Excerpt/config
Appearance
This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
Lua module ဢၼ်ၼႆႉ လႆႈၸႂ်ႉဝႆႉ တီႈၼႃႈလိၵ်ႈ many ၼႃႈလိၵ်ႈ လႄႈ လွင်ႈလႅၵ်ႈလၢႆႈၸိူဝ်းၼႆႉ တေႁႂ်ႈၽၢင်ႉမႅၼ်ႈၺႃး ၵႂၢင်ႈၵႂၢင်ႈၶႂၢင်ၶႂၢင်။ ၸၢမ်းတူၺ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း မေႃႇၵျူး's /sandbox ဢမ်ႇၼၼ် ၼႃႈလိၵ်ႈၽႄ /testcases . ဝူၼ်ႉသွၼ်ႇ ဢုပ်ႇဢူဝ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း ၼႃႈလိၵ်ႈ တႃႇဢုပ်ႇ ၽွင်းမိူဝ်ႈပႆႇ ၵေႃႇသၢင်ႈၶဝ်ၼၼ်ႉ။
ႁူဝ်ၼပ်ႉ လွင်ႈၶဝ်ႈပႃးၼႆႉ မၼ်းႁဵတ်းဢၢပ်ႉတဵတ်ႉဝႆႉႁင်းမၼ်း (တူၺ်းတီႈ ၽိုၼ်လိၵ်ႈ)။ |
လွင်ႈၸႂ်ႉတိုဝ်း
[မႄးထတ်းငဝ်ႈငႃႇ]{{#invoke:Excerpt/config|function_name}}
ၽိုၼ်ၵႅမ်မိုဝ်းလၢႆးၸႂ်ႉတိုဝ်း (documentation)တီႈၽၢႆႇၼိူဝ်ၼႆႉ လုၵ်ႉတီႈ မေႃႇၵျူး:Excerpt/config/doc သေ ၶၢႆႉသႂ်ႇၶဝ်ႈ (ႁဵတ်း transclude ဝႆႉၶႃႈဢေႃႈ။ (မႄးထတ်း | ပိုၼ်း) ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း မေႃႇၵျူးဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း မေႃႇၵျူး ဢၼ်ၼႆႉ။. |
return {
-- Templates that should never be transcluded
blacklist = {
'2021 United States Capitol attack', '2021 storming of the United States Capitol',
'[Aa]bout', '[Tt]his', '[Tt]his article is about',
'[Aa]griculture',
'[Aa]nchor',
'[Bb]roader',
'[Cc]ampaignbox', '[Cc]ampaign',
'[Cc]itations broken from PEIS limit',
'[Cc]oor', '[Ll]ocation', '[Ll]ocation dec', '[Cc]o%-ord', -- Coordinates
'[Cc]urrent', '[Ff]lux', '[Ll]ive', '[Oo]n ?going', '[Rr]ecent ?event', '[Rr]ecent news', '[Bb]reaking news', -- {{Current}} etc.
'[Cc]lean.*', '[Bb]are.*',
'[Dd]efault ?[Ss]ort', 'DEFAULT ?SORT',
'[Dd]isplay ?title', 'DISPLAYTITLE', '[Ii]talic title',
'[Ee]xpand.*',
'[Ff]eatured ?article', '[Ff]eatured', '[Ff]eaturedSmall', 'FA topicon',
'^[Ff][Oo][Rr][12]?', '[Ff]or ?the',
'[Ff]urther',
'[Gg]ood [Aa]rticle','GA article', 'GA icon',
'[Gg]lobal',
'[Ii]nfo ?[Bb]ox', '[Rr]ow', '[Tt]axobox', -- infoboxes
'[Ll]e(ad|de) ?missing', '[Nn]o[ -]?[Ii]ntro', '[Nn]ointroduction', '[Nn]o[ -]?le(ad|de)', '[Mm]issingintro', '[Ii]ntro[ -]?missing', '[Nn]o ?lead ?section', '[Mm]issing le(ad|de)', '[Ll]e(ad|de) absent', '[Nn]o definition', '[Ii]ntroduction needed', '[Ii]ntroduction missing', '[Ii]ntro needed', '[Ll]e(ad|de) required', '[Nn][Oo][Ll]',
'[Ll]e(ad|de) ?too ?long', '[Ii]ntro ?length', '[Ll]ongintro', '[Ll]ong ?le(ad|de)', '[Ii]ntro[ -]?too[ -]?long', '[Ll][2T][Ll]', '[Ll]ead long',
'[Ll]e(ad|de)[ -]?rewrite', '[Ll]e(ad|de) ?section', '[Vv]agueintro', '[Cc]leanup[ -]?lead', '[Ii]ntro', '[Oo]pening', '[Ll]e(ad|de)', '[Ii]ntro[ -]?rewrite', 'LEAD', 'LEDE', '[Rr]ewrite lead',
'[Ll]e(ad|de)[ -]?too[ -]?short', '[Ee]xpand ?le(ad|de)', '[Tt]oo ?[Ss]hort', '[Ss]hort ?intro', '[Ss]hort ?lead', '[Ii]ntro[ -]?too[ -]?short', '[Bb]uild lead', '[Ii]ntro[ -]?expand', 'XL', 'TSL', '[Ll]2[Ss]',
'[Ll]ong', '[Tt]oo ?big', '[Ss]horten', '[Ss]plit', '[Tt]oo[ -]?[Ll]ong', '2[Ll]', '2long', 'TOOLONG', '[Bb]igPage',
'[Mm]ain[12]?', '[Mm]ain ?[Aa]rticles?', 'MAIN', '[Mm]ain page', '[Ss]ee ?main', '[Rr]ead ?main', '[Ff]ull article', '[Hh]urricane main', '[Cc]omprehensive', '[Mm]ultiple ?issues',
'[Mm]erge.*',
'[Mm]ore footnotes needed', '.*footnote.*', '.*citations.*',
'[Nn]avbox', '[Nn]avigation', '[Nn]avigation ?[Bb]ox', '[Nn]avigation Template', '[Hh]ider hiding', '[Cc]?VG [Nn]avigation', '[Tt]ransNB', '[Nn]avtable', -- navboxes
'[N]o footnotes', '[C]itations', '[I]nline',
'[Oo]ther ?[Uu]ses?[134]?', '[Oo]thers?', '[Oo]ther ?[Mm]eanings?', '[Dd]istinguish', '[Aa]lternateuses', '[Oo]thervalues', '[Ff]or other uses',
'[Oo]utline',
'^[Pp]p', '[Pp]p%-.+', -- {{pp-move-indef}} etc.
'[Rr]edirect', '[Rr][Ee]dir', '[Rr]DR',
'[Ss]ee[ -]?[Aa]lso', '[Aa]lso', '[Ll]ooking', '[Rr]elated articles?', '[Ll]ooking for', '[Ss]ee other', 'VT',
'[Ss]emiprotected',
'[Ss]hort[ -]?desc', 'SHORTDESC', '[Dd]escription', '[Bb]rief description',
'[Ss]idebar', '[Hh]istory of', '[Gg]enocide', '[Tt]imeline', '[Tt]opic', '[Aa]ntisemitism', -- sidebars
'[Ss]pecial[Cc]hars',
'[Ss]poken', -- Spoken Wikipedia related
'[Tt]echnical', '[Jj]argon', '[Pp]lain English', '[Cc]omplex', '[Cc]omplicated', '[Gg]ibberish', '[Ss]implification needed', '[Tt]oo much jargon', '[Tt]oo specialized', '[Tt]oo technical',
'TOC', '[Tt]oc ?[Ll]imit', -- Table of contents related
'[Uu]se .+ English', '[Uu]se .+ spelling', '[Ee]ngvarB', -- {{Use American English}} etc.
'[Uu]se .+ dates', -- {{Use dmy dates}} etc.
-- {{More citations needed}} and its many aliases
'[Aa]dditional ?[Cc]itations?', '[Aa]dd? ?ref', '[Cc]itations ?[Mm]issing', '[Cc]itations ?[Nn]eeded', '[Cc]ite ?[Ss]ources?', '[Cc]leanup[ -]?[Cc]ite', '[Cc]leanup[ -]?[Vv]erify', '[Ff]ew ?[Rr]efs?', '[Ff]ew ?sources?', '[Ii]mprove[ -]?refs?', '[Ii]mprove[ -]?sources?', '[Mm][Cc][Nn]', '[Mm][Oo][Rr][Ee] ?[Cc][Nn]', '[Mm]issing ?[Cc]itations', '[Mm]issing ?[Rr]efs?', '[Mm]ore ?[Cc]itations', '[Mm]ore ?ref', '[Mm]ore ?[Ss]ources?', '[Nn]o ?sources', '[Nn]ot ?verified', '[Nn]o ?refs?', '^[Nn][Rr]', '[Rr]ef[ -]?[Ii]mprove', '[Rr]eference improve', '[Rr]eferences?', '[Rr]efs ?[Nn]eeded', '[Rr]eferenced', '[Rr]efim', '[Rr]ip', '[Ss]ources?', '[Uu]ncited[ -]?[Aa]rticle', '[Uu]nderreferenced', '[Uu][Nn][Rr][Ee]?[Ff]?', '[Uu]nsourced', '[Uu]nverified', '[Vv]erification', '[Vv]erify',
-- {{POV}} and its many aliases
'POV', '[Nn]pov', '[Pp]ov', '[Nn]POV', '[Pp]oint [Oo]f [Vv]iew', '[Nn]?[Pp][Oo][Vv][ -]?[Cc]heck', '[Pp]oV', '[Nn]eutral', '[Nn]?[Pp]OV[ -]dispute', '[Tt]oo friendly', '[Ww]hite washed', '[Pp]ov problem', '[Ss]pin', '[Nn]ot neutral', '[Nn]PoV',
},
-- Map from image parameters to captions
-- Used for extracting the file out of the infobox
captions = {
{'map1', {'legend1'} },
{'map2', {'legend2'} },
{'image', {'image_caption', 'caption', 'description'} },
{'logo', {'logo_caption'} },
},
-- Tracking categories (without the category namespace)
categories = {
content = 'Articles with excerpts',
errors = 'Articles with broken excerpts',
--[0] = 'Articles with excerpts',
},
-- Prefix for generating the hatnote
hat = '{{hatnote|extraclasses=dablink excerpt-hat|selfref=yes|1=',
-- Title of the template styles (optional)
styles = 'Excerpt/styles.css'
}