Last modified: 2009-09-04 01:05:52 UTC
Created attachment 6526 [details] Proposed fix The parser object whose hooks are being initialized is passed as the first argument to the ParserFirstCallInit hook, but ImageMap initializes $wgParser no matter if it is really the one that generated the hook call. This patch fixes this, by initializing the parser object passed as argument to the hook. A separate function is provided for pre-1.12 Mediawiki compatibility (where the only parser object is really $wgParser). Similar to bug 20490.
Fixed in 55796.