8 498
modifications
m (Changed protection settings for "Module:Check for unknown parameters": Highly visible template; requested at WP:RfPP ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite))) |
m (1 version importée) |
||
(2 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 2 : | Ligne 2 : | ||
-- with a list of arguments, returning a specified result if an argument is | -- with a list of arguments, returning a specified result if an argument is | ||
-- not on the list | -- not on the list | ||
require ('strict'); | |||
local p = {} | local p = {} | ||
Ligne 92 : | Ligne 95 : | ||
if isnotempty(preview_text) then | if isnotempty(preview_text) then | ||
preview_text = require('Module:If preview')._warning({preview_text}) | preview_text = require('Module:If preview')._warning({preview_text}) | ||
elseif | elseif preview_text == nil then | ||
preview_text = unknown_text | preview_text = unknown_text | ||
end | end |