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

Cqm wrote: I don't know what, if any checks are done before a new user greeting is posted. I believe it's something along the lines of  but that's pure speculation.

I asked around about this and turns out the message id is the article or page id of that message. As we know, wall posts are pages too, as can be seen from diffs, so if you have the actual title of the post then you also have the page you need to edit. Well, considering that admins can delete any page. I'm guessing that someone has tried at some point to delete the "welcome" notice, so either the API blocks it and it is a non-issue, or it allows it, and it doesn't make a difference.

Would that be a potential 'fix' for the time being? I agree that the other issue of mass editing threads should be addressed in the future though.

It might be a good solution for now for pages with many links, the others I can probably  edit by hand.

... but it seems the api doesn't like the Thread: namespace. ("The page you specified doesn't exist.") However ..

There is an easier less "hacky" solution:

$.post(mw.util.wikiScript('wikia'), {	controller: 'WallExternal',	method: 'getFormattedQuoteText',	messageId: 8660, format: "json" }, function (d) {	if (!d.error)		console.log(d)	else		alert('Failed: ' + d.error.code); })

As long as we know the "thread names" we can get their contents, although your solution is useful in cases where one needs to parse the whole thread.