Oh really, that'd be great!
I haven't yet had the time to install the Semantic MediaWiki extension,
but I have taken a quick look at their website.
Unfortunately, I haven't been able to find anything like that yet -
could you point me in the right direction here?
From what I understand, SMW 'only' adds some more advanced tags to the
MW syntax - so it doesn't change anything that might confuse basic
users, correct? They could still use the wiki as they always have, while
advanced users could get their hands dirty with the geeky stuff!?
-- Frederik
----- Original Message -----
From: Fernando Correia
Date: 2006-12-04 18:15
Semantic MediaWiki could be used to do this.
2006/12/4, FDG001(a)gmx.net <FDG001(a)gmx.net>et>:
> Hey guys,
>
> While I don't think this is possible (yet?), I still think it's worth
> discussing:
>
> It'd be great if you could define variables on a page that could be
> included in the text and which would then be expanded when displaying the
> output.
> Here's an example of what I mean (syntax arbitrary):
> <!-- variable definitions -->
> @status_done = <span style="color: green;">canceled</span>
> @status_inProgress = <span style="color:
blue;">canceled</span>
> @status_canceled = <span style="color:
red;">canceled</span>
> @document_manualEN = ''User Manual and Usage Notes''
> @document_manualDE = ''Benutzerhandbuch und Anwendungshinweise''
> <!-- text body -->
> This is an overview of current tasks:
> * Install MediaWiki %status_done%
> * Create Help pages %status_inProgress%
> * Go on vacation %status_canceled%
> * Create manuals:
> ** %document_manualEN%
> ** %document_manualDE%
> ** ensure consistency between %document_manualEN% and
> %document_manualDE%
> (sorry for the lack of creativity in this example, but it should suffice
> to get my point across)
>
> I believe this could enhance consistency within structured pages, and
> would probably be easy to implement - and learn - as well (too bad I'm not
> very experienced with PHP).
> While I guess the same could be achieved with regular templates, it can be
> quite bothersome having to create a new template page for each tiny element
> - not to mention the issue of coming up with unique names for a large number
> of templates that are each only used on one particular page...
>
> Any thoughts?
>
>
> -- Frederik