Difference between revisions of "Talk:MediaWiki variables"

From Organic Design wiki
(suggested variables)
m
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Hmm <tt>{</tt>{CURRENTUSER}} seems to be missing at the moment --[[User:Sven|Sven]] 06:33, 22 Jan 2007 (NZST)
+
I don't see how <tt>&#123;{EDITURL}}</tt> would be useful - if it's blank, you'll still have a visible link which just goes to no url - why not just always have a link and just have the usual perms error. --[[User:Nad|Nad]] 19:16, 5 Feb 2007 (NZST)
:{{CURRENTUSER}}
+
:Yes that would be bad. But what if you want to have a custom link to edit? Say 'hack this' insted of 'edit'. I have also had some thoughts about editing. If all MW edit controls are enclosed in a certain class it should be possible to hide/show all elements on a page. In this way you have a special link that causes all the editing controls to appear. Then when you're finished editing, it can hide them all again, showing the page as it ''realy'' is. --[[User:Rob|Rob]] 21:16, 5 Feb 2007 (NZST)
 +
::Yeah that would be easy, just use an expandable table enclosed in a div of certain class so you can change the css of the expandable to a single link - or some similar solution... --[[User:Nad|Nad]] 22:56, 5 Feb 2007 (NZST)
 
----
 
----
What about {{EDIT}}, {{XMLPROPERTIES}} ? --[[User:Rob|Rob]] 09:34, 4 Feb 2007 (NZST)
+
What about <tt>&#123;{EDIT}}</tt>, <tt>&#123;{XMLPROPERTIES}}</tt> ? --[[User:Rob|Rob]] 09:34, 4 Feb 2007 (NZST)
 +
----
 +
<tt>&#123;{CURRENTUSER}}</tt> seems to be missing at the moment --[[User:Sven|Sven]] 06:33, 22 Jan 2007 (NZST)
 +
:done - {{CURRENTUSER}}

Latest revision as of 03:49, 12 September 2011

I don't see how {{EDITURL}} would be useful - if it's blank, you'll still have a visible link which just goes to no url - why not just always have a link and just have the usual perms error. --Nad 19:16, 5 Feb 2007 (NZST)

Yes that would be bad. But what if you want to have a custom link to edit? Say 'hack this' insted of 'edit'. I have also had some thoughts about editing. If all MW edit controls are enclosed in a certain class it should be possible to hide/show all elements on a page. In this way you have a special link that causes all the editing controls to appear. Then when you're finished editing, it can hide them all again, showing the page as it realy is. --Rob 21:16, 5 Feb 2007 (NZST)
Yeah that would be easy, just use an expandable table enclosed in a div of certain class so you can change the css of the expandable to a single link - or some similar solution... --Nad 22:56, 5 Feb 2007 (NZST)

What about {{EDIT}}, {{XMLPROPERTIES}} ? --Rob 09:34, 4 Feb 2007 (NZST)


{{CURRENTUSER}} seems to be missing at the moment --Sven 06:33, 22 Jan 2007 (NZST)

done - 216.73.216.181