Diferencia entre revisiones de «Módulo:Citas»
Etiqueta: Deshacer |
Sin resumen de edición Etiqueta: Revertido |
||
| Línea 274: | Línea 274: | ||
if not checkurl( URL ) then | if not checkurl( URL ) then | ||
error_str = seterror( 'bad_url', {}, false, " " ) .. error_str; | error_str = seterror( 'bad_url', {}, false, " " ) .. error_str; | ||
elseif mw.title.getCurrentTitle():inNamespaces(0, 100, 104) and | elseif mw.title.getCurrentTitle():inNamespaces(0, 100, 104, 118) and | ||
not mw.title.getCurrentTitle().text:match('Wikipedia') and | not mw.title.getCurrentTitle().text:match('Wikipedia') and | ||
URL:match('//[%a%.%-]+%.wikipedia%.org') then | URL:match('//[%a%.%-]+%.wikipedia%.org') then | ||