jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/361389 )
Change subject: [L10N] Disable cleanUpSectionHeaders on jbo.wiktionary ......................................................................
[L10N] Disable cleanUpSectionHeaders on jbo.wiktionary
Bug: T168399 Change-Id: I56c14109feedef77d8ecfe40b7196ef9cbe562dc --- M pywikibot/cosmetic_changes.py 1 file changed, 5 insertions(+), 2 deletions(-)
Approvals: Matěj Suchánek: Looks good to me, but someone else must approve jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/pywikibot/cosmetic_changes.py b/pywikibot/cosmetic_changes.py index e160467..8c04c98 100755 --- a/pywikibot/cosmetic_changes.py +++ b/pywikibot/cosmetic_changes.py @@ -633,9 +633,12 @@ Example: ==Section title== becomes == Section title ==
NOTE: This space is recommended in the syntax help on the English and - German Wikipedia. It might be that it is not wanted on other wikis. - If there are any complaints, please file a bug report. + German Wikipedia. It is not wanted on Lojban Wiktionary (per T168399) + and it might be that it is not wanted on other wikis. If there are any + complaints, please file a bug report. """ + if self.site.sitename == 'wiktionary:jbo': + return text return textlib.replaceExcept( text, r'(?m)^(={1,7}) *(?P<title>[^=]+?) *\1 *\r?\n',
pywikibot-commits@lists.wikimedia.org