Pojdi na vsebino

Pogovor o modulu:Category handler/testniprimeri

Vsebina strani ni podprta v drugih jezikih.
Iz Wikipedije, proste enciklopedije

4 tests failed.

test_blacklist
Text Expected Actual
DaD {{#invoke:Category handler|main| main = Category:Somecat1

| page = Main Page}}

Category:Somecat1 Category:Somecat1
DaD {{#invoke:Category handler|main| talk = Category:Somecat1

| page = Talk:Main Page}}

Category:Somecat1 Category:Somecat1
DaD {{#invoke:Category handler|main| wikipedia = Category:Somecat1

| page = Wikipedia:Cascade-protected items}}

Category:Somecat1 Category:Somecat1
DaD {{#invoke:Category handler|main| wikipedia = Category:Somecat1

| page = Wikipedia:Cascade-protected items/}}

Category:Somecat1 Category:Somecat1
DaD {{#invoke:Category handler|main| wikipedia = Category:Somecat1

| page = Wikipedia:Cascade-protected items/Foo}}

Category:Somecat1 Category:Somecat1
DaD {{#invoke:Category handler|main| wikipedia = Category:Somecat1

| page = Wikipedia:Cascade-protected itemsFoo}}

Category:Somecat1 Category:Somecat1
DaD {{#invoke:Category handler|main| talk = Category:Somecat1

| page = Wikipedia talk:Cascade-protected items}}

Category:Somecat1 Category:Somecat1
DaD {{#invoke:Category handler|main| user = Category:Somecat1

| page = User:UBX}}

DaD {{#invoke:Category handler|main| user = Category:Somecat1

| page = User talk:UBX}}

DaD {{#invoke:Category handler|main| user = Category:Somecat1

| page = User:UBX/Sociology}}

DaD {{#invoke:Category handler|main| user = Category:Somecat1

| page = User:UBX/Userboxes}}

DaD {{#invoke:Category handler|main| user = Category:Somecat1

| page = User talk:UBX/Userboxes}}

DaD {{#invoke:Category handler|main| wikipedia = Category:Somecat1

| page = Wikipedia:Template messages}}

Category:Somecat1 Category:Somecat1
DaD {{#invoke:Category handler|main| wikipedia = Category:Somecat1

| page = Wikipedia:Template messages/}}

Category:Somecat1 Category:Somecat1
DaD {{#invoke:Category handler|main| wikipedia = Category:Somecat1

| page = Wikipedia:Template messagesFoo}}

Category:Somecat1 Category:Somecat1
☒N {{#invoke:Category handler|main| wikipedia = Category:Somecat1

| page = Wikipedia:Template messages/Cleanup}}

Category:Somecat1
☒N {{#invoke:Category handler|main| talk = Category:Somecat1

| page = Talk:Jerusalem/Archive 2}}

Category:Somecat1
☒N {{#invoke:Category handler|main| talk = Category:Somecat1

| page = Talk:Jerusalem/archive 2}}

Category:Somecat1
DaD {{#invoke:Category handler|main| talk = Category:Somecat1

| page = Talk:Jerusalem}}

Category:Somecat1 Category:Somecat1
test_template_testcases_page
Text Expected Actual
DaD {{#invoke:Category handler|main}}
DaD {{#invoke:Category handler|main| Somecat}}
DaD {{#invoke:Category handler|main| Somecat

| page = Somearticle}}

Somecat Somecat
DaD {{#invoke:Category handler|main| Somecat

| page = File:Example/test}}

Somecat Somecat
DaD {{#invoke:Category handler|main| Somecat

| page = File:Example/test | nocat = }}

Somecat Somecat
DaD {{#invoke:Category handler|main| Somecat

| page = File:Example/test | nocat = true}}

DaD {{#invoke:Category handler|main| main = Category:Somecat1 Category:Somecat2

| 1 = Category:Somecat3 <!--For help, user and template space--> | help = 1 | user = 1 | template = 1 | talk = <!--No categories on talk pages--> | other = Category:Somecat4 <!--For all other namespaces--> | nocat = {{{nocat|}}} <!--So "nocat=true/false" works-->}}

DaD {{#invoke:Category handler|main| main = Category:Somecat1 Category:Somecat2

| 3 = Category:Somecat3 <!--For help, user and template space--> | help = 3 | user = 3 | template = 3 | talk = <!--No categories on talk pages--> | other = Category:Somecat4 <!--For all other namespaces--> | nocat = {{{nocat|}}} <!--So "nocat=true/false" works-->}}

DaD {{#invoke:Category handler|main| main = Category:Somecat1 Category:Somecat2

| 3 = Category:Somecat3 <!--For help, user and template space--> | help = 3 | user = 3 | template = 3 | talk = <!--No categories on talk pages--> | other = Category:Somecat4 <!--For all other namespaces--> | nocat = {{{nocat|}}} <!--So "nocat=true/false" works--> | page = Somearticle}}

Category:Somecat1 Category:Somecat2 Category:Somecat1 Category:Somecat2
DaD {{#invoke:Category handler|main| other = Somecat}} Somecat Somecat
☒N {{#invoke:Category handler|main| other = Somecat

| page = User talk:Example/Archive 5}}

Somecat
DaD {{#invoke:Category handler|main| other = Somecat

| page = User talk:Example/Archive 5 | nocat = false}}

Somecat Somecat
DaD {{#invoke:Category handler|main| other = Somecat

| categories = no}}

DaD {{#invoke:Category handler|main| other = Somecat

| page = User talk:Example/Archive 5 | categories = yes}}

Somecat Somecat
DaD {{#invoke:Category handler|main| other = Somecat

| category2 = no}}

DaD {{#invoke:Category handler|main| other = Somecat

| category2 = }}

DaD {{#invoke:Category handler|main| other = Somecat

| category2 = ¬}}

Somecat Somecat
DaD {{#invoke:Category handler|main| other = Somecat

| category2 = {{{category|¬}}}}}

Somecat Somecat
DaD {{#invoke:Category handler|main| other = Somecat

| page = User talk:Example/Archive 5 | category2 = yes}}

Somecat Somecat
DaD {{#invoke:Category handler|main| main = Category:Somecat1

| other = Category:Somecat2 | subpage = no}}

DaD {{#invoke:Category handler|main| main = Category:Somecat1

| other = Category:Somecat2 | subpage = no | page = User:Example}}

Category:Somecat2 Category:Somecat2
DaD {{#invoke:Category handler|main| main = Category:Somecat1

| other = Category:Somecat2 | subpage = no | page = User:Example/test}}

DaD {{#invoke:Category handler|main| main = Category:Somecat1

| other = Category:Somecat2 | subpage = only}}

Category:Somecat2 Category:Somecat2
DaD {{#invoke:Category handler|main| main = Category:Somecat1

| other = Category:Somecat2 | subpage = only | page = User:Example}}

DaD {{#invoke:Category handler|main| main = Category:Somecat1

| other = Category:Somecat2 | subpage = only | page = User:Example/test}}

Category:Somecat2 Category:Somecat2
DaD {{#invoke:Category handler|main| main = Category:Somecat1

| other = Category:Somecat2 | subpage = no | page = User:Example}}

Category:Somecat2 Category:Somecat2
DaD {{#invoke:Category handler|main| main = Category:Somecat1

| other = Category:Somecat2 | subpage = no | page = User:Example/test}}

DaD {{#invoke:Category handler|main| main = Category:Somecat1

| other = Category:Somecat2 | subpage = only | page = User:Example/test}}

Category:Somecat2 Category:Somecat2

Začnite razpravo o temi Modul:Category handler/testniprimeri

Začnite razpravo