Diferència entre revisions de la pàgina «Mediawiki»
Salta a la navegació
Salta a la cerca
(article comments) |
|||
| Línia 26: | Línia 26: | ||
Then edit the LocalSettings.php and add the line: | Then edit the LocalSettings.php and add the line: | ||
require_once("$IP/extensions/FCKeditor/FCKeditor.php"); | 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 | ||
| + | |||
| + | |||
| + | The initial configuration (LocalSettings.php) that appears in that last link is something like: | ||
| + | # 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/"; | ||
Revisió del 22:06, 11 maig 2011
TODO:
- Mediawiki presentation + screenshot
- Installation
- Page creation, links, wikitext
- Targeting external links in a new window: http://www.mediawiki.org/wiki/Manual:$wgExternalLinkTarget
- Email notification
- Special pages: Sidebar, monobook.css, etc.
- Hack for targeting external links from Sidebar in a new window ($wgExternalLinkTarget doesn't work).
- Skins
- Extensions
- VideoFlash plugin lets you embed YouTube videos.
- Editor WYSIWYG: FCKeditor.
- 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:
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
The initial configuration (LocalSettings.php) that appears in that last link is something like:
# 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/";