This page is a translated version of the page Skin:Dgraph and the translation is 78% complete.
MediaWiki-Skins-Handbuch - Kategorie
Dgraph
Freigabestatus: stabil
Autor(en) Nischayn22, www.sprawsm.com
Neuste Version 1.0 (2016-08-13)
MediaWiki 1.27+
PHP 5.4+
Lizenz GNU General Public License 3.0 oder neuer
Herunterladen
Beispiel Wikimedia Skins Lab
Public wikis using 5 (Ranked 146th)
Public wikis using as default skin 2
Übersetze den Dgraph skin wenn es auf translatewiki.net verfügbar ist

The Dgraph skin was developed for and funded by Dgraph Labs, Inc. but has been released as open source.

It has since been forked with rhe goal to maintain compatibility with MediaWiki.

To see the skin in action visit Wiki.

Anpassung

This skin needs some minor work. If you are looking to use this please contact User:Nischayn22.

Bildschirmfotos

Installation

For general documentation on the use of skins, see Help:Skins.
  • Download and extract the file(s) in a directory called "Dgraph" in your skins/ folder. Note that a base file in the root folder is no longer required in MediaWiki.
  • Add the following code at the bottom of your "LocalSettings.php"
wfLoadSkin( 'Dgraph' );

$wgDefaultSkin = "dgraph";

Tipps und Tricks

Set this in the DgraphTemplate.php around li 323.

Then replace "Sitename" with the name of your wiki.

          <div class="col-4 col-tablet-2">
            <nav class="page-footer-nav">
              <h6 class="page-footer-nav__title">Learn</h6>
              <ul class="page-footer-nav__list">
				<li class="page-footer-nav__item"><a href="<?php
					echo htmlspecialchars( Title::newFromText("Sitename:Privacy policy")->getFullURL() );
					?>" class="page-footer-nav__link">Privacy policy</a></li>
				<li class="page-footer-nav__item"><a href="<?php
					echo htmlspecialchars( Title::newFromText("Sitename:About")->getFullURL() );
					?>" class="page-footer-nav__link">About</a></li>
				<li class="page-footer-nav__item"><a href="<?php
					echo htmlspecialchars( Title::newFromText("Sitename:General disclaimer")->getFullURL() );
					?>" class="page-footer-nav__link">Disclaimers</a></li>	
			  </ul>
            </nav>
          </div>

Set this in the DgraphTemplate.php

         <div class="col-4 col-tablet-2">
            <nav class="page-footer-nav">
              <h6 class="page-footer-nav__title">Credits</h6>
              <ul class="page-footer-nav__list">
                <li class="page-footer-nav__item"><a href="https://en.wikipedia.org/wiki/File:Dgraph-logo.svg" title="Apache License, Version 2.0" target="_blank" class="page-footer-nav__link link-alias">Original Logo</a></li>
                <li class="page-footer-nav__item"><a href="https://www.mediawiki.org/wiki/Skin:Dgraph" title="GNU General Public License 3.0 or later" target="_blank" class="page-footer-nav__link link-alias">Dgraph Skin</a></li>
				<li class="page-footer-nav__item"><a href="https://www.mediawiki.org/wiki/MediaWiki" title="Powered by MediaWiki" target="_blank" class="page-footer-nav__link link-alias">MediaWiki</a></li>
                <li class="page-footer-nav__item"><a href="https://wikiapiary.com/wiki/Main_Page" title="Monitored by WikiApiary" target="_blank" class="page-footer-nav__link link-alias">WikiApiary</a></li>
			  </ul>
            </nav>
          </div>

Autoren

The project was funded by Dgraph Labs, Inc.. The design was done by Dragan Babic and Danijel Grabež of Sprawsm. Nischay Nahata was the MediaWiki consultant.

Unterstützung

  • Please create an issue on github for any kind of support.