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

--- Comment #1 from MZMcBride <[email protected]> 2012-09-04 02:02:39 UTC ---
(In reply to comment #0)
> Looking at the InfoAction.php code
> (<https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=includes/actions/InfoAction.php>),
> it seems it's already using addHeader. So perhaps there's a flag that can be
> passed to this function to add the span/CSS id? Or perhaps $wgParser needs to
> be called? I'm not sure.

Hmm. I hadn't realized that the addHeader function is local to InfoAction.php.
I thought this was a global function.

So perhaps there's a global function that can be employed here instead? It
looks like Special:Version has the behavior I want. It seems to use
Xml::element('h2' ...) for this. Instead of addHeader() calling Html::element()
as it does now, maybe it can simply call Xml::element()? Just a pointer for the
person who ends up trying to resolve this bug.

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

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to