Skip to content

Commit

Permalink
(BugID: 50939) Display Admin Mentor right on user profile
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.wikia-code.com/wikia/trunk@61761 e846bd91-c042-42a7-a218-4b65e2c1904d
  • Loading branch information
grunny committed Oct 16, 2012
1 parent b79c3ef commit e93e593
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 2 additions & 0 deletions extensions/wikia/UserProfilePageV3/UserProfilePage.i18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
'user-identity-box-group-vstf' => 'Volunteer Spam Task Force',
'user-identity-box-group-authenticated' => 'Authenticated',
'user-identity-box-group-council' => 'Councilor',
'user-identity-box-group-adminmentor' => 'Admin Mentor',

'user-identity-box-zero-state-location' => 'Location',
'user-identity-box-zero-state-birthday' => 'Birthday',
Expand Down Expand Up @@ -151,6 +152,7 @@
'user-identity-box-join-more-wikis' => 'Message in user profile for when said user has not yet edited in wikis which could be displayed as his favourites',
'user-identity-remove-confirmation' => 'appears when user is trying to remove avatar',
'user-identity-remove-fail' => 'appears in alert box when there ware some when removing the avatar',
'user-identity-box-group-adminmentor' => 'Group name shown on user profile for users who are Admin Mentors.',
);

/** Arabic (العربية) */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
*/
class UserOneTagStrategy extends UserTagsStrategyBase {
protected $groupsRank = array(
'authenticated' => 7,
'sysop' => 6,
'staff' => 5,
'helper' => 4,
'authenticated' => 8,
'sysop' => 7,
'staff' => 6,
'helper' => 5,
'adminmentor' => 4,
'vstf' => 3,
'council' => 2,
'chatmoderator' => 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ class UserTwoTagsStrategy extends UserTagsStrategyBase {
* @var array
*/
protected $groupsRank = array(
'sysop' => 5,
'helper' => 4,
'sysop' => 6,
'helper' => 5,
'adminmentor' => 4,
'vstf' => 3,
'council' => 2,
'chatmoderator' => 1,
Expand Down

0 comments on commit e93e593

Please sign in to comment.