Xqt submitted this change.

View Change

Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
[doc] Note regex usage of referencesSections

Bug: T179653
Change-Id: I12e04eded02f4f67b68b12036a9ee726e69a1a82
---
M scripts/noreferences.py
1 file changed, 3 insertions(+), 3 deletions(-)

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 change 788710. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I12e04eded02f4f67b68b12036a9ee726e69a1a82
Gerrit-Change-Number: 788710
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki@aol.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged