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):

I tried memory_limit 128MB

I tried memory_limit 256MB

I think it's no problem of my memory.

Best regards


 * Weird...
 * Is this still with v2.0rc1 (e3e6626810a9 file)? Also could you please post the exact table tested?
 * How did you increase the memory size?
 * Would it be possible to disable other extensions (to make sure this is the culprit) and put the table in an empty page?
 * Could you try this simple table?


 * Thanks, I'll try to instrument the code to log more information and force some memory cleanup for debugging. What version of php are you using?


 * current PHP 5.3.3 (cgi-fcgi) & MySQL 5.5.40
 * In 2 Weeks get my OS PHP 5.4


 * I have uploaded a test version with extra logging (https://bitbucket.org/thibaultmarin/timelinetable_public/get/debug_memory.zip). Please download/install it, setup a log file for the extension by adding in your LocalSettings:   (you may change the log file path   to something else) and reload the page (you can change the title of an event to make sure the table is rendered and not obtained from the cache).  If you could report here the input table and the corresponding log, that may point us to the right direction.  Thanks.


 * I used  But where is the log?

5.3.3 -> 5.3.29 works if I disable caching. I think that's it. I can see the created timetable. :-) 5.3.3 -> 5.4.34 doesn't work. I think the old LocalSettings is responsible.
 * Some hours later: I've the choice of 5 PHP versions.


 * For the log, $IP won't work, you need to give a path on the filesystem (maybe /var/www/html/mediawiki/... or /var/log/ or /tmp/, anywhere as long as the web-server user has permission to write there). I think, there is a memory leak in the code, although I'm surprised that small tables lack enough memory to run out of 256MB.  If you could post the log along with the input table when you get it, that may help understand.  Also, where did you disable caching? Thanks

Any way to display the table downward instead of across?
I am trying to display a table of events over a lifespan of a person (80 years), but it goes off the page. I would prefer to display the table downward with ticks for different events. Is this a feature that can be implemented in this extension?
 * I just tried to implement this. It seems to work on the examples I tried: https://bitbucket.org/thibaultmarin/timelinetable_public/get/v2.1alpha1.zip.  You need to pass an extra argument   to the table, e.g.:

 2014-02|2014-10|event1#2014-12|2015-2|test 2014-06|2014-12|event2
 * Thibaultmarin (talk) 05:14, 22 October 2014 (UTC)