Steps to replicate the issue:
- In an on-wiki Lua console (below the edit field in module pages), write the following:
- local refs = mw.wikibase.getEntity( 'Q42' ).claims['P569'][1].references
- mw.logObject( refs ) (to confirm that it loads correctly)
- for k,v in pairs( refs ) do mw.log( k ) mw.log( v ) --> normal output
- for k,v in ipairs( refs ) do mw.log( k ), mw.log( v ) --> no output at all
What happens?:
- ipairs() isn't able to read the table at all, while previously it could.
- A consequence of this is that modules that fetch references from Wikidata by using ipairs() have stopped working (see the original bug report below)
- The immediate problem on-wiki can be fixed (at least in the Norwegian Bokmål Wikipedia's case) by replacing ipairs() with pairs(). However, the challenge is to identify which modules and functions that needs to happen in.
What should have happened instead?:
- ipairs() should continue to work like it did on reference tables.
I believe this is caused by the changes in I817466a797a37453a95e0a5fc56db3bb3aedb1ff (T401290).
Original report
Steps to replicate the issue:
- Observe these nowiki infoboxes:
What happens?:
Norwegian Bokmål Wikipedia relies on content and references from Wikidata in their infoboxes, as do some other projects.
This week, the sources have all gone missing (some pending cache reset), although I can't find any mentioned or visible changes to Wikidata-fetching modules or templates.
What should have happened instead?:
References should show up as normal.
Other information (browser name/version, screenshots, etc.):
Tech News mention a change in how Recent Changes may now display some Wikidata changes. I assume these wouldn't affect this functionality, but who knows.

