Last modified: 2011-09-21 15:01:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T4681, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2681 - Can't include an extension inside a link
Can't include an extension inside a link
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://games.wikicities.com/wiki/Dice
:
: 8970 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-03 04:39 UTC by Angela
Modified: 2011-09-21 15:01 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Angela 2005-07-03 04:39:40 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
[[NaodW29-random575cc3d42ccccdbb00000004]]

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
http://games.wikicities.com/index.php?title=Games:Sandbox&oldid=118

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.
Comment 1 JeLuF 2005-07-07 05:26:17 UTC
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.
Comment 2 lɛʁi לערי ריינהארט 2005-10-14 17:23:41 UTC
(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.


Comment 3 lɛʁi לערי ריינהארט 2005-12-13 19:50:27 UTC
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]]
Comment 4 Rob Church 2007-02-13 18:27:46 UTC
*** Bug 8970 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links