This is an automated email from the ASF dual-hosted git repository.

cmarcum pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openoffice-mwiki.git


The following commit(s) were added to refs/heads/main by this push:
     new 5630b74  added aoo skin extension
5630b74 is described below

commit 5630b748d50b18fdf7d7aeb43600f78fcf369805
Author: cbmarcum <[email protected]>
AuthorDate: Fri Dec 18 19:12:17 2020 -0500

    added aoo skin extension
---
 mwiki/skins/AooSkinExtension.php | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/mwiki/skins/AooSkinExtension.php b/mwiki/skins/AooSkinExtension.php
new file mode 100755
index 0000000..0aaaa82
--- /dev/null
+++ b/mwiki/skins/AooSkinExtension.php
@@ -0,0 +1,30 @@
+<?php
+/**
+ * Apache Open Office skin
+ *
+ */
+
+if( !defined( 'MEDIAWIKI' ) ) 
+  die( "cannot be run standalone." );
+
+#$wgExtensionCredits['skin'][] = array(
+#      'path' => __FILE__,
+#      'name' => 'Aoo',
+#      'url' => "https://www.mediawiki.org/wiki/Skin:jan";,
+#      'author' => array( 'jan Iversen' ),
+#      'descriptionmsg' => 'aoo-desc',
+#);
+
+$wgValidSkinNames['aoo'] = 'Aoo';
+$wgAutoloadClasses['SkinAoo'] = dirname(__FILE__).'/Aoo.php';
+
+$wgResourceModules['skins.aoo'] = array(
+       'styles' => array(
+               'common/commonElements.css' => array( 'media' => 'screen' ),
+               'common/commonContent.css' => array( 'media' => 'screen' ),
+               'common/commonInterface.css' => array( 'media' => 'screen' ),
+               'aoo/main.css' => array( 'media' => 'screen' ),
+       ),
+       'remoteBasePath' => &$GLOBALS['wgStylePath'],
+       'localBasePath' => &$GLOBALS['wgStyleDirectory'],
+);

Reply via email to