On Fri, May 25, 2012 at 12:47 PM, Derric Atzrott datzrott@alizeepathology.com wrote:
I have read the Migration Guide for Extension Developers; I actually still have it open right now. It lead me to believe that if I were to do the following, I could expect to see some sort of result.
Add the following to the end of MasterPlanForm.php: http://pastebin.com/gwB8X2cj Create the following directory: /extensions/MasterPlanForm/js Create the following file: /extensions/MasterPlanForm/js/ext.MasterPlanForm.core.js Add the following to the newly created file: http://pastebin.com/kyiLiysJ
If I understand correctly, which it appears I do not, that should have changed the element with the ID " firstHeading" to "Test".
You created a module, but you didn't actually add it to the page anywhere. See https://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_for_extension_... . Basically, you need a BeforePageDisplay hook that calls $out->addModules( 'ext.MasterPlanForm' ); .
Roan