On 19/12/2007, Nelson A Li nli@csc.com wrote:
Tom,
It sounds very interesting. However, you are talking to a php/MW apprentice here. Could you elaborate the following points?
- to make an empty template and transclude it to all pages that use the
<status> tag (which can probably be done automatically by the extension)
Do I create a template contains <Status /> and link to this template (eg. {{Template:status}} in XYZ page?
That wasn't what I had in mind, but it should work.
- to make an empty template ... use the <status> tag (which can probably
be done automatically by the extension)
Do you mean calling something inside the extension code?
The extension will contain a parser hook that replaces the tag with whatever you want, I was suggesting just adding {{status}} to the end of that output.
- then you just have to make a null edit to the template -- How to do
null edit a template?
Same way as with any other page - null edit just means clicking edit and immediately clicking save without changing anything. I foolishly assumed everyone knew mediawiki jargon... I should know better, sorry.