valerio.bozzolan added a comment.

I'm confused. Very confused.

From this diff I've added these lines:

label = 'Normal: ' .. item
sitelink = 'Absurd: ' .. item

Yes, there are no other lines of code between these two lines.

Now:

=require('Module:Wikidata label/sandbox')._getLabel('Q123', 'en')
-- Output:
-- [[w:en:Absurd: Q123September|Normal: Q123]]

That's normal. But then:

=require('Module:Wikidata label/sandbox')._getLabel('Q321', 'en')
-- Output:
-- [[w:en:Absurd: Q123September|Normal: Q321]]

WTF I'm seeing?


TASK DETAIL
https://phabricator.wikimedia.org/T173194

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jarekt, valerio.bozzolan
Cc: valerio.bozzolan, Izno, daniel, Multichill, Aklapper, Ricordisamoa, JeanFred, Jarekt, ValterVB, Elitre, Jheald, Daniel_Mietchen, Nemo_bis, Aschroet, zhuyifei1999, Steinsplitter, Matanya, RP88, El_Grafo, Revent, Sjoerddebruin, Jane023, Susannaanas, Mike_Peel, Lydia_Pintscher, Micru, intracer, Poyekhali, Nizil, PokestarFan, hoo, E1presidente, Ramsey-WMF, Jmmuguerza, SandraF_WMF, GoranSMilovanovic, QZanden, Acer, Vali.matei, Volker_E, Wong128hk, Wikidata-bugs, PKM, Base, matthiasmullie, aude, GWicke, Fabrice_Florin, Raymond, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to