Author: gangleri
Description:
Halló!
For
http://jadesukka.homelinux.org:8180/betawiki/Betawiki:Templates/Template:Task
some documentation is available at
http://jadesukka.homelinux.org:8180/betawiki/Project:Templates/Template:Task/description#documentation
The template includes several enhancements for [[en:Template:To do]] but due to
the lack of requested extensions is using around 170 objects. It is vanity to
create a template which reverts all language localisations.
This attempt shows that at the moment it is possible to make some programming
with the existing features in MediaWiki. It does not make sense to be
excessively restrictive regarding programming because of vandalism and should
focus on providing simpler solutions to what is available anyhow at this moment.
Developers should not tray to solve all requests alone. An intermediate platform
(based on settings, templates and roles) should be available too.
I did run into a problem regarding priority managment for "template:task" which
supports priority handling. It is stored in a extra page ".../to do/priority"
and supports 5 values. Unfortunately this "atribute" MUST be specified before
being able to continue. It would make sense to use a construct "IFEXISTS page"
in templates. Only if a page exists actions could be performed display / hide
the "output".
A simple example would be to add a link to an archive of tasks performed already.
Bug 233 relates to this because it is a kind of "IFEXISTS pages LIKE
'{{NAMESPACE}}:{{PAGENAME}}/%'" (% in MySQL).
IFEXISTS <object> should relate also to parameters of a template. This way
parameters could be optional to that respect that the number of trailing | would
NOT be mandatory.
In order not to interfeare with existing templates IFEXISTS <object> would
return TRUE for EMPTY parameters.
It is not my intention to provide a specification but to encourage taughts about
this. Another question would be how long it takes to implement after procedures
about status asigned etc. passed.
Best regards Reinhardt [[user:gangleri]]
Version: unspecified
Severity: enhancement
URL: http://jadesukka.homelinux.org:8180/betawiki/Betawiki:Templates/Template:Task