Difference between revisions of "Talk:Toolbox"

From Organic Design wiki
(if syntax)
("if" is in the [http://meta.wikimedia.org/wiki/ParserFunctions ParserFunctions] extension)
 
Line 2: Line 2:
 
:We don't have "if" or functions in our MW-variables yet, I might add those later.
 
:We don't have "if" or functions in our MW-variables yet, I might add those later.
 
:There's already <tt>{</tt><tt>{NAMESPACE}}</tt> and <tt>{</tt><tt>{NAMESPACEE}}</tt> variables to know if its user/talk etc
 
:There's already <tt>{</tt><tt>{NAMESPACE}}</tt> and <tt>{</tt><tt>{NAMESPACEE}}</tt> variables to know if its user/talk etc
:: I recall an ''if'' syntax on wikipedia, might be a simple extension of template (can't remember) --[[User:Sven|Sven]] 22:58, 25 Jan 2007 (NZST)
+
::I recall an ''if'' syntax on wikipedia, might be a simple extension of template (can't remember) --[[User:Sven|Sven]] 22:58, 25 Jan 2007 (NZST)
 +
:::"if" is in the [http://meta.wikimedia.org/wiki/ParserFunctions ParserFunctions] extension, but need to do some work to get it working in 1.4.x --[[User:Nad|Nad]] 23:29, 25 Jan 2007 (NZST)
 
----
 
----
 
Clicking on the history of this [[Toolbox|article]] give me the php error;
 
Clicking on the history of this [[Toolbox|article]] give me the php error;

Latest revision as of 23:29, 25 January 2007

How can we add [User contributions] to the toolbox for any User, or User talk namespace we are currently on? Looks to me that we need and if statement syntax and a namespace variable (or just do it manually in the url). --Sven 21:27, 25 Jan 2007 (NZST)

We don't have "if" or functions in our MW-variables yet, I might add those later.
There's already {{NAMESPACE}} and {{NAMESPACEE}} variables to know if its user/talk etc
I recall an if syntax on wikipedia, might be a simple extension of template (can't remember) --Sven 22:58, 25 Jan 2007 (NZST)
"if" is in the ParserFunctions extension, but need to do some work to get it working in 1.4.x --Nad 23:29, 25 Jan 2007 (NZST)

Clicking on the history of this article give me the php error;

Fatal error: Call to a member function on a non-object in /var/www/od/wiki/index.php(52) : eval()'d code(537) : eval()'d code on line 113

--Sven 19:42, 19 Jan 2007 (NZST)

Found and fixed the problem ;-)