Hey,

What state?  The only class state I see is configuration information
> (namely $voidElements, $boolAttribs, and $HTMLFiveOnlyAttribs, none of
> which are written too).
>
> Those are the only static fields I'm aware of.
>
> And I believe the only globals are simple configuration variables (e.g.
> wgWellFormedXml) from LocalSettings (nothing like $wgUser).
>

Indeed. That is still global state however. More complex global state would
be worse. That does not make simple global state not harmful though.

Cheers

--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to