Page MenuHomePhabricator

{{Use dmy dates|date=March 2025}} template causes connected content error in VE
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
You get "You are currently editing a template and one or more pieces of connected content (wikitext and/or additional templates)."

Deleting the {{use dmy dates}} template (i.e. https://en.wikipedia.org/w/index.php?title=User:RoySmith/sandbox&diff=next&oldid=1377329084) makes the error go away.

Other information (browser name/version, screenshots, etc.):

  • MacOS Sonoma 14.5
  • Chrome Version 154.0.8037.58 (Official Build) (arm64)

This is reproducible in an incognito window.

Event Timeline

This speciesbox emits a lot of linebreaks for table rows that are not used. (incorrect if conditions in the template i presume). As use mdy dates does substitution magic on the page content, I suspect that has something to do with it.

This makes sense based on what I've seen. This was originally observed on https://en.wikipedia.org/wiki/Chimpanzee which starts out with:

{{Short description|Species of great ape}}
{{redirect|Chimp|other uses|Chimpanzee (disambiguation)|and|Chimp (disambiguation)}}
{{Good article}}
{{Use dmy dates|date=March 2025}}
{{Speciesbox ...

I tried removing various combinations of the templates that came before {{speciesbox}}; {{use dmy dates}} was the only one that caused this behavior. See the history of my sandbox (https://en.wikipedia.org/w/index.php?title=User:RoySmith/sandbox&action=history).