Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Jump to content

Skin:Dgraph

From mediawiki.org
MediaWiki skins manual - category
Dgraph
Release status: stable
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 Wikimedia Skins Lab
Public wikis using 5 (Ranked 157th)
Public wikis using as default skin 2
Translate the Dgraph skin if it is available at translatewiki.net

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.

Customization

[edit]

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

Screenshots

[edit]

Installation

[edit]
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

[edit]
[edit]

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>
[edit]

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

[edit]

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.

Support

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