21 July 2005:
'Boilerplate' text à la MediaWiki
I'm rather surprised this hasn't already been suggested, but I can't find any mention of it. What I'd really love in my wiki [link removed - currently offline] is the capability to add a standard message to any page, like the 'stub'/'cleanup'/etc messages in Wikipedia's MediaWiki software.
I don't know how MediaWiki does it. What I'm envisaging is something like this...
- A separate plain-text file of messages
- (Something like...
stub: This page is a [[stub]], please expand it
controversial: Please note that this is a controversial topic)
- (Reasons for separate file: it would mean only the domain owner could edit it, which is what I'd want, and I wouldn't have to update the wiki.pl every time I changed it.)
- Ideally you'd be able to use wiki-markup in the message file and it'd parse correctly once pulled in - but that's not essential, as long as I could use HTML.
- Then you'd put something like {msg:stub} on the page, and it'd pull in the relevant line of text.
- (The curly braces are MediaWiki's syntax, but I'm not particularly attached to that: whatever's easiest and most logical.)
--Suitov
- This functionality is implemented by WikiPatches/WikiTemplate -- UngarPeter