Board Thread:Code Review/@comment-1757994-20151023054248/@comment-11733175-20151119194055

I can't see where the current code is right now, is there a link I'm missing? As far as the code style goes, I'd be inclined to use the mediawiki.api module for the API requests as it's more future proof than working with the URL strings directly (in case someone wants to port it to wikipedia, etc.). It also saves having to remember to explicitly set the format parameter (which I'm always forgetting). Another MediaWiki specific idea is to use mw.config over accessing the global directly. I can never tell if Wikia rely on these being globals due to the complexity of how they handle globals in general, but it's probably a good idea.

As far as performance goes, obviously more requests are going to have side effects, but as requests are typically run async in JS is this that much of a performance hit? Numbers don't mean an awful lot without timing as well.