Last modified: 2014-03-06 17:49:11 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 T55843, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53843 - Date cannot be set to German month "März"
Date cannot be set to German month "März"
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-06 11:52 UTC by Bernhard Krabina
Modified: 2014-03-06 17:49 UTC (History)
6 users (show)

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


Attachments

Description Bernhard Krabina 2013-09-06 11:52:36 UTC
this works: 
[[Geburtsdatum::Mai 1986]]

but this doesn't: 
[[Geburtsdatum::März 1986]]
[[Geburtsdatum::23. März 1986]]

The reason is probably that "März" ist the only month in German language with an Umlaut.

By the way, it would be nice if SMW would also accept "Jänner", which is the Austrian version of "Januar".

Bug has been reproduced in SMW 1.8.0.4 and 1.8.0.5
Comment 1 Bernhard Krabina 2013-09-06 11:56:28 UTC
http://standards.kdz.eu/index.php?title=M%C3%A4rz
Comment 2 Michael Freiberg 2013-11-03 21:40:09 UTC
There is a patch on GitHub fixing the internationalization issue in  includes/datavalues/SMW_DV_Time.php. The regex did not understand Umlaute. Please refer to:  https://github.com/wikimedia/mediawiki-extensions-SemanticMediaWiki/commit/3f06a3faa523d0f7ccc88d003538f2f66a543382

I have replaced the regex statement and now it works fine.
Comment 3 Michael Freiberg 2013-11-03 21:41:10 UTC
(In reply to comment #2)
> There is a patch on GitHub fixing the internationalization issue in 
> includes/datavalues/SMW_DV_Time.php. The regex did not understand Umlaute.
> Please refer to: 
> https://github.com/wikimedia/mediawiki-extensions-SemanticMediaWiki/commit/
> 3f06a3faa523d0f7ccc88d003538f2f66a543382
> 
> I have replaced the regex statement and now it works fine.

Thank you JeroenDeDauw
Comment 4 [[kgh]] 2014-03-06 17:45:14 UTC
Because of this also the "#set_recurring_event" and "#set_internal_recurring_event" parser functions were affected. Not dates for March were shown which was a real pain as I now realised.
Comment 5 [[kgh]] 2014-03-06 17:49:11 UTC
Just tested this in SMW 1.9.1.1 and it works now. Should also do so for SMW 1.9.0.x and 1.9.1. Thus closing as RESOLVLED FIXED.

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


Navigation
Links