https://bugzilla.wikimedia.org/show_bug.cgi?id=47988

       Web browser: ---
            Bug ID: 47988
           Summary: [TUX] Confusing behavior trying to translate a
                    translatable in a not whitelisted language
           Product: MediaWiki extensions
           Version: master
          Hardware: All
               URL: https://sandbox.translatewiki.net/w/i.php?title=Specia
                    l:Translate&group=page-Frettinga+1&filter=&action=tran
                    slate&language=de&uselang=en
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Translate
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

There is confusing behavior when trying to translate a translatable in a not
whitelisted language. Translations can be made, but they will not be saved in
the backend, because the group/language combination is not whitelisted.

Preconditions:
* Have a translatable page with priority languages (for example only "nl") that
are enforced.

Steps to reproduce:
1. Go to URL

Observed:
I. A message appears at the top of the page: "This page cannot be translated to
Deutsch. A translation administrator decided that this page can only be
translated to Nederlands."

2. Make a translation and save it.

Observed:
II. When translation is saved, it cannot be saved in the backend. Unknown
error: "tpt-translation-restricted"

Expected:
III. For blacklisted group/language, no API results should be provided.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to