お疲れ様です。

miku.moe 管理人です。

OpenPNEの使い方についてヘルプページを設けたいなと思っていたので,mediawikiで作りました。

リンク:http://help.miku.moe/

以下,インストールメモ。

~> cd ~/home/help.miku.moe/
~/home/help.miku.moe> git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git
Cloning into 'core'...
remote: Counting objects: 32011, done
remote: Finding sources: 100% (1068/1068)
remote: Getting sizes: 100% (177/177)
remote: Compressing objects: 100% (1561451/1561451)
remote: Total 632079 (delta 491), reused 631966 (delta 477)
Receiving objects: 100% (632079/632079), 164.83 MiB | 10.56 MiB/s, done.
Resolving deltas: 100% (538309/538309), done.
Checking connectivity... done.
Checking out files: 100% (7019/7019), done.
~/home/help.miku.moe> cd core
~/home/help.miku.moe/core> git checkout -b REL1_27 origin/REL1_27
Branch REL1_27 set up to track remote branch REL1_27 from origin.
Switched to a new branch 'REL1_27'
~/home/help.miku.moe/core> cd ..
~/home/help.miku.moe> git clone https://gerrit.wikimedia.org/r/p/mediawiki/vendor.git
Cloning into 'vendor'...
remote: Counting objects: 1738, done
remote: Finding sources: 100% (12/12)
remote: Getting sizes: 100% (11/11)
remote: Compressing objects: 100% (201936/201936)
remote: Total 8839 (delta 0), reused 8832 (delta 0)
Receiving objects: 100% (8839/8839), 7.15 MiB | 1.82 MiB/s, done.
Resolving deltas: 100% (6177/6177), done.
Checking connectivity... done.
~/home/help.miku.moe> cd vendor/
~/home/help.miku.moe/vendor> git checkout -b REL1_27 origin/REL1_27
Branch REL1_27 set up to track remote branch REL1_27 from origin.
Switched to a new branch 'REL1_27'
~/home/help.miku.moe/vendor> cd ..
~/home/help.miku.moe> mkdir skins
~/home/help.miku.moe> cd skins
~/home/help.miku.moe/skins> git clone https://github.com/DaSchTour/Cavendish.git
Cloning into 'Cavendish'...
remote: Counting objects: 1044, done.
remote: Total 1044 (delta 0), reused 0 (delta 0), pack-reused 1044
Receiving objects: 100% (1044/1044), 2.60 MiB | 689.00 KiB/s, done.
Resolving deltas: 100% (525/525), done.
Checking connectivity... done.
~/home/help.miku.moe/skins> cd ..
~/home/help.miku.moe> mkdir current
~/home/help.miku.moe> cp -a core/* current/
~/home/help.miku.moe> cp -a vendor current/
~/home/help.miku.moe> cp -a skins/Cavendish current/skins/
~/home/help.miku.moe> cd skins/
~/home/help.miku.moe/skins> git clone https://github.com/wikimedia/mediawiki-skins-MonoBook.git
Cloning into 'mediawiki-skins-MonoBook'...
remote: Counting objects: 624, done.
remote: Total 624 (delta 0), reused 0 (delta 0), pack-reused 624
Receiving objects: 100% (624/624), 178.00 KiB | 166.00 KiB/s, done.
Resolving deltas: 100% (313/313), done.
Checking connectivity... done.
~/home/help.miku.moe/skins> cd ..
~/home/help.miku.moe> cp -a skins/mediawiki-skins-MonoBook current/skins/MonoBook

このあと,Cavendishのスキンがうまく動かなかったので,結局デフォルトスキンをMonoBookになるようにLocalSettings.phpの末尾を以下のように書き換えました。


## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'vector', 'monobook':
$wgDefaultSkin = "monobook";

# Enabled skins.
# The following skins were automatically enabled:
require_once "$IP/skins/Cavendish/Cavendish.php";


# End of automatically generated settings.
# Add more configuration options below.

wfLoadSkin( 'MonoBook' );

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

Post Navigation