Documentation/Interlinking Pictura/Skin: Unterschied zwischen den Versionen

Aus Semantic CorA
Wechseln zu: Navigation, Suche
(Created page with "VRE Interlinking Pictura implementation has been realized by extending the TWEEKI skin, one of the most frequently used bootstrap based skin. Documentation here: [https://tw...")
 
Zeile 1: Zeile 1:
 
VRE Interlinking Pictura  implementation has been realized by extending the TWEEKI skin, one of the most frequently used bootstrap based skin.  
 
VRE Interlinking Pictura  implementation has been realized by extending the TWEEKI skin, one of the most frequently used bootstrap based skin.  
Documentation here: [https://tweeki.thai-land.at/wiki/Installation TWEEKI]
+
Documentation for installation and customization can be found here: [https://tweeki.thai-land.at/wiki/Installation TWEEKI] .
 +
 
 +
== Interlinking Pictura Customization ==
 +
 
 +
The cusomization is done at 3 levels:
 +
 
 +
* MediaWiki level, in LocalSettings.php file
 +
* CSS for GUI
 +
* JavaScript for little small requirements.
 +
 
 +
The following sections will describe this in details.
 +
 
 +
=== MediaWiki level ===
 +
<pre>
 +
## skin setting
 +
$wgTweekiSkinUseAwesome = true;
 +
$wgTweekiSkinFooterIcons = true;
 +
$wgTweekiSkinUseBootstrapTheme = true;
 +
 
 +
$wgTweekiSkinHideLoggedin =array( 'EDIT-EXT'=>false);
 +
$wgTweekiSkinHideNonAdvanced = array( 'EDIT-EXT-special' => false );
 +
 
 +
$wgTweekiSkinSpecialElements = array(
 +
    'FIRSTHEADING' => 'self::renderFirstHeading',
 +
    'TOC' => 'self::renderTOC',
 +
    'SEARCH' => 'self::renderSearch',
 +
    'LOGO' => 'self::renderLogo',
 +
    'LOGIN-EXT' => 'self::renderLoginExt'
 +
);
 +
 
 +
$wgTweekiSkinGridRight = array(
 +
    "mainoffset" => 0,
 +
    "mainwidth" => 10,
 +
    "rightoffset" => 0,
 +
    "rightwidth" => 2
 +
);
 +
 
 +
$wgTweekiSkinHideAnon = array( 'subnav' => true, 'PERSONAL' => true, 'TOOLBOX' => true, "LOGIN-EXT"=>false );
 +
 
 +
wfLoadSkin( 'Tweeki' );
 +
</pre>
  
  

Version vom 23. Januar 2018, 12:54 Uhr

VRE Interlinking Pictura implementation has been realized by extending the TWEEKI skin, one of the most frequently used bootstrap based skin. Documentation for installation and customization can be found here: TWEEKI .

Interlinking Pictura Customization

The cusomization is done at 3 levels:

  • MediaWiki level, in LocalSettings.php file
  • CSS for GUI
  • JavaScript for little small requirements.

The following sections will describe this in details.

MediaWiki level

## skin setting
$wgTweekiSkinUseAwesome = true;
$wgTweekiSkinFooterIcons = true;
$wgTweekiSkinUseBootstrapTheme = true;

$wgTweekiSkinHideLoggedin =array( 'EDIT-EXT'=>false);
$wgTweekiSkinHideNonAdvanced = array( 'EDIT-EXT-special' => false );

$wgTweekiSkinSpecialElements = array(
    'FIRSTHEADING' => 'self::renderFirstHeading',
    'TOC' => 'self::renderTOC',
    'SEARCH' => 'self::renderSearch',
    'LOGO' => 'self::renderLogo',
    'LOGIN-EXT' => 'self::renderLoginExt'
);

$wgTweekiSkinGridRight = array(
    "mainoffset" => 0,
    "mainwidth" => 10,
    "rightoffset" => 0,
    "rightwidth" => 2
);

$wgTweekiSkinHideAnon = array( 'subnav' => true, 'PERSONAL' => true, 'TOOLBOX' => true, "LOGIN-EXT"=>false );

wfLoadSkin( 'Tweeki' );