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)