What is the best way to deal with past events? I would like to keep a record of of those at least at QA/Weekly goals.
Topic on Project talk:Calendar
Currently, events from past months are archived, e.g. at Project:Calendar/2013/01 for January 2013.
Show past events in a separate table
It's possible to show past QA events on QA/Weekly goals with a syntax similar to the one used to show upcoming events, by specifying the archive pages instead, e.g. for January:
{{event header}} {{#lst:Project:Calendar/2013/01|QA}} {{table footer}}
- will show QA-related events in January:
[[<tvar|calendar>Special:MyLanguage/Project:Calendar</>|edit or add events]]</translate>] [ ] [<translate>
[[<tvar|identity>Special:MyLanguage/Project:Visual identity</>|view credits]]</translate>] <translate>
Date</translate> |
<translate>
Type</translate> |
<translate>
Event</translate> |
<translate>
Contact</translate> |
---|---|---|---|
Jan 28 | QA: Review 250 open bugs unchanged for more than one year | AKlapper, Valeriej | |
Jan 28 | QA: VisualEditor: Testing Non-Latin Characters Input and Behavior | Cmcmahon, Siebrand, Qgil | |
- The transclusion system was designed to primarily work with upcoming events, so it's not totally optimized for archives (meaning, you'll have to manually include each past month, whereas for upcoming events you only need to include the calendar page) but it works.
- You can then add February once it's been archived, and each month after that once it's archived:
{{event header}} {{#lst:Project:Calendar/2013/01|QA}} {{#lst:Project:Calendar/2013/02|QA}} {{#lst:Project:Calendar/2013/03|QA}} ... {{table footer}}
Show past and upcoming events in the same table
If, instead of showing past events separately, you want to show past and upcoming events together, you need to include past months as well as the current calendar:
{{event header}} {{#lst:Project:Calendar/2013/01|QA}} /* list all previous months here */ {{#lst:Project:Calendar|QA}} /* and this will show upcoming events */ {{table footer}}
- will show them all together:
[[<tvar|calendar>Special:MyLanguage/Project:Calendar</>|edit or add events]]</translate>] [ ] [<translate>
[[<tvar|identity>Special:MyLanguage/Project:Visual identity</>|view credits]]</translate>] <translate>
Date</translate> |
<translate>
Type</translate> |
<translate>
Event</translate> |
<translate>
Contact</translate> |
---|---|---|---|
Jan 28 | QA: Review 250 open bugs unchanged for more than one year | AKlapper, Valeriej | |
Jan 28 | QA: VisualEditor: Testing Non-Latin Characters Input and Behavior | Cmcmahon, Siebrand, Qgil | |
Hope that helps. Let me know if you have other questions :)