Hello,
i use MediaWiki: 1.9.3, PHP: 5.2.1 (cgi) and MySQL: 4.0.24_Debian-10sarge1-log.
I created a template called test with following code:
<includeonly> {{#switch: {{{1}}} |01 |12=31 |02 |2={{{2}}} |04 |11=30 }}</includeonly>
and when i use this template with {{test|1|2}} i get following result:
{{#switch: 1 |01 |12=31 |02 |2=2 |04 |11=30 }}
That means it does not recognize the #switch-variable. Is this not possible in MW 1.9.3?
Armin
It's obvious, but you have the ParserFunctions installed and a call to them in LocalSettings.php yes?
On 14/03/07, Armin Kniesel armin.kniesel@googlemail.com wrote:
Hello,
i use MediaWiki: 1.9.3, PHP: 5.2.1 (cgi) and MySQL: 4.0.24_Debian-10sarge1-log.
I created a template called test with following code:
<includeonly> {{#switch: {{{1}}} |01 |12=31 |02 |2={{{2}}} |04 |11=30 }}</includeonly>
and when i use this template with {{test|1|2}} i get following result:
{{#switch: 1 |01 |12=31 |02 |2=2 |04 |11=30 }}
That means it does not recognize the #switch-variable. Is this not possible in MW 1.9.3?
Armin _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Yes, thank you, that was the reason.
Armin
2007/3/14, Gary Kirk gary.kirk@gmail.com:
It's obvious, but you have the ParserFunctions installed and a call to them in LocalSettings.php yes?
On 14/03/07, Armin Kniesel armin.kniesel@googlemail.com wrote:
Hello,
i use MediaWiki: 1.9.3, PHP: 5.2.1 (cgi) and MySQL: 4.0.24_Debian-10sarge1-log.
I created a template called test with following code:
<includeonly> {{#switch: {{{1}}} |01 |12=31 |02 |2={{{2}}} |04 |11=30 }}</includeonly>
and when i use this template with {{test|1|2}} i get following result:
{{#switch: 1 |01 |12=31 |02 |2=2 |04 |11=30 }}
That means it does not recognize the #switch-variable. Is this not
possible
in MW 1.9.3?
Armin _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Gary Kirk
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I often forget to copy extensions and calls into new installations and break my wikis for a while :P
On 14/03/07, Armin Kniesel armin.kniesel@googlemail.com wrote:
Yes, thank you, that was the reason.
Armin
2007/3/14, Gary Kirk gary.kirk@gmail.com:
It's obvious, but you have the ParserFunctions installed and a call to them in LocalSettings.php yes?
On 14/03/07, Armin Kniesel armin.kniesel@googlemail.com wrote:
Hello,
i use MediaWiki: 1.9.3, PHP: 5.2.1 (cgi) and MySQL: 4.0.24_Debian-10sarge1-log.
I created a template called test with following code:
<includeonly> {{#switch: {{{1}}} |01 |12=31 |02 |2={{{2}}} |04 |11=30 }}</includeonly>
and when i use this template with {{test|1|2}} i get following result:
{{#switch: 1 |01 |12=31 |02 |2=2 |04 |11=30 }}
That means it does not recognize the #switch-variable. Is this not
possible
in MW 1.9.3?
Armin _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Gary Kirk
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I often forget to copy extensions and calls into new installations and break my wikis for a while :P
On 14/03/07, Armin Kniesel armin.kniesel@googlemail.com wrote:
Yes, thank you, that was the reason.
Armin
2007/3/14, Gary Kirk gary.kirk@gmail.com:
It's obvious, but you have the ParserFunctions installed and a call to them in LocalSettings.php yes?
On 14/03/07, Armin Kniesel armin.kniesel@googlemail.com wrote:
Hello,
i use MediaWiki: 1.9.3, PHP: 5.2.1 (cgi) and MySQL: 4.0.24_Debian-10sarge1-log.
I created a template called test with following code:
<includeonly> {{#switch: {{{1}}} |01 |12=31 |02 |2={{{2}}} |04 |11=30 }}</includeonly>
and when i use this template with {{test|1|2}} i get following result:
{{#switch: 1 |01 |12=31 |02 |2=2 |04 |11=30 }}
That means it does not recognize the #switch-variable. Is this not
possible
in MW 1.9.3?
Armin _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Gary Kirk
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org