Help talk:Timeline format
From semantic-mediawiki.org
timelineposition today?
timelineposition=today is obviously gone. Was wondering why timelines on wikis I'm working on all of a sudden did look a little strange. oO
Is there any chance to get it back? That would actually be quite nice. Otherwise timeline/eventline doesn't really fit my use-cases anymore.
--Eric 19:55, 7 January 2012 (CET)
- Agree with Eric. There are the same problems on my wiki too. Let's try to ask Jeroen. Yury Katkov 23:37, 8 January 2012 (CET)
- Here is the bug 33594.
- This format basically needs a total rewrite which should indeed cater for this. There have been some mails on the userlist recently, too. Basically, all we need is time and money. Cheers --[[kgh]] 11:39, 9 January 2012 (CET)
- For timeline=today you just need 1 line of code changed, since 'today' is the 'default' setting and support is still there. HTH - HAND BugBlue
- in SemanticResultFormats/Timeline/SRF_Timeline.php line 368
- $params['timelineposition']->addCriteria( new CriterionInArray( 'start', 'middle', 'end' ) );
+ $params['timelineposition']->addCriteria( new CriterionInArray( 'start', 'middle', 'end', 'today' ) );- Heiya BugBlue, thank you for your post. I will ask a coder to check and commit. To have this would be great, indeed. Cheers --[[kgh]] 00:00, 9 March 2012 (CET)
- This format basically needs a total rewrite which should indeed cater for this. There have been some mails on the userlist recently, too. Basically, all we need is time and money. Cheers --[[kgh]] 11:39, 9 January 2012 (CET)
- Thanks for the fix! Just checked it in. --F.trott 22:38, 9 March 2012 (CET)
Multiple Points From One Page
I am hoping to create a timeline from an existing page that already has dates and descriptions on one page, but it looks like in order to get this to work, I will need to create a separate page for each entry I want to display on the timeline. Is there anyway to make this work?
- What happens when you insert a {{#ask: [[{{PAGENAME}}]] |?... |format=timeline |... }} on that very page? Cheers --[[kgh]] 00:31, 14 March 2012 (CET)
- Yes that works, but I can't get the dates to line up with the descriptions I have. For example, I have 10 dates and a description for those dates, but I can't put each date/line on a separate point on the timeline. So a line of |?News Date= only displays the most recent date property entered and the only description I have is the page name.
- Ouch. I should have thought about this. Now I know the reason why I always use separate pages. I am afraid there is no work-around for this. Still you could write to the mailing list. Perhaps someone has an idea. Cheers --[[kgh]] 15:18, 14 March 2012 (CET)
- Yes that works, but I can't get the dates to line up with the descriptions I have. For example, I have 10 dates and a description for those dates, but I can't put each date/line on a separate point on the timeline. So a line of |?News Date= only displays the most recent date property entered and the only description I have is the page name.