<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>molezz BAR 世界尽头 &#187; mediawiki</title>
	<atom:link href="http://www.molezz.net/drink/tag/mediawiki/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.molezz.net</link>
	<description>a man can be destroyed but not defeated -- 生物技术和计算机技术</description>
	<lastBuildDate>Sun, 18 Sep 2011 05:48:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>个人使用mediawiki的一些设置整理</title>
		<link>http://www.molezz.net/drink/personal-mediawiki-setup/</link>
		<comments>http://www.molezz.net/drink/personal-mediawiki-setup/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 13:28:00 +0000</pubDate>
		<dc:creator>molezz</dc:creator>
				<category><![CDATA[电脑网络|network]]></category>
		<category><![CDATA[mediawiki]]></category>
		<category><![CDATA[wiki]]></category>
		<category><![CDATA[教程]]></category>
		<category><![CDATA[设置]]></category>

		<guid isPermaLink="false">http://www.molezz.net/?p=287</guid>
		<description><![CDATA[最近研究了下mediawiki的使用,简单整理下mediawiki的设置方法.其实个人使用我还是更加偏向dokuwiki些,设置简单,语法简洁.与blog不同,wiki更加适合记录整理一些零散的学习经验,逐渐完善学习的东西,而不像blog基本都是成文的东西. 对于个人使用来说,主要就是设置wiki的访问和编辑权限以及一些个性化的东西,因为wiki的开发主旨是多人联合编辑.不过对我来说我的要求仅仅是用于记录整理学习知识,没有多人的需求&#8230;.另外就是考虑到个人空间大小问题,图片需要外链.所以主要在allwiki上参考了一些设置,使mediawiki权限更适合个人使用.mediawiki没有相应的控制面板,相关设置都是在根目录下修改LocalSettings.php这个文件.添加相关设置语句. $wgGroupPermissions&#91;'*'&#93;&#91;'edit'&#93; = false; //设置所有用户都不能编辑 $wgGroupPermissions&#91;'sysop'&#93;&#91;'edit'&#93; = true; //设置管理员能编辑 $wgGroupPermissions&#91;'*'&#93;&#91;'createaccount'&#93; = false; //禁止帐号注册 $wgLogo = 'http://*.jpg'; //首页logo图片修改 $wgAllowExternalImages = true; //允许外链图片显示 $wgRawHtml = true; //允许html代码调用 &#160; //时区设置 $wgLocaltimezone = &#34;Asia/Shanghai&#34;; putenv&#40;&#34;TZ=$wgLocaltimezone&#34;&#41;; $wgLocalTZoffset = date&#40;&#34;Z&#34;&#41; / 60; PS:上图为前天下班回宿舍随拍的夜景&#8230;每天这条路最长,笔直笔直的&#8230;图片意境还不错..]]></description>
			<content:encoded><![CDATA[<p><a href="http://picasaweb.google.com/molezz/VJymtC#5344994767207747442" target="_blank"><img alt="" src="http://lh6.ggpht.com/_rBBL5CohX54/Si08a_m9T3I/AAAAAAAAAZQ/7NOLMkg5zIc/s800/DSCN001622.jpg" title="下班随拍" class="alignnone" width="600" height="118" /></a>最近研究了下<a href="http://mediawiki.org" target="_blank">mediawiki</a>的使用,简单整理下mediawiki的设置方法.其实个人使用我还是更加偏向<a href="http://www.dokuwiki.org" target="_blank">dokuwiki</a>些,设置简单,语法简洁.与blog不同,wiki更加适合记录整理一些零散的学习经验,逐渐完善学习的东西,而不像blog基本都是成文的东西.</p>
<p>对于个人使用来说,主要就是设置wiki的访问和编辑权限以及一些个性化的东西,因为wiki的开发主旨是多人联合编辑.不过对我来说我的要求仅仅是用于记录整理学习知识,没有多人的需求&#8230;.另外就是考虑到个人空间大小问题,图片需要外链.所以主要在<a href="http://allwiki.com" target="_blank">allwiki</a>上参考了一些设置,使mediawiki权限更适合个人使用.mediawiki没有相应的控制面板,相关设置都是在根目录下修改LocalSettings.php这个文件.添加相关设置语句.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$wgGroupPermissions</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'*'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'edit'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//设置所有用户都不能编辑</span>
<span style="color: #000088;">$wgGroupPermissions</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'sysop'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'edit'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//设置管理员能编辑</span>
<span style="color: #000088;">$wgGroupPermissions</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'*'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'createaccount'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//禁止帐号注册</span>
<span style="color: #000088;">$wgLogo</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://*.jpg'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//首页logo图片修改</span>
<span style="color: #000088;">$wgAllowExternalImages</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">//允许外链图片显示</span>
<span style="color: #000088;">$wgRawHtml</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">//允许html代码调用</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//时区设置</span>
<span style="color: #000088;">$wgLocaltimezone</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Asia/Shanghai&quot;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">putenv</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;TZ=<span style="color: #006699; font-weight: bold;">$wgLocaltimezone</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$wgLocalTZoffset</span> <span style="color: #339933;">=</span> <span style="color: #990000;">date</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Z&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">/</span> <span style="color: #cc66cc;">60</span><span style="color: #339933;">;</span></pre></div></div>

<p>PS:上图为前天下班回宿舍随拍的夜景&#8230;每天这条路最长,笔直笔直的&#8230;图片意境还不错..</p>
<img src="http://www.molezz.net/?ak_action=api_record_view&id=287&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.molezz.net/drink/personal-mediawiki-setup/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

