Currently, the AdvancedSearch extension.json defines a number of modules in a dependency tree. This causes unnecessary work for ResourceLoader because it has to figure out the dependencies. Also, it makes the URLs for load.php very long because it lists all the modules. This will address the concerns raised by @Krinkle in https://gerrit.wikimedia.org/r/434028
AC:
AdvancedSearch extension.json module definitions contain only the following modules:
- ext.advancedSearch.init
- ext.advancedSearch.searchtoken
- ext.advancedSearch.initialstyles
- ext.advancedSearch.searchfields (lazy-loaded search fields, currently ext.advancedSearch.AdvancedOptionsConfig)
The scripts and messages of all other "modules" are moved to either ext.advancedSearch.init or ext.advancedSearch.searchfields.