jenkins-bot has submitted this change and it was merged.

Change subject: Ditch old PHP entry point for good, MW 1.25+ is now required
......................................................................


Ditch old PHP entry point for good, MW 1.25+ is now required

Bug: T145286
Change-Id: I71bf2d7b55a6edd88d260be471d439b43fa4b04e
---
D PictureGame.php
1 file changed, 0 insertions(+), 104 deletions(-)

Approvals:
  Jack Phoenix: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/PictureGame.php b/PictureGame.php
deleted file mode 100644
index 07d87ee..0000000
--- a/PictureGame.php
+++ /dev/null
@@ -1,104 +0,0 @@
-<?php
-/**
- * PictureGame extension - allows making picture games
- *
- * @file
- * @ingroup Extensions
- * @author Aaron Wright <aaron.wri...@gmail.com>
- * @author Ashish Datta <ash...@setfive.com>
- * @author David Pean <david.p...@gmail.com>
- * @author Jack Phoenix <j...@countervandalism.net>
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
2.0 or later
- * @link https://www.mediawiki.org/wiki/Extension:PictureGame Documentation
- */
-
-// Extension credits that will show up on Special:Version
-$wgExtensionCredits['other'][] = array(
-       'name' => 'PictureGame',
-       'version' => '3.3',
-       'author' => array( 'Aaron Wright', 'Ashish Datta', 'David Pean', 'Jack 
Phoenix' ),
-       'description' => 'Allows making [[Special:PictureGameHome|picture 
games]]',
-       'url' => 'https://www.mediawiki.org/wiki/Extension:PictureGame'
-);
-
-// ResourceLoader support for MediaWiki 1.17+
-$wgResourceModules['ext.pictureGame'] = array(
-       'scripts' => 'PictureGame.js',
-       'messages' => array(
-               'picturegame-js-edit', 'picturegame-js-error-title',
-               'picturegame-js-error-upload-imgone',
-               'picturegame-js-error-upload-imgtwo', 
'picturegame-js-editing-imgone',
-               'picturegame-js-editing-imgtwo', 
'picturegame-protectimgconfirm',
-               'picturegame-flagimgconfirm'
-       ),
-       'dependencies' => array(
-               'ext.socialprofile.flash',
-               'ext.socialprofile.LightBox'
-       ),
-       'localBasePath' => __DIR__ . '/picturegame',
-       'remoteExtPath' => 'PictureGame/picturegame',
-);
-
-$wgResourceModules['ext.pictureGame.adminPanel'] = array(
-       'styles' => 'adminpanel.css',
-       'localBasePath' => __DIR__ . '/picturegame',
-       'remoteExtPath' => 'PictureGame/picturegame',
-       'position' => 'top'
-);
-
-$wgResourceModules['ext.pictureGame.editPanel'] = array(
-       'styles' => 'editpanel.css',
-       'localBasePath' => __DIR__ . '/picturegame',
-       'remoteExtPath' => 'PictureGame/picturegame',
-       'position' => 'top'
-);
-
-$wgResourceModules['ext.pictureGame.gallery'] = array(
-       'styles' => 'gallery.css',
-       'localBasePath' => __DIR__ . '/picturegame',
-       'remoteExtPath' => 'PictureGame/picturegame',
-       'position' => 'top'
-);
-
-$wgResourceModules['ext.pictureGame.mainGame'] = array(
-       'styles' => 'maingame.css',
-       'localBasePath' => __DIR__ . '/picturegame',
-       'remoteExtPath' => 'PictureGame/picturegame',
-       'position' => 'top'
-);
-
-$wgResourceModules['ext.pictureGame.startGame'] = array(
-       'styles' => 'startgame.css',
-       'localBasePath' => __DIR__ . '/picturegame',
-       'remoteExtPath' => 'PictureGame/picturegame',
-       'position' => 'top'
-);
-
-// Set up the new special page and autoload classes
-$wgMessagesDirs['PictureGame'] = __DIR__ . '/i18n';
-$wgExtensionMessagesFiles['PictureGameAlias'] = __DIR__ . 
'/PictureGame.alias.php';
-
-$wgAutoloadClasses['PictureGameHome'] = __DIR__ . '/PictureGameHome.body.php';
-$wgSpecialPages['PictureGameHome'] = 'PictureGameHome';
-
-// Upload form
-$wgAutoloadClasses['SpecialPictureGameAjaxUpload'] = __DIR__ . 
'/AjaxUploadForm.php';
-$wgAutoloadClasses['PictureGameAjaxUploadForm'] = __DIR__ . 
'/AjaxUploadForm.php';
-$wgAutoloadClasses['PictureGameUpload'] = __DIR__ . '/AjaxUploadForm.php';
-$wgSpecialPages['PictureGameAjaxUpload'] = 'SpecialPictureGameAjaxUpload';
-
-// For example: 'edits' => 5 if you want to require users to have at least 5
-// edits before they can create new picture games.
-$wgCreatePictureGameThresholds = array();
-
-// New user right, required to delete/protect picture games
-$wgAvailableRights[] = 'picturegameadmin';
-$wgGroupPermissions['sysop']['picturegameadmin'] = true;
-$wgGroupPermissions['staff']['picturegameadmin'] = true;
-
-// Hooked functions
-$wgAutoloadClasses['PictureGameHooks'] = __DIR__ . 
'/PictureGameHooks.class.php';
-
-$wgHooks['SkinTemplateNavigation::SpecialPage'][] = 
'PictureGameHooks::addContentActions';
-$wgHooks['RenameUserSQL'][] = 'PictureGameHooks::onUserRename';
-$wgHooks['LoadExtensionSchemaUpdates'][] = 
'PictureGameHooks::onLoadExtensionSchemaUpdates';

-- 
To view, visit https://gerrit.wikimedia.org/r/309754
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I71bf2d7b55a6edd88d260be471d439b43fa4b04e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PictureGame
Gerrit-Branch: master
Gerrit-Owner: Jack Phoenix <j...@countervandalism.net>
Gerrit-Reviewer: Jack Phoenix <j...@countervandalism.net>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to