Skin:Dgraph
Appearance
Dgraph リリースの状態: 安定 |
|
---|---|
作者 | Nischayn22, www.sprawsm.com |
最新バージョン | 1.0 (2016-08-13) |
MediaWiki | 1.27+ |
PHP | 5.4+ |
ライセンス | GNU 一般公衆利用許諾書 3.0 以降 |
ダウンロード | |
例 | Wikimedia Skins Lab |
使用している公開ウィキ | 5 (Ranked 158th) |
既定の外装として使用している公開ウィキ | 2 |
translatewiki.net で翻訳を利用できる場合は、Dgraph 外装の翻訳にご協力ください |
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.
スクリーンショット
インストール
- 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";
ヒントとコツ
フッターに追加する プライバシーポリシー 会社概要と免責事項
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>
作者
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.
サポート
- Please create an issue on github for any kind of support.