on en.wikisource.org
python scripts/template.py -pt:0 mdash -subst -ns:106 -summary:"Substituting {{Mdash}} with —"
{{Mdash}} redirects to {{--}} but the final template is not substituted.
on en.wikisource.org
python scripts/template.py -pt:0 mdash -subst -ns:106 -summary:"Substituting {{Mdash}} with —"
{{Mdash}} redirects to {{--}} but the final template is not substituted.
Change 342314 had a related patch set uploaded (by Mpaa):
[pywikibot/core] template.py: substitution fails if template is a redirect
I am wondering. subst on a redirect template DB works for me on testwiki as well as for de-wikisource.
Change 342314 abandoned by Mpaa:
template.py: substitution fails if template is a redirect
Reason:
Invalid bug
Change 342314 restored by Mpaa:
template.py: substitution fails if template is a redirect
Reason:
behavior can be improved
Change 342314 merged by jenkins-bot:
[pywikibot/core] template.py: substitution fails if template is inside pagelist tag
Change 342333 had a related patch set uploaded (by Mpaa):
[pywikibot/core] template.py: improve doc