Extension talk:EasyTimeline

Jump to navigation Jump to search

About this board

archived talk on this page

Franar8 (talkcontribs)
Reply to "Help"

Template parameter causing errors

DferDaisy (talkcontribs)

This error has a help item: https://en.wikipedia.org/wiki/Help:EasyTimeline_syntax#EasyTimeline_code_with_a_template_parameter_is_not_allowed

but it is ambiguous as to whether or not templates should or shouldn't work. The EasyTimeline in


had embedded links, to which a bot added "dead link" templates (correctly, as links are dead) but this created a list of "invalid attributes" within the body of the article in very large sized text.

The questions I have are: Is there a way to get the timeline to handle templates, if not, either is there any way to have the error messages be more inconspicuous in the article, or is there an alternative timeline type available? Thanks.

Reply to "Template parameter causing errors"
GreenMeansGo (talkcontribs)

Not sure if this is going to do any good, since it looks pretty dead here, but anyone know a way to change the scale to something other than defaulting to scientific notation? I working on a timeline regarding prehistoric history, so I'm dealing on scales in the millions, and the scientific notation may as well not even be there for the good it'll do most readers. ~~~~

Reply to "ScaleMajor/ScaleMinor"
Plyd (talkcontribs)

Is there a way to configure easytimeline to get neat images x2 or x4 for hdpi / retina displays? With mobile browsers, we now have a large part of the traffic requiring hdpi, and on it, the timeline is blurred. ~~~~

Reply to "hidpi and easytimeline"
JJBers (talkcontribs)

I'm not sure exactly because it isn't mentioned in the description page, but does the EasyTimeline support measurements of time down to the minute?

Reply to "A problem"
Alex 21 (talkcontribs)
Hairy Dude (talkcontribs)

I've been editing the above page to correct lots of broken links. The first thing to notice is that the broken links weren't red. But this post is about what I can only assume is a bug in Unicode handling. The behaviour is really strange, though - in places adding or removing a space can cause an error, and the error is entirely unrelated to the change. I've been unable to get the era name "Kannō" to display without triggering the error (it's currently displayed as "Kan'ō", which is apparently a valid alternative, but not the variant used for its article's title).

The error looks like this:

EasyTimeline 1.90

Timeline generation failed: 1 error found
Line 15: ScaleMajor = unit:year increment:50 start:1350 gridcolor:grid1

- Scale attribute 'grid' invalid. Unknown color ''.
Specify command 'Color' before this command.
Phil Boswell (talkcontribs)

What's really odd is that if I replace [[Kan'o|Kan'ō]] with [[Kannō|Kannō]] in the wikitext, it seems to work OK.

Reply to "Bizarre behaviour at w:Template:Timeline of Japanese era names"

Embedded links broken with right align

Blahma (talkcontribs)

The image maps generated from embedded links that use an align other than "left" (e.g. "right") include wrongly calculated click areas, which renders the blue links broken, because the click areas are misplaced and sometimes even have negative coordinates. See example at . Can somebody please confirm that this is incorrect behavior, and can somebody try to fix this, or at least suggest a work-around? Thank you.

Reply to "Embedded links broken with right align"

Trouble getting {{#tag:timeline| timeline syntax }} to work - not text displayed

Kghbln (talkcontribs)

I am having trouble to install this extension, well sort of. Using <timeline> timeline syntax </timeline> works like charm. If I use {{#tag:timeline| timeline syntax }} the text is not showing up. This advice seems unrelated and does not help anyway.

The wiki is on MW 1.22.5 and PHP 5.3.3 with the latest pre json-i18n code.

I will very much appreciate any hint on how to resolve this.

Kghbln (talkcontribs)

Seven months have passed and things have happened in the meantime. After upgrading to Debian 7 and MediaWiki 1.23 even the tag stopped working, so no tag and no parser function. :( However I got it working now. The issue was that I did not add $fontFile = 'ascii'; to the "LocalSettings.php" file after invoking the extension. After I have done this everything was fluffy. A short note about using the parser function: There must be a blank line between the function call and the timeline syntax, e.g.


timeline syntax ...
Bennylin (talkcontribs)

I had this problem too. Tag doesn't display any text (I didn't use the parser function). I used the sample code from the page. I've already add $fontFile = 'ascii' to no avail.

Bennylin (talkcontribs)
Kghbln (talkcontribs)

Hmm, if $fontFile = 'ascii'; does not work perhaps ploticus is not installed correctly or in a different spot. Perhaps you have to adjust $wgTimelineSettings->ploticusCommand = "/usr/bin/ploticus"; too.

Bennylin (talkcontribs)

Turns out a cache problem. First I installed FreeSans font, and added the location to the LocalSettings.php putenv("GDFONTPATH=/usr/share/fonts/truetype/freefont"); but then I didn't clear the cache, I only previewed the edit from the editor window. What I did next to solve the problem was I saved the page that I was editing, deleted the generated images from "w/images/timeline" folder, and hard refresh the page.

Kghbln (talkcontribs)

Ah, that makes sense. Thank you for posting since this will help others too. Cheers

Reply to "Trouble getting {{#tag:timeline| timeline syntax }} to work - not text displayed"
钉钉 (talkcontribs)
Bennylin (talkcontribs)

Is there any example of working timeline chart in zh.wp?

PS: I tried the example of vertical timeline of Russian president from the extension page, and it worked, but the other horizontal examples didn't work. So I'm quite puzzled right now... https://zh.wikipedia.org/wiki/User_talk:Bennylin

Reply to "Problem in Chinese Wiki"