Index: trunk/extensions/SemanticSignup/SemanticSignup.php |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | die( '<b>Error:</b> You need to have <a href="http://semantic-mediawiki.org/wiki/Semantic_Forms">Semantic Forms</a> installed in order to use SemanticSignup.' ); |
43 | 43 | } |
44 | 44 | |
45 | | -define( 'SemanticSignup_VERSION', '0.3 alpha' ); |
| 45 | +define( 'SemanticSignup_VERSION', '0.3' ); |
46 | 46 | |
47 | 47 | $wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'specialpage'][] = array( |
48 | 48 | 'path' => __FILE__, |
Index: trunk/extensions/SemanticSignup/INSTALL |
— | — | @@ -37,9 +37,32 @@ |
38 | 38 | |
39 | 39 | == Configuration == |
40 | 40 | |
41 | | -Configuration of SemanticSignup is done by adding simple PHP statements to your |
| 41 | +Configuration of SemanticSignup is done by assigning to $egSemanticSignupSettings in your |
42 | 42 | [[Manual:LocalSettings.php|LocalSettings.php]] file. These statements need to be placed |
43 | 43 | AFTER the inclusion of SemanticSignup. The options are listed below and their default |
44 | 44 | is set in the [http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticSignup/SemanticSignup.settings.php?view=markup SemanticSignup settings file]. |
45 | 45 | You should NOT modify the settings file, but can have a look at it to get an idea of |
46 | 46 | how to use the settings, in case the below descriptions do not suffice. |
| 47 | + |
| 48 | +=== Require name === |
| 49 | + |
| 50 | +Require entering a real name during the registration process? |
| 51 | + |
| 52 | +Default: $egSemanticSignupSettings['requireName'] = false; // true or false |
| 53 | + |
| 54 | +=== Form name === |
| 55 | + |
| 56 | +The name of the form you want to use for signup. |
| 57 | + |
| 58 | +Default: $egSemanticSignupSettings['formName'] = ''; |
| 59 | + |
| 60 | +Example: $egSemanticSignupSettings['formName'] = 'Signup_form'; |
| 61 | + |
| 62 | +=== Bot name === |
| 63 | + |
| 64 | +The name of the user to create the user page with. This user needs |
| 65 | +sufficient priviliges to create new pages in the User: namespace. |
| 66 | + |
| 67 | +Default: $egSemanticSignupSettings['botName'] = ''; |
| 68 | + |
| 69 | +Example: $egSemanticSignupSettings['botName'] = 'Admin'; |
Index: trunk/extensions/SemanticSignup/release-notes |
— | — | @@ -5,14 +5,16 @@ |
6 | 6 | |
7 | 7 | |
8 | 8 | === Version 0.3 === |
9 | | -2011-0x-xx |
| 9 | +2011-08-15 |
10 | 10 | |
11 | 11 | * Added compatibility with MediaWiki 1.16 and above, removed compatibility with MediaWiki below 1.16. |
12 | 12 | * Added compatibility with Semantic MediaWiki 1.6 and above. |
13 | 13 | * Added INSTALL file. |
14 | | -* Rewrote setting handling. |
| 14 | +* Added checks for dependencies (MW, SMW, & SF) |
| 15 | +* Rewrote setting handling, breaking compatibility with older versions. |
15 | 16 | * Moved entry point to SemanticSignup.php. |
16 | 17 | * Moved code to standard i18n, hooks and settings files. |
| 18 | +* Split DataChecker classes code to separate files. |
17 | 19 | * Stylized code. |
18 | 20 | |
19 | 21 | === Version 0.2 === |
Index: trunk/extensions/SemanticSignup/SemanticSignup.settings.php |
— | — | @@ -4,9 +4,8 @@ |
5 | 5 | * File defining the settings for the SemanticSignup extension. |
6 | 6 | * More info can be found at http://www.mediawiki.org/wiki/Extension:SemanticSignup#Settings |
7 | 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. |
| 8 | + * NOTICE: |
| 9 | + * Changing one of these settings can be done by assigning to $egSemanticSignupSettings. |
11 | 10 | * |
12 | 11 | * @file SemanticSignup.settings.php |
13 | 12 | * @ingroup SemanticSignup |
— | — | @@ -14,7 +13,6 @@ |
15 | 14 | * @licence GNU GPL v3+ |
16 | 15 | * @author Jeroen De Dauw < jeroendedauw@gmail.com > |
17 | 16 | */ |
18 | | - |
19 | 17 | class SemanticSignupSettings { |
20 | 18 | |
21 | 19 | protected static function getDefaultSettings() { |