http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94254
Revision: 94254
Author: jeroendedauw
Date: 2011-08-11 15:55:26 +0000 (Thu, 11 Aug 2011)
Log Message:
-----------
added install
Modified Paths:
--------------
trunk/extensions/SemanticSignup/SemanticSignup.settings.php
trunk/extensions/SemanticSignup/includes/SES_Special.php
Added Paths:
-----------
trunk/extensions/SemanticSignup/INSTALL
Added: trunk/extensions/SemanticSignup/INSTALL
===================================================================
--- trunk/extensions/SemanticSignup/INSTALL (rev 0)
+++ trunk/extensions/SemanticSignup/INSTALL 2011-08-11 15:55:26 UTC (rev
94254)
@@ -0,0 +1,44 @@
+These is the install file for the SemanticSignup extension.
+
+Extension page on mediawiki.org:
http://www.mediawiki.org/wiki/Extension:SemanticSignup
+Latest version of the install file:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticSignup/INSTALL?view=co
+
+
+== Requirements ==
+
+SemanticSignup requires:
+
+* MediaWiki 1.16 or above
+* Semantic MediaWiki 1.6 or above
+* PHP 5.2 or above
+
+== Download ==
+
+You can find the current version of SemanticSignup on the
[https://code.google.com/p/semanticsignup/downloads/list Google Code download
page],
+as well as a [https://code.google.com/p/semanticsignup/downloads/list?can=1
list of legacy downloads].
+
+You can also get the code directly from SVN. Tags can be obtained via
+
+ svn checkout
<nowiki>http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticSignup/REL_version</nowiki>
+
+Where 'version' is the version number of the tag, such as 0_1 (see the
[http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticSignup/
available tags]).
+The latest code can be obtained from trunk:
+
+ svn checkout
<nowiki>http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticSignup/</nowiki>
+
+== Installation ==
+
+Once you have downloaded the code, place the ''SemanticSignup'' directory
within your MediaWiki
+'extensions' directory. Then add the following code to your
[[Manual:LocalSettings.php|LocalSettings.php]] file:
+
+# SemanticSignup
+require_once( "$IP/extensions/SemanticSignup/SemanticSignup.php" );
+
+== Configuration ==
+
+Configuration of SemanticSignup is done by adding simple PHP statements to your
+[[Manual:LocalSettings.php|LocalSettings.php]] file. These statements need to
be placed
+AFTER the inclusion of SemanticSignup. The options are listed below and their
default
+is set in the
[http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticSignup/SemanticSignup.settings.php?view=markup
SemanticSignup settings file].
+You should NOT modify the settings file, but can have a look at it to get an
idea of
+how to use the settings, in case the below descriptions do not suffice.
Modified: trunk/extensions/SemanticSignup/SemanticSignup.settings.php
===================================================================
--- trunk/extensions/SemanticSignup/SemanticSignup.settings.php 2011-08-11
15:29:48 UTC (rev 94253)
+++ trunk/extensions/SemanticSignup/SemanticSignup.settings.php 2011-08-11
15:55:26 UTC (rev 94254)
@@ -1,5 +1,25 @@
<?php
+/**
+ * File defining the settings for the SemanticSignup extension.
+ * More info can be found at
http://www.mediawiki.org/wiki/Extension:SemanticSignup#Settings
+ *
+ * NOTICE:
+ * Changing one of these settings can be done by copying or cutting it,
+ * and placing it in LocalSettings.php, AFTER the inclusion of this extension.
+ *
+ * @file SemanticSignup.settings.php
+ * @ingroup SemanticSignup
+ *
+ * @licence GNU GPL v3+
+ * @author Serg Kutny
+ * @author Jeroen De Dauw < [email protected] >
+ */
+
+if ( !defined( 'MEDIAWIKI' ) ) {
+ die( 'Not an entry point.' );
+}
+
/*
* I need real name to be required on user signup for my purposes
* so I make this feature configurable
Modified: trunk/extensions/SemanticSignup/includes/SES_Special.php
===================================================================
--- trunk/extensions/SemanticSignup/includes/SES_Special.php 2011-08-11
15:29:48 UTC (rev 94253)
+++ trunk/extensions/SemanticSignup/includes/SES_Special.php 2011-08-11
15:55:26 UTC (rev 94254)
@@ -122,7 +122,6 @@
{
parent::__construct('SemanticSignup');
$this->mIncludable = false;
- wfLoadExtensionMessages('SemanticSignup');
$this->mUserDataChecker = new SES_UserAccountDataChecker();
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs