[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2023-08-17 Thread Krinkle
Krinkle removed a project: Platform Team Workboards (MW Expedition).

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

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

To: Krinkle
Cc: Michael, daniel, AMooney, Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, 
toan, Lucas_Werkmeister_WMDE, WMDE-leszek, Lydia_Pintscher, Amire80, Jdlrobson, 
pmiazga, Aklapper, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, darthmon_wmde, Rosalie_WMDE, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Verdy_p, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, 
Jay8g, Naike, eprodromou
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2022-11-08 Thread Manuel
Manuel removed a project: Wikidata-Campsite.

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

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

To: Manuel
Cc: Michael, daniel, AMooney, Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, 
toan, Lucas_Werkmeister_WMDE, Addshore, WMDE-leszek, Lydia_Pintscher, Amire80, 
Jdlrobson, pmiazga, Aklapper, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, Naike, ItamarWMDE, Akuckartz, eprodromou, darthmon_wmde, 
Rosalie_WMDE, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Verdy_p, Wikidata-bugs, aude, Jdforrester-WMF, 
Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2021-05-31 Thread Michael
Michael added a comment.


  We moved this off the campsite iteration board while checking the 
stalled/waiting column as it does not seem immediately actionable for us.
  
  Open questions include:
  
  - Who would be the best team to work on it? We or the platform team?
- Should this maybe be split between tackling the issue of one wiki's 
interwiki prefix being another wiki's talk namespace and the issue of some 
namespace+pagename being too long?
  - What would be the next steps here for solving the technical challenges?
  - What priority does this have both from a product and a tech perspective? 
(Lucas' patch is from half a year ago)

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

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

To: Michael
Cc: Michael, daniel, AMooney, Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, 
toan, Lucas_Werkmeister_WMDE, Addshore, WMDE-leszek, Lydia_Pintscher, Amire80, 
Jdlrobson, pmiazga, Aklapper, Invadibot, maantietaja, Naike, Akuckartz, Demian, 
eprodromou, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, Winter, _jensen, rosalieper, Scott_WUaS, Jonas, Verdy_p, 
Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2021-05-31 Thread Jakob_WMDE
Jakob_WMDE edited projects, added Wikidata-Campsite; removed Wikidata-Campsite 
(Wikidata-Campsite-Iteration-∞).

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

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

To: Jakob_WMDE
Cc: daniel, AMooney, Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, toan, 
Lucas_Werkmeister_WMDE, Addshore, WMDE-leszek, Lydia_Pintscher, Amire80, 
Jdlrobson, pmiazga, Aklapper, Invadibot, maantietaja, Naike, Akuckartz, Demian, 
eprodromou, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, Winter, _jensen, rosalieper, Scott_WUaS, Jonas, Verdy_p, 
Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, Jay8g, Iflorez, alaa_wmde
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2021-05-14 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  Thanks. I’ll copy one comment here, since it seems more relevant for anyone 
else looking at this task (emphasis mine):
  
  > **The length restriction is a hard limit imposed by the langlinks table.** 
We could represent longer titles in ParserOutput, but they won't go into the 
database. If the insert query fails because of this, this could even lead to no 
links at all going into the database for the page at hand.
  
  This might mean that a proper solution for this issue – the inability to 
store some interwiki links whose namespace is too long – would require a 
database change.

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

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

To: Lucas_Werkmeister_WMDE
Cc: daniel, AMooney, Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, toan, 
Lucas_Werkmeister_WMDE, Addshore, WMDE-leszek, Lydia_Pintscher, Amire80, 
Jdlrobson, pmiazga, Aklapper, Invadibot, maantietaja, Naike, Akuckartz, Demian, 
eprodromou, Iflorez, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, Winter, _jensen, rosalieper, 
Scott_WUaS, Jonas, Verdy_p, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2021-05-11 Thread daniel
daniel added a comment.


  We discussed it, and I commented on the patch. The support the general idea 
(represent language links as objects, not strings, in ParserOutput and 
OutputPage). The devil is in the detail, though.

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

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

To: daniel
Cc: daniel, AMooney, Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, toan, 
Lucas_Werkmeister_WMDE, Addshore, WMDE-leszek, Lydia_Pintscher, Amire80, 
Jdlrobson, pmiazga, Aklapper, Invadibot, maantietaja, Naike, Akuckartz, Demian, 
eprodromou, Iflorez, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, Winter, _jensen, rosalieper, 
Scott_WUaS, Jonas, Verdy_p, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2021-05-10 Thread daniel
daniel added a project: Platform Team Workboards (MW Expedition).
daniel added a comment.


  Putting this on the expedition board, since the proposed patch overlaps with 
refactoring work we are doing.

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

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

To: daniel
Cc: daniel, AMooney, Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, toan, 
Lucas_Werkmeister_WMDE, Addshore, WMDE-leszek, Lydia_Pintscher, Amire80, 
Jdlrobson, pmiazga, Aklapper, Invadibot, maantietaja, Naike, Akuckartz, Demian, 
eprodromou, Iflorez, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, Winter, _jensen, rosalieper, 
Scott_WUaS, Jonas, Verdy_p, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2021-05-10 Thread WMDE-leszek
WMDE-leszek added a subscriber: AMooney.
WMDE-leszek added a comment.


  Hello @AMooney, any chance we could also get someone from PET have a look at 
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/645403 and advise whether it 
looks like a right/preferred/sensible approach to the issue reported here? 
Thanks!

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

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

To: WMDE-leszek
Cc: AMooney, Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, toan, 
Lucas_Werkmeister_WMDE, Addshore, WMDE-leszek, Lydia_Pintscher, Amire80, 
Jdlrobson, pmiazga, Aklapper, Invadibot, maantietaja, Akuckartz, Demian, 
Iflorez, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, Winter, _jensen, rosalieper, Scott_WUaS, Jonas, Verdy_p, 
Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2021-04-26 Thread Pginer-WMF
Pginer-WMF removed a project: Language-Team.

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

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

To: Pginer-WMF
Cc: Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, toan, 
Lucas_Werkmeister_WMDE, Addshore, WMDE-leszek, Lydia_Pintscher, Amire80, 
Jdlrobson, pmiazga, Aklapper, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Demian, Iflorez, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, Winter, _jensen, rosalieper, 
Scott_WUaS, Jonas, Verdy_p, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, 
Jay8g, PallaviPatke, Rileych, 50019062, Soum213, Taiwania_Justo, Nikerabbit, 
Arrbee, santhosh, KartikMistry
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2021-03-18 Thread Addshore
Addshore moved this task from backlog to Research on the wdwb-tech-focus board.
Addshore edited projects, added wdwb-tech-focus; removed wdwb-tech-focus 
(backlog).

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

WORKBOARD
  https://phabricator.wikimedia.org/project/board/3532/

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

To: Addshore
Cc: Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, toan, 
Lucas_Werkmeister_WMDE, Addshore, WMDE-leszek, Lydia_Pintscher, Amire80, 
Jdlrobson, pmiazga, Aklapper, PallaviPatke, maantietaja, Rileych, Akuckartz, 
Demian, 50019062, Iflorez, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, Winter, _jensen, rosalieper, Soum213, 
Taiwania_Justo, Scott_WUaS, Jonas, Verdy_p, abian, Wikidata-bugs, aude, 
Nikerabbit, Arrbee, santhosh, KartikMistry, Jdforrester-WMF, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2021-01-27 Thread Addshore
Addshore edited projects, added wdwb-tech-focus (backlog); removed 
wdwb-tech-focus.

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

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

To: Addshore
Cc: Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, toan, 
Lucas_Werkmeister_WMDE, Addshore, WMDE-leszek, Lydia_Pintscher, Amire80, 
Jdlrobson, pmiazga, Aklapper, PallaviPatke, Rileych, Akuckartz, Demian, 
50019062, Iflorez, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, 
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
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2020-12-04 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  > One way to solve this would probably be to change the interface by which 
Wikibase communicates the sitelinks to MediaWiki
  
  
  
  > it’s probably better to add a list of `languageLinkTitles` to the 
`ParserOutput` and fix this properly. Wikibase would then presumably use 
`makeTitle()` to create `Title`s that don’t suffer from the namespace or length 
issues.
  
  I’ve started to sketch this out at 
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/645403, if anyone wants to 
see if that looks like a reasonable approach or not. (The change still needs 
more work, but I don’t think I’ll spend much more time on it for now.)

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

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

To: Lucas_Werkmeister_WMDE
Cc: Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, toan, 
Lucas_Werkmeister_WMDE, Addshore, WMDE-leszek, Lydia_Pintscher, Amire80, 
Jdlrobson, pmiazga, Aklapper, PallaviPatke, 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
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2020-11-30 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  I started looking a bit through the related code, and it seems we’re not the 
first to notice that squashing the interwiki prefix and title into one string 
is not the best way to store this data:
  
  name=LinksUpdate::__construct( Title $title, ParserOutput $parserOutput, 
$recursive = true )
# Convert the format of the interlanguage links
# I didn't want to change it in the ParserOutput, because that array is 
passed all
# the way back to the skin, so either a skin API break would be required, 
or an
# inefficient back-conversion.
$ill = $parserOutput->getLanguageLinks();
$this->mInterlangs = [];
foreach ( $ill as $link ) {
list( $key, $title ) = explode( ':', $link, 2 );
$this->mInterlangs[$key] = $title;
}
  
  That “I didn’t want to change it in the `ParserOutput`” comment dates back to 
**2006 
**,
 when the `langlinks` table was first introduced.
  
  (This also suggests a way to fix this issue without breaking `ParserOutput` 
compatibility: use `explode( ':', $link, 2 )` instead of `Title::newFromText( 
$languageLinkText )` wherever the links are used, such as in 
`Skin::getLanguages()`. I’m not sure if that’s a good idea, though… it’s 
probably better to add a list of `languageLinkTitles` to the `ParserOutput` and 
fix this properly. Wikibase would then presumably use `makeTitle()` to create 
`Title`s that don’t suffer from the namespace or length issues.)

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

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

To: Lucas_Werkmeister_WMDE
Cc: Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, toan, 
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
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2020-11-27 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added subscribers: Silvan_WMDE, noarave, 
Tonina_Zhelyazkova_WMDE.
Lucas_Werkmeister_WMDE added a comment.


  (Aside: this was jointly debugged in a 1½h call between @Silvan_WMDE, @toan, 
@noarave, @Tonina_Zhelyazkova_WMDE, and myself; I reckon that means we used up 
about 14h of the 20h timebox. But I think the investigation concluded 
successfully, and now someone™ needs to figure out who is even responsible for 
fixing this.)

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

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

To: Lucas_Werkmeister_WMDE
Cc: Tonina_Zhelyazkova_WMDE, noarave, Silvan_WMDE, toan, 
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
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2020-11-27 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  In T204792#6652846 , 
@Lucas_Werkmeister_WMDE wrote:
  
  > But that doesn’t explain why e. g. the Tamil sitelink for Q7086090 
 is missing on Spanish and English 
Wikipedia.
  
  Okay, this is different underlying cause, but the same general issue that 
Wikibase puts string language links into the ParserOutput, and then MediaWiki 
fails to parse them correctly. This time, the title “பகுப்பு:பன்னாட்டு இயற்கைப் 
பாதுகாப்புச் சங்கத்தின் செம்பட்டியல் - தீவாய்ப்புக் கவலை குறைந்த இனம்” is valid 
on tawiki, because the “பகுப்பு” is the Category namespace and the remaining 
part is only 244 bytes long; but on enwiki, the title “ta:பகுப்பு:பன்னாட்டு 
இயற்கைப் பாதுகாப்புச் சங்கத்தின் செம்பட்டியல் - தீவாய்ப்புக் கவலை குறைந்த இனம்” 
doesn’t parse, because enwiki doesn’t know about the namespace prefix, and the 
whole string (minus “ta:”) is over 255 bytes long.
  
  (Side note: be careful when copying that title around – on my system, some 
diacritic dots like to get lost for some reason, which significantly changes 
the string. This can be confusing.)

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

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

To: Lucas_Werkmeister_WMDE
Cc: toan, 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
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2020-11-27 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  In 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 
:
  
  F33926732: Screenshot_2020-11-27 Dulooi Lucas Werkmeister (WMDE) sandbox - 
Wikipedia.png 
  
  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 
 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
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2020-11-26 Thread Lydia_Pintscher
Lydia_Pintscher added a comment.


  I'm wondering if T233520  is 
potentially related.

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

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

To: Lydia_Pintscher
Cc: 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, Addshore, Mbch331, Rxy, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T204792: [20h] Why is the url key undefined in language objects for categories?

2020-11-26 Thread ItamarWMDE
ItamarWMDE renamed this task from "Why is the url key undefined in language 
objects for categories? [20h]" to "[20h] Why is the url key undefined in 
language objects for categories?".

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

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

To: ItamarWMDE
Cc: 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, Addshore, Mbch331, Rxy, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs