[SMW-devel] Problems with SMW_QP_JSONlink.php

2009-08-14 Thread Neil Davies
Hi All, I have a found several bugs in SMW_QP_JSONlink.php. In summary these are: - It produces invalid JSON (the keys are not always enclsoed in quotes) - It fails on certain queries - namely when you specify a query to retrieve certain values from a particular page I've tested it

Re: [SMW-devel] Problems with SMW_QP_JSONlink.php

2009-08-14 Thread Sergey Chernyshev
Here's another useful page on MediaWiki hacking in general: http://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker#Posting_a_patch Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Fri, Aug 14, 2009 at 11:07 AM, Sergey Chernyshev

[SMW-devel] External Data - Issue with CSV/CSV with header ?

2009-08-14 Thread Laurent Alquier
Hi Yaron After updating ED to 0.7.1, I am experiencing issues with a page accessed as 'CSV with header' format. That page used to work before the update - That is, I was able to retrieve data from the CSV list and display it in a table. After the update, the table is blank. I am able to

Re: [SMW-devel] External Data - Issue with CSV/CSV with header ?

2009-08-14 Thread Yaron Koren
Hi, I got very concerned seeing that link, although thankfully hitting refresh on the page cleared it up - the page is now displaying correctly again. My guess (my hope) is that the error you're seeing is just related to a typo in the header names, or something like that. -Yaron On Fri, Aug

Re: [SMW-devel] Problems with SMW_QP_JSONlink.php

2009-08-14 Thread Neil Davies
Thanks, I have created the bug report and attached the patch https://bugzilla.wikimedia.org/show_bug.cgi?id=20241 Neil On Fri, Aug 14, 2009 at 11:09 AM, Sergey Chernyshev sergey.chernys...@gmail.com wrote: Here's another useful page on MediaWiki hacking in general:

Re: [SMW-devel] Problems with SMW_QP_JSONlink.php

2009-08-14 Thread Markus Krötzsch
Neil, thanks a lot! Contributions are very welcome. On Freitag, 14. August 2009, Sergey Chernyshev wrote: Neil, Usually it's done by filing a bug in Bugzilla and attaching a patch. Yes, this is the preferred solution in this case. In particular, there is a reason why the JSON is invalid:

Re: [SMW-devel] Problems with SMW_QP_JSONlink.php

2009-08-14 Thread Markus Krötzsch
On Freitag, 14. August 2009, Neil Davies wrote: Thanks, I have created the bug report and attached the patch https://bugzilla.wikimedia.org/show_bug.cgi?id=20241 Thanks. (I sent my previous mail before seeing this). -- Markus Neil On Fri, Aug 14, 2009 at 11:09 AM, Sergey Chernyshev

[SMW-devel] SMW_DV_Time.php: CE/BCE symbol support, passing of model preference as $unit, and rearrangement of parsing

2009-08-14 Thread Temlakos
Markus, Fabian, and all: Herewith the tenth patch to SMW_DV_Time.php. This accomplishes the following: 1. Introduces support for the symbols CE and BCE. This support accomplishes the following: a. Dates annotated as CE and BCE will be treated the same as dates annotated as AD (or

[SMW-devel] SMW_DV_Time.php Internationalization

2009-08-14 Thread Temlakos
Markus, Fabian, and everyone: This e-mailing contains the first of two required patches, since I am not certain that everyone's e-mail client can handle more than one attachment to one message. This is the patch to SMW_DV_Time.php itself. The internationalization support consists of various

[SMW-devel] SMWLanguageXx.php files: Internationalization support for SMW_DV_Time.php

2009-08-14 Thread Temlakos
Markus, Fabian, and everyone: Attached is a patch that will add appropriate code to all the files in the /languages directory for which I was able to provide language-appropriate month names and symbols for calendars and twelve-hour annotations for the latest version of SMW_DV_Time.php. I