[Wikidata-bugs] [Maniphest] T329262: Consider making the Wikibase extension directory contain a single extension

2023-02-09 Thread kostajh
kostajh updated the task description.

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

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

To: kostajh
Cc: kostajh, Aklapper, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T329262: Consider making the Wikibase extension directory contain a single extension

2023-02-09 Thread Maintenance_bot
Maintenance_bot added a project: Wikidata.

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

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

To: Maintenance_bot
Cc: kostajh, Aklapper, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T329262: Consider making the Wikibase extension directory contain a single extension

2023-02-09 Thread kostajh
kostajh created this task.
kostajh added projects: Wikibase and Wikidata Architecture Overview, 
MediaWiki-extensions-WikibaseRepository, MediaWiki-extensions-WikibaseClient.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  The Wikibase directory contains two extensions, WikibaseClient and 
WikibaseRepository, in addition to a bunch of code shared between the two 
extensions. (WikibaseView is apparently also an extension, but without an 
extension.json?)
  
  This requires things like the `mw-apply-wb-settings` script for CI to work 
properly (since CI assumes one extension per directory). It also makes tooling 
changes (like if we wanted to use file based patterns for PHPUnit test 
directory) harder, because the assumption that there is one extension per 
directory doesn't hold up with Wikibase.
  
  Creating two separate directories and extensions (e.g. 
extensions/WikibaseClient and extensions/WikibaseRepository) seems hard with 
the amount of shared code, but  maybe it is possible to have the shared code 
exist as a PHP library that is versioned and pulled in via composer.json for 
each extension.
  
  Alternatively, perhaps there can just be a single "Wikibase" extension, with 
one extension.json, and config flags would determine if the repo/client 
functionality is enabled?

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

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

To: kostajh
Cc: kostajh, Aklapper, ItamarWMDE, Akuckartz, lucamauri, Gq86, Wikidata-bugs, 
Lydia_Pintscher
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org