Jump to content

Extension talk:CategoryTests

About this board

See the talk archive for previous talk.

#switchcategory: seems to use text-parts

1
Gunnar.offel (talkcontribs)

If i generate templates that uses switchcategories, they work fine ...

but if some categories uses the same text they where mixed together: For example: i generate conntections to the consolegenerations PlayStation = 5 PlayStation 2 = 6 PlayStation 3 = 7 PlayStation 4 = 8 ..

thats fine but, all will also connected to 5 since the checked category-name is part of all of them. Is there a way to force that the whole string is needed? i tried allready to set the check reverse (from hi to low) but the switch seems to have no leave on found and crawls till complete.

Reply to "#switchcategory: seems to use text-parts"
80.151.127.32 (talkcontribs)

Hello,

maybe this is a silly post, but can you, please, provide an example, or two, how to use the extension, esp. for the ifnocategories function?

- We have no idea where (LocalSettings.php? A MW page?) to put, and how to use this extension...


- Thanks in advance!

Frank

Skizzerz (talkcontribs)

All parser functions are for use inside of wiki pages. Help:Magic words describes their general concepts in more detail. If the description of these particular functions is not clear enough for you from the extension page, the best I can say is try them out on your wiki and get firsthand experience on how they work.

87.91.248.85 (talkcontribs)

I have a bit the same question, when I write the code if category exist then... What the "then" condition should be. Does it add the page to a category if there's no category? Or what kind of actions could it do if the page is found to belong to a specific category? Deleting? Changing category? Changing the space name? I have no idea of the purpose of the extension, it's not explained in the page.

Reply to "Usage examples"
There are no older topics