Modulo:mlawc/dokumentado: Malsamoj inter versioj

4 099 bitokojn aldonis ,  antaŭ 8 monatoj
forigas CIMOJN
(plibo)
(forigas CIMOJN)
* actual result: "{{#invoke:mlawc|ek}}"
 
::* #T01 ("eo", one param, evil)
::* expected result: #E02
::* actual result: "{{#invoke:mlawc|ek|eo}}"
 
* #T02 ("en|SB", page "hole", simplest example)
* actual result: "{{#invoke:mlawc|ek|en|SB|pagenameoverridetestonly=hole|nocat=true}}"
 
::* #T03 ("en|??", page "hole")
::* expected result: OK
::* actual result: "{{#invoke:mlawc|ek|en|??|pagenameoverridetestonly=hole|nocat=true}}"
 
* #T04 ("??|SB", page "hole")
* actual result: "{{#invoke:mlawc|ek|??|SB|pagenameoverridetestonly=hole|nocat=true}}"
 
::* #T05 ("??|??", page "mojosa")
::* expected result: #E06
::* actual result: "{{#invoke:mlawc|ek|??|??|pagenameoverridetestonly=mojosa|nocat=true}}"
 
* #T06 ("id|SBGR", page "pembangkit listrik", default split)
* actual result: "{{#invoke:mlawc|ek|id|SBGR|pagenameoverridetestonly=pembangkit listrik|nocat=true}}"
 
::* #T07 ("en|SB|tria", page "hole", too many params)
::* expected result: #E02
::* actual result: "{{#invoke:mlawc|ek|en|SB|tria|pagenameoverridetestonly=hole|nocat=true}}"
 
* #T08 ("en|SB|tria|kvara", page "hole", too many params)
* expected result: #E02
* actual result: "{{#invoke:mlawc|ek|en|SB|tria|kvara|pagenameoverridetestonly=hole|nocat=true}}"
: ---------------------------------------
 
* #T10 ("id|SBGR|fra=%N-", page "pembangkit listrik", no split)
* expected result: OK
* actual result: "{{#invoke:mlawc|ek|id|SBGR|fra=%N-|pagenameoverridetestonly=pembangkit listrik|nocat=true}}"
 
::* #T11 ("id|SBGR", page "pembangkit listrik tenaga surya", default split)
::* expected result: OK
::* actual result: "{{#invoke:mlawc|ek|id|SBGR|pagenameoverridetestonly=pembangkit listrik tenaga surya|nocat=true}}"
 
* #T12 ("id|SBGR|fra=%N-", page "pembangkit listrik tenaga surya", no split)
* expected result: OK
* actual result: "{{#invoke:mlawc|ek|id|SBGR|fra=%N-|pagenameoverridetestonly=pembangkit listrik tenaga surya|nocat=true}}"
 
::* #T13 ("id|SBGR|fra=%0", page "pembangkit listrik tenaga surya", auto split except ZERO)
::* expected result: OK
::* actual result: "{{#invoke:mlawc|ek|id|SBGR|fra=%0|pagenameoverridetestonly=pembangkit listrik tenaga surya|nocat=true}}"
 
* #T14 ("id|SBGR|fra=%1", page "pembangkit listrik tenaga surya", auto split except ONE)
* actual result: "{{#invoke:mlawc|ek|id|SBGR|fra=%1|pagenameoverridetestonly=pembangkit listrik tenaga surya|nocat=true}}"
 
::* #T15 ("id|SBGR|fra=%2", page "pembangkit listrik tenaga surya", auto split except 2)
::* expected result: OK
::* actual result: "{{#invoke:mlawc|ek|id|SBGR|fra=%2|pagenameoverridetestonly=pembangkit listrik tenaga surya|nocat=true}}"
 
: ---------------------------------------
* #T16 ("id|SBGR|fra=%3", page "pembangkit listrik tenaga surya", auto split except 3, ignored)
 
* #T16T20 ("id|SBGR|fra=%3", page "pembangkit listrik tenaga surya", auto split except 3, ignored)
* expected result: OK
* actual result: "{{#invoke:mlawc|ek|id|SBGR|fra=%3|pagenameoverridetestonly=pembangkit listrik tenaga surya|nocat=true}}"
 
::* #T17T21 ("id|SBGR|fra=%nF", page "pembangkit listrik tenaga surya", invalidauto codesplit except "F" AKA 15, ignored)
::* expected result: OK but silly "%n" visible
::* actual result: "{{#invoke:mlawc|ek|id|SBGR|fra=%nF|pagenameoverridetestonly=pembangkit listrik tenaga surya|nocat=true}}"
 
* #T22 ("id|SBGR|fra=%G", page "pembangkit listrik tenaga surya", invalid split control string, bad char)
: ---------------------------------------
:* expected result: #E07
:* actual result: "{{#invoke:mlawc|ek|eoid|KASBGR|fra=[[ri|Mi]] [[estas fin-v]]]enk[[-ist|isto]]!!!%G|pagenameoverridetestonly=Mipembangkit listrik estastenaga fin-venkisto!!!surya|nocat=true}}"
 
::* #T20T23 ("enid|KASBGR|fra=%12", page "Whenpembangkit inlistrik atenaga holesurya", stopauto digging.",split defaultexcept but1 suboptimaland split2)
::* expected result: OK
::* actual result: "{{#invoke:mlawc|ek|id|SBGR|fra=%12|pagenameoverridetestonly=pembangkit listrik tenaga surya|nocat=true}}"
 
* #T24 ("id|SBGR|fra=%23456789", page "pembangkit listrik tenaga surya", auto split except 2...9, junk ignored)
* expected result: OK
* actual result: "{{#invoke:mlawc|ek|enid|KASBGR|fra=%23456789|pagenameoverridetestonly=When in apembangkit hole,listrik stoptenaga digging.surya|nocat=true}}"
 
::* #T21T25 ("enid|KASBGR|fra=%N123456789", page "Whenpembangkit inlistrik atenaga hole, stop digging.surya", noauto split except 1...9, notoo linklong)
::* expected result: OK#E07
::* actual result: "{{#invoke:mlawc|ek|enid|KASBGR|fra=%N123456789|pagenameoverridetestonly=When in apembangkit hole,listrik stoptenaga digging.surya|nocat=true}}"
 
* #T22T26 ("enid|KASBGR|fra=%L23456781", page "Whenpembangkit inlistrik atenaga hole, stop digging.surya", auto split andexcept nonsense, fixnot caseascending)
* expected result: #E07
* actual result: "{{#invoke:mlawc|ek|id|SBGR|fra=%23456781|pagenameoverridetestonly=pembangkit listrik tenaga surya|nocat=true}}"
 
: ---------------------------------------
 
* #T30 ("en|KA", page "When in a hole, stop digging.", default but suboptimal split)
* expected result: OK
* actual result: "{{#invoke:mlawc|ek|en|KA|fra=%L|pagenameoverridetestonly=When in a hole, stop digging.|nocat=true}}"
 
::* #T23T31 ("en|KA|fra=%L-", page "When Inin Aa Holehole, Stopstop Diggingdigging.", autono split and fix case, German style, lowercaseno onelink)
::* expected result: OK
::* actual result: "{{#invoke:mlawc|ek|en|KA|fra=%L-|pagenameoverridetestonly=When Inin Aa Holehole, Stopstop Diggingdigging.|nocat=true}}"
 
* #T24T32 ("en|KA|fra=%A#0I", page "When Inin Aa Holehole, Stopstop Diggingdigging.", auto split and fix case, Germanlowercase style,frag lowercaseindex all0)
* expected result: OK
* actual result: "{{#invoke:mlawc|ek|en|KA|fra=%A#0I|pagenameoverridetestonly=When Inin Aa Holehole, Stopstop Diggingdigging.|nocat=true}}"
 
::* #T25T33 ("enid|KASBGR|fra=%L1 #2A", page "Diggingpembangkit listrik tenaga surya", auto split andexcept fixboun caseONE requestedand butuppercase no splitfrag pointsindex available2)
::* expected result: OK (textsilly with "Digginglistrik tenaga" together and no link to "diggingsurya" norlinking to "DiggingSurya")
::* actual result: "{{#invoke:mlawc|ek|enid|KASBGR|fra=%L1 #2A|pagenameoverridetestonly=Diggingpembangkit listrik tenaga surya|nocat=true}}"
 
* #T26T34 ("en|KA|fra=%L#0I", page "When inIn RomeA Hole, doStop as the Romans doDigging.", auto split, andGerman fix casestyle, badlowercase resultfrag dueindex to word "Romans"0)
* expected result: OK
* actual result: "{{#invoke:mlawc|ek|en|KA|fra=%L#0I|pagenameoverridetestonly=When inIn RomeA Hole, do as the RomansStop doDigging.|nocat=true}}"
 
::* #T35 ("en|KA|fra=#0I #3I #4I #5I", page "When In A Hole, Stop Digging.", auto split, German style, lowercase frag index 0 3 4 5)
::* expected result: OK
::* actual result: "{{#invoke:mlawc|ek|en|KA|fra=#0I #3I #4I #5I|pagenameoverridetestonly=When In A Hole, Stop Digging.|nocat=true}}"
 
: ---------------------------------------
 
* #T40 ("en|KA|fra=#0I", page "Digging", auto split and fix case requested index 0 but no split boundaries available)
* #T30 ("deu|SB", page "hole", invalid lng)
* expected result: #E04OK (raw text "Digging" and no link to "digging" nor "Digging")
* actual result: "{{#invoke:mlawc|ek|deuen|SBKA|fra=#0I|pagenameoverridetestonly=holeDigging|nocat=true}}"
 
::* #T31T41 ("xxxsv|SBKA", page "hole?va?", unknowndefault lngsplit)
::* expected result: #E05OK (link to "va")
::* actual result: "{{#invoke:mlawc|ek|xxxsv|SBKA|pagenameoverridetestonly=hole?va?|nocat=true}}"
 
* #T32T42 ("ensv|SSKA", page "hole?va", invaliddefault word classsplit)
* expected result: #E06OK (link to "va")
* actual result: "{{#invoke:mlawc|ek|ensv|SSKA|pagenameoverridetestonly=hole?va|nocat=true}}"
 
::* #T33T43 ("ensv|SB??KA", page "moveva?", invaliddefault use of "??"split)
::* expected result: #E06OK (link to "va")
::* actual result: "{{#invoke:mlawc|ek|ensv|SB??KA|pagenameoverridetestonly=moveva?|nocat=true}}"
 
* #T34T44 ("ensv|??SBKA", page "moveva", invaliddefault usesplit ofbut "??"no split boundaries available)
* expected result: #E06OK (no link)
* actual result: "{{#invoke:mlawc|ek|ensv|??SBKA|pagenameoverridetestonly=moveva|nocat=true}}"
 
::* #T35T45 ("ensv|????KA|fra=%01", page "move?va?", invalid2 useboundaries ofavailable "??"but both are blocked)
::* expected result: #E06OK (raw text "?va?" and no link)
::* actual result: "{{#invoke:mlawc|ek|ensv|????KA|fra=%01|pagenameoverridetestonly=move?va?|nocat=true}}"
 
: ---------------------------------------
 
* #T40T50 ("eoen|KA|fra=#0I", page "MiWhen estasin fin-venkisto!!!Rome, do as the Romans do.", defaultauto split and fix case frag 0, suboptimal result due to word "Romans")
* expected result: OK (links to "when" and "Romans")
* actual result: "{{#invoke:mlawc|ek|en|KA|fra=#0I|pagenameoverridetestonly=When in Rome, do as the Romans do.|nocat=true}}"
 
::* #T51 ("en|KA|fra=#0I #6:Roman", page "When in Rome, do as the Romans do.", auto split and fix case frag 0, good result, fixed word "Romans" index 6)
::* expected result: OK (links to "when" and "Roman")
::* actual result: "{{#invoke:mlawc|ek|en|KA|fra=#0I #6:Roman|pagenameoverridetestonly=When in Rome, do as the Romans do.|nocat=true}}"
 
* #T52 ("en|KA|fra=#0I #6:Roman", page "When in,, , Rome, do as the Romans do.", auto split and fix case frag 0, fixed word "Romans" index 6)
* expected result: silly OK (links to "when" and "Roman")
* actual result: "{{#invoke:mlawc|ek|en|KA|fra=#0I #6:Roman|pagenameoverridetestonly=When in,, , Rome, do as the Romans do.|nocat=true}}"
 
::* #T53 ("en|KA|fra=%01 #0I #4:Roman", page "When in,, , Rome, do as the Romans do.", auto split and fix case frag 0, fixed word "Romans" index 4 now)
::* expected result: silly OK (links to "when" and "Roman")
::* actual result: "{{#invoke:mlawc|ek|en|KA|fra=%01 #0I #4:Roman|pagenameoverridetestonly=When in,, , Rome, do as the Romans do.|nocat=true}}"
 
* #T54 ("eo|KA", page "!!!Mi jam,? estas fin-venkisto!!!", default split)
* expected result: OK
* actual result: "{{#invoke:mlawc|ek|eo|KA|pagenameoverridetestonly=!!!Mi jam,? estas fin-venkisto!!!|nocat=true}}"
 
::* #T41T55 ("eo|KA|fra=%N-", page "!!!Mi jam,? estas fin-venkisto!!!", no split)
::* expected result: OK
::* actual result: "{{#invoke:mlawc|ek|eo|KA|fra=%N-|pagenameoverridetestonly=!!!Mi jam,? estas fin-venkisto!!!|nocat=true}}"
 
* #T42T56 <nowiki>("eo|KA|fra=[[ri|Mi]] [[estas fin-v]]enk[[-ist|isto]]!!!#3:fino", page "!!!Mi jam,? estas fin-venkisto!!!", manualdefault split, and link "fin-venkisto" to "fino")</nowiki>
* expected result: OK
* actual result: "{{#invoke:mlawc|ek|eo|KA|fra=[[ri#3:fino|Mi]] [[estas fin-v]]enk[[-ist|isto]]pagenameoverridetestonly=!!!|pagenameoverridetestonly=Mi jam,? estas fin-venkisto!!!|nocat=true}}"
 
: ---------------------------------------
:* #T43 <nowiki>("eo|KA|fra=[[ri|Mi]] [[estas fin-v]]]enk[[-ist|isto]]!!!", page "Mi estas fin-venkisto!!!", broken manual split)</nowiki>
:* expected result: #E07
:* actual result: "{{#invoke:mlawc|ek|eo|KA|fra=[[ri|Mi]] [[estas fin-v]]]enk[[-ist|isto]]!!!|pagenameoverridetestonly=Mi estas fin-venkisto!!!|nocat=true}}"
 
* #T30T60 ("deu|SB", page "hole", invalid lng)
* #T44 <nowiki>("eo|KA|fra=[[mi|Mi]] [[estas fin-v]]e''nki''sto!!!", page "Mi estas fin-venkisto!!!", broken manual split)</nowiki>
* expected result: #E07E04
* actual result: "{{#invoke:mlawc|ek|eodeu|KA|fra=[[mi|Mi]] [[estas fin-v]]e''nki''sto!!!SB|pagenameoverridetestonly=Mi estas fin-venkisto!!!hole|nocat=true}}"
 
::* #T61 ("xxx|SB", page "hole", unknown lng)
::* expected result: #E05
::* actual result: "{{#invoke:mlawc|ek|xxx|SB|pagenameoverridetestonly=hole|nocat=true}}"
 
* #T56T62 ("en|AVKUSS", page "ASAPhole", seeinvalid categoriesword class)
* expected result: #E06
* actual result: "{{#invoke:mlawc|ek|en|SS|pagenameoverridetestonly=hole|nocat=true}}"
 
::* #T63 ("en|SB??", page "move", invalid use of "??")
::* expected result: #E06
::* actual result: "{{#invoke:mlawc|ek|en|SB??|pagenameoverridetestonly=move|nocat=true}}"
 
* #T64 ("en|??SB", page "move", invalid use of "??")
* expected result: #E06
* actual result: "{{#invoke:mlawc|ek|en|??SB|pagenameoverridetestonly=move|nocat=true}}"
 
::* #T65 ("en|????", page "move", invalid use of "??")
::* expected result: #E06
::* actual result: "{{#invoke:mlawc|ek|en|????|pagenameoverridetestonly=move|nocat=true}}"
 
: ---------------------------------------
 
* #T50T70 ("en|AVKU", page "ASAP")
* expected result: OK
* actual result: "{{#invoke:mlawc|ek|en|AVKU|pagenameoverridetestonly=ASAP|nocat=true}}"
 
::* #T51T71 ("en|SJ", page "when")
::* expected result: OK
::* actual result: "{{#invoke:mlawc|ek|en|SJ|pagenameoverridetestonly=when|nocat=true}}"
 
* #T52T72 ("sv|SB|dst=baza banan", page "banan", try to link to this one)
* expected result: OK
* actual result: "{{#invoke:mlawc|ek|sv|SB|dst=baza banan|pagenameoverridetestonly=banan|nocat=true}}"
 
::* #T53T73 ("sv|SB|dst=fleksia", page "banan", try to link to this one, no categories)
::* expected result: OK
::* actual result: "{{#invoke:mlawc|ek|sv|SB|dst=fleksia|pagenameoverridetestonly=banan|nocat=true}}"
::* actual result via debu: "{{debu|{{#invoke:mlawc|ek|sv|SB|dst=fleksia|pagenameoverridetestonly=banan|nocat=true}}|nw}}"
 
* #T54T74 ("sv|SB|dst=baza [ba]nan", page "banan", illegal brackets)
* expected result: #E08
* actual result: "{{#invoke:mlawc|ek|sv|SB|dst=baza [ba]nan|pagenameoverridetestonly=banan|nocat=true}}"
 
::* #T55T75 ("sv|SB|dst=banan'", page "banan", illegal apo)
::* expected result: #E08
::* actual result: "{{#invoke:mlawc|ek|sv|SB|dst=banan'|pagenameoverridetestonly=banan|nocat=true}}"
 
* #T76 ("en|AVKU", page "ASAP", see categories)
<pre>
* #T56 ("en|AVKU", page "ASAP", see categories)
* expected result: OK
* actual result: "{ {#invoke:mlawc|ek|en|AVKU|pagenameoverridetestonly=ASAP} }" (blocked)
* actual result via debu: "{{debu|{{#invoke:mlawc|ek|en|AVKU|pagenameoverridetestonly=ASAP}}|nw}}"
 
::* #T57T77 ("en|SJ", page "when", see categories)
::* expected result: OK
::* actual result: "{ {#invoke:mlawc|ek|en|SJ|pagenameoverridetestonly=when} }" (blocked)
::* actual result via debu "{{debu|{{#invoke:mlawc|ek|en|SJ|pagenameoverridetestonly=when}}|nw}}"
</pre>
 
* #T78 ("en|AVKU|dst=test", page "ASAP", silly maximal test for anchors and categories)
* expected result: OK
* actual result: "{ {#invoke:mlawc|ek|en|AVKU|dst=test|pagenameoverridetestonly=ASAP} }" (blocked)
* actual result via debu "{{debu|{{#invoke:mlawc|ek|en|AVKU|dst=test|pagenameoverridetestonly=ASAP}}|nw}}"
 
: ---------------------------------------
 
* note that tests #56T73 and#T76 #57T77 cannotand be#T78 executeddepend on the docs subpage"debu"
* note that tests #T73 #T76 #T77 and #T78 cannot be reasonably executed on the docs subpage without help of "pate" or "debu"
 
</noinclude>
33 858

redaktoj