Page MenuHomeMiraheze

DPL3 parsing bug: Triple left brackets block rest of access to parameters
Closed, InvalidPublic

Description

It seems that, after encountering triple left brackets in wikitext ([[[) within a template, DynamicPageList3 gives up scanning the remainder of the template-parameter values and throws up a blank when trying to retrieve them. This is clearly evident in the recent-post section of my "FTA" ("From the Author") home page at press time, where everything is set up correctly. Of the five displayed, three have their original dates and keyword tags intact; the other two do not.

Across the entire FTA archives at Miraheze so far,[1] three entries are affected: "Happy New Year, folks!", "Going across the pond", "...and back to the anthros". They utilised the "{{!(}}" tag, which produces left brackets ([) before wikilinks. (At least till today, when I replaced the instance in the "Anthros" edition with HTML equivalent [ to see if DPL3 would recognise it; still didn't work.)

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. Either we'll see what @Universal_Omega can do about it, or I'll try another workaround.

Another DPL issue as of late: openreferences=(true|yes) not recognised by imagecontainer= (T9056).

[1] Retrieved through {{#dpl:category=FTA posts|ordermethod=firstedit|addeditdate=true|order=desc|include={FTA post}:Published on,{FTA post}:Tags|secseparators=•}} at ExpandTemplates.

Event Timeline

Universal_Omega moved this task from Backlog to Deployed Extension Bugs on the Extensions board.
Universal_Omega removed a project: Production Error.
Universal_Omega claimed this task.
Universal_Omega added a project: Upstream.
Universal_Omega moved this task from Backlog to Short Term on the MediaWiki (SRE) board.

Can you please report this using https://github.com/Universal-Omega/DynamicPageList3/issues/new?assignees=&labels=bug&template=bug_report.md&title= if possible? If not I will open an issue on the repo myself, as even though I maintain the extension, Miraheze does not, so this is still upstream, and thus not relevently tracked on Miraheze Phabricator. Thanks!

Already filed as part of my maiden voyage on GitHub! (But apart from the DPL bug reports, don't expect me to show up there much in any capacity.)

Already filed as part of my maiden voyage on GitHub! (But apart from the DPL bug reports, don't expect me to show up there much in any capacity.)

Thanks!