Lucas_Werkmeister_WMDE added a comment.

  In T204792#6638166 <https://phabricator.wikimedia.org/T204792#6638166>, 
@Lydia_Pintscher wrote:
  
  > I can confirm right now that https://www.wikidata.org/wiki/Q5964 has a 
sitelink for jam Wikipedia but does not show up as a sitelink on 
https://din.wikipedia.org/wiki/Bek%C3%A4takthook:Candidates_for_speedy_deletion.
 It does show up on 
https://en.wikipedia.org/wiki/Category:Candidates_for_speedy_deletion and 
https://de.wikipedia.org/wiki/Kategorie:Wikipedia:Schnelll%C3%B6schen under 
Patois.
  
  This one turns out not to be Wikibase’s fault at all. Wikibase correctly 
passes a `jam:Category:Kiandidet fi kuik-kuik diliishan` sitelink into the 
ParserOutput; but MediaWiki can’t parse it – compare my sandbox 
<https://din.wikipedia.org/wiki/Dulooi:Lucas_Werkmeister_(WMDE)/sandbox>:
  
  F33926732: Screenshot_2020-11-27 Dulooi Lucas Werkmeister (WMDE) sandbox - 
Wikipedia.png <https://phabricator.wikimedia.org/F33926732>
  
  The solution to this riddle is that **Jam is the Dinka name for the Talk 
namespace**, and therefore this interwiki link is actually parsed as an 
internal link, and no link to Patois Wikipedia is generated. (As far as I can 
tell, this means it’s not possible to link from dinwiki to jamwiki at all, 
whether through Wikibase or manually, unless you “take a detour” with something 
like `[[en:jam:...]]`.) One way to solve this would probably be to change the 
interface by which Wikibase communicates the sitelinks to MediaWiki: currently, 
we have an object like `{ siteId: 'jamwiki', title: 'Category:Kiandidet fi 
kuik-kuik diliishan' }`, which we then turn into a string only for MediaWiki to 
try to parse it again – and MediaWiki interprets the string differently than we 
intend, and thinks the `jam:` indicates the Talk namespace.
  
  But that doesn’t explain why e. g. the Tamil sitelink for Q7086090 
<https://www.wikidata.org/wiki/Q7086090> is missing on Spanish and English 
Wikipedia.

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

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

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Addshore, WMDE-leszek, Lydia_Pintscher, Amire80, 
Jdlrobson, pmiazga, Aklapper, Krinkle, Rileych, Akuckartz, Demian, Iflorez, 
darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, Pablo-WMDE, GoranSMilovanovic, 
QZanden, LawExplorer, Winter, _jensen, rosalieper, Soum213, Taiwania_Justo, 
Scott_WUaS, Jonas, Verdy_p, Wikidata-bugs, aude, Nikerabbit, Arrbee, santhosh, 
KartikMistry, Jdforrester-WMF, Mbch331, Rxy, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to