5,325
回編集
(ページの作成:「local p = {}; local function setProperty(t_name) -- メイン空間のみ if not mw.title.getCurrentTitle().namespace == 0 then return true; end if not mw.smw…」) |
細編集の要約なし |
||
13行目: | 13行目: | ||
local dataStore = {} | local dataStore = {} | ||
dataStore[' | dataStore['twitterアカウント'] = t_name | ||
local result = mw.smw.set( dataStore ) | local result = mw.smw.set( dataStore ) | ||
38行目: | 38行目: | ||
-- SemanticMediaWiki | -- SemanticMediaWiki | ||
if not args. | if not args.nosmw then | ||
setProperty(t_name); | setProperty(t_name); | ||
end | end |