Page MenuHomePhabricator

Cargo strips link when using Special:RunQuery with a template mode cargo query
Closed, ResolvedPublicBUG REPORT

Description

Make some sort of query using the template format of cargo. Use it with a translcuded {{special:RunQuery/foo}}. Note how are the links are gone.

It seems like the cause is parsing the result of ->internalParse. The second parse strips out all the link holders. As a result, all links disappear.

Event Timeline

Change 893819 had a related patch set uploaded (by Brian Wolff; author: Brian Wolff):

[mediawiki/extensions/Cargo@master] Try to fix missing links on template format with Special:RunQuery

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

Change 893819 merged by jenkins-bot:

[mediawiki/extensions/Cargo@master] Try to fix missing links on template format with Special:RunQuery

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

Yaron_Koren claimed this task.
Yaron_Koren subscribed.

Fixed, I believe. Thanks for the patch!