Author: aokomoriuta
Description:
When I don't have skipcaptcha right, page translation with external link got error.
Can we pass CAPTCHA test in translation function?
Author: aokomoriuta
Description:
When I don't have skipcaptcha right, page translation with external link got error.
Can we pass CAPTCHA test in translation function?
Nice find. Will look into this. To avoid actual spamming, I think we should only allow this if there are no warnings on the translation, ie changed links that would cause fuzzy markings.
aokomoriuta wrote:
To avoid this error, I can edit the message directly (Translating:XXX) instead of editing through Special:Translate.
So as First Aid, it seems good to modify the error message in Special:Translate "Saving failed. Please report this error." to "You need edit this message directly to pass CAPTCHA.".
It is not easy to fix since all edits go through the API through normal saving mechanism.
ConfirmEdit can be configured per namespace, you can just disable it on translations: namespace with $wgCaptchaTriggersOnNamespace as a (partial) workaround?
I'm also impacted by this issue and I agree, if the API does not provide the necessary tools then it seems to me complicated to deal with this. How does the VisualEditor? He is impacted?
(In reply to comment #7)
I'm also impacted by this issue and I agree, if the API does not provide the
necessary tools then it seems to me complicated to deal with this. How does
the
VisualEditor? He is impacted?
It was: bug 50356 / https://gerrit.wikimedia.org/r/#/c/71160/ .
So, it seems it's possible to deal with with the extension:ConfirmEdit through the API:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50356#c3
Would that be possible for extension:Translate to deal with it?
(In reply to comment #9)
So, it seems it's possible to deal with with the extension:ConfirmEdit
through
the API:
https://bugzilla.wikimedia.org/show_bug.cgi?id=50356#c3
Note, that comment mentions only FancyCaptcha [which is the least used component of ConfirmEdit: few wikis other than WMF use it].
ContentTranslation implemented a (after the fact) solution: https://gerrit.wikimedia.org/r/#/c/146426/
For searchers: this bug often comes with "Saving the translation failed: The modification you tried to make was aborted by an extension hook" warnings.
https://www.mediawiki.org/wiki/Thread:Extension_talk:Translate/_%27Saving_the_translation_failed:_The_modification_you_tried_to_make_was_aborted_by_an_extension_hook%27_and_Documentation_problems/reply
https://www.mediawiki.org/w/index.php?title=Help%3AExtension%3ATranslate%2FConfiguration&diff=1236716&oldid=1229427