Thread:Project:Support desk/I need html forms and Javascript in MediaWiki - Extension:CalcII doesn't work on newer MediaWiki Versions/reply (3)

Hello :)

That what you do, is to add Text to the page, for this you don't need to use ParserFirstCallInit. I thought you want to create a tag, maybe or something else :) Where you want to add the form to make clear to me, what you want :)

P.S.: To add JavaScript Files to the page header, please use Manual:Hooks/BeforePageDisplay, there you get as first param the OutputPage class and you don't have to use the "ugly" global $wgOut :P Where you have saved the calculator.js and is it visible in source code of your page? :)

> When using mediawiki classes, do I have to import them with "$wgAutoloadLocalClasses"? If you want to load a PHP class, then: yes :)