Board Thread:General Coding Help/@comment-24473195-20160210110408/@comment-24473195-20160308123153

I found a way to get the comments for a Wall message :

$.post(mw.util.wikiScript('wikia'), {   controller: 'WallExternal',    method: 'getCommentsPage',    pagetitle    : "Dessamator",    pagenamespace: '1200',    format: "json" }, function (d) {    if (!d.error){        v = d.html        $(v).find(".replies li").each(function  { console.log($(this).attr("data-id")); });   } })

Apparently, I was operating under the mistaken assumption that the extension for walls and forums was the same. Wikia's forums seem to inherit some functionality of walls, and extend it (https://github.com/Wikia/app/tree/dev/extensions/wikia/Forum).

Interestingly, while the api call above does work for message walls, a similar one doesn't work for Forum threads: $.post(mw.util.wikiScript('wikia'), {   controller: 'ForumExternalController',    method: 'getCommentsPage',    pagetitle    : "7020",    pagenamespace: '1201',    format: "json" }, function (d) {    if (!d.error){        console.log(d)        v = d.html        $(v).find(".replies li").each(function  { console.log($(this).attr("data-id")); });   } })