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

Parsing bug: Triple left brackets block rest of access to parameters #201

Open
Routhwick opened this issue Aug 13, 2022 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Routhwick
Copy link

DynamicPageList3 version: 3.4.7 (cbe4f22)
MediaWiki version: 1.38.2 (d40a39d)
PHP version: 7.4.30 (fpm-fcgi)

List of steps to reproduce (step by step, including full links if applicable):

  • Use an instance of triple left brackets in wikitext ([[[) within one of a template's value field (i.e. {{Test|Content=This is a test (and I hope you read this [[[right now]]]).|Published on={{subst:#time:Y-m-d, H:i}}|Tags=Test, Message}})
  • Check for value display with the following code through a wiki's "ExpandTemplates" feature ({{#dpl:title=TestPage|ordermethod=firstedit|addeditdate=true|order=desc|include={Test}:Content, {Test}:Published on,{Test}:Tags|secseparators=•}})

What happens? The page title (in this case, "TestPage") and the "Content" value display correctly, but from here, DPL3 gives up scanning the remainder of the template-parameter values and throws up a blank when trying to retrieve them.

What should have happened instead? The remaining values must have been shown.

Browser information, screenshots and other applicable information: Reported at Miraheze Phabricator (T9643) earlier this week. "If nothing else, this is clearly a long-undetected upstream bug that never even got brought up in the old FollowTheScore documentation or anywhere else."

@Routhwick Routhwick added the bug Something isn't working label Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant