r103120 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103119‎ | r103120 | r103121 >
Date:01:43, 15 November 2011
Author:aaron
Status:deferred
Tags:
Comment:
Clarified $wgAccountRequestTypes and fixed typo
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount.config.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount.config.php
@@ -36,17 +36,19 @@
3737 $wgAccountRequestExts = array( 'txt', 'pdf', 'doc', 'latex', 'rtf', 'text', 'wp', 'wpd', 'sxw' );
3838
3939 # Prospective account access levels.
40 -# An associative array of integer => (special page param,user group,autotext) pairs.
41 -# The account queues are at Special:ConfirmAccount/param. The integer keys enumerate the type.
42 -# When a request of a certain type (param) is approved, the new user:
 40+# Each level has it's own request queue at Special:ConfirmAccount.
 41+# Format is an array of (integer => (subpage param,user group,autotext)) pairs.
 42+# The integer keys enumerate the request type. The key for a type should not change.
 43+# The account queues are at Special:ConfirmAccount/<subpage param>.
 44+# When a request of a certain type is approved, the new user:
4345 # (a) is placed in the <user group> group (if not User or *)
44 -# (b) <autotext> is appended his/her user page
 46+# (b) has <autotext> appended to his or her user page
4547 $wgAccountRequestTypes = array(
4648 0 => array( 'authors', 'user', null )
4749 );
4850
4951 # If set, will add {{DEFAULTSORT:sortkey}} to userpages for auto-categories.
50 -# The sortkey will be made be replacing the first element of this array
 52+# The sortkey will be made by replacing the first element of this array
5153 # (regexp) with the second. Set this variable to false to avoid sortkey use.
5254 $wgConfirmAccountSortkey = false;
5355 // For example, the below will do {{DEFAULTSORT:firstname, lastname}}

Status & tagging log