Merge "Remove getCustomPrinter from ULS extension"
This commit is contained in:
@@ -23,10 +23,6 @@
|
||||
*/
|
||||
class ApiLanguageSearch extends ApiBase {
|
||||
|
||||
public function getCustomPrinter() {
|
||||
return $this->getMain()->createPrinterByName( 'json' );
|
||||
}
|
||||
|
||||
public function execute() {
|
||||
$params = $this->extractRequestParams();
|
||||
$search = $params['search'];
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
// MediaWiki overrides for ULS defaults
|
||||
$.fn.uls.defaults = $.extend( $.fn.uls.defaults, {
|
||||
languages: mw.config.get( 'wgULSLanguages' ) || {},
|
||||
searchAPI: mw.util.wikiScript( 'api' ) + '?action=languagesearch'
|
||||
searchAPI: mw.util.wikiScript( 'api' ) + '?action=languagesearch&format=json'
|
||||
} );
|
||||
|
||||
// No need of IME in the ULS language search bar
|
||||
|
||||
Reference in New Issue
Block a user