Last modified: 2011-01-31 20:13:29 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 T29011, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27011 - #set_recurring_event week number function not working?
#set_recurring_event week number function not working?
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Markus Krötzsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-28 15:17 UTC by Neill Mitchell
Modified: 2011-01-31 20:13 UTC (History)
2 users (show)

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


Attachments

Description Neill Mitchell 2011-01-28 15:17:39 UTC
Hi.

I've got:

{{#set_recurring_event:property=Event Dates
|start={{{Start Date|}}}
|end={{{End Date|}}}
|unit=month
|week number=2
}}

According to the documentation, this is supposed to set a recurring date of the 2nd week of every month between start and end. Unfortunately it does not seem to work. Only one value of Event Dates is set (Start Date set to 1st of Jan 2011, End Date set to 30th August 2011).

This is with MW 1.16, SMW 1.5.5 and SF 2.0.9.

Is this a bug?

Thanks
Neill.
Comment 1 Neill Mitchell 2011-01-28 16:39:31 UTC
Okay, been experimenting.

{{#set_recurring_event:property=Event Dates
|start={{{Start Date|}}}
|end={{{End Date|}}}
|period=1
|week number={{{Week of Month|}}}
|unit=month
}}

Doesn't work. Nor does:

{{#set_recurring_event:property=Event Dates
|start={{{Start Date|}}}
|end={{{End Date|}}}
|period=1
|week number=2
|unit=month
}}

However:

{{#set_recurring_event:property=Event Dates
|start={{{Start Date|}}}
|end={{{End Date|}}}
|period=1
|unit=month
}}

Does work, so I can only assume that it's the week number functionality that has an issue.
Comment 2 Yaron Koren 2011-01-31 20:13:29 UTC
This seems to no longer be an issue in the latest version of SMW - setting to "invalid".

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


Navigation
Links