Browse Source

identify autoconfirmed

Markus-Rost 5 years ago
parent
commit
059c685372
10 changed files with 15 additions and 6 deletions
  1. 3 2
      i18n/de.json
  2. 3 2
      i18n/en.json
  3. 1 0
      i18n/fr.json
  4. 1 0
      i18n/nl.json
  5. 1 0
      i18n/pl.json
  6. 1 0
      i18n/pt.json
  7. 1 0
      i18n/ru.json
  8. 1 0
      i18n/tr.json
  9. 1 0
      i18n/zh.json
  10. 2 2
      main.js

+ 3 - 2
i18n/de.json

@@ -174,12 +174,12 @@
 			"female": "Weiblich"
 		},
 		"groups": [
-			["global_bot", "Gamepedia-Bot"],
+			["global_bot", "Globaler Bot"],
 			["hydra_staff", "Gamepedia-Mitarbeiter"],
 			["wiki_manager", "Wiki-Manager"],
 			["content_team_member", "Content-Team-Mitglied"],
 			["grasp", "GRASP"],
-			["bot-global", "Fandom-Bot"],
+			["bot-global", "Globaler Bot"],
 			["staff", "Fandom-Mitarbeiter"],
 			["wiki-manager", "Wiki-Manager"],
 			["helper", "Fandom-Helfer"],
@@ -207,6 +207,7 @@
 			["autoreview", "autoreview"],
 			["autopatrol", "autopatrol"],
 			["authenticated", "offiziell"],
+			["autoconfirmed", "Automatisch bestätigter Benutzer"],
 			["user", "Benutzer"]
 		],
 		"info": {

+ 3 - 2
i18n/en.json

@@ -169,12 +169,12 @@
 			"female": "Female"
 		},
 		"groups": [
-			["global_bot", "Gamepedia bot"],
+			["global_bot", "Global bot"],
 			["hydra_staff", "Gamepedia staff"],
 			["wiki_manager", "Wiki manager"],
 			["content_team_member", "Content Team Member"],
 			["grasp", "GRASP"],
-			["bot-global", "Fandom bot"],
+			["bot-global", "Global bot"],
 			["staff", "Fandom staff"],
 			["wiki-manager", "Wiki manager"],
 			["helper", "Fandom helper"],
@@ -202,6 +202,7 @@
 			["autoreview", "autoreview"],
 			["autopatrol", "autopatrol"],
 			["authenticated", "authenticated"],
+			["autoconfirmed", "Autoconfirmed user"],
 			["user", "User"]
 		],
 		"info": {

+ 1 - 0
i18n/fr.json

@@ -204,6 +204,7 @@
 			["autoreview", "autoreview"],
 			["autopatrol", "autopatrol"],
 			["authenticated", "authenticated"],
+			["autoconfirmed", "Utilisateur autoconfirmé"],
 			["user", "Utilisateur"]
 		],
 		"info": {

+ 1 - 0
i18n/nl.json

@@ -206,6 +206,7 @@
 			["autoreview", "autoreview"],
 			["autopatrol", "autopatrol"],
 			["authenticated", "authenticated"],
+			["autoconfirmed", "Autobevestigde gebruiker"],
 			["user", "Gebruiker"]
 		],
 		"info": {

+ 1 - 0
i18n/pl.json

@@ -208,6 +208,7 @@
 			["autoreview", "autoreview"],
 			["autopatrol", "autopatrol"],
 			["authenticated", "authenticated"],
+			["autoconfirmed", "Automatycznie zatwierdzony użytkownik"],
 			["user", "Użytkownik"]
 		],
 		"info": {

+ 1 - 0
i18n/pt.json

@@ -207,6 +207,7 @@
 			["autoreview", "revisão automática"],
 			["autopatrol", "autopatrulha"],
 			["authenticated", "authenticated"],
+			["autoconfirmed", "Utilizador autoconfirmado"],
 			["user", "Usuário"]
 		],
 		"info": {

+ 1 - 0
i18n/ru.json

@@ -204,6 +204,7 @@
 			["autoreview", "autoreview"],
 			["autopatrol", "autopatrol"],
 			["authenticated", "подтверждено"],
+			["autoconfirmed", "Автоподтверждённый участник"],
 			["user", "Пользователь"]
 		],
 		"info": {

+ 1 - 0
i18n/tr.json

@@ -206,6 +206,7 @@
 			["autoreview", "autoreview"],
 			["autopatrol", "autopatrol"],
 			["authenticated", "doğrulanmış"],
+			["autoconfirmed", "Otomatik onaylanmış kullanıcı"],
 			["user", "Kullanıcı"]
 		],
 		"info": {

+ 1 - 0
i18n/zh.json

@@ -204,6 +204,7 @@
 			["autoreview", "自动复核用户"],
 			["autopatrol", "自动巡查/巡查豁免者"],
 			["authenticated", "认证用户"],
+			["autoconfirmed", "自动确认用户"],
 			["user", "用户"]
 		],
 		"info": {

+ 2 - 2
main.js

@@ -2506,7 +2506,7 @@ function gamepedia_user(lang, msg, namespace, username, wiki, querystring, fragm
 					var group = [lang.user.info.group];
 					var grouplist = lang.user.groups;
 					for ( var i = 0; i < grouplist.length; i++ ) {
-						if ( groups.includes( grouplist[i][0] ) && ( group.length === 1 || grouplist[i][0] !== 'user' ) ) {
+						if ( groups.includes( grouplist[i][0] ) && ( group.length === 1 || !['autoconfirmed', 'user'].includes( grouplist[i][0] ) ) ) {
 							var thisSite = allSites.find( site => site.wiki_domain === body.query.general.servername );
 							if ( grouplist[i][0] === 'wiki_manager' && thisSite && thisSite.wiki_managers.includes( username ) ) {
 								group.push('**' + grouplist[i][1] + '**');
@@ -2878,7 +2878,7 @@ function fandom_user(lang, msg, namespace, username, wiki, querystring, fragment
 					var group = [lang.user.info.group];
 					var grouplist = lang.user.groups;
 					for ( var i = 0; i < grouplist.length; i++ ) {
-						if ( groups.includes( grouplist[i][0] ) && ( group.length === 1 || grouplist[i][0] !== 'user' ) ) {
+						if ( groups.includes( grouplist[i][0] ) && ( group.length === 1 || !['autoconfirmed', 'user'].includes( grouplist[i][0] ) ) ) {
 							if ( grouplist[i][0] === 'wiki-manager' && body.query.allmessages[0]['*'] === username ) {
 								group.push('**' + grouplist[i][1] + '**');
 							}