Page Menu
Home
Wolfplex
Search
Configure Global Search
Log In
Files
F408496
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
4 KB
Subscribers
None
View Options
diff --git a/KibaOne.php b/KibaOne.php
index bf15bc4..182f6fa 100755
--- a/KibaOne.php
+++ b/KibaOne.php
@@ -1,57 +1,56 @@
<?php
/**
* Kiba One skin
* Based on Foreground skin - http://foreground.wikiwonders.net/
*
* @file
* @ingroup Skins
*/
if ( ! defined( 'MEDIAWIKI' ) ) {
die( -1 );
}
$wgExtensionCredits['skin'][] = [
'path' => __FILE__,
'name' => 'KibaOne',
'url' => 'http://www.wolfplex.org/wiki/Kiba',
'author' => 'Sébastien Santoro aka Dereckson',
'descriptionmsg' => 'kibaone-desc',
];
$wgValidSkinNames['kibaone'] = 'KibaOne';
$dir = __DIR__ . '/kibaone';
$wgAutoloadClasses['SkinKibaOne'] = $dir . '/SkinKibaOne.php';
$wgAutoloadClasses['TemplateKibaOne'] = $dir . '/TemplateKibaOne.php';
$wgExtensionMessagesFiles['SkinKibaOne'] = $dir . '/KibaOne.i18n.php';
$wgResourceModules['skins.kibaone'] = [
'styles' => [
'kibaone/assets/stylesheets/normalize.css',
'kibaone/assets/stylesheets/foundation.css',
'kibaone/assets/stylesheets/kibaone.css',
'kibaone/assets/stylesheets/kibaone-print.css',
'kibaone/assets/stylesheets/jquery.autocomplete.css',
'kibaone/assets/stylesheets/responsive-tables.css',
],
'scripts' => [
'kibaone/assets/scripts/vendor/custom.modernizr.js',
'kibaone/assets/scripts/vendor/fastclick.js',
'kibaone/assets/scripts/vendor/responsive-tables.js',
'kibaone/assets/scripts/foundation/foundation.js',
'kibaone/assets/scripts/foundation/foundation.topbar.js',
'kibaone/assets/scripts/foundation/foundation.dropdown.js',
'kibaone/assets/scripts/foundation/foundation.section.js',
'kibaone/assets/scripts/foundation/foundation.clearing.js',
'kibaone/assets/scripts/foundation/foundation.cookie.js',
'kibaone/assets/scripts/foundation/foundation.placeholder.js',
'kibaone/assets/scripts/foundation/foundation.forms.js',
'kibaone/assets/scripts/foundation/foundation.alerts.js',
- 'kibaone/assets/scripts/kibaone.js',
],
'remoteBasePath' => &$GLOBALS['wgStylePath'],
'localBasePath' => &$GLOBALS['wgStyleDirectory'],
];
diff --git a/kibaone/assets/scripts/foreground.js b/kibaone/assets/scripts/foreground.js
deleted file mode 100644
index d2a8e99..0000000
--- a/kibaone/assets/scripts/foreground.js
+++ /dev/null
@@ -1,38 +0,0 @@
-
-jQuery(document).ready(function() {
- // Add the 'less than IE9' class to appropriate version of IE by checking for their support of cssFloat (true in v9)
- if (!jQuery.support.cssFloat) { jQuery('html').addClass('lt-ie9').addClass('no-js'); }
-
-
- jQuery(document).foundation(function (response) {
- console.log(response.errors);
- });
-
- jQuery('[id^=ca-nstab] a').addClass('icon-file').text(' ' + jQuery('[id^=ca-nstab] a').text());
- jQuery('li#ca-talk a').addClass('icon-comments').text(' ' + jQuery('li#ca-talk a').text());
- jQuery('li#ca-edit a').addClass('icon-edit').text(' ' + jQuery('li#ca-edit a').text());
- jQuery('li#ca-viewsource a').addClass('icon-book').text(' ' + jQuery('li#ca-viewsource a').text());
- jQuery('li#ca-form_edit a').addClass('icon-edit-sign').text(' ' + jQuery('li#ca-form_edit a').text());
- jQuery('li#ca-history a').addClass('icon-archive').text(' ' + jQuery('li#ca-history a').text());
- jQuery('li#ca-delete a').addClass('icon-remove').text(' ' + jQuery('li#ca-delete a').text());
- jQuery('li#ca-move a').addClass('icon-truck').text(' ' + jQuery('li#ca-move a').text());
- jQuery('li#ca-protect a').addClass('icon-shield').text(' ' + jQuery('li#ca-protect a').text());
- jQuery('li#ca-unprotect a').addClass('icon-shield').text(' ' + jQuery('li#ca-unprotect a').text());
- jQuery('li#ca-watch a').addClass('icon-star-empty').text(' ' + jQuery('li#ca-watch a').text());
- jQuery('li#ca-unwatch a').addClass('icon-star').text(' ' + jQuery('li#ca-unwatch a').text());
- jQuery('li#ca-purge a').addClass('icon-refresh').text(' ' + jQuery('li#ca-purge a').text());
- jQuery('li#t-smwbrowselink a').addClass('icon-eye-open').text(' ' + jQuery('li#t-smwbrowselink a').text());
-
-
- // Turn categories into labels
- jQuery('#mw-normal-catlinks ul li a').addClass('label');
-
- // Make the Page Action button respond to hover
- jQuery('a.button.dropdown').mouseenter(function(){
- jQuery('ul#drop1').addClass('open').addClass('right').css('top', '32px').css('left', '785px');
- });
- jQuery('ul#drop1').mouseleave(function(){
- jQuery('ul#drop1').removeClass('open').css('top', '-9999px').css('left', '785px');
- });
-
-});
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Jun 9, 3:04 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
46319
Default Alt Text
(4 KB)
Attached To
rKIBA kiba-one
Event Timeline
Log In to Comment