hoo added a comment.

  In T238575#5675025 <https://phabricator.wikimedia.org/T238575#5675025>, 
@Lucas_Werkmeister_WMDE wrote:
  
  > Hm, it still fails when calling `initState()` with `[ '0' => 'foowiki' ]`, 
so I don’t think casting `$siteID` to a string in `initState()` would change 
anything. There’s some confusion between strings and numbers somewhere…
  
  PHP auto casts these to ints:
  
    php > var_dump(array_keys(["1" => null])[0]);
    int(1)

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

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

To: hoo
Cc: hoo, WMDE-leszek, Anomie, tstarling, Addshore, Aklapper, 
Lucas_Werkmeister_WMDE, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, 
E.S.A-Sheild, Iflorez, darthmon_wmde, alaa_wmde, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Af420, 
Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, 
Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, Lewizho99, Maathavan, 
_jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, 
Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to