Index: trunk/extensions/PrivateDomains/PrivateDomains.php |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | * |
7 | 7 | * @file |
8 | 8 | * @ingroup Extensions |
9 | | - * @version 1.0 |
| 9 | + * @version 1.1 |
10 | 10 | * @author Inez Korczyński <korczynski@gmail.com> |
11 | 11 | * @author Jack Phoenix <jack@countervandalism.net> |
12 | 12 | * @link http://www.mediawiki.org/wiki/Extension:PrivateDomains Documentation |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | // Extension credits that will show up on Special:Version |
21 | 21 | $wgExtensionCredits['specialpage'][] = array( |
22 | 22 | 'name' => 'PrivateDomains', |
23 | | - 'version' => '1.0', |
| 23 | + 'version' => '1.1', |
24 | 24 | 'author' => array( 'Inez Korczyński', 'Jack Phoenix' ), |
25 | 25 | 'description' => 'Allows to restrict editing to users with a certain e-mail address', |
26 | 26 | 'url' => 'https://www.mediawiki.org/wiki/Extension:PrivateDomains', |
— | — | @@ -77,7 +77,7 @@ |
78 | 78 | * If user isn't in group privatedomains/staff/bureaucrat then |
79 | 79 | * deny access to edit page and show information box. |
80 | 80 | */ |
81 | | -function pd_AlternateEdit( &$editpage ) { |
| 81 | +function pd_AlternateEdit( $editpage ) { |
82 | 82 | global $wgUser; |
83 | 83 | $groups = $wgUser->getEffectiveGroups(); |
84 | 84 | if ( |