John,

This was indeed a tricky one :o)

The problem is caused by the rule on lines 1602-1604 of load.php (I
don't know the internals of Mediawiki, but I suppose this PHP script
is generating a CSS file):

 .mw-hide-empty-elt .mw-parser-output:not(.mw-show-empty-elt) .mw-empty-elt {
  display:none
 }

I see two ways to fix the problem:
* First solution:
  Your graph is in a table with the CSS class "graph".
  The parent element of this class is a div with class="mw-parser-output".
  If you can modify the class attribute of this div for
"mw-parser-output mw-show-empty-elt" that will solve your issue.

* Second solution:
  Just before the table element of the graph, there is a style element
containing the CSS rules for the graph extension.
  If you can edit this element, you can add the following rule:

table.graph .mw-empty-elt {
  display: block !important;
}


You could also try removing the "mw-hide-empty-elt" class from the
page body, but I cannot be sure that this wouldn't have side effects
on other Mediawiki features.

Cheers,
Eric

Reply via email to