Extension talk:TimelineTable

Example?
Any chance of an example of the output? Even a screenshot would be nice...

Done! --192.44.242.18 06:15, 30 June 2010 (UTC)

Days possible?
Is it possible to create a more detailed timeline using days? e.g.

--83.135.50.227 20:52, 16 August 2010 (UTC)


 * I am currently working on it...

--Thibaultmarin 17:13, 31 August 2010 (UTC)


 * The new version can display timelines at a day-by-day level.

--Thibaultmarin 19:50, 1 September 2010 (UTC)

CSS does not work
I'm using modern skin. I already have copied the CSS sample into mediawiki:common.css. The only output is text - no lines, no color, no table. Any fixes?

--87.123.142.68 12:07, 18 August 2010 (UTC)


 * Copying the CSS sample into the MediaWiki:Common.css seems to work fine on my server MW 1.13.0 (even when using modern skin). Could you paste the content of your MediaWiki:Common.css?

--Thibaultmarin 19:50, 1 September 2010 (UTC)

Doesn't work on mediawiki 1.16
So, it shows: Deprecated: Function split is deprecated in ...\extensions\TimeLineTable\timeline.php on line 130

Deprecated: Function split is deprecated in ...\extensions\TimeLineTable\timeline.php on line 138

Deprecated: Function split is deprecated in ...\extensions\TimeLineTable\timeline.php on line 140

Deprecated: Function split is deprecated in ...\extensions\TimeLineTable\timeline.php on line 141

...

And what to do?


 * Sorry for the delay, I'll try to fix this soon...

Thibaultmarin 17:35, 1 March 2011 (UTC)


 * Version 1.6 should fix this.

Thibaultmarin 05:56, 2 March 2011 (UTC)

2011/04/13

I love this extension, but when I use anything other than a complete year, month, day, I get "Undefined offset: blah, blah" in the Process months section. Using MediaWiki 1.16.1, PHP 5.2.8, and 1.6 of TimelineTable.php. With the time span I need this is just too much to show on a page.

After I scroll down past all the error messages, I see that the table has in fact been nicely created, then more messages: "Warning: Cannot modify header information - headers already sent by (... blah blah ...TimelineTable.php"


 * I can't seem to reproduce the error, could you paste your


 * The timeline table you provided is generated correctly (with no error) on the two mediawikis I have access to (MediaWiki 1.16.2, PHP 5.3.3-1 and MediaWiki 1.13.0, PHP 5.0.4). What extensions do you have enabled? Maybe switching other extensions off could help locate the problem.

Thibaultmarin 04:20, 15 April 2011 (UTC)

I tried disabling ALL the extensions I have installed but saw no changes in behavior. Puzzling.

Mickeyf 14:23, 18 April 2011 (UTC)


 * I just read that this error might be due to spaces (or empty lines) around the  block. Does removing the extra space help?

Thibaultmarin 05:09, 22 April 2011 (UTC)

I did have a couple of empty lines at the end of the file and removed them, but the behavior did not change.


 * Version 1.7 might fix the problem (please let me know if it does).

Thibaultmarin 23:46, 20 May 2011 (UTC)

I have tried V 1.7 with the same sample used above. Now the only thing I get on the screen is "-1". It seems to be choking at "if ( isset($eventStart[1]) )"


 * I uploaded the wrong file, the updated version seems to be working with php error messages enabled. Thanks for your patience.

Thibaultmarin 01:41, 25 May 2011 (UTC)

Does not seem to be working with MW 1.16.1 and php 5.2.8 (apache2handler) on local Windows Hosted wiki, but is now working with MW 1.16.1 and php 5.2.17 (cgi-fcgi) on ISP's linux hosted wiki, which is the one I care about - Thanks! And I can certainly be patient when I am benefiting from the generosity of someone else who's taken the trouble to write and debug a useful extension!

Mickeyf 21:25, 25 May 2011 (UTC)

Any chance for years only?
Is there a chance, or maybe a quick ('n' dirty) fix to show only years? For some timelines the months and day's are too much. (for example: the evolution of the internet)


 * I am currently working on it...

Thibaultmarin 17:35, 1 March 2011 (UTC)


 * Version 1.6 allows use of years only

Thibaultmarin 05:56, 2 March 2011 (UTC)

Changing name of extension to avoid conflict name
The name of the tag used by this extension  conflict with an other one (the one wich have a link in the bottom of the page) : « (easy)timeline » (using ploticus and so on).

So, I'm using both of them and I rename this one to use the tag  in my personal wiki.

I change the line 115 of timelinetable.php :

with «timelinetable» instead of «timeline».

Extension:EasyTimeline

--Vincent.vaquin 13:22, 28 October 2011 (UTC)


 * Thanks for pointing that out, I have updated the tag to 'timelinetable'.

Thibaultmarin 05:47, 11 November 2011 (UTC)

Undefined index error
To avoid errors if any of the parameters is missing change the following lines:

to

/MikaelLindmark 22:42, 10 February 2012 (UTC)

Rounded Corners
How do I get rounded corners in the second example? --WhiteTigerItaly (talk) 09:57, 7 October 2012 (UTC)


 * The '-moz-border-radius' lines in the CSS classes were setting a firefox-specific property to do this. This is now replaced by the standard (CSS3) 'border-radius' property. If you update the appropriate section of your mediawiki:common.css, rounded corners should be enabled (on most recent browsers).

Thibaultmarin (talk) 16:57, 7 October 2012 (UTC)


 * OK! Thanks.


 * --WhiteTigerItaly (talk) 07:04, 8 October 2012 (UTC)

Is it possible to display only months?
I'd like to essentially show a renewal timeline, and was wondering if it is possible to display only the months (no years or days). Thanks!


 * It is not currently possible, but I'll have a workaround soon (once I know where to host it).

Thibaultmarin (talk) 04:41, 8 May 2013 (UTC)


 * An update has been submitted for review to mediawiki. In the mean time (this might take a while), version 1.8 temporarily available at https://bitbucket.org/thibaultmarin/timelinetable/get/v1.8.zip includes a workaround: the following should display only months (no years or days):

 2008-01|2008-06|event1|some comment 2008-12|2008-07|event2|something else 2008-02|2008-12|event3

Hope it helps. Thibaultmarin (talk) 02:46, 15 May 2013 (UTC)

Days of the week?
Will there be support for days of the week? Sun/Mon/Tues/Wed/Thurs/Fri/Sat

 Mon|Fri|event1|some comment Sat|Sun|event2|something else Thurs|Sun|event3|cookie time Mon-Tues|Thurs-Fri|event4|I really wish it could do this (Multiple ranges on a single line)


 * A partial solution is available with v1.8.1 (https://bitbucket.org/thibaultmarin/timelinetable_public/get/v1.8.1.zip): the "daynames" option enables display of day names in headers (the day number is also displayed if the table spans more than a week).

 2008-01-03|2008-01-06|event1|some comment 2008-01-04|2008-01-10|event2|something else 2008-01-09|2008-01-13|event3

 2008-01-03|2008-01-06|event1|some comment 2008-01-04|2008-01-04|event2|something else 2008-01-06|2008-01-08|event3

Parsing day names in the input, and allowing multiple events per line require larger changes. It will be part of a longer term effort (months?).

Thibaultmarin (talk) 19:36, 25 May 2013 (UTC)


 * Version 2.0rc0 (https://bitbucket.org/thibaultmarin/timelinetable_public/get/v2.0rc0.zip) allows multiple events per line and is more flexible with the input dates (it supports what is supported by ). See the extension wikipage.

Thibaultmarin (talk) 03:27, 2 June 2013 (UTC)

Is it possible to do weeks?
A week is a common unit for planning in a project, so itwould be nice to have the option to show by weeks. The simple soultion would be to have week numbers 1 thru 52, but it would be nicer if the dates could be shown as well. The user would have to specify which day of the week to show. Thanks. Bill Johnson (talk) 13:55, 23 May 2013 (UTC)


 * I will look into this. This may not have a simple solution, so it might take some time.

Thibaultmarin (talk) 19:47, 25 May 2013 (UTC)


 * Version 2.0rc0 (https://bitbucket.org/thibaultmarin/timelinetable_public/get/v2.0rc0.zip) is a first attempt at this. See the extension wikipage for details.

Thibaultmarin (talk) 03:24, 2 June 2013 (UTC)

Error: Mutiple Events in one Line
There is an error, when I set two directly following events in one line, although there are not overlapping:

 2013-03-01|2013-03-24|event 1|comment 1#2013-04-19|2013-05-07|event 2|comment 2#2013-05-08|2013-05-09|event 3|comment 3

Error message is: "Fatal error: Call to a member function format on a non-object in /mnt/web7/b2/46/52072046/htdocs/cms/wiki/extensions/TimelineTable/TimelineTable.DateDiffHelper.php on line 57"


 * Thanks for reporting this, I'll get to this in a few days.

Thibaultmarin (talk) 04:23, 7 June 2013 (UTC)


 * Version 2.0rc1 should fix this (https://bitbucket.org/thibaultmarin/timelinetable_public/get/v2.0rc1.zip). Please let me know if it doesn't.

Thibaultmarin (talk) 03:33, 10 June 2013 (UTC)

Hi Thibault. Thank you. But unfortunately, there is still the same error message. I run MediaWiki 1.20, PHP 5.3.22 (cgi-fcgi). Do you have any further idea or can make it woking? Thanks a lot, Epic.


 * Interesting, the above table renders correctly on my installation (MediaWiki 1.20.3, PHP 5.4.4-15 (apache2handler)). I will try to get a debugging version of the extension to gather more information sometime soon (in mean time, if you could double check that you are running the latest version, that would help, thanks).

Hi Thibault, sorry, my mistake: I uploaded the old version. It is functioning now. Thank you very much! Best, Epic.

no longer working after mw upgrade
I just upgraded from 1.16.1 to 1.21.1 (php 5.3.26 cgi-fcgi) and upgraded timelinetable to 2.0 - it was working fine in 1.16.1.

After upgrading, I changed my tags from to, but still all I see is text. I can change to color of the text itself, but the css does not seem to be doing anything. I did update and double check my MediaWiki:Common.css, and made sure -moz-border-radius was now border-radius. (I fact, I pasted in the css from here.) The formatting looks fine, just no css colors, borders, etc. in effect. Cleared the cache of course. What might I be missing?


 * I will look into this as soon as I can (hopefully in a few days).

Thibaultmarin (talk) 04:31, 24 July 2013 (UTC)


 * OK i quickly tried to install 1.21.1 (default options for everything I think). I installed the extension (copied the files and added the 'require_once ...' line in LocalSetttings.php), the tables were rendered without borders (as expected).  I then edited the mediawiki:common.css and pasted the content of the TimelineTable.style.css file.  It worked (table borders and background colors rendered properly) so it may be some configuration thing.  A few things to try:

I'll try to reprodruce the issue with different settings. Thibaultmarin (talk) 05:04, 24 July 2013 (UTC)
 * See if changes to common.css (not related to the timelinetable entries) affect the wiki (I haven't tried yet but redefining H1 tags maybe be easy to do for instance). This would help determine if the problem comes from the extension or the wiki configuration.
 * See if using the user CSS page results in something different (http://www.mediawiki.org/wiki/Common.css). I think this can be done by adding the CSS content to User:Example/common.css (instead of mediawiki:common.css) and enabling $wgAllowUserCss in LocalSettings.


 * Sorry for the (long) delay. Was this issue solved?  If not:
 * Could you post the content of a problematic tag?
 * Does adding other entries to the MediaWiki:Common.css seem to work? For instance, try adding the following to MediaWiki:Common.css:

h2{ color: red; }
 * The second level section titles should appear in red, do they?
 * Could you check the Special:Version page for the Mediawiki and TimelineTable versions?

For what it's worth I had no problem during my upgrade to 1.21.2 (did you run the update script?) Thibaultmarin (talk) 03:17, 4 October 2013 (UTC)

time possible
Hi,

would it be possible to also use time, something like :

2014-09-01 10:10:00|2014-09-01 12:10:00|event 1 2014-09-01 11:10:00|2014-09-01 11:30:00|event 2


 * It is not currently possible but it shouldn't be too hard to add. I'll look into it.

Thibaultmarin (talk) 03:53, 10 September 2014 (UTC)


 * I have some provisional support for tables with hour/minute/second depth and headers. It is available at: https://bitbucket.org/thibaultmarin/timelinetable_public/get/v2.1alpha0.zip.  It is not fully tested, but it should be able to render things like the following (you can post here if you encounter issues):

Thibaultmarin (talk) 05:08, 17 September 2014 (UTC)

Error if I don't use noyears
 2014-02|2014-10|event1 If I use this example I see a timeline in the preview. But if I delete noyears because I'd like to see the year, than I see no preview, only a white page.

Best regards


 * I can't seem to reproduce the issue (the table is rendered correctly with and without the 'noyears' option). Which version of the extension (and of mediawiki) are you using?

Thibaultmarin (talk) 00:05, 15 October 2014 (UTC)