Gergő Tisza has uploaded a new change for review. https://gerrit.wikimedia.org/r/320319
Change subject: Use standard namespace structure ...................................................................... Use standard namespace structure * use a subnamespace of MediaWiki\Extensions * use PSR-4 file naming Change-Id: Ie51b9c8d1b898bf68dd063c38365ea675aae4f59 --- M extension.json R includes/Hooks.php 2 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PageViewInfo refs/changes/19/320319/1 diff --git a/extension.json b/extension.json index 367d7fc..2e8961a 100644 --- a/extension.json +++ b/extension.json @@ -8,11 +8,11 @@ "descriptionmsg": "pvi-desc", "Hooks": { "InfoAction": [ - "PageViewInfo\\Hooks::onInfoAction" + "MediaWiki\\Extensions\\PageViewInfo\\Hooks::onInfoAction" ] }, "AutoloadClasses": { - "PageViewInfo\\Hooks": "includes/PageViewInfo.hooks.php" + "MediaWiki\\Extensions\\PageViewInfo\\Hooks": "includes/Hooks.php" }, "MessagesDirs": { "PageViewInfo": [ diff --git a/includes/PageViewInfo.hooks.php b/includes/Hooks.php similarity index 98% rename from includes/PageViewInfo.hooks.php rename to includes/Hooks.php index af4cdda..5302afd 100644 --- a/includes/PageViewInfo.hooks.php +++ b/includes/Hooks.php @@ -1,6 +1,6 @@ <?php -namespace PageViewInfo; +namespace MediaWiki\Extensions\PageViewInfo; use IContextSource; use FormatJson; -- To view, visit https://gerrit.wikimedia.org/r/320319 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie51b9c8d1b898bf68dd063c38365ea675aae4f59 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/PageViewInfo Gerrit-Branch: master Gerrit-Owner: Gergő Tisza <gti...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits