https://bugzilla.wikimedia.org/show_bug.cgi?id=26345

           Summary: bars defined in PlotData but unused in BarData throw
                    an error
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: EasyTimeline
        AssignedTo: erikzac...@infodisiac.com
        ReportedBy: andbe...@web.de


The documentations say that the following code would be valid:

...
BarData = 
  bar:3 text:
  bar:1 text:some

PlotData =
  color:hellgrau width:0.1  #hellgrau is correctly defined
  Bar:3 from:start till:end
  Bar:2 from:start till:end
  Bar:1 from:start till:end
...

I had expected it to show the bars 3 and 1, but then an error message is
displayed:

Line xx: Bar:2 from:start till:end
- PlotData invalid. Bar '2' not (properly) defined.

What does it mean? Have I misunderstood something or is this a bug? I'd like to
use this functionality in a template where I want to hide some bars
conditionally (with the {{tag:timeline| ... }}-function).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to