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

       Web browser: ---
             Bug #: 29582
           Summary: UploadWizard fails while rendering messages with
                    {{GRAMMAR}}
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: Unprioritized
         Component: UploadWizard
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


After file is uploaded in UploadWizard (step 2), UW fails to move to the next
step.

There is an error message in Chrome Developer Tools console: "Uncaught Error:
Parse error at position 183 in input: Гэта выглядае як файл, які Вы атрымалі з
іншага сховішча файлаў. Калі ласка, зрабіце назву больш зьмястоўнай. Акрамя
таго, двойчы праверце, што ў Вас ёсьць дазвол на яго публікацыю ў
{{GRAMMAR:месны|{{SITENAME}}}}." This is {{int:Mwe-upwiz-error-title-hosting}}
in be-tarask locale.

UploadWizard doesn't support {{GRAMMAR}}, so the only work-around for a while
is to get rid of {{GRAMMAR}} tags in messages. Perhaps, It makes sense for
English - for Belarusian, Russian and other Slavic languages it does not.

There are two ways: either make UploadWizard support GRAMMAR rules, or shut it
up and display wrapped contents ({{SITENAME}} in this example) until we clean
all the messages in UploadWizard directory. The first way is preferrable, of
course :-)

Without such a fix UploadWizard is not usable in locales where {{GRAMMAR}} is
intended.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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