Thread:Talk:Requests for comment/Documentation overhaul/JS documentation/reply (2)

One interesting point is whether to split up pages by module or by root-level object?


 * and  are not modules, they are part of mediawiki.
 * mediawiki.api.edit extends
 * and  are both defined in jquery.mwExtension

I propose to document them per module, especially for jQuery plugins that is probably better. That way related code paths are documented on the same page (for they are defined in the same closure, so they have a lot in common already).