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',
--
To view, visit
https://gerrit.wikimedia.org/r/361389
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I56c14109feedef77d8ecfe40b7196ef9cbe562dc
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: Hashar <hashar(a)free.fr>
Gerrit-Reviewer: JAn Dudík <jan.dudik(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Magul <tomasz.magulski(a)gmail.com>
Gerrit-Reviewer: Matěj Suchánek <matejsuchanek97(a)gmail.com>
Gerrit-Reviewer: Maven-release-user <maven-release-user(a)wikimedia.org>
Gerrit-Reviewer: Mpaa <mpaa.wiki(a)gmail.com>
Gerrit-Reviewer: Xbony2 <xbony22(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>