User:HanTheGene/Tricks

A collection of random tid-bits that I've learned relating to wiki stuff, so that I can look them up again if I forget. it first checks whether the page is in the main namespace, so that it does not categorize the template itself. then it takes the year and adds the category for the year, or adds the category "Unlisted year" if there is no year given
 * the extension NamespacePreload allows you to set a text that gets loaded onto every new page. I use it to automatically load the format that all my pages follow (so an empty user box, a fill-in-the-blanks lead section, all the paragraphs I need, some blank [[Category: tags, etc.). Make sure to uncheck $wgNamespacePreloadDoExpansion
 * automatic categorization in templates. I use this to automatically categorize characters by year