<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://research.iat.sfu.ca/research/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gwm</id>
	<title>Research - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://research.iat.sfu.ca/research/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gwm"/>
	<link rel="alternate" type="text/html" href="https://research.iat.sfu.ca/Special:Contributions/Gwm"/>
	<updated>2026-05-26T11:56:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://research.iat.sfu.ca/research/index.php?title=Setup_a_Project_Wiki&amp;diff=4590</id>
		<title>Setup a Project Wiki</title>
		<link rel="alternate" type="text/html" href="https://research.iat.sfu.ca/research/index.php?title=Setup_a_Project_Wiki&amp;diff=4590"/>
		<updated>2008-02-08T21:47:59Z</updated>

		<summary type="html">&lt;p&gt;Gwm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Gwm</name></author>
	</entry>
	<entry>
		<id>https://research.iat.sfu.ca/research/index.php?title=Setup_a_Project_Wiki&amp;diff=4313</id>
		<title>Setup a Project Wiki</title>
		<link rel="alternate" type="text/html" href="https://research.iat.sfu.ca/research/index.php?title=Setup_a_Project_Wiki&amp;diff=4313"/>
		<updated>2007-11-09T20:20:36Z</updated>

		<summary type="html">&lt;p&gt;Gwm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Gwm</name></author>
	</entry>
	<entry>
		<id>https://research.iat.sfu.ca/research/index.php?title=Setup_a_Project_Wiki&amp;diff=4312</id>
		<title>Setup a Project Wiki</title>
		<link rel="alternate" type="text/html" href="https://research.iat.sfu.ca/research/index.php?title=Setup_a_Project_Wiki&amp;diff=4312"/>
		<updated>2007-11-09T20:19:15Z</updated>

		<summary type="html">&lt;p&gt;Gwm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Gwm</name></author>
	</entry>
	<entry>
		<id>https://research.iat.sfu.ca/research/index.php?title=Setup_a_Project_Wiki&amp;diff=3980</id>
		<title>Setup a Project Wiki</title>
		<link rel="alternate" type="text/html" href="https://research.iat.sfu.ca/research/index.php?title=Setup_a_Project_Wiki&amp;diff=3980"/>
		<updated>2007-04-26T18:46:26Z</updated>

		<summary type="html">&lt;p&gt;Gwm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Kingfisher is our wiki server. Check out the [http://wiki.iat.sfu.ca wiki index] to see existing wikis.&lt;br /&gt;
&lt;br /&gt;
== Add a Separate Instance of MediaWiki ==&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
To set the stage for a new wiki, the champion for this new wiki should provide a wiki-name, and be clear about the type of access they want.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;~ #&amp;lt;/font&amp;gt; &#039;&#039;&#039;ssh root@kingfisher&#039;&#039;&#039;&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;~ #&amp;lt;/font&amp;gt; &#039;&#039;&#039;cd /srv/www/htwiki&#039;&#039;&#039;&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;~ #&amp;lt;/font&amp;gt; &#039;&#039;&#039;tar -xzvf mediawiki-unconfiguredInstallation.tar.gz&#039;&#039;&#039;&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;~ #&amp;lt;/font&amp;gt; &#039;&#039;&#039;mv mediawiki &#039;&#039;&#039;&#039;&#039;$projectname&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The go to the mediawiki setup website for your project:&lt;br /&gt;
&#039;&#039;&#039;&amp;lt;nowiki&amp;gt;http://wiki.iat.sfu.ca/&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;&#039;&#039;$projectname&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Fill in the options appropriately with some special Configuration options to note:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Leave the Sysop account name as WikiSysop; apply our strong password to this account.&lt;br /&gt;
&lt;br /&gt;
Make a separate database for each project:&lt;br /&gt;
* &#039;&#039;&#039;Database name&#039;&#039;&#039;: wiki_$projectname&lt;br /&gt;
Seperate username for each project:&lt;br /&gt;
* &#039;&#039;&#039;DB username&#039;&#039;&#039;: wiki_$projectname&lt;br /&gt;
Unique password:&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;~ #&amp;lt;/font&amp;gt; &#039;&#039;&#039;apg -m 9 -MNC&#039;&#039;&#039;&lt;br /&gt;
*more &#039;&#039;&#039;apg&#039;&#039;&#039; info [[Linux Tips and Tools|here]]&lt;br /&gt;
&lt;br /&gt;
And no table prefix.&lt;br /&gt;
&lt;br /&gt;
DB root password is again our strong password.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Note: When you click Install! it may fail. For me it has always failed if the username was too long (it must be at 16 characters or less)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If it worked, this will create the LocalSettings.php file which you then move to the correct place:&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;htwiki #&amp;lt;/font&amp;gt; &#039;&#039;&#039;cd $projectname&#039;&#039;&#039;&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;&#039;&#039;wiki_name&#039;&#039; #&amp;lt;/font&amp;gt; &#039;&#039;&#039;mv config/LocalSettings.php ./&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Config should no longer be world writable:&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;~ #&amp;lt;/font&amp;gt; &#039;&#039;&#039;chmod a-w config&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Your wiki should be completely setup at: &amp;lt;nowiki&amp;gt;http://wiki.iat.sfu.ca/$projectname&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I then usually go login to the wiki and add to the main page: &#039;&#039;&#039;Wiki is configured correctly.&#039;&#039;&#039; for 100% assurance that everything is working :)&lt;br /&gt;
&lt;br /&gt;
To customize access and viewing restrictions, look at this article on [http://www.mediawiki.org/wiki/Manual:Preventing_access Preventing Access] (this version of mediawiki is 1.4).  It&#039;s probably always a good idea to prohibit anonymous edits; add these lines to LocalSettings.php:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;&#039;&#039;wiki_name&#039;&#039; #&amp;lt;/font&amp;gt; &#039;&#039;&#039;emacs -nw LocalSettings.php&#039;&#039;&#039;&lt;br /&gt;
          # Entirely disable Anonymous Edits in Wiki versions 1.4 and before&lt;br /&gt;
          $wgWhitelistEdit = true;&lt;br /&gt;
&lt;br /&gt;
Record the database username &amp;amp; password, and who this wiki was created for in our &#039;MediaWiki on Kingfisher&#039; file.&lt;br /&gt;
&lt;br /&gt;
== Add Sysop/Administrator User ==&lt;br /&gt;
Follow these steps to make a wiki account, a sysop account:&lt;br /&gt;
&lt;br /&gt;
Create the account, if you haven&#039;t done so already. Logout. Login as the WikiSysop user.&lt;br /&gt;
&lt;br /&gt;
Navigate to &#039;&#039;&#039;Special Pages&#039;&#039;&#039; -&amp;gt;&#039;&#039;&#039; Make a user into a sysop&#039;&#039;&#039;, or modify this link with your project name: &amp;lt;nowiki&amp;gt;http://wiki.iat.sfu.ca/$projectname/index.php/Special:Makesysop&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enter the username and set bureaucrat flag too.&lt;br /&gt;
&lt;br /&gt;
== Customizing ==&lt;br /&gt;
=== Permitted Upload File Extensions ===&lt;br /&gt;
==== Kingfisher (Wiki-city) ====&lt;br /&gt;
All changes should be made to &#039;&#039;&#039;/srv/www/htwiki/&#039;&#039;&#039;&#039;&#039;&amp;lt;project_name&amp;gt;&#039;&#039;&#039;&#039;&#039;/LocalSettings.php&#039;&#039;&#039;.  In most cases the variable you want to adjust is already defined under includes/DefaultSettings.php, but this may be over-written during upgrades!!&lt;br /&gt;
Typical examples are to enable or disable all file uploading:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;~ #&amp;lt;/font&amp;gt; &#039;&#039;&#039;emacs -nw /srv/www/htwiki/&#039;&#039;&#039;&#039;&#039;&amp;lt;project_name&amp;gt;&#039;&#039;&#039;&#039;&#039;/LocalSettings.php&#039;&#039;&#039;&lt;br /&gt;
          $wgDisableUploads             = false;&lt;br /&gt;
          $wgFileExtensions = array( &#039;png&#039;, &#039;gif&#039;, &#039;jpg&#039;, &#039;jpeg&#039;, &#039;pdf&#039;, &#039;fls&#039;, &#039;swf&#039;, &#039;doc&#039;, &#039;jar&#039;, &#039;dmg&#039; );&lt;br /&gt;
&lt;br /&gt;
After this, check the user/permissions on the $projectname/images directory.  Change:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;htwiki #&amp;lt;/font&amp;gt; &#039;&#039;&#039;chown wwwrun:www images&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Suitable permissions for &#039;&#039;&#039;images/&#039;&#039;&#039; would be &#039;&#039;&#039;755&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;htwiki #&amp;lt;/font&amp;gt; &#039;&#039;&#039;chmod 755 images/&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Tirpitz (Research wiki) ====&lt;br /&gt;
Things are Different on Tirpitz (tm) :-)&amp;lt;br&amp;gt;&lt;br /&gt;
Changes are made on an NFS-mounted directory:  &#039;&#039;&#039;/home/projects/infrastructure/htdocs/wiki&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Another gotcha can be that the file-extension is blacklisted (as in the case of &#039;exe&#039;).  In this case, edit LocalSettings.php to permit the file-type, &#039;&#039;&#039;and&#039;&#039;&#039; also un-BlackList it (settings in LocalSettings.php over-ride the same settings made elsewhere, like DefaultSettings.php):&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;font color=red&amp;gt;tirpitz&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;~ #&amp;lt;/font&amp;gt; &#039;&#039;&#039;emacs -nw /home/projects/infrastructure/htdocs/wiki/LocalSettings.php &amp;lt;br&amp;gt;&lt;br /&gt;
          $wgFileExtensions = array( &#039;png&#039;, &#039;gif&#039;, &#039;jpg&#039;, &#039;jpeg&#039;, &#039;swf&#039;, &#039;pdf&#039;, &#039;exe&#039;, &#039;bin&#039;, &#039;dmg&#039;, &#039;reg&#039;, &#039;tbz2&#039;, &#039;zip&#039; );&lt;br /&gt;
 &lt;br /&gt;
          /** Files with these extensions will never be allowed as uploads. */&lt;br /&gt;
          $wgFileBlacklist = array(&lt;br /&gt;
                  # HTML may contain cookie-stealing JavaScript and web bugs&lt;br /&gt;
                  &#039;html&#039;, &#039;htm&#039;, &#039;js&#039;, &#039;jsb&#039;,&lt;br /&gt;
                  # PHP scripts may execute arbitrary code on the server&lt;br /&gt;
                  &#039;php&#039;, &#039;phtml&#039;, &#039;php3&#039;, &#039;php4&#039;, &#039;phps&#039;,&lt;br /&gt;
                  # Other types that may be interpreted by some servers&lt;br /&gt;
                  &#039;shtml&#039;, &#039;jhtml&#039;, &#039;pl&#039;, &#039;py&#039;, &#039;cgi&#039;,&lt;br /&gt;
                  # May contain harmful executables for Windows victims&lt;br /&gt;
                  &#039;exe&#039;, &#039;scr&#039;, &#039;dll&#039;, &#039;msi&#039;, &#039;vbs&#039;, &#039;bat&#039;, &#039;com&#039;, &#039;pif&#039;, &#039;cmd&#039;, &#039;vxd&#039;, &#039;cpl&#039; );&lt;br /&gt;
          #        &#039;scr&#039;, &#039;dll&#039;, &#039;msi&#039;, &#039;vbs&#039;, &#039;bat&#039;, &#039;com&#039;, &#039;pif&#039;, &#039;cmd&#039;, &#039;vxd&#039;, &#039;cpl&#039; );     &amp;lt;u&amp;gt;&#039;&#039;&#039;&#039;&#039;temporarily&#039;&#039;&#039; uncomment for .exe uploads&#039;&#039;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Upload (filesize) Limits ===&lt;br /&gt;
Filesize limits can be tricky - Mediawiki just follows general apache and php limitations.  When Mediawiki encounters a filesize limitation, it seems to (unhelpfully :-( ) fail silently; you&#039;ll usually just get a blank &#039;&#039;&#039;Upload file&#039;&#039;&#039; page again.  Let&#039;s increase these limits (tirpitz - our main Research wiki - used as an example):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font color=red&amp;gt;hostname&amp;lt;/font&amp;gt; &amp;lt;font color=blue&amp;gt;~ #&amp;lt;/font&amp;gt; &#039;&#039;&#039;emacs -nw /etc/php/cgi-php5/php.ini&#039;&#039;&#039;&lt;br /&gt;
          memory_limit &amp;quot;128M&amp;quot;&lt;br /&gt;
          file_uploads &amp;quot;On&amp;quot;&lt;br /&gt;
          post_max_size &amp;quot;25M&amp;quot;&lt;br /&gt;
          upload_max_filesize &amp;quot;25M&amp;quot;&lt;/div&gt;</summary>
		<author><name>Gwm</name></author>
	</entry>
	<entry>
		<id>https://research.iat.sfu.ca/research/index.php?title=File:BFLC_English.pdf&amp;diff=3148</id>
		<title>File:BFLC English.pdf</title>
		<link rel="alternate" type="text/html" href="https://research.iat.sfu.ca/research/index.php?title=File:BFLC_English.pdf&amp;diff=3148"/>
		<updated>2006-08-05T00:26:42Z</updated>

		<summary type="html">&lt;p&gt;Gwm: Intel Motherboard E210882 - Model D865GLC - current node mobo for Beowolf&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Intel Motherboard E210882 - Model D865GLC - current node mobo for Beowolf&lt;/div&gt;</summary>
		<author><name>Gwm</name></author>
	</entry>
</feed>