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

       Web browser: ---
             Bug #: 30478
           Summary: datepicker fails in hebrew localization
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SemanticFormsInputs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


I want to have a datepicker field. I've installed this extension latest version
(0.4.1) I've added it to an existing working form on MW 1.16.5+SMW 1.5.6 + SF
2.2. But it's not working, I'm getting an empty field instead of a nice
datepicker box. I'm noticing a javascript error
Error: missing ] after element list
Line: 92, Column: 25
Source Code:
  monthNamesShort:
['ינו'','פבר'','מרץ','אפר'','מאי','יוני','יולי','אוג'','ספט'','אוק'','נוב'','דצמ''],
 
(month names are in hebrew)

Obviously ] is not missing. Is this a known error? Thank
you[[Special:Contributions/85.250.162.123|85.250.162.123]] 16:21, 19 August
2011 (UTC)

----
The problem seems to be with the hebrew localization. For some reason the month
names contain apostrophes and apparently I did not escape them before including
them in the JavaScript code. This leads to garbage strings which the browser
can not interpret.

-- 
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