BPositive has uploaded a new change for review. https://gerrit.wikimedia.org/r/133710
Change subject: _autoload.php file was renamed to Autoload.php ...................................................................... _autoload.php file was renamed to Autoload.php The file was renamed to keep consistency over extensions and the references were resolved as well. Change-Id: I6262c9eb497e32d0280bc6aafc9c8503843cfb3b --- R Autoload.php M Translate.php M tests/phpunit/SpecialPagesTest.php 3 files changed, 3 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate refs/changes/10/133710/1 diff --git a/_autoload.php b/Autoload.php similarity index 99% rename from _autoload.php rename to Autoload.php index 100abbe..398bf68 100644 --- a/_autoload.php +++ b/Autoload.php @@ -52,6 +52,7 @@ $wgAutoloadClasses['SpecialTranslationStats'] = "$dir/specials/SpecialTranslationStats.php"; $wgAutoloadClasses['SpecialTranslations'] = "$dir/specials/SpecialTranslations.php"; $wgAutoloadClasses['SpecialTranslationStash'] = "$dir/specials/SpecialTranslationStash.php"; +$wgAutoloadClasses['SpecialPageMigration'] = "$dir/specials/SpecialPageMigration.php"; /**@}*/ /** diff --git a/Translate.php b/Translate.php index 7679b39..acfcca9 100644 --- a/Translate.php +++ b/Translate.php @@ -40,7 +40,7 @@ * Setup class autoloading. */ $dir = __DIR__; -require_once "$dir/_autoload.php"; +require_once "$dir/Autoload.php"; /** @endcond */ /** diff --git a/tests/phpunit/SpecialPagesTest.php b/tests/phpunit/SpecialPagesTest.php index 5c6e035..658d859 100644 --- a/tests/phpunit/SpecialPagesTest.php +++ b/tests/phpunit/SpecialPagesTest.php @@ -26,7 +26,7 @@ } public static function provideSpecialPages() { - require __DIR__ . '/../../_autoload.php'; + require __DIR__ . '/../../Autoload.php'; global $wgSpecialPages; $pages = array(); -- To view, visit https://gerrit.wikimedia.org/r/133710 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6262c9eb497e32d0280bc6aafc9c8503843cfb3b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: BPositive <pr4tiklah...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits