Wikipedia:AutoEd/wikichecker.js: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Dari WP:EN.
 
k Maintenance: Fixing deprecated call to importScriptURI (mw:ResourceLoader/Migration_guide_(users)#importScriptURI)
 
Baris 5:
}
 
importScriptURImw.loader.load(AutoEd_baseurl + 'core.js'); //Imports the "framework" script needed to make this function
 
//Sets variable configuration
Baris 13:
//Import individual modules for use
importScriptURImw.loader.load(AutoEd_baseurl + 'unicodify.js'); // autoEdUnicodify() converts HTML entities to WikiText
importScriptURImw.loader.load(AutoEd_baseurl + 'isbn.js'); // autoEdISBN() fixes ISBN syntax so that WikiMagic can work
importScriptURImw.loader.load(AutoEd_baseurl + 'wikilinks.js'); // autoEdWikilinks() simplifies and shortens wikilinks where appropriate
importScriptURImw.loader.load(AutoEd_baseurl + 'htmltowikitext.js'); // autoEdHTMLtoWikitext() converts HTML to wikitext
importScriptURImw.loader.load(AutoEd_baseurl + 'headlines.js'); // autoEdHeadlines() fixes common headline errors and renames some headers
importScriptURImw.loader.load(AutoEd_baseurl + 'unicodecontrolchars.js'); // autoEdUnicodeControlChars() converts HTML to wikitext
importScriptURImw.loader.load(AutoEd_baseurl + 'templates.js'); // autoEdTemplates() cleans up templates
importScriptURImw.loader.load(AutoEd_baseurl + 'tablestowikitext.js'); // autoEdTablestoWikitext() replaces HTML tables with wikitables
importScriptURImw.loader.load(AutoEd_baseurl + 'extrabreaks.js'); // autoEdExtraBreaks() removes extra BR tags
importScriptURImw.loader.load(AutoEd_baseurl + 'links.js'); // autoEdLinks() cleans up common link errors
 
function autoEdFunctions() { //Activates individual modules when "auto ed" tab is clicked