Module:ResolveEntityId: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

19 January 2023

  • curprev 11:0711:07, 19 January 2023Vivaporius talk contribs 1,454 bytes +1,454 Created page with "local p = {} function p._id(idOrTitle, alt) local function checkId(id) if id and mw.wikibase.entityExists(id) then local sitelink = mw.wikibase.getSitelink(id) if sitelink then return mw.wikibase.getEntityIdForTitle(sitelink) or mw.wikibase.getEntity(id).id end return mw.wikibase.getEntity(id).id else return alt end end if type(idOrTitle) == 'string' then idOrTitle = mw.ustring.upper(mw.ustring.sub(idOrTitle, 1, 1)) .. mw.ustring.sub(idOrT..."