Diferència entre revisions de la pàgina «Mediawiki»

De Cacauet Wiki
Salta a la navegació Salta a la cerca
Línia 44: Línia 44:
  
  
The initial configuration (LocalSettings.php) that appears in that last link is something like:
+
The initial configuration (LocalSettings.php) that appears in that last link is something like (changing "www.test.com" and /path/to/some/directory):
 +
<syntaxhighlight lang="php">
 
  # Load the OpenID extension
 
  # Load the OpenID extension
 
  require_once("$IP/extensions/OpenID/OpenID.php");
 
  require_once("$IP/extensions/OpenID/OpenID.php");
Línia 58: Línia 59:
 
  $wgOpenIDServerStoreType="file";
 
  $wgOpenIDServerStoreType="file";
 
  $wgOpenIDServerStorePath="/path/to/some/directory/";
 
  $wgOpenIDServerStorePath="/path/to/some/directory/";
 +
</syntaxhighlight>

Revisió del 22:08, 11 maig 2011

TODO:


Installing FCKeditor with subversion

Go to your extension folder:

cd path/to/extensions

Download the FCKeditor with Subversion:

svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/FCKeditor

Then edit the LocalSettings.php and add the line:

require_once("$IP/extensions/FCKeditor/FCKeditor.php");


OpenID

Lets you login in several webs using the same account (OpenID, Google account, etc.).

Information sources:

To install it:


The initial configuration (LocalSettings.php) that appears in that last link is something like (changing "www.test.com" and /path/to/some/directory):

 # Load the OpenID extension
 require_once("$IP/extensions/OpenID/OpenID.php");
 # Set the URL for the MediaWiki installation.
 $wgTrustRoot="www.test.com";
 # Allow all by default
 $wgOpenIDConsumerDenyByDefault=false;
 # Set the store type to file
 $wgOpenIDConsumerStoreType="file";
 # Set the location of where to store but not reachable by the web
 $wgOpenIDConsumerStorePath="/path/to/some/directory/";
 # Do the same stor thing for the OpenID server
 $wgOpenIDServerStoreType="file";
 $wgOpenIDServerStorePath="/path/to/some/directory/";