Last modified: 2014-09-23 23:13:17 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 T29693, the corresponding Phabricator task for complete and up-to-date bug report information.
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