After spending the afternoon investigating MediaWiki templates, I’ve decided that for the most part they are more trouble than they’re worth for any of my applications. I tried to create a ‘done’ template, that took username, user initials, date and ‘done note’ parameters, but really the code to call the template was just as long as not using the template, and the template broke when the ‘done note’ included a link that included an equals sign, which is just too shoddy. I’m giving up on templates until I find I actually have a use for them where the technology solves a problem that I actually have. At the moment that’s nothing.
Tag Archives: mediawiki
MediaWiki templates
Today, after a long time, I am finally ready to learn about MediaWiki templates. After having put that off for weeks since I’d first heard of them, I found that it only took about five minutes to learn just about everything there is to know about them from the MediaWiki templates documentation. I think there are a few areas of the ProgClub wiki that could do with the use of templates, might go and see to that now.
Configuring MediaWiki email settings
Found the doco for MediaWiki’s email settings and now my config looks a little like this:
$wgEnableEmail = true; $wgEnableUserEmail = true; # UPO $wgEmergencyContact = "pcwiki@progclub.org"; $wgPasswordSender = "pcwiki@progclub.org"; $wgNoReplyAddress = $wgEmergencyContact; $wgPasswordSenderName = "ProgClub wiki";
MediaWiki/Wikipedia content distribution
Involved in some design discussion on the wikitech mailing list.
MediaWiki extensions repository
I found the svn repository for MediaWiki extensions:
http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions
There are a lot of extensions in there. Not sure if adding it as an external on my own repository was a good idea or not. Let’s see how that goes.
At a glance I found a few interesting extensions. I bumped into them while searching for a NoTitle extension, which I couldn’t find. There was StalkerLog, which logs user logins/logouts; and WhoIsWatching, which displays who is watching particular pages.
Mods to MediaWiki published
I updated the Pcwiki page with a Notes for implementers section, and posted to the wikitech-l list about my mods to MediaWiki. It’d be pretty exciting if they’re interested in them!