Index: trunk/extensions/SemanticSignup/INSTALL |
— | — | @@ -0,0 +1,44 @@ |
| 2 | +These is the install file for the SemanticSignup extension. |
| 3 | + |
| 4 | +Extension page on mediawiki.org: http://www.mediawiki.org/wiki/Extension:SemanticSignup |
| 5 | +Latest version of the install file: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticSignup/INSTALL?view=co |
| 6 | + |
| 7 | + |
| 8 | +== Requirements == |
| 9 | + |
| 10 | +SemanticSignup requires: |
| 11 | + |
| 12 | +* MediaWiki 1.16 or above |
| 13 | +* Semantic MediaWiki 1.6 or above |
| 14 | +* PHP 5.2 or above |
| 15 | + |
| 16 | +== Download == |
| 17 | + |
| 18 | +You can find the current version of SemanticSignup on the [https://code.google.com/p/semanticsignup/downloads/list Google Code download page], |
| 19 | +as well as a [https://code.google.com/p/semanticsignup/downloads/list?can=1 list of legacy downloads]. |
| 20 | + |
| 21 | +You can also get the code directly from SVN. Tags can be obtained via |
| 22 | + |
| 23 | + svn checkout <nowiki>http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticSignup/REL_version</nowiki> |
| 24 | + |
| 25 | +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]). |
| 26 | +The latest code can be obtained from trunk: |
| 27 | + |
| 28 | + svn checkout <nowiki>http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticSignup/</nowiki> |
| 29 | + |
| 30 | +== Installation == |
| 31 | + |
| 32 | +Once you have downloaded the code, place the ''SemanticSignup'' directory within your MediaWiki |
| 33 | +'extensions' directory. Then add the following code to your [[Manual:LocalSettings.php|LocalSettings.php]] file: |
| 34 | + |
| 35 | +# SemanticSignup |
| 36 | +require_once( "$IP/extensions/SemanticSignup/SemanticSignup.php" ); |
| 37 | + |
| 38 | +== Configuration == |
| 39 | + |
| 40 | +Configuration of SemanticSignup is done by adding simple PHP statements to your |
| 41 | +[[Manual:LocalSettings.php|LocalSettings.php]] file. These statements need to be placed |
| 42 | +AFTER the inclusion of SemanticSignup. The options are listed below and their default |
| 43 | +is set in the [http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticSignup/SemanticSignup.settings.php?view=markup SemanticSignup settings file]. |
| 44 | +You should NOT modify the settings file, but can have a look at it to get an idea of |
| 45 | +how to use the settings, in case the below descriptions do not suffice. |
Index: trunk/extensions/SemanticSignup/includes/SES_Special.php |
— | — | @@ -122,7 +122,6 @@ |
123 | 123 | { |
124 | 124 | parent::__construct('SemanticSignup'); |
125 | 125 | $this->mIncludable = false; |
126 | | - wfLoadExtensionMessages('SemanticSignup'); |
127 | 126 | |
128 | 127 | $this->mUserDataChecker = new SES_UserAccountDataChecker(); |
129 | 128 | } |
Index: trunk/extensions/SemanticSignup/SemanticSignup.settings.php |
— | — | @@ -1,5 +1,25 @@ |
2 | 2 | <?php |
3 | 3 | |
| 4 | +/** |
| 5 | + * File defining the settings for the SemanticSignup extension. |
| 6 | + * More info can be found at http://www.mediawiki.org/wiki/Extension:SemanticSignup#Settings |
| 7 | + * |
| 8 | + * NOTICE: |
| 9 | + * Changing one of these settings can be done by copying or cutting it, |
| 10 | + * and placing it in LocalSettings.php, AFTER the inclusion of this extension. |
| 11 | + * |
| 12 | + * @file SemanticSignup.settings.php |
| 13 | + * @ingroup SemanticSignup |
| 14 | + * |
| 15 | + * @licence GNU GPL v3+ |
| 16 | + * @author Serg Kutny |
| 17 | + * @author Jeroen De Dauw < jeroendedauw@gmail.com > |
| 18 | + */ |
| 19 | + |
| 20 | +if ( !defined( 'MEDIAWIKI' ) ) { |
| 21 | + die( 'Not an entry point.' ); |
| 22 | +} |
| 23 | + |
4 | 24 | /* |
5 | 25 | * I need real name to be required on user signup for my purposes |
6 | 26 | * so I make this feature configurable |