AdminJP1
ページの作成:「local p = {} function p._entityid(_,id,alt) -- backwards compatibility for deprecated _entityid function return p._id(id,alt) end function p._id(id,alt) if type(id) == 'string' then id = mw.ustring.upper(mw.ustring.sub(id,1,1))..mw.ustring.sub(id,2) if mw.ustring.match(id,'^Q%d+$') then -- id is in the proper format for a Wikidata entity if mw.wikibase.isValidEntityId(id) then -- id is valid id = mw.wikibase.getEntity(id) if id then -…」