Extension talk:EasyTimeline/archive 2

About this board

archived talk on this page


Thisisnotatest (talkcontribs)

I believe this extension has accessibility issues:

1. There doesn't appear to be a way to produce alternative text on a graphic created with this extension. And a large amount of data would not be suitable for alt text anyway.

2. The graphic data is not accessible to blind people. Depending on the amount of data, it may not be easy to use for mobile visitors either.

But...the data is all there. It's used to make the timeline.

Suggested resolution:

When generating a graphic timeline, also generate a text version, whether as a table or as a multi-level bulleted list. Automatically add a link to that text version, using visible link text in plain language, not the URL, below the image. Then add alt="" to the image tag.

Alternatively, add it as a collapsed section below the chart.

The advantage of generating the text version from the same data as the graphic is that there is a single source of truth and you do not risk them getting out of sync with each other.

Thisisnotatest (talk) 06:37, 2 October 2024 (UTC)

Thisisnotatest (talkcontribs)

Alternatively, add the data as a collapsed section immediately below the chart and labeled as "Chart data".

Pppery (talkcontribs)

Yeah, you're right. EasyTimeline is legacy and doesn't support alt text. This is tracked in Phabricator somewhere, but since EasyTimeline has not been maintained for years it's probably not going to get done.

Reply to "Accessibilty issue"
108.184.25.102 (talkcontribs)

I've been working on a timeline then suddenly i get this error:

Unable to compile EasyTimeline input:

EasyTimeline 1.90

Timeline generation failed: 1 error found

- Maximum image size is 1600x2000 pixels = 16x20 inch


i have done everything i can think of to fix with no answer, Please help!!!

Reply to "Easy Timeline error"

$wgParser->setHook is breaking the Maps extension

1
Levimot (talkcontribs)

Hi everyone, I've tried installing EasyTimeline on a wiki that also uses Extension:Maps. I installed it as per instructions on the Extension:EasyTimeline/installation discussion thread about Linux installations, as it was broken otherwise. It works! But after a while (maybe 10 minutes) it seems to break the Maps extension, disabling its #display_maps hooks (all that's left is the code on the page, rather than the map).


I've narrowed it down to the following code in Timeline.php that Maps seems to have a problem with:

function wfTimelineExtension() {

      global $wgParser;

      $wgParser->setHook( "timeline", "renderTimeline" );

}


Update.php tells me that $wgParser is deprecated, so this seems to be the thing that's clashing with the Maps extension.


I've tried searching for a solution online but the only solution was someone working on Extension:SimpleTable but their work is apparently unstable so I have decided not to pursue it. Any help would be very appreciated.

Reply to "$wgParser->setHook is breaking the Maps extension"

Ploticus to Amazon Linux 2

1
178.254.128.122 (talkcontribs)

I'm trying to install Ploticus on my Amazon Linux 2 but I'm not getting it. Can anybody help me

Reply to "Ploticus to Amazon Linux 2"

Legend (color) and substrings

3
MarMi wiki (talkcontribs)

If legend is a shorter version (substring) of legend above it, then it's overwritten (color & text) by the upper one.

Example (timeline copied from syntax discussion):

legend:gitara_basowa

legend:gitara

If you switch the order (shorter legend will be above the longer), then it displays correctly.

MarMi wiki (talk) 19:43, 25 April 2022 (UTC)

Wargo (talkcontribs)
MarMi wiki (talkcontribs)

Yeah, it seems it's not that simple. But even in the second example, if you change the order, then it will display correctly (at least on Preview).

Reply to "Legend (color) and substrings"

Please update this manual.

1
Süd-Russisches (talkcontribs)

I have been interested in EasyTimeline.

However, I am mainly active in Japanese Wikipedia, and according to this manual, I could not use characters that are often used in Japanese, such as hiragana and kanji.

I was disappointed that.

Recently, I read ja:Help:画像の表示#EasyTimelineを使った例(Help:Displaying images #Example using EasyTimeline) and learned that kanji can also be used now.

It is a pitty that it only shows a simple example.

Therefore, please update this manual.

Thank you !!!

Reply to "Please update this manual."
Franar8 (talkcontribs)
Reply to "Help"

Template parameter causing errors

1
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

https://en.wikipedia.org/wiki/2009_flu_pandemic_in_Canada

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"

ScaleMajor/ScaleMinor

1
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"

hidpi and easytimeline

1
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"
Return to "EasyTimeline/archive 2" page.