Изменения

Перейти к навигации Перейти к поиску
+ args.markers
Строка 150: Строка 150:  
function p._delink(args)
 
function p._delink(args)
 
     local text = args[1] or ""
 
     local text = args[1] or ""
 +
    if yesno(args.markers) == true then
 +
        text = mw.text.killMarkers(text) -- [[Help:Strip markers]]
 +
    end
 
     if yesno(args.refs) == true then
 
     if yesno(args.refs) == true then
 
         -- Remove any [[Help:Strip markers]] representing ref tags. In most situations  
 
         -- Remove any [[Help:Strip markers]] representing ref tags. In most situations  
Анонимный участник

Реклама:

Навигация