JanZerebecki added a comment.

This bug could be solved by removing loading of the entry point from the 
autoloader. That however doesn't answer if the extension should be enabled 
automatically when the entry point is loaded (or with the new extension 
loading, after it was called on wikibase). This overlaps somewhat with 
https://phabricator.wikimedia.org/T88258.

One way would be converting the sub-extensions in the Wikibase repo to 
extension.json (https://phabricator.wikimedia.org/T88258) but having an 
extension point similar to Wikibase.composer.php but named Wikibase.php and 
instead of loading the entry point sub-extensions are loaded by calling 
wfLoadExtensions( array( ... ) );. All this needs to be made to work with the 
build and how configuration and extension loading is done in production.

Maybe we can also remove any knowledge/recognition of 
wgEnableWikibaseRepo/Client.


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

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

To: JanZerebecki
Cc: JeroenDeDauw, aude, hoo, Aklapper, JanZerebecki, Wikidata-bugs



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to