Board Thread:Support Requests - Getting Technical/@comment-26427968-20150617033953/@comment-26427968-20150618092923

Hopefully I'm not counting the hens before they hatch this time. After a few cache ignore refreshes and "?=purge" it is still working. I believe all my problems revolved around making sure dependencies where loaded in order(css stuff first, jquery.ui.slider and lastly my fence_slope.js). Also, apparently you have to use a full script http address for custom scripts. I think it's something to do with being properly registered to find it by say, MediaWiki:Fence_slope.js.

Now I got to figure out how to get all the CSS and JS out of the MediaWiki:Common files and into ones that only load if the widget is showing. Any tips would be appreciated.

So feel like I'm almost having a conversation with myself. I want to share my progress and I hope this is helpful. The last step here is the conditional loading. I'm pretty sure what I did in MediaWiki:Common is not efficient.

I updated the first post because I changed some things around.