Last modified: 2014-08-07 14:55:55 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 T49748, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47748 - Slash tricks are not rendered correctly
Slash tricks are not rendered correctly
Status: RESOLVED WORKSFORME
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-26 19:51 UTC by Liangent
Modified: 2014-08-07 14:55 UTC (History)
2 users (show)

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


Attachments

Description Liangent 2013-04-26 19:51:10 UTC
For example, [[/a/]] means [[/a|a]]. See [[Wikipedia:Pipe trick#Slash trick]] and related PHP code.
Comment 1 Marc Ordinas i Llopis 2014-08-07 14:55:55 UTC
Tested on current master and it looks like it works:


$  echo "[[/a/]]" | node parse --page=User:Marcoil/tests
<p data-parsoid='{"dsr":[0,7,0,0]}'><a rel="mw:WikiLink" href="../User:Marcoil/tests/a" title="User:Marcoil/tests/a" data-parsoid='{"stx":"simple","a":{"href":"../User:Marcoil/tests/a"},"sa":{"href":"/a/"},"dsr":[0,7,2,2]}'>a</a></p>

If this is not the correct output please reopen.

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


Navigation
Links