Last modified: 2014-09-23 23:13:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 27693 - File links containing double pipes ([[File:Foo.jpg|16px||Bar]] etc) are mangled inside wikitables
File links containing double pipes ([[File:Foo.jpg|16px||Bar]] etc) are mangl...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.18.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: need-parsertest, newparser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-24 20:30 UTC by vlakoff
Modified: 2014-09-23 23:13 UTC (History)
6 users (show)

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


Attachments

Description vlakoff 2011-02-24 20:30:19 UTC
Since 1.17 update, when using [[File:]] with an empty parameter inside a wikitable, parameters are shifted.

this works (size 16px, alt=<filename>):
[[File:Increase2.svg|16px||link=]]

... but this doesn't work (unresized, alt="16px link="):
{| class="wikitable"
|-
| [[File:Increase2.svg|16px||link=]]
|}

expected result: same as outside a table

other tests:
[[File:Increase2.svg||16px|link=]] : broken
[[File:Increase2.svg|16px|link=|]] : not broken
[[File:Increase2.svg|16px| |link=]] : not broken
Comment 1 Happy-melon 2011-03-22 18:13:53 UTC
Exactly the same behaviour is observed in 1.16.2.  This is definitely a problem, a bug with the way the multiple-cells-on-one-row syntax is parsed, but it is not a 1.17 regression.
Comment 2 Bawolff (Brian Wolff) 2011-03-22 19:34:19 UTC
Note, as a work around, doing:

{| class="wikitable"
|-
| [[File:Increase2.svg|16px| |link=]]
|}


or even:

{| class="wikitable"
|-
| [[File:Increase2.svg|16px|link=]]
|}

Both give the exact same images as [[File:Increase2.svg|16px||link=]]
 does outside a table.

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


Navigation
Links