MediaWiki:Gadget-ProgressLevel.js: diferenças entre revisões
Conteúdo apagado Conteúdo adicionado
m →using [[mw:CodeEditor|CodeEditor]]: URLs relativas ao protocolo |
Migration: $.escapeRE → mw.RegExp.escape |
||
Linha 60:
reTextChapterTitle = mw.config.get( 'wgTitle' ).replace ( sortable[ sortable.length - 1 ][ 2 ] + '/', '')
.replace(/^.+?\//g, '');
reTextChapterTitle =
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?)%\\}\\})';
|