[Wikidata-bugs] [Maniphest] T260431: Move `getLanguageFallbackChainFactory` from `GenericServices`

2021-03-17 Thread Addshore
Addshore closed this task as "Invalid".
Addshore added a comment.


  T276545: Remove GenericServices 

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

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

To: WMDE-leszek, Addshore
Cc: Lucas_Werkmeister_WMDE, Aklapper, Addshore, WMDE-leszek, ItamarWMDE, 
maantietaja, Akuckartz, darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Izno, 
abian, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T260431: Move `getLanguageFallbackChainFactory` from `GenericServices`

2021-01-25 Thread Addshore
Addshore removed a project: Wikidata-Campsite (Wikidata-Campsite-Iteration-∞).

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

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

To: WMDE-leszek, Addshore
Cc: Lucas_Werkmeister_WMDE, Aklapper, Addshore, WMDE-leszek, ItamarWMDE, 
Akuckartz, darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, Pablo-WMDE, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Izno, 
Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g, Iflorez, alaa_wmde, Jonas, 
Lydia_Pintscher
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T260431: Move `getLanguageFallbackChainFactory` from `GenericServices`

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

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

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

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

To: WMDE-leszek, Addshore
Cc: Lucas_Werkmeister_WMDE, Aklapper, Addshore, WMDE-leszek, ItamarWMDE, 
Akuckartz, Iflorez, darthmon_wmde, alaa_wmde, DannyS712, Nandana, Lahi, Gq86, 
Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Izno, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, 
Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T260431: Move `getLanguageFallbackChainFactory` from `GenericServices`

2020-08-27 Thread ItamarWMDE
ItamarWMDE reassigned this task from Lucas_Werkmeister_WMDE to WMDE-leszek.
ItamarWMDE added a subscriber: Lucas_Werkmeister_WMDE.

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

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

To: WMDE-leszek, ItamarWMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Addshore, WMDE-leszek, ItamarWMDE, 
Akuckartz, Iflorez, darthmon_wmde, alaa_wmde, DannyS712, Nandana, Lahi, Gq86, 
Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Izno, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, 
Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T260431: Move `getLanguageFallbackChainFactory` from `GenericServices`

2020-08-19 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  I think the current status of this task is that it’s completely unclear how 
it should be resolved. I’ll try to summarize.
  
  There seem to be two potential sources of non-genericness in this service:
  
  1. The list of allowed / known language codes can vary by entity source, or 
indeed even by entity //type//. For instance, both Items and Lexemes may come 
from the same entity source (Wikidata), and yet Lexemes allow for some 
additional language codes that are not supported in Items.
  2. The final fallback language, hard-coded to `'en'` in T259783 
, should maybe be the content 
language of the entity source wiki.
  
  Neither a `LanguageFallbackChainFactory` nor a `TermLanguageFallbackChain` 
currently come into much contact with an entity source, entity type, or entity 
ID. This makes them unlike many other services in 
`MultipleEntitySourceServices`, which often receive an entity ID as input and 
dispatch to the correct single entity source service based on it. At the same 
time, it seems that even an individual `TermLanguageFallbackChain` is currently 
often used with entities of different types.
  
  Neither of the two sources of non-genericness mentioned above is very much 
related to the `LanguageFallbackChainFactory`, which is rather concerned with 
looking up language codes and dealing with variants. It seems possible to leave 
`LanguageFallbackChainFactory` completely agnostic of entity sources, but 
instead make it create `TermLanguageFallbackChain` objects that directly wrap a 
chain of languages (with no filtering at construction time), and then later 
both the allowed / known language codes and the final fallback language are 
provided (possibly as part of the same object, by adding the final fallback 
language to the `ContentLanguages` interface) whenever a 
`TermLanguageFallbackChain` is used (e. g. `$chain->getFetchLanguageCodes( 
$contentLanguages )`). But that wouldn’t really fit into 
`MultipleEntitySourceServices` at all.
  
  Finally, I wonder if the list of allowed / known language codes should be 
related to the entity source at all. Additional term languages used to be 
defined in site config, but for T260118 
 we moved them into the Wikibase 
code. Defining additional term languages via `$wgExtraLanguageNames` still 
works, but we could say that it’s no longer really supported by Wikibase, and 
that the supported language codes for a certain entity type are always the 
same. (See also T220798 .)

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

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

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Addshore, WMDE-leszek, ItamarWMDE, Akuckartz, Iflorez, 
darthmon_wmde, alaa_wmde, DannyS712, Nandana, Lahi, Gq86, Pablo-WMDE, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, Izno, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T260431: Move `getLanguageFallbackChainFactory` from `GenericServices`

2020-08-17 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review.

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

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

To: Lucas_Werkmeister_WMDE, Maintenance_bot
Cc: Aklapper, Addshore, WMDE-leszek, ItamarWMDE, Akuckartz, Iflorez, 
darthmon_wmde, alaa_wmde, DannyS712, Nandana, Lahi, Gq86, Pablo-WMDE, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, Izno, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g, 
Alter-paule, Beast1978, Un1tY, Hook696, Kent7301, joker88john, CucyNoiD, 
Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Lewizho99, Maathavan
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T260431: Move `getLanguageFallbackChainFactory` from `GenericServices`

2020-08-17 Thread ReleaseTaggerBot
ReleaseTaggerBot added a project: MW-1.36-notes (1.36.0-wmf.5; 2020-08-18).

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

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

To: Lucas_Werkmeister_WMDE, ReleaseTaggerBot
Cc: Aklapper, Addshore, WMDE-leszek, ItamarWMDE, Alter-paule, Beast1978, Un1tY, 
Akuckartz, Hook696, Iflorez, darthmon_wmde, Kent7301, alaa_wmde, joker88john, 
DannyS712, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, 
Af420, Bsandipan, Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, Izno, 
Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T260431: Move `getLanguageFallbackChainFactory` from `GenericServices`

2020-08-17 Thread gerritbot
gerritbot added a comment.


  Change 620689 **merged** by jenkins-bot:
  [mediawiki/extensions/Wikibase@master] Inject MediaWiki language services 
into LanguageFallbackChainFactory
  
  https://gerrit.wikimedia.org/r/620689

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

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

To: Lucas_Werkmeister_WMDE, gerritbot
Cc: Aklapper, Addshore, WMDE-leszek, ItamarWMDE, Alter-paule, Beast1978, Un1tY, 
Akuckartz, Hook696, Iflorez, darthmon_wmde, Kent7301, alaa_wmde, joker88john, 
DannyS712, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, 
Af420, Bsandipan, Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, Izno, 
Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T260431: Move `getLanguageFallbackChainFactory` from `GenericServices`

2020-08-17 Thread gerritbot
gerritbot added a project: Patch-For-Review.

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

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

To: Lucas_Werkmeister_WMDE, gerritbot
Cc: Aklapper, Addshore, WMDE-leszek, ItamarWMDE, Alter-paule, Beast1978, Un1tY, 
Akuckartz, Hook696, Iflorez, darthmon_wmde, Kent7301, alaa_wmde, joker88john, 
DannyS712, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, 
Af420, Bsandipan, Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, Izno, 
Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T260431: Move `getLanguageFallbackChainFactory` from `GenericServices`

2020-08-17 Thread gerritbot
gerritbot added a comment.


  Change 620689 had a related patch set uploaded (by Lucas Werkmeister (WMDE); 
owner: Lucas Werkmeister (WMDE)):
  [mediawiki/extensions/Wikibase@master] Inject MediaWiki language services 
into LanguageFallbackChainFactory
  
  https://gerrit.wikimedia.org/r/620689

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

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

To: Lucas_Werkmeister_WMDE, gerritbot
Cc: Aklapper, Addshore, WMDE-leszek, ItamarWMDE, Akuckartz, Iflorez, 
darthmon_wmde, alaa_wmde, DannyS712, Nandana, Lahi, Gq86, Pablo-WMDE, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, Izno, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T260431: Move `getLanguageFallbackChainFactory` from `GenericServices`

2020-08-17 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE claimed this task.
Lucas_Werkmeister_WMDE moved this task from To Do to Doing on the 
Wikidata-Campsite (Wikidata-Campsite-Iteration-∞) board.

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

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

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

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Addshore, WMDE-leszek, ItamarWMDE, Akuckartz, Iflorez, 
darthmon_wmde, alaa_wmde, DannyS712, Nandana, Lahi, Gq86, Pablo-WMDE, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, Izno, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T260431: Move `getLanguageFallbackChainFactory` from `GenericServices`

2020-08-17 Thread Addshore
Addshore renamed this task from "Move `getLanguageFallbackChain` from 
`GenericServices`" to "Move `getLanguageFallbackChainFactory` from 
`GenericServices`".
Addshore updated the task description.

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

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

To: Addshore
Cc: Aklapper, Addshore, WMDE-leszek, ItamarWMDE, Akuckartz, Iflorez, 
darthmon_wmde, alaa_wmde, DannyS712, Nandana, Lahi, Gq86, Pablo-WMDE, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, Izno, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs