Last modified: 2010-03-02 11:00:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24578, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22578 - Modification_date property does not seem to be created in 'ca' locale
Modification_date property does not seem to be created in 'ca' locale
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-18 16:37 UTC by Toni Hermoso Pulido
Modified: 2010-03-02 11:00 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Toni Hermoso Pulido 2010-02-18 16:37:15 UTC
When $wgLanguage=ca in LocalSettings.php, Modification_date property does not seem to be created. No problem when $wgLanguage=en. I haven't tested other languages.

These are some of the warnings I get when I repair/upgrade tables in this state:

<br />
<b>Notice</b>:  Undefined property: SMWTimeValue::$m_errors in
<b>/homez.93/wikisofi/www/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php</b>
on line <b>384</b><br />
<br />
<b>Warning</b>:  implode() [<a
href='function.implode'>function.implode</a>]: Invalid arguments
passed in <b>/homez.93/wikisofi/www/extensions/SemanticMediaWiki/includes/SMW_DV_Time.php</b>
on line <b>384</b><br />

Reference here:
http://sourceforge.net/mailarchive/forum.php?thread_name=90d651101002021009o38aaab01w4ea28fe1be79f829%40mail.gmail.com&forum_name=semediawiki-user
Comment 1 Markus Krötzsch 2010-03-02 11:00:12 UTC
The problem was that the date string used internally as generated by MediaWiki used ca localisation for month names, while SMW does not currently have this localisation for date inputs. Hence the date was not understood. The problem is fixed now (but the issue also hints at the fact that SMW's internal preparation of modification dates is more complicated than it should be).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links