Board Thread:Support Requests - Getting Technical/@comment-24549343-20140306170052/@comment-24549343-20140306185435

Hi, I was testing the page with differnt versions of datatables so it might have looked unfinished. I have restored the page to what I think is correctly coded. The code is based on example from datatables.

I understand that mediawiki forbid the thead and tbody tag which datatable requires. This can be fixed through jquery based dom manipulation which I have already tested and verified that to be working. I have put the tablesorter plugin(which also have the same requirement) inside Mediawiki:Common.js and after the dom code, it works perfectly. So this is not the issue.

However, the problem seems to be of a different nature, datatable itself is not getting registered as jquery plugin. I have tried 3 different version of datatable code base, 1) the latest official release, 2) the minified version from mediawiki extension datatables 3) latest code snapshot from github. all exhibits the same behaviour(not getting registered). So I was wondering if it might be something related to the jquery version used in wikia and is somehow incompatible with datatable's way of registering itself. If so, what can I do to correct the problem?