Module:Effective protection level: திருத்தங்களுக்கு இடையிலான வேறுபாடு

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
imported>Ravidreams
சி en:Module:Effective_protection_level இலிருந்து திருத்தம் இறக்குமதி செய்யப்பட்டன
imported>Info-farmer
சி en:Module:Effective_protection_level இலிருந்து திருத்தம் இறக்குமதி செய்யப்பட்டன
 
வரிசை 1:
local p = {}
 
-- Returns the permission required to perform a given action on a given title.
-- If no title is specified, the title of the page being displayed is used.
வரி 28 ⟶ 27:
if title.namespace == 8 then -- MediaWiki namespace
if title.text:sub(-3) == '.js' or title.text:sub(-4) == '.css' or title.contentModel == 'javascript' or title.contentModel == 'css' then -- site JS or CSS page
return 'interfaceadmin'
elseif title.baseText == "Gadgets-definition" then
return 'interfaceadmin'
else -- any non-JS/CSS MediaWiki page
"https://tamilar.wiki/w/Module:Effective_protection_level" இலிருந்து மீள்விக்கப்பட்டது