Last modified: 2011-01-31 20:13:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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