Last modified: 2011-09-21 15:01:26 UTC
I'm using a random number extension on Wikigames
(<http://games.wikicities.com/wiki/Wikigames>) but it doesn't work inside links.
[[<random>1 2</random>]] gives me a link to
Also, images appear missing if you use
[[Image:Test<random>3 4</random>.png]] even though Image:Test3.png and
Image:Test4.png exist. See
I've seen something similar in another extension, but I don't remember which
one. I'm guessing it applies to all extensions using custom tags like this.
Enabling this would be a major change to the way those extensions work. Their
output is supposed to be HTML. MediaWiki should not handle it as wikitext. Thus
it's hidden using NaodW-style escaping.
The extension would have to indicate whether it needs escaping or whether its
output should be treated as wikitext. Parser.php should then check this and only
escape extensions that need escaping.
(In reply to comment #1)
> The extension would have to indicate whether it needs escaping or whether its
> output should be treated as wikitext. Parser.php should then check this and only
> escape extensions that need escaping.
Anything new on this?
The workaround from [[meta:User:Algorithm/RandomSelection]] is far less fexible
because it requires to explicitely declare all choices. [[sample<random>1
200</random>]] would require 200 choices.
Is this about the same issue as
bug 3896: Nested extension calls inside templates cause incomplete rendering ?
The request from bug 3896 *works* according to bug 3896 comment 7 .
best regards reinhardt [[user:gangleri]]
*** Bug 8970 has been marked as a duplicate of this bug. ***