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.