On Thu, 26 Aug 2004 02:05:30 +0200 Thomas Gries mail@tgries.de wrote:
I need more variables than the current ones (see http://meta.wikimedia.org/wiki/Help:Variable ) especially needed are:
{{{PAGEEDITOR}}} {{{PAGEEDITTIMESTAMPUTC}}} {{{PAGEEDITOREMAILADDR}}} {{{PAGEEDITTIMELOCALTIMEOFEDITOR}}}
to be used in templates.
Imagine a Personal View Disclaimer template called Template:PVD . It can be referenced on any page as {{PVD}} .
But this template shall end up with the current NAME OF THE PAGE EDITOR who used this template on a page Z !
<div id="toc" style="background:#F2F8F8;border-width:1px 1px 1px 1px;">''[[PersonalViewDisclaimer|Personal View Disclaimer]]:'' The content of this page represents my personal opinions. It does not represent the view of my employer, or any one else, for that matter, in any way. My thoughts and opinions may change over time. Old entries do not necessarily reflect my current thinking. {{{PAGEEDITOR}}}</div>
I hope, that you understand, what I mean. I could not find a solution to solve my problem. Reading the source of 1.3.1 and http://meta.wikimedia.org/wiki/Help:Variable I guess, the patch is not that difficult, and the above mentioned variables can easily be retrieved from the database tables and are an amelioration of MediaWiki.
Tom
Isn't what you are looking for in {{{PAGEEDITOR}}} exactly what is already given by ~~~?
Andre Engels