https://bugzilla.wikimedia.org/show_bug.cgi?id=67464
Bug ID: 67464 Summary: || inside links in tables are stripped unexpectedly Product: MediaWiki Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Parser Assignee: wikibugs-l@lists.wikimedia.org Reporter: liang...@gmail.com Web browser: --- Mobile Platform: --- Wikitext: {| |- | [[File:Wiki.png|border||48px]] |} Actual: <table> <tr> <td> <a href="/wiki/File:Wiki.png" class="image" title="border 48px"><img alt="border 48px" src="//upload.wikimedia.org/wikipedia/zh/b/bc/Wiki.png" width="135" height="155" data-file-width="135" data-file-height="155" /></a> </td></tr></table> Expected: <table> <tr> <td> <a href="/wiki/File:Wiki.png" class="image"><img alt="Wiki.png" src="//upload.wikimedia.org/wikipedia/zh/thumb/b/bc/Wiki.png/48px-Wiki.png" width="48" height="55" class="thumbborder" srcset="//upload.wikimedia.org/wikipedia/zh/thumb/b/bc/Wiki.png/72px-Wiki.png 1.5x, //upload.wikimedia.org/wikipedia/zh/thumb/b/bc/Wiki.png/96px-Wiki.png 2x" data-file-width="135" data-file-height="155" /></a></td></tr></table> Or normal links: {| |- | [[abc|1||2]] |} Actual: <table> <tbody><tr> <td> <a class="mw-redirect" title="Abc" href="/wiki/Abc">1</a></td> <td>2 </td></tr></tbody></table> Expected: <table> <tbody><tr> <td> <a class="mw-redirect" title="Abc" href="/wiki/Abc">1||2</a></td></tr></tbody></table> -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l