Location: PHPKode > projects > SchoolMedia > extensions/SpecialAddCategory.php
<?php
$wgExtensionFunctions[] = "wfExtensionSpecialAddCategory";
function wfExtensionSpecialAddCategory() {
    global $wgMessageCache;
    $wgMessageCache->addMessages(array('addcategory' => 'Add a Category')); //will expand
    // the name 'example' above should NOT have any capital letter.
    SpecialPage::addPage( new SpecialPage( 'AddCategory' ) );
}
//extension specific configuration options (like new user groups and perms) here
?>
Return current item: SchoolMedia