Module:Class mask/sandbox: Difference between revisions

Content deleted Content added
No edit summary
Tags: Manual revert Mobile edit Mobile web edit Advanced mobile edit
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 13:
 
local function resolveFQSgrade(grade, args)
local SD = require "Module:SimpleDebug"
if (args[grade] or args.FQS) == 'yes' then
return SD.v(args[grade], args.FQS) .. ucfirst(grade)
else
return 'NA'
Line 36 ⟶ 37:
end
local ns = title.namespace
-- local SD = require "Module:SimpleDebug"
if ns==1 then -- Talk
if require('Module:Disambiguation').isDisambiguation(title.subjectPageTitle:getContent()) then
Line 52 ⟶ 53:
return resolveFQSgrade('template', args)
elseif ns==829 then -- Module talk
return SD.v(ns) .. resolveFQSgrade('template', args)
elseif ns==5 then -- Wikipedia talk
return resolveFQSgrade('project', args)