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

Bot removes a pipeline from double pipelines in templates such as {{#invoke:Infobox_gene||getTemplateData|QID=Q18031857}} causing error in those templates #4302

Closed
maximmasiutin opened this issue Dec 27, 2023 · 2 comments

Comments

@maximmasiutin
Copy link
Contributor

maximmasiutin commented Dec 27, 2023

The bot add a pipeline to form double pipelines in templates such as {{#invoke:Infobox_gene|getTemplateData|QID=Q18031857}} causing error in those templates

See example at https://en.wikipedia.org/w/index.php?title=TCEA1&oldid=prev&diff=1191681094

It was a template:

`{{#invoke:Infobox_gene|getTemplateData|QID=Q18031857}}``

The bot replaced it to:

`{{#invoke:Infobox_gene||getTemplateData|QID=Q18031857}}``

However, it should have not replaced | to || in this template.

What can you suggest?

@GlazerMann
Copy link
Collaborator

Not a problem with newer bot versions

@maximmasiutin
Copy link
Contributor Author

@GlazerMann - thank you very much! I tried on today's master branch and the bot works correctly. Thank you for the fix. That's how I tried:

php ./process_page.php "TCEA1" --slow --savetofiles

Thank you very much again!

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

No branches or pull requests

2 participants