Changes
Jump to navigation
Jump to search
← Older edit
Module:List
(view source)
Revision as of 07:59, 24 January 2022
256 bytes added
,
3 years ago
m
1 revision imported
Line 180:
Line 180:
p[listType] = function (frame)
p[listType] = function (frame)
local mArguments = require('Module:Arguments')
local mArguments = require('Module:Arguments')
−
local origArgs = mArguments.getArgs(frame)
+
local origArgs = mArguments.getArgs(frame
, {
+
valueFunc = function (key, value)
+
if not value or not mw.ustring.find(value, '%S') then return nil end
+
if mw.ustring.find(value, '^%s*[%*#;:]') then
+
return value
+
else
+
return value:match('^%s*(.-)%s*$')
+
end
+
return nil
+
end
+
}
)
-- Copy all the arguments to a new table, for faster indexing.
-- Copy all the arguments to a new table, for faster indexing.
local args = {}
local args = {}
Kg7qin
ASL-Corp members
,
Bureaucrats
,
Check users
,
Structured Discussions bots
, oversight,
Suppressors
,
Administrators
,
Upload Wizard campaign editors
1,714
edits
Navigation menu
Personal tools
Log in
Request account
Namespaces
Module
Discussion
Variants
Views
Read
View source
View history
More
Search
Links
Web Portal
Help Desk
Node Status
System Status
Mailing List
r/PTTLink on Reddit
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Upload file
Special pages
Printable version