Difference between revisions of "Change Log"

From ScenarioThinking
Jump to navigation Jump to search
(Uioiusdaoijiojasd hasdhjasdbahsdb agds hgsadg asydgyuagds http://www.zazzle.com/silverstowns#53110 viagra online order - viagra http://www.zazzle.com/gertenhauer#11136 ambien valtrex - ambien http://)
 
Line 1: Line 1:
Here we write down how we got the more complicated tasks done, so we can do them again.  
Uioiusdaoijiojasd hasdhjasdbahsdb  agds hgsadg asydgyuagds http://www.zazzle.com/silverstowns#53110 viagra online order - viagra http://www.zazzle.com/gertenhauer#11136 ambien valtrex - ambien http://www.zazzle.com/semerjan#65216 4 cheap tramadol - tramadol http://buycialis.yolasite.com#88771 cialis cost 20mg - cialis http://shine.yahoo.com/channel/none/buy-cialis-best-prices-1040299#91906 home made cialis - cialis http://shine.yahoo.com/channel/none/buy-viagra-best-prices-on-the-net-1040427#90919 buy viagra internet - viagra http://www.wikio.com/article/diet-pills-user-reviews-183420459#66607 adipex or phentermine no prescription necessary - phentermine http://www.wikio.com/article/buy-cialis-compare-recommended-pharmacy-reviews-191761839#85836 tramadol use with cialis - cialis http://www.wikio.com/article/sildenafil-citrate-user-info-187315718#48400 viagra pill - viagra http://www.wikio.com/article/tramadol-ultram-user-reviews-182981345#88501 tramadol overnight daily - tramadol http://buycialis.yolasite.com/cialis-brand.php#79167 name acquisto cialis - cialis
 
===Changing the Navigation Bar===
This document explains how to modify the WIKI's "navigation bar" in versio 1.4. The navigation bar is a very usefull element in WIKI to facilitate the navigation in WIKI.<br>
 
 
'''1) Modify the Navigation bar variable:'''
 
There are several files that need to be changed in order to configue the bar. The first thing to change is the variable that contains the description of the navigation bar:
 
<pre>$wgNavigationLinks = array (
array( 'text'=>'mainpage', 'href'=>'mainpage' ),
## array( 'text'=>'portal', 'href'=>'portal-url' ),
## array( 'text'=>'currentevents', 'href'=>'currentevents-url' ),
## array( 'text'=>'recentchanges', 'href'=>'recentchanges-url' ),
## array( 'text'=>'randompage', 'href'=>'randompage-url' ),
array( 'text'=>'help', 'href'=>'helppage' ),
array( 'text'=>'sitesupport', 'href'=>'sitesupport-url' ),
array( 'text'=>'drivingforces', 'href'=>'Driving Forces-url' ),
array( 'text'=>'examplescenarios', 'href'=>'Example Scenarios-url' ),
array( 'text'=>'dtn', 'href'=>'dtn-url' ),
);
</pre>
 
This varible should be located in the LocalSettings.php from the WIKI (it is in the root). If this variable is not there, then copy it there from  the XXXXXX.
 
The array allows the configuration of the navigation bar by adding or removing links. The links can be inside WIKI pages or outside.
 
Each line contains a link, and it is form by two words:
 
<pre> array( 'text'=>'help', 'href'=>'helppage' ), </pre>
 
The first is the pointer of the text that is going to appear in the bar. The second is the pointer to the page (internal or external).<br>
 
 
'''2) Modify the NameSpace:'''
 
One the variable is updated, the second step is to configure the NameSpace. These are the real names that are going to appear in the navigation bar. It is important to note that these names can appear in any language (Spanish, English, Catalan....)  in WIKI. The name space are the translation from the pointer that we have set in the variable to the real languages.<br>
The most esay thing is do it only in English. The english version file in located in /WIKI/languages/laguage.php. Open this file and include the content:
 
<pre>
'Driving Forces-url' => 'Driving Forces', ## this correspond to the link, the name is internal wiki page
'drivingforces' => 'Driving Forces', ## this correspond to the name in the navigatio bar
</pre>
It is possible to include an external link:
<pre>
'dtn-url' => 'http://www.dtn.net', ## external link
</pre>
 
save the file and place it again in /WIKI/languages.
<br>
 
 
===Make login compulsory===
 
By adding the following line to LocalSettings.php, it is possible to entirely disable anonymous edits:
<pre>  #Entirely disable Anonymous Edits
  $wgWhitelistEdit = true;</pre>
 
 
===Blocking Users===
To block a user go to 'Special pages'; 'block user'.<br>
Another way is to block directly in your watchlist.
 
===Allowing Media Uploads===
To allow media uploads with different extensions from what is accepted by default, add the following line in Local Settings, with the required extensions.
 
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg', 'pdf', 'doc', 'ppt', 'mp3', 'm4a', 'mov');

Latest revision as of 16:56, 2 June 2010