Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/788710 )
Change subject: [doc] Note regex usage of referencesSections
......................................................................
[doc] Note regex usage of referencesSections
Bug: T179653
Change-Id: I12e04eded02f4f67b68b12036a9ee726e69a1a82
---
M scripts/noreferences.py
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/scripts/noreferences.py b/scripts/noreferences.py
index fa0a37e..35aff3d 100755
--- a/scripts/noreferences.py
+++ b/scripts/noreferences.py
@@ -233,9 +233,9 @@
}
# Titles of sections where a reference tag would fit into.
-# The first title should be the preferred one: It's the one that
-# will be used when a new section has to be created.
-# Except for the first, others are tested as regexes.
+# The first title should be the preferred one: It's the one that will be
+# used when a new section has to be created. Section titles can be regex
+# patterns except of the first.
referencesSections = {
'wikipedia': {
'ar': [ # not sure about which ones are preferred.
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/788710
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I12e04eded02f4f67b68b12036a9ee726e69a1a82
Gerrit-Change-Number: 788710
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]