jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/342333 )
Change subject: template.py: improve doc ......................................................................
template.py: improve doc
-subst: substitution not available insied <pagelit ... /> tag.
Bug: T151940 Change-Id: I90f403496f95e3479063ae1393981c4c88993296 --- M scripts/template.py 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/scripts/template.py b/scripts/template.py index 8371e5b..b4bd2aa 100755 --- a/scripts/template.py +++ b/scripts/template.py @@ -19,7 +19,8 @@ article. This is done by changing {{...}} or {{msg:...}} into {{subst:...}}. Substitution is not available inside <ref>...</ref>, - <gallery>...</gallery> and <poem>...</poem> tags. + <gallery>...</gallery>, <poem>...</poem> and <pagelist ... /> + tags.
-assubst Replaces the first argument as old template with the second argument as new template but substitutes it like -subst does.
pywikibot-commits@lists.wikimedia.org