Skin:Dgraph/et

This page is a translated version of the page Skin:Dgraph and the translation is 11% complete.
MediaWiki skins manual - category
OOjs UI icon layout-ltr.svg
Dgraph
Release status: stable
Dgraph homepage.png
Author(s) Nischayn22, www.sprawsm.com
Latest version 1.0 (2016-08-13)
MediaWiki 1.27+
PHP 5.4+
License GNU General Public License 3.0 or later
Download
Example Demo
Translate the Dgraph skin if it is available at translatewiki.net
Check usage and version matrix;

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.

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

Screenshots

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";

Tips and tricks

Add in the footer Privacy policy About and Disclaimers

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>

Add in the footer Credits column

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>

Authors

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.

Tugi

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