Koha Test Wiki MW Canasta on Koha Portainer

Test major Koha Wiki changes or bug fixes here without fear of breaking the production wiki.

For the current Koha Wiki, visit https://wiki.koha-community.org .

Template:Asbox/testcases

From Koha Test Wiki MW Canasta on Koha Portainer
Jump to navigation Jump to search

Template:Template test cases

Template:Test case nowiki

Template:Test case nowiki

Template:Test case nowiki

Template:Test case nowiki

Hidden unicode char

|category= contains hidden unicode chars, DEL and LRM (if you use Chrome, notice how the spellchecker underlines part of the word as misspelled instead of the whole word when in the editor). However, note that this is still a valid category (link for Category:Østfold geography stubs is blue, not red), so it should not be sorted under 'S' in Category:Stub message templates needing attention (though it should still be sorted under 'N' for having other non-existing cats) and that the invalid char will still be outputted to the article (and would break the pseudo-categories, but should not affect actual categories) Template:Test case nowiki

Missing image

If making a major revision to the template, you may remove pre tags from below to see compare how the current and sandbox versions handle missing images. Remember to pre tag again in order to avoid cluttering Category:Templates with missing files.

{{test case nowiki|collapsible=yes|title=Missing image file|code={{__TEMPLATENAME__
 | demo      = yes
 | icon      = [[Image:Ostfold vapen missing.png|30px|border]]
 | subject   = [[Østfold]] location
 | qualifier = 
 | category  = Østfold geography stubs
}}}}

Missing params

Template:Test case nowiki

Automatic Documention

if |demo = doc Template:Test case nowiki

Ombox messages and error sorting

Template:Test case nowiki

Demo article space categories only

Same as above, but this time emulating article space (note lack of error/hidden categories and ombox; also demo cats link will not show in actual article space) Template:Test case nowiki