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

De Cacauet Wiki
Salta a la navegació Salta a la cerca
 
(Hi ha 8 revisions intermèdies del mateix usuari que no es mostren)
Línia 4: Línia 4:
 
* Installation
 
* Installation
 
* Page creation, links, wikitext
 
* Page creation, links, wikitext
 +
**Targeting external links in a new window: http://www.mediawiki.org/wiki/Manual:$wgExternalLinkTarget
 
* Email notification
 
* Email notification
 
* Special pages: Sidebar, monobook.css, etc.
 
* Special pages: Sidebar, monobook.css, etc.
 +
**Hack for [http://www.mediawiki.org/wiki/Manual_talk:$wgExternalLinkTarget#Sidebar.3F targeting external links from Sidebar in a new window] ($wgExternalLinkTarget doesn't work).
 
* Skins
 
* Skins
 
* Extensions
 
* Extensions
 +
** [http://www.mediawiki.org/wiki/Extension:VideoFlash VideoFlash] plugin lets you embed YouTube videos.
 +
** Editor WYSIWYG: [http://www.mediawiki.org/wiki/Extension:FCKeditor_%28Official%29 FCKeditor].
 +
** [http://www.mediawiki.org/wiki/Extension:ContactPage ContactPage] lets you send emails to contact (and so you don't need to show your email address).
 +
** Article Comments: http://www.mediawiki.org/wiki/Extension:ArticleComments
 +
 +
 +
=== 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:
 +
*http://www.mediawiki.org/wiki/Extension:OpenID
 +
*http://acacha.org/mediawiki/index.php/Mediawiki#OpenID
 +
*Here's an example of configuration:
 +
**http://www.gentoo-wiki.info/HOWTO_OpenID_Mediawiki_extension
 +
 +
To install it:
 +
*Dowload the '''snapshot''' for your specific version (and not from SVN).
 +
*Follow the instructions in: http://www.mediawiki.org/wiki/Extension:OpenID
 +
**Add path
 +
**Install PHP libraries: pear, gmp, curl, mcrypt
 +
 +
=== OpenID solucions finals ===
 +
OpenID ofereix algunes dificultats d'instal·lació a la Mediawiki.
 +
 +
He trobat solucions en aquesta article:
 +
Mètode general: http://eternallyoptimistic.com/2008/02/11/yah-about-that-mediawiki-openid-extension/
 +
 +
OJU: L'article és obsolet però més o menys s'entén. Cal baixar la darrera versió de openid-php des de
 +
http://www.janrain.com/openid-enabled
 +
 +
Al final de l'article diu que és més fàcil si copiem el directori "Auth" del openid-php a l'arrel de la Mediawiki. Així ja no tenim problemes de paths.
 +
 +
Pot ser que ens doni un error de Auth_OpenID_RAND_SOURCE. Si és així a mi m'ha funcionat aquesta solució:
 +
http://forum.civicrm.org/index.php?topic=5463.0

Revisió de 17:37, 1 set 2011

TODO:


Installing FCKeditor with subversion[modifica]

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[modifica]

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

Information sources:

To install it:

OpenID solucions finals[modifica]

OpenID ofereix algunes dificultats d'instal·lació a la Mediawiki.

He trobat solucions en aquesta article: Mètode general: http://eternallyoptimistic.com/2008/02/11/yah-about-that-mediawiki-openid-extension/

OJU: L'article és obsolet però més o menys s'entén. Cal baixar la darrera versió de openid-php des de http://www.janrain.com/openid-enabled

Al final de l'article diu que és més fàcil si copiem el directori "Auth" del openid-php a l'arrel de la Mediawiki. Així ja no tenim problemes de paths.

Pot ser que ens doni un error de Auth_OpenID_RAND_SOURCE. Si és així a mi m'ha funcionat aquesta solució: http://forum.civicrm.org/index.php?topic=5463.0