Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template.getParameters() outputs wrong results when parameters include links #111

Open
daxenberger opened this issue Jul 31, 2015 · 0 comments
Labels
Milestone

Comments

@daxenberger
Copy link
Member

Originally reported on Google Code with ID 118

What steps will reproduce the problem?
1. Given the following wikitext:
{{Regionlist\
| region1name=[[Houston/Downtown|Downtown]]\
| region1color=#d56d76\
}}\

2. Do template.getParameters()

3. Output parameters are wrong:
region1name=[[Houston/Downtown
region1color=#d56d76

What is the expected output? What do you see instead?
region1name=[[Houston/Downtown|Downtown]]
region1color=#d56d76

What version of the product are you using? On what operating system?
Latest version as of date

Please provide any additional information below.
The '|' char in the link caused the problem. The getParameters() method uses '|' to
separate the parameters, but the same char could also used for wikitext to mark links.

Reported by bizdirect on 2013-07-12 15:51:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants