Florianschmidtwelzow has submitted this change and it was merged. Change subject: Remove PHP entry point ......................................................................
Remove PHP entry point Delete the file Change-Id: I9207010deb7d3c1eca3223fcb1244c7436002413 --- D WPtouch.php 1 file changed, 0 insertions(+), 57 deletions(-) Approvals: Florianschmidtwelzow: Verified Jack Phoenix: Looks good to me, approved diff --git a/WPtouch.php b/WPtouch.php deleted file mode 100644 index caa1621..0000000 --- a/WPtouch.php +++ /dev/null @@ -1,57 +0,0 @@ -<?php -/** - * WPtouch skin - * - * @file - * @ingroup Skins - * @version 1.0 - * @date 14 June 2015 - * @author Jack Phoenix <j...@countervandalism.net> - * - * To install place the WPtouch folder (the folder containing this file!) into - * skins/ and add this line to your wiki's LocalSettings.php: - * require_once "$IP/skins/WPtouch/WPtouch.php"; - */ - -// Skin credits that will show up on Special:Version -$wgExtensionCredits['skin'][] = array( - 'path' => __FILE__, - 'name' => 'WPtouch', - 'version' => '1.0', - 'author' => array( 'Dale Mugford', 'Duane Storey', 'Dan Flores', 'Jack Phoenix' ), - 'description' => 'Simple skin for mobile devices', - 'url' => 'https://www.mediawiki.org/wiki/Skin:WPtouch', -); - -$wgHooks['OutputPageBodyAttributes'][] = 'SkinWPtouch::onOutputPageBodyAttributes'; - -// The first instance must be strtolower()ed so that useskin=wptouch works and -// so that it does *not* force an initial capital (i.e. we do NOT want -// useskin=Wptouch) and the second instance is used to determine the name of -// *this* file. -$wgValidSkinNames['wptouch'] = 'WPtouch'; - -// Autoload the skin class and set up CSS & JS (via ResourceLoader) -$wgAutoloadClasses['SkinWPtouch'] = __DIR__ . '/WPtouch.skin.php'; -$wgAutoloadClasses['WPtouchTemplate'] = __DIR__ . '/WPtouch.skin.php'; - -// Internationalization -$wgMessagesDirs['SkinWPtouch'] = __DIR__ . '/i18n'; - -$wgResourceModules['skins.wptouch'] = array( - 'styles' => array( - 'main.css' => array( 'media' => 'screen' ), - 'really-small.css' => array( 'media' => 'all and (max-width: 350px)' ) - ), - 'position' => 'top', - 'remoteBasePath' => $wgStylePath . '/WPtouch/resources/css', - 'remoteExtPath' => $wgStylePath . '/WPtouch/resources/css', - 'localBasePath' => __DIR__ . '/resources/css' -); - -$wgResourceModules['skins.wptouch.js'] = array( - 'scripts' => array( 'core.js', 'url-bar.js' ), - 'remoteBasePath' => $wgStylePath . '/WPtouch/resources/javascript', - 'remoteExtPath' => $wgStylePath . '/WPtouch/resources/javascript', - 'localBasePath' => __DIR__ . '/resources/javascript' -); \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/266026 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9207010deb7d3c1eca3223fcb1244c7436002413 Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/skins/WPtouch Gerrit-Branch: master Gerrit-Owner: MtDu <justin.d...@gmail.com> Gerrit-Reviewer: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com> Gerrit-Reviewer: Jack Phoenix <j...@countervandalism.net> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: MtDu <justin.d...@gmail.com> Gerrit-Reviewer: Paladox <thomasmulhall...@yahoo.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits