<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AEasyTimeline_activation</id>
	<title>Help:EasyTimeline activation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AEasyTimeline_activation"/>
	<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:EasyTimeline_activation&amp;action=history"/>
	<updated>2026-05-04T01:43:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Help:EasyTimeline_activation&amp;diff=1506&amp;oldid=prev</id>
		<title>Wadmin: 1 revision(s)</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:EasyTimeline_activation&amp;diff=1506&amp;oldid=prev"/>
		<updated>2006-07-19T05:34:24Z</updated>

		<summary type="html">&lt;p&gt;1 revision(s)&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:34, 19 July 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Wadmin</name></author>
		
	</entry>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Help:EasyTimeline_activation&amp;diff=1505&amp;oldid=prev</id>
		<title>Hexagon1: eep, the last 2 edits were me, forgot to login</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:EasyTimeline_activation&amp;diff=1505&amp;oldid=prev"/>
		<updated>2006-07-17T17:29:14Z</updated>

		<summary type="html">&lt;p&gt;eep, the last 2 edits were me, forgot to login&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This section deals with issues on how to activate [[EasyTimeline]] in other MediaWiki installations.&lt;br /&gt;
&lt;br /&gt;
EasyTimeline is part of the MediaWiki software. However you need to do a few things in order to activate it.&lt;br /&gt;
&lt;br /&gt;
Note: when you run MediaWiki on another platform than Linux, the following may not apply or be incomplete.&lt;br /&gt;
&lt;br /&gt;
== Download Ploticus ==&lt;br /&gt;
EasyTimeline uses open source program [http://ploticus.sourceforge.net/doc/welcome.html Ploticus], which is not included in the MediaWiki installation. Download the proper version for your OS [http://ploticus.sourceforge.net/doc/download.html here].&lt;br /&gt;
&lt;br /&gt;
If you can't put the Ploticus executable '''pl''' in /usr/local/bin, or any of the other suggested locations, just make sure it's executable and put the appropriate location in [[LocalSettings.php]] (&amp;quot;how&amp;quot; explained below).&lt;br /&gt;
&lt;br /&gt;
'''Important''': Ploticus 2.30 has &amp;lt;small&amp;gt;(Oct 29, 2004)&amp;lt;/small&amp;gt; a [http://groups.yahoo.com/group/ploticus/message/1244 critical bug]. Upgrade to &amp;lt;strike&amp;gt;2.31&amp;lt;/strike&amp;gt; '''2.32'''.&lt;br /&gt;
&lt;br /&gt;
Mind that&amp;lt;small&amp;gt;, at 12:57, 31 August 2005 (UTC),&amp;lt;/small&amp;gt;&lt;br /&gt;
* the last version of ''ploticus'' is '''2.32''' (Aug 22 &amp;amp; 23, 2005)&lt;br /&gt;
* the last version in the ''Ubuntu'' (a.k.a. ''Debian'') GNU/Linux distro is still '''2.20''' (Aug 14, 2004)&lt;br /&gt;
&lt;br /&gt;
==Download PHP/PERL scripts==&lt;br /&gt;
&lt;br /&gt;
''EasyTimeline.pl'' is the actual plug-in, written in perl. &lt;br /&gt;
&lt;br /&gt;
''Timeline.php'' is the MediaWiki php wrapper that invokes the perl script with proper arguments, and feeds generated image and image map (if applicable) to the html output.&lt;br /&gt;
&lt;br /&gt;
Follow these links to get the latest revision of both files :&lt;br /&gt;
php file: [http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/timeline/Timeline.php], perl file: [http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/timeline/EasyTimeline.pl]&lt;br /&gt;
&lt;br /&gt;
Do not use the EasyTimeline.pl script, or its compiled version, from the authors support page. These are meant for offline usage (= outside WikiMedia).&lt;br /&gt;
&lt;br /&gt;
'''Important''': Newest Ploticus (from 2.31) has changed behaviour. You'll need to patch the php file, see ''Charts not clickable'' below.&lt;br /&gt;
&lt;br /&gt;
==Configure MediaWiki==&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
&lt;br /&gt;
For background info see also [[Write_your_own_MediaWiki_extension]]&lt;br /&gt;
&lt;br /&gt;
Some rename the php file from '''Timeline.php''' to '''EasyTimeline.php''' to match the perl file name. In any case make sure to refer to it correctly in the '''LocalSettings.php''' file:&lt;br /&gt;
&lt;br /&gt;
 # Add support for EasyTimeline extension&lt;br /&gt;
 include(&amp;quot;extensions/EasyTimeline.php&amp;quot;);&lt;br /&gt;
 $wgTimelineSettings-&amp;gt;ploticusCommand = &amp;quot;/usr/local/bin/pl&amp;quot;;&lt;br /&gt;
 $wgTimelineSettings-&amp;gt;perlCommand = &amp;quot;/usr/local/bin/perl&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
Obviously, the path specified is just an example, you may need to set these parameters differently.&lt;br /&gt;
&lt;br /&gt;
===Script location===&lt;br /&gt;
&lt;br /&gt;
EasyTimeline.pl needs to be installed in WIKIDIR/extensions/timeline/EasyTimeline.pl (or make a symlink, of course)&lt;br /&gt;
&lt;br /&gt;
===Image directory===&lt;br /&gt;
Create a directory for timeline images:&lt;br /&gt;
&lt;br /&gt;
 mkdir WIKIDIR/images/timeline&lt;br /&gt;
 chmod 777 WIKIDIR/images/timeline&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
&lt;br /&gt;
=== Charts not clickable===&lt;br /&gt;
&lt;br /&gt;
Ploticus 2.30 is buggy and does never produce a html map file, so no clickable images.&lt;br /&gt;
&lt;br /&gt;
Ploticus 2.31 has fixed this but has changed behaviour: map file is now written to stdout instead of file :(&lt;br /&gt;
&lt;br /&gt;
So you need to apply the patch described below or download Timeline.php 1.7 with patch applied [http://members.chello.nl/epzachte/Wikipedia/EasyTimeline/Timeline.php here].&lt;br /&gt;
&lt;br /&gt;
Patch by [[User:Twhite|Twhite]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[twhite@home]$ diff EasyTimeline.php Timeline-1.7.php&lt;br /&gt;
48,58d47&lt;br /&gt;
&amp;lt;                 else {&lt;br /&gt;
&amp;lt;                    $lines = split(&amp;quot;\n&amp;quot;, $ret);&lt;br /&gt;
&amp;lt;                    $handle = fopen($fname.&amp;quot;.map&amp;quot;, &amp;quot;w&amp;quot;);&lt;br /&gt;
&amp;lt;                    for($i=0;$i &amp;lt; count($lines);$i++) {&lt;br /&gt;
&amp;lt;                       // check if string is area part&lt;br /&gt;
&amp;lt;                       if(strpos($lines[$i], &amp;quot;area shape&amp;quot;) == 1) {&lt;br /&gt;
&amp;lt;                          fwrite($handle, $lines[$i] . &amp;quot;\n&amp;quot;);&lt;br /&gt;
&amp;lt;                       }&lt;br /&gt;
&amp;lt;                    }&lt;br /&gt;
&amp;lt;                    fclose($handle);&lt;br /&gt;
&amp;lt;                 }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This bug has been resolved in Ploticus 2.32&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Windows only: ''Timeline error: Executable not found. Command line was:'' ==&lt;br /&gt;
If you are getting an error something like&lt;br /&gt;
&lt;br /&gt;
 Timeline error: Executable not found. Command line was:&lt;br /&gt;
 &amp;quot;C:/Perl/bin/perl.exe&amp;quot; &amp;quot;C:/Apache2/htdocs/wiki/extensions/timeline/EasyTimeline.pl&amp;quot;&lt;br /&gt;
 -i &amp;quot;C:/Apache2/htdocs/wiki/images/timeline/bebc64ea32049f9fe1f251640849a318&amp;quot;&lt;br /&gt;
 -m -P &amp;quot;C:/pl232win32/bin/pl.exe&amp;quot;&lt;br /&gt;
 -T &amp;quot;C:/Apache2/htdocs/wiki/images/tmp&amp;quot; -A &amp;quot;/wiki/$1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
try going into your php file (usually at Timeline.php or EasyTimeline.php) and changing&lt;br /&gt;
 $ret = `{$cmdline}`; &lt;br /&gt;
into&lt;br /&gt;
 $ret = `&amp;quot;{$cmdline}&amp;quot;`;&lt;br /&gt;
&lt;br /&gt;
==Windows only: set path to perl==&lt;br /&gt;
&lt;br /&gt;
When your mediawiki installation runs on Windows you will need to update Timeline.php.&lt;br /&gt;
Set $wgTimelineSettings-&amp;gt;perlCommand to the path to perl.exe. The default is&lt;br /&gt;
/usr/bin/perl, this needs to be changed for Windows.&lt;br /&gt;
&lt;br /&gt;
==No texts displayed==&lt;br /&gt;
The newest release of EasyTimeline contains a quick fix for unicode support. This requires free font FreeSans.ttf. If easytimeline.pl mentions FreeSans.ttf you have this recent version and maybe do not have that font in a directory where Ploticus looks. You might try to find where that is on your system: see Ploticus docs online, or revert to previous EasyTimeline.pl 1.13 at http://cvs.sourceforge.net/viewcvs.py/wikipedia/extensions/timeline/EasyTimeline.pl.&lt;br /&gt;
&lt;br /&gt;
[[Category:English documentation]]&lt;br /&gt;
[[Category:System admin handbook]]&lt;/div&gt;</summary>
		<author><name>Hexagon1</name></author>
		
	</entry>
</feed>