Pastakhov has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/381720 )
Change subject: Fix PhpTagsHooks::onPhpTagsRuntimeFirstInit()
......................................................................
Fix PhpTagsHooks::onPhpTagsRuntimeFirstInit()
Change-Id: I437c6b6f76bae22745a3562e132de901c30a0e09
---
M PhpTags.hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PhpTags
refs/changes/20/381720/1
diff --git a/PhpTags.hooks.php b/PhpTags.hooks.php
index 319ba14..7937402 100644
--- a/PhpTags.hooks.php
+++ b/PhpTags.hooks.php
@@ -16,7 +16,7 @@
* @return boolean
*/
public static function onPhpTagsRuntimeFirstInit() {
- $version =
ExtensionRegistry::getInstance()->getAllThings()['Empty']['version'];
+ $version =
ExtensionRegistry::getInstance()->getAllThings()['PhpTags']['version'];
\PhpTags\Hooks::addJsonFile( __DIR__ . '/PhpTags.json',
$version );
return true;
}
--
To view, visit https://gerrit.wikimedia.org/r/381720
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I437c6b6f76bae22745a3562e132de901c30a0e09
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PhpTags
Gerrit-Branch: master
Gerrit-Owner: Pastakhov <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits