操作

最近の出来事

提供: Book

2007年8月6日 (月) 01:59時点におけるWikiSysop (トーク | 投稿記録)による版

  • 別サーバーのMYSQLとPHPをバージョンアップしたので新しいWikimediaをインストールしてみた。DBの移行が上手くいかないのでXML書き出しで手動でデータを移動。
  • 文字サイズが小さすぎるのでmain.cssの#globalWrapperを127%に、表示の幅を変更する為#contentにpadding: 0 3em 2em 3em; を追加。
非メンバー編集の禁止
$wgGroupPermissions['*']['edit'] = false;
グーグルマップ
$wgGoogleMapsDefaults = array( "geocoder" => false, "localsearch" => true );
$wgGoogleMapsDefaults = array( "lat" => 34.641117209595805, "lon" => 135.00000000000 );
$wgGoogleMapsKey = "ABQIAAAAuVLaoBi5hM1m3xzyW6k06xTTdKa03sQI8tf7O9o05FehvdGDvBS56btnFfjeK0BkVroQkyf3emKCGw";
require_once( "extensions/GoogleMaps/GoogleMaps.php" );
html をインサート可能に
require('extensions/ExtensionClass.php');
require('extensions/SecureHTML/SecureHTML.php');
RSS用
$egRSSReaderPath  = $wgScriptPath."/extensions/RSSReader";
require_once( "extensions/RSSReader/RSSReader.php");