John Erling Blad has submitted this change and it was merged. Change subject: Added normal-looking entry point so Jenkins is happy ......................................................................
Added normal-looking entry point so Jenkins is happy Change-Id: Id92fbcf8997b607d2e4a1b854ca0af3953fb4633 --- A Wikibase.php 1 file changed, 33 insertions(+), 0 deletions(-) Approvals: John Erling Blad: Verified; Looks good to me, approved diff --git a/Wikibase.php b/Wikibase.php new file mode 100644 index 0000000..9f46de0 --- /dev/null +++ b/Wikibase.php @@ -0,0 +1,33 @@ +<?php + +/** + * Loader for all extensions in the Wikibase git repository. + * + * THIS IS NOT the entry point you want to use in production. + * It is mainly meant to facilitate development and testing. + * For production setups, inclusion of the entry points of + * the extensions you want to load according to their respective + * installation instructions is recommended. See the INSTALL + * and README file for more information. + * + * @file + * + * @licence GNU GPL v2+ + * @author Jeroen De Dauw < [email protected] > + */ + +// @codeCoverageIgnoreStart +//call_user_func( function() { + $components = array( + 'lib/WikibaseLib', + 'client/WikibaseClient', + 'repo/Wikibase', + ); + + foreach ( $components as $component ) { + // Load extensions in non-global scope. + require_once __DIR__ . '/' . $component . '.php'; + } + +//} ); +// @codeCoverageIgnoreEnd -- To view, visit https://gerrit.wikimedia.org/r/44863 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id92fbcf8997b607d2e4a1b854ca0af3953fb4633 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Jeroen De Dauw <[email protected]> Gerrit-Reviewer: Aude <[email protected]> Gerrit-Reviewer: Daniel Kinzler <[email protected]> Gerrit-Reviewer: Daniel Werner <[email protected]> Gerrit-Reviewer: Hashar <[email protected]> Gerrit-Reviewer: Hoo man <[email protected]> Gerrit-Reviewer: Jeroen De Dauw <[email protected]> Gerrit-Reviewer: John Erling Blad <[email protected]> Gerrit-Reviewer: Tobias Gritschacher <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
