From Wikipedia, the free encyclopedia
Content deleted Content added
|
 |
|||
| Line 72: | Line 72: | ||
|
importScript(‘User:Enterprisey/delsort.js’); // Backlink: [[User:Enterprisey/delsort.js]] |
importScript(‘User:Enterprisey/delsort.js’); // Backlink: [[User:Enterprisey/delsort.js]] |
||
|
importScript(‘User:Awesome Aasim/redirectcreator.js’); // Backlink: [[User:Awesome Aasim/redirectcreator.js]] |
importScript(‘User:Awesome Aasim/redirectcreator.js’); // Backlink: [[User:Awesome Aasim/redirectcreator.js]] |
||
|
importScript(‘User:Wugapodes/Capricorn.js’); // Backlink: [[User:Wugapodes/Capricorn.js]] |
|||
Latest revision as of 09:55, 4 December 2025
importScript('Wikipedia:AutoEd/complete.js'); // Backlink: [[Wikipedia:AutoEd/complete.js]]
function autoEdTemplates(str) { //MAIN FUNCTION describes list of fixes
//Remove unneeded Template: text from transclusions
str = str.replace(/{{[_ ]*Template:[_ ]*/gi, '{{');
//Replace redirects to Reflist with Reflist
str = str.replace(/{{[_ ]*(?:Reference[_ ]+List|References-Small|Reflink)[_ ]*(\||}})/gi, '{{Reflist$1');
str = str.replace(/{{[_ ]*(?:Refs|Reference|Ref-list|Listaref|FootnotesSmall)[_ ]*(\||}})/gi, '{{Reflist$1');
//Replace a long version of Reflist with Reflist
str = str.replace(/<div[^<>]*[ ]+class=['"]*references-small['"]*[^<>]*>[\r\n]*<references[ ]*\/>[\r\n]*<\/div>/gim, '{{Reflist}}');
//Replace redirects to about with about
str = str.replace(/{{[_ ]*(?:Otheruses4|Four[_ ]+other[_ ]+uses|Otherusesabout|This2)[_ ]*(\||}})/gi, '{{about$1');
return str;
}
//
importScript('User:Emdad Tafsir/common.js'); // Backlink: [[User:Emdad Tafsir/common.js]]
//importScript('User:Ais523/watchlistnotifier.js'); // Backlink: [[User:Ais523/watchlistnotifier.js]]
//importScript('User:Numbermaniac/goToTop.js'); // Backlink: [[User:Numbermaniac/goToTop.js]]
//importScript('User:Novem Linguae/Scripts/VisualEditorEverywhere.js'); // Backlink: [[User:Novem Linguae/Scripts/VisualEditorEverywhere.js]]
importScript('User:Þjarkur/Highlight recently added text.js'); // Backlink: [[User:Þjarkur/Highlight recently added text.js]]
//importScript('User:Phlsph7/WikiChatbot.js'); // Backlink: [[User:Phlsph7/WikiChatbot.js]]
//importScript('User:Qwerfjkl/scripts/editRedirect.js'); // Backlink: [[User:Qwerfjkl/scripts/editRedirect.js]]
importScript('User:Novem Linguae/Scripts/DetectSNG.js'); // Backlink: [[User:Novem Linguae/Scripts/DetectSNG.js]]
importScript('User:Phlsph7/SourceVerificationAIAssistant.js'); // Backlink: [[User:Phlsph7/SourceVerificationAIAssistant.js]]
importScript('User:Bawolff/wiktLookup.js'); // Backlink: [[User:Bawolff/wiktLookup.js]]
importScript('User:Technical 13/Scripts/Gadget-veditLinks.js'); // Backlink: [[User:Technical 13/Scripts/Gadget-veditLinks.js]]
importScript('User:Zocky/PicturePopupsVector.js'); // Backlink: [[User:Zocky/PicturePopupsVector.js]]
importScript('User:Anomie/linkclassifier.js'); // Backlink: [[User:Anomie/linkclassifier.js]]
importScript('User:Ingenuity/preview.js'); // Backlink: [[User:Ingenuity/preview.js]]
importScript('User:N8wilson/AQFetcher.js'); // Backlink: [[User:N8wilson/AQFetcher.js]]
importScript('User:Writ Keeper/Scripts/deletionFinder.js'); // Backlink: [[User:Writ Keeper/Scripts/deletionFinder.js]]
importScript('User:Evad37/duplinks-alt.js'); // Backlink: [[User:Evad37/duplinks-alt.js]]
importScript('User:DannyS712/copyvio-check.js'); // Backlink: [[User:DannyS712/copyvio-check.js]]
importScript('User:IagoQnsi/ipareader.js'); // Backlink: [[User:IagoQnsi/ipareader.js]]
importScript('User:BrandonXLF/FindSources.js'); // Backlink: [[User:BrandonXLF/FindSources.js]]
importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]
importScript('User:Novem Linguae/Scripts/CiteHighlighter.js'); // Backlink: [[User:Novem Linguae/Scripts/CiteHighlighter.js]]
importScript('User:SuperHamster/CiteUnseen.js'); // Backlink: [[User:SuperHamster/CiteUnseen.js]]
importScript('User:Ucucha/HarvErrors.js'); // Backlink: [[User:Ucucha/HarvErrors.js]]
importScript('User:BrandonXLF/CitationStyleMarker.js'); // Backlink: [[User:BrandonXLF/CitationStyleMarker.js]]
importScript('User:Ais523/votesymbols.js'); // Backlink: [[User:Ais523/votesymbols.js]]
importScript('User:PleaseStand/highlight-comments.js'); // Backlink: [[User:PleaseStand/highlight-comments.js]]
importScript('User:Evad37/TimestampDiffs.js'); // Backlink: [[User:Evad37/TimestampDiffs.js]]
importScript('User:Gary/nominations viewer.js'); // Backlink: [[User:Gary/nominations viewer.js]]
importScript('User:Splarka/oldafd.js'); // Backlink: [[User:Splarka/oldafd.js]]
//importScript('User:Fred Gandt/getUnpatrolledOfAlexNewArtBotResultsPages.js'); // Backlink: [[User:Fred Gandt/getUnpatrolledOfAlexNewArtBotResultsPages.js]]
//importScript('User:Shubinator/DYKcheck.js'); // Backlink: [[User:Shubinator/DYKcheck.js]]
//importScript('User:The Transhumanist/SearchSuite.js'); // Backlink: [[User:The Transhumanist/SearchSuite.js]]
importScript('User:Enterprisey/diff-permalink.js'); // Backlink: [[User:Enterprisey/diff-permalink.js]]
importScript('User:Lenore/autolink.js'); // Backlink: [[User:Lenore/autolink.js]]
importScript('User:Js/watchlist.js'); // Backlink: [[User:Js/watchlist.js]]
importScript('User:Awesome Aasim/rcpatrol.js'); // Backlink: [[User:Awesome Aasim/rcpatrol.js]]
importScript('User:PleaseStand/userinfo.js'); // Backlink: [[User:PleaseStand/userinfo.js]]
//importScript('User:Anomie/useridentifier.js'); // Backlink: [[User:Anomie/useridentifier.js]]
importScript('User:Mdaniels5757/markAdmins.js'); // Backlink: [[User:Mdaniels5757/markAdmins.js]]
importScript('User:PrimeHunter/My subpages.js'); // Backlink: [[User:PrimeHunter/My subpages.js]]
importScript('User:Writ Keeper/Scripts/massRollback.js'); // Backlink: [[User:Writ Keeper/Scripts/massRollback.js]]
importScript('User:BrandonXLF/Restorer.js'); // Backlink: [[User:BrandonXLF/Restorer.js]]
//importScript('User:Nageh/rollbackSum.js'); // Backlink: [[User:Nageh/rollbackSum.js]]
importScript('User:RedWarn/.js'); // Backlink: [[User:RedWarn/.js]]
//importScript('User:Ingenuity/AntiVandal.js'); // Backlink: [[User:Ingenuity/AntiVandal.js]]
//importScript('User:Frietjes/findargdups.js'); // Backlink: [[User:Frietjes/findargdups.js]]
importScript('User:×§×™×¤×•×“× ×—×©/cat-a-lot.js'); // Backlink: [[User:×§×™×¤×•×“× ×—×©/cat-a-lot.js]]
importScript('User:Awesome Aasim/noeditredlinks.js'); // Backlink: [[User:Awesome Aasim/noeditredlinks.js]]
importScript('User:Enterprisey/delsort.js'); // Backlink: [[User:Enterprisey/delsort.js]]
importScript('User:Awesome Aasim/redirectcreator.js'); // Backlink: [[User:Awesome Aasim/redirectcreator.js]]
importScript('User:Wugapodes/Capricorn.js'); // Backlink: [[User:Wugapodes/Capricorn.js]]


