Mpaa has uploaded a new change for review. (
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(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core
refs/changes/33/342333/1
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.
--
To view, visit https://gerrit.wikimedia.org/r/342333
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I90f403496f95e3479063ae1393981c4c88993296
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Mpaa <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits