SamanthaNguyen has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/334457 )
Change subject: v 2.5 - Remove deprecated PHP entry point ...................................................................... v 2.5 - Remove deprecated PHP entry point Change-Id: I0e3b4b1df48f23ce0641973b065c0a706eefd5e5 --- D AjaxLogin.php M extension.json 2 files changed, 1 insertion(+), 69 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AjaxLogin refs/changes/57/334457/1 diff --git a/AjaxLogin.php b/AjaxLogin.php deleted file mode 100644 index df9d2ce..0000000 --- a/AjaxLogin.php +++ /dev/null @@ -1,68 +0,0 @@ -<?php -/** - * AjaxLogin extension - allows users to log in through an AJAX pop-up box - * - * @file - * @ingroup Extensions - * @author Inez Korczyński <korczynski(at)gmail(dot)com> - * @author Jack Phoenix <j...@countervandalism.net> - * @author Ryan Schmidt <skizzerz{ at }gmail{ dot }com> - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later - * @link https://www.mediawiki.org/wiki/Extension:AjaxLogin Documentation - */ - -if ( !defined( 'MEDIAWIKI' ) ) { - die( "This is not a valid entry point.\n" ); -} - -// Extension credits that will show up on Special:Version -$wgExtensionCredits['other'][] = [ - 'path' => __FILE__, - 'name' => 'AjaxLogin', - 'version' => '2.4', - 'author' => [ 'Inez Korczyński', 'Jack Phoenix', 'Ryan Schmidt' ], - 'url' => 'https://www.mediawiki.org/wiki/Extension:AjaxLogin', - 'descriptionmsg' => 'ajaxlogin-desc', - 'license-name' => 'GPL-2.0+', -]; - -// ResourceLoader support for MediaWiki 1.17+ -$wgResourceModules['ext.ajaxLogin.css'] = [ - 'styles' => 'AjaxLogin.css', - 'position' => 'top', - 'localBasePath' => __DIR__, - 'remoteExtPath' => 'AjaxLogin' -]; - -$wgResourceModules['ext.ajaxLogin.js'] = [ - 'scripts' => [ 'lib/jqModal.js', 'AjaxLogin.js' ], - 'messages' => [ 'ajaxLogin1', 'ajaxLogin2' ], - 'position' => 'bottom', - 'localBasePath' => __DIR__, - 'remoteExtPath' => 'AjaxLogin' -]; - -// Array of skins for which AjaxLogin is enabled. -// Key is: 'skinname' => (true or false) -$wgEnableAjaxLogin = [ - 'cologneblue' => true, - 'modern' => true, - 'monobook' => true, - 'vector' => true -]; - -// Autoload AjaxLogin API interface -$wgAutoloadClasses['ApiAjaxLogin'] = __DIR__ . '/ApiAjaxLogin.php'; -$wgAPIModules['ajaxlogin'] = 'ApiAjaxLogin'; - -// Internationalization file -$wgMessagesDirs['AjaxLogin'] = __DIR__ . '/i18n'; - -// Main PHP class, which contains all the hooked functions -$wgAutoloadClasses['AjaxLogin'] = __DIR__ . '/AjaxLogin.class.php'; - -// Hook things up -$wgHooks['BeforePageDisplay'][] = 'AjaxLogin::loadAssets'; -$wgHooks['SkinAfterContent'][] = 'AjaxLogin::onSkinAfterContent'; -$wgHooks['ResourceLoaderGetConfigVars'][] = 'AjaxLogin::addJSVariable'; -$wgHooks['EditPage::showEditForm:fields'][] = 'AjaxLogin::onEditPage'; diff --git a/extension.json b/extension.json index 8aa21f8..51a06ca 100644 --- a/extension.json +++ b/extension.json @@ -1,6 +1,6 @@ { "name": "AjaxLogin", - "version": "2.4", + "version": "2.5", "author": [ "Inez Korczyński", "Jack Phoenix", -- To view, visit https://gerrit.wikimedia.org/r/334457 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0e3b4b1df48f23ce0641973b065c0a706eefd5e5 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/AjaxLogin Gerrit-Branch: master Gerrit-Owner: SamanthaNguyen <samanthanguyen1...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits