Thread:Extension talk:Cite/LUA Error With Cite/reply (7)

Hi I had this problem. I 'solved' it by commenting out the section of code.

I edited the wiki page module:Authority_control.

I commented out the section called --Wikidata fallback if requested

--Wikidata fallback if requested --   local item = mw.wikibase.getEntity     if item ~= nil and item.claims ~= nil then       for _, params in pairs( conf ) do           if params[3] ~= 0 then               local val = parentArgs[params[1 if not val or val == '' then local canUseWikidata = nil if reqs[params[1]] ~= nil then canUseWikidata = matchesWikidataRequirements( item, reqs[params[1]] ) else canUseWikidata = true end if canUseWikidata then local wikidataIds = getIdsFromWikidata( item, 'p' .. params[3] ) if wikidataIds[1] then parentArgs[params[1]] = wikidataIds[1] end end end end end end --]]

Which basically just comments it out. It took a few minutes to work (caching?) but eventually got there. I'm not sure what other effects this will have.