Page MenuHomePhabricator

[[User:Foo|]] (pipe trick) not working for some edge cases in Parsoid
Closed, ResolvedPublic

Description

Might be a bug in Parsoid, don't know.

Basic test case is https://www.mediawiki.org/w/index.php?title=Talk:Sandbox&workflow=050c89c8272c23bf2b5f90b11c2788f0#flow-post-050c89c8273423bf2b5f90b11c2788f0

[[User:Foo (disambig)|]] --> Foo (works as expected)
[[User:Foo|]] --> User:Foo (expected: Foo)


Version: unspecified
Severity: normal
URL: https://www.mediawiki.org/w/index.php?title=Talk:Sandbox&workflow=050c89c8272c23bf2b5f90b11c2788f0#flow-post-050c89c8273423bf2b5f90b11c2788f0

Details

Reference
bz58930

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:24 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz58930.

bingle-admin wrote:

The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/655, but people from the community are welcome to contribute here and in Gerrit.

Nudging, in case this is a Parsoid bug, and needs to be re-assigned?

I run into this bug a lot, when typing username Mentions in posts.

you can plug it in here to test: http://parsoid.wmflabs.org/_rtform/

It shows User:Foo as the text, so probably a parsoid thing.

Change 146775 had a related patch set uploaded by Arlolra:
Update pipe tricks to match php parser

https://gerrit.wikimedia.org/r/146775

Change 146775 merged by jenkins-bot:
Update pipe tricks to match php parser

https://gerrit.wikimedia.org/r/146775