MediaWiki:Gadget-ProgressLevel.js: diferenças entre revisões

Migração: mw.RegExp.escape → mw.util.escapeRegExp
(Migration: $.escapeRE → mw.RegExp.escape)
(Migração: mw.RegExp.escape → mw.util.escapeRegExp)
 
reTextChapterTitle = mw.config.get( 'wgTitle' ).replace ( sortable[ sortable.length - 1 ][ 2 ] + '/', '')
.replace(/^.+?\//g, '');
reTextChapterTitle = mw.RegExputil.escapeescapeRegExp( reTextChapterTitle ).replace(/ /g,'[ _]');
reTextChapterLink = '(?:(?:\\[\\s*|\\/|\\{\\{Capítulo\\|)' + reTextChapterTitle + '(?:\\/?\\s*[\\|\\]]|\\}\\}))';
reTextLeftRightLevel = '(?:\\[\\[(?:[Ii]magem?|[Ff]icheiro|[Aa]rquivo|[Ff]ile):(?:(\\d)de8|(\\d\\d\\d?)%)\\.svg[\\|\\]]|\\{\\{[Pp]rogresso\\|(\\d\\d\\d?)%\\}\\})';