Last modified: 2011-10-30 19:27:29 UTC
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.
I don't see Hebrew names provided in the included jQuery-ui files. (Why does SemanticForms need third copy of it, in addition to SMW and MW core?)
Semantic Forms Inputs uses the localized month names provided by MediaWiki. Semantic Forms has its own copy of jquery-ui for backward compatibility.
Okay, I didn't find where it is produced by grepping.
Fixed in r101307.