Board Thread:Support Requests - Getting Technical/@comment-6512089-20140729173056/@comment-2170536-20140730181412

Hey there, can I ask what didn't work? Since I obviously can't edit your wiki I copied the pages over to my test wiki (here) and used the prior version of RefocusingCalculator to use the local MediaWiki:RefocusingCalculator.js. It seems to be working just fine there with no edits at all on my part.

With regard to the MediaWiki:Common.js/AttackStrategies.js, it is just a subpage of Common.js and is loaded all by itself. We just like to keep all of our JavaScript pages as subpages of Common.js for organizational purposes; as most of them are loaded via importArticles from Common.js, we just make the submodules actual subpages as well. loading "MediaWiki:Common.js/AttackStrategies.js" doesn't load Common.js. We could have called it "MediaWiki:AttackStrategies.js" and it would have the same effect.

In fact, in this case it's not loaded by Common.js, so I probably shouldn't make it a subpage. But I have just gotten into that habit. :)