Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "ExtensionRegistry::getInstance()->getAllThings();" #18

Open
mwjames opened this issue Dec 3, 2016 · 1 comment
Open

Remove "ExtensionRegistry::getInstance()->getAllThings();" #18

mwjames opened this issue Dec 3, 2016 · 1 comment

Comments

@mwjames
Copy link
Contributor

mwjames commented Dec 3, 2016

[0] adds access to the version number without requiring access to [1]:

$extensionData = ExtensionRegistry::getInstance()->getAllThings();
if ( isset( $extensionData['Semantic Glossary'] ) ) {
	return $extensionData['Semantic Glossary']['version'];
}

[0] https://phabricator.wikimedia.org/T151136
[1] https://github.com/SemanticMediaWiki/SemanticGlossary/blob/master/SemanticGlossary.php#L47-L54

@kghbln
Copy link
Member

kghbln commented Jun 24, 2017

[0] https://phabricator.wikimedia.org/T151136

Was resolved in the meantime so fluff is expected for 1.29+ however we still have 1.27 LTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants