Paladox added a comment. Well because wikibase file looks like for example https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/client/WikibaseClient.php some is a callback and some isen't. The extension fails because some of the code should be outside of the callback and the rest in the callback.
What I think we should do is have an extension.json file that is the main file then add code for "example require-extension":"extension2.json." that will hold the callback. TASK DETAIL https://phabricator.wikimedia.org/T122748 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Paladox Cc: Florian, Legoktm, Aklapper, Paladox, StudiesWorld, Wikidata-bugs, aude, Mbch331, Krenair _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs