jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] Skip auto translations for -wiktionary mode ......................................................................
[FIX] Skip auto translations for -wiktionary mode
In -wiktionary mode, pages are only linked if they have the exact same title. Currently, auto translation occurs even with -wiktionary. This is wrong as it hints a link to a likely different title in another wiki. In this patch, auto translation is disabled if -wiktionary is specified.
Bug: T108904 Change-Id: I62b1dc7981b257cf4e7162db9bc32bc01d1f44c0 --- M scripts/interwiki.py 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved XZise: Looks good to me, but someone else must approve jenkins-bot: Verified
diff --git a/scripts/interwiki.py b/scripts/interwiki.py index 5e51723..4fb3120 100755 --- a/scripts/interwiki.py +++ b/scripts/interwiki.py @@ -537,6 +537,9 @@ self.same = True elif arg == '-wiktionary': self.same = 'wiktionary' + # Don't use auto-translation in -wiktionary mode + # where page titles must be the same + self.auto = False elif arg == '-repository': self.repository = True elif arg == '-untranslated':