LinguaLibre

Difference between revisions of "User rights"

Each wiki has built-in groups such as users, autopatrolled, admin, etc, which have specific user rights allowing actions associated with a ratelimit defining the number of times this action is allowed within a time period. Lingua Libre is mainly a Wiki for documentation via textual edits together with a client-side audio recording app which sends audios directly from your browser to Wikimedia Commons. Wikimedia Commons serves as the storage website via its programmatic API and is the actual limiting element in our audios uploading chain. If user rights are an issue, it is likely the case on Wikimedia Commons given the uploader's account and its associated user rights on Commons. Below are some elements to better understand your proper situation.

 
(50 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Each mediawiki as build in <code>groups</code> such as <code>users</code>, <code>autopatrolled</code>, <code>admin</code>, etc, which have specific user rights allowing actions associated with a <code>ratelimit</code> defining the number of times this action is allowed within a time period.
+
{{#Subtitle:<translate><!--T:1--> Each wiki has built-in <code>groups</code> such as <code>users</code>, <code>autopatrolled</code>, <code>admin</code>, etc, which have specific user rights allowing actions associated with a <code>ratelimit</code> defining the number of times this action is allowed within a time period. '''Lingua Libre''' is mainly a Wiki for documentation via textual edits together with a client-side audio recording app which sends audios directly from your browser to Wikimedia Commons. '''Wikimedia Commons''' serves as the storage website via its programmatic API and is the actual limiting element in our audios uploading chain. If user rights are an issue, it is likely the case on Wikimedia Commons given the uploader's account and its associated user rights on Commons. Below are some elements to better understand your proper situation.</translate>
 +
}}
 +
<languages/>
 +
<translate>
 +
== Check your user rights == <!--T:2-->
  
== Check your user rights ==
+
<!--T:3-->
* Check [[User:WikiLucas00]]'s groups :
+
* Check a user's groups :
** On Commons: [[:Commons:Special:UserRights]] > enter username.
+
** On Commons: <tvar|1>[[:c:Special:UserRights]]</> > enter username.
** On LinguaLibre: [[Special:UserRights]] > enter username.
+
** On LinguaLibre: <tvar|2>[[Special:UserRights]]</> > enter username.
* Check WikiLucas00, Yug, Luilui666 infos:
+
* Check infos and groups for 0x010C, Yug, WikiLucas00, Luilui666, ShufaBot:
** On Commons API ([[:mw:PI:Users#GET_request]]):<br>https://commons.wikimedia.org/w/api.php?action=query&list=users&ususers=WikiLucas00%7CYug%7CLuilui6666&usprop=blockinfo%7Cgroups%7Ceditcount%7Cregistration%7Cemailable%7Cgender
+
** On Commons API (<tvar|3>[[:mw:API:Users#GET_request]]</>):<br><tvar|4>[https://commons.wikimedia.org/w/api.php?action=query&list=users&ususers=0x010C|Yug|WikiLucas00|Luilui6666|ShufaBot&usprop=groups|editcount|registration https://commons.wikimedia.org/w/api.php?action=query&list=users&ususers=0x010C|Yug|WikiLucas00|Luilui6666|ShufaBot&usprop=groups|editcount|registration]</>
* For yourself - click then search "upload":  
+
** On LinguaLibre API :<br><tvar|5>[https://lingualibre.org/api.php?action=query&list=users&ususers=0x010C|Yug|WikiLucas00|Luilui6666|ShufaBot&usprop=groups|editcount|registration https://lingualibre.org/w/api.php?action=query&list=users&ususers=0x010C|Yug|WikiLucas00|Luilui6666|ShufaBot&usprop=groups|editcount|registration]</>
** Commons API: https://commons.wikimedia.org/w/api.php?action=query&meta=userinfo&uiprop=ratelimits
+
* Check user rights for yourself - click then search "upload":  
** LinguaLibre API : https://lingualibre.org/w/api.php?action=query&meta=userinfo&uiprop=ratelimits
+
** On Commons API: <tvar|6>https://commons.wikimedia.org/w/api.php?action=query&meta=userinfo&uiprop=ratelimits</>
 +
** On LinguaLibre API : <tvar|7>https://lingualibre.org/api.php?action=query&meta=userinfo&uiprop=ratelimits</>
 +
</translate>
  
 
<!-- COMMONS API result for YUG (experienced wikimedian in group "autopatrol"): -->
 
<!-- COMMONS API result for YUG (experienced wikimedian in group "autopatrol"): -->
Line 315: Line 321:
 
-->
 
-->
  
== User rights on Commons ==
+
<translate>
''To document further.''
+
== User rights on Commons == <!--T:4-->
* User group rights: [[:Commons:Special:ListGroupRights]]
+
 
 +
<!--T:5-->
 +
* Each mediawiki has upload limits according to user groups set via <code>wmf-config/InitialiseSettings.php</code>.
 +
* See User group rights: [[:c:Special:ListGroupRights]]
 +
</translate>
  
 
{| class="wikitable"
 
{| class="wikitable"
!rowspan=2| Group  
+
|+ <translate><!--T:6--> Uploads rate limits on Commons.</translate>
!rowspan=2| Minimal condition
+
|-
!colspan=1| Ratelimit
+
!rowspan=2| <translate><!--T:7--> Group</translate>
 +
!rowspan=2| <translate><!--T:8--> Minimal condition</translate>
 +
!colspan=1| <translate><!--T:9--> Ratelimit</translate>
 +
|-
 +
! <translate><!--T:10--> Uploads rights</translate>
 
|-
 
|-
! Uploads rights
+
|
 +
<code>*</code> <translate><!--T:11--> (all)</translate>
 +
|| <translate><!--T:12--> Anonymous IP</translate> || <translate><!--T:13--> 0</translate>
 
|-
 
|-
| (all) || Anonymous IP || 0
+
|  
 +
<code><translate><!--T:14--> user</translate></code>
 +
|| <translate><!--T:15--> Have an account</translate> || <translate><!--T:16--> 380 per 4320 sec.</translate>
 
|-
 
|-
| <code>user</code> || have an account || 380 per 72 mins
+
|  
 +
<code><translate><!--T:17--> [[<tvar|1>c:Special:MyLanguage/Commons:Autoconfirmed users</>|autoconfirmed]]</translate></code>
 +
|| <translate><!--T:18--> 4+ days old account</translate> || <translate><!--T:19--> 380 per 4320 sec.</translate>
 
|-
 
|-
| [[Commons:Autoconfirmed_users]] || 4+ days old account || ?
+
|  
 +
<code><translate><!--T:20--> autopatrolled</translate></code>
 +
| <translate><!--T:21--> [[:c:Special:MyLanguage/Commons:Requests for rights|On request]]</translate> || <translate><!--T:22--> 999 per 1 sec.</translate>
 
|-
 
|-
| <code>autopatrol</code>, <code>patrol</code> || request the right || 999 per 1 sec.
+
|  
 +
<code><translate><!--T:23--> patroller</translate></code>
 +
| <translate><!--T:24--> On request</translate> || <translate><!--T:25--> 999 per 1 sec.</translate>
 +
|-
 +
|
 +
<code><translate><!--T:26--> image-reviewer</translate></code>
 +
| <translate><!--T:27--> On request</translate> || <translate><!--T:28--> 999 per 1 sec.</translate>
 +
|-
 +
|colspan=3|<small><translate><!--T:29--> 4320 sec. = 72 mins.</translate></small>
 
|}
 
|}
  
== User rights on LinguaLibre ==
+
<translate>
 +
=== Commons ratelimits in code === <!--T:30-->
 +
 
 +
<!--T:31-->
 +
* Likely: [<tvar|1>https://gerrit.wikimedia.org/r/plugins/gitiles/operations/mediawiki-config/+/refs/heads/master/wmf-config/InitialiseSettings.php#9983</> Here]
 +
</translate>
 +
 
 +
<pre>
 +
'+commonswiki' => [ // T132930
 +
'move' => [ // T232657
 +
'autopatrolled' => [ 32, 60 ],
 +
'patroller' => [ 32, 60 ],
 +
'image-reviewer' => [ 32, 60 ],
 +
],
 +
'edit' => [
 +
'ip' => [ 8 * 15, 60 * 15 ], // T225148
 +
'newbie' => [ 8 * 15, 60 * 5 ], // T231463
 +
'user' => [ 900, 60 * 3 ], // T194864
 +
// Higher rate limit for trusted users
 +
'image-reviewer' => [ 10500, 60 * 3 ],
 +
'patroller' => [ 10500, 60 * 3 ],
 +
'autopatrolled' => [ 10500, 60 * 3 ],
 +
],
 +
'upload' => [
 +
// 380 uploads per 72 minutes
 +
'user' => [ 380, 4320 ],
 +
// Effectively no upload rate limit for members of these groups
 +
'image-reviewer' => [ 999, 1 ],
 +
'patroller' => [ 999, 1 ],
 +
'autopatrolled' => [ 999, 1 ],
 +
],
 +
'linkpurge' => [
 +
'patroller' => [ 3000, 60 * 3 ], // T245214
 +
],
 +
],
 +
</pre>
 +
 
 +
<translate>
 +
 
 +
== User rights on LinguaLibre == <!--T:32-->
 +
 
 +
<!--T:33-->
 
Note: LinguaLibre is not the limiting factor.
 
Note: LinguaLibre is not the limiting factor.
 
* User group rights: [[Special:ListGroupRights]]
 
* User group rights: [[Special:ListGroupRights]]
  
== Request new user rights ==
+
== Request new user rights == <!--T:34-->
Go to [[:Commons:Commons:Requests for rights]], make a request mentioning your contribution to LinguaLibre.
+
 
 +
<!--T:35-->
 +
Go to [[:c:Commons:Requests for rights]], make a request mentioning your contribution to Lingua Libre and your need for raising the ratelimit.
 +
 
 +
<!--T:36-->
 +
Examples of past requests :
 +
 
 +
<!--T:37-->
 +
* [https://commons.wikimedia.org/w/index.php?title=Commons:Requests_for_rights&oldid=467003025#User:Luilui6666_(LinguaLibre_project) 2020-09-21 - Luilui6666 - autopatroller]
 +
* [<tvar|1>https://commons.wikimedia.org/w/index.php?title=Commons:Requests_for_rights&oldid=492690242#Vealhurl</> Vealhurl]
 +
* [<tvar|2>https://commons.wikimedia.org/w/index.php?title=Commons:Requests_for_rights&oldid=492690242#Jagwar</> Jagwar]
 +
* [<tvar|3>https://commons.wikimedia.org/wiki/Commons:Requests_for_rights/Approved/Autopatrolled/2021#DSwissK</> DSwissK]
 +
* [<tvar|4>https://commons.wikimedia.org/wiki/Commons:Requests_for_rights/Approved/Autopatrolled/2021#Mecanautes</> Mecanautes]
 +
* [<tvar|5>https://commons.wikimedia.org/wiki/Commons:Requests_for_rights/Approved/Autopatrolled/2021#Olaf</> Olaf]
 +
* [<tvar|6>https://commons.wikimedia.org/wiki/Commons:Requests_for_rights/Approved/Autopatrolled/2021#Poemat</> Poemat]
 +
* [<tvar|7>https://commons.wikimedia.org/wiki/Commons:Requests_for_rights/Approved/Autopatrolled/2021#VictorDtmtc</> VictorDtmtc]
 +
* [<tvar|8>https://commons.wikimedia.org/wiki/Commons:Requests_for_rights/Approved/Autopatrolled/2021#Moonhouse</> Moonhouse]
 +
* [<tvar|9>https://commons.wikimedia.org/wiki/Commons:Requests_for_rights/Approved/Autopatrolled/2022#Sagnamadr</> Sagnamadr]
 +
* [https://commons.wikimedia.org/w/index.php?title=Commons:Requests_for_rights&oldid=885158918#DMontagne_en_r%C3%A9sidence DMontagne en résidence]
 +
* [https://commons.wikimedia.org/w/index.php?title=Commons:Requests_for_rights&oldid=885221467#Ardzun Ardzun]
 +
 
 +
== See also == <!--T:38-->
 +
</translate>
 +
* Meet with someone who can increase Wikimedia Commons' ratelimit. See [[LinguaLibre:User_rights]], [[:phab:T172293#6344271]] & [[:mw:Wikimedia_Hackathon_2023/Connect]].
 +
* {{tl|autopatrolled}} — message template for active users meeting the ratelimit of 380 audios per 72mins.
 +
{{Technicals}}

Latest revision as of 07:43, 19 June 2024

Other languages:
Deutsch • ‎English • ‎brezhoneg • ‎français • ‎norsk bokmål

Check your user rights



User rights on Commons

  • Each mediawiki has upload limits according to user groups set via wmf-config/InitialiseSettings.php.
  • See User group rights: c:Special:ListGroupRights
Uploads rate limits on Commons.
Group Minimal condition Ratelimit
Uploads rights

* (all)

Anonymous IP 0

user

Have an account 380 per 4320 sec.

autoconfirmed

4+ days old account 380 per 4320 sec.

autopatrolled

On request 999 per 1 sec.

patroller

On request 999 per 1 sec.

image-reviewer

On request 999 per 1 sec.
4320 sec. = 72 mins.

Commons ratelimits in code

	'+commonswiki' => [ // T132930
		'move' => [ // T232657
			'autopatrolled' => [ 32, 60 ],
			'patroller' => [ 32, 60 ],
			'image-reviewer' => [ 32, 60 ],
		],
		'edit' => [
			'ip' => [ 8 * 15, 60 * 15 ], // T225148
			'newbie' => [ 8 * 15, 60 * 5 ], // T231463
			'user' => [ 900, 60 * 3 ], // T194864
			// Higher rate limit for trusted users
			'image-reviewer' => [ 10500, 60 * 3 ],
			'patroller' => [ 10500, 60 * 3 ],
			'autopatrolled' => [ 10500, 60 * 3 ],
		],
		'upload' => [
			// 380 uploads per 72 minutes
			'user' => [ 380, 4320 ],
			// Effectively no upload rate limit for members of these groups
			'image-reviewer' => [ 999, 1 ],
			'patroller' => [ 999, 1 ],
			'autopatrolled' => [ 999, 1 ],
		],
		'linkpurge' => [
			'patroller' => [ 3000, 60 * 3 ], // T245214
		],
	],


User rights on LinguaLibre

Note: LinguaLibre is not the limiting factor.

Request new user rights

Go to c:Commons:Requests for rights, make a request mentioning your contribution to Lingua Libre and your need for raising the ratelimit.

Examples of past requests :

See also

Lingua Libre technical helps
Template {{Speakers category}} • {{Recommended lists}} • {{To iso 639-2}} • {{To iso 639-3}} • {{Userbox-records}} • {{Bot steps}}
Audio files How to create a frequency list?Convert files formatsDenoise files with SoXRename and mass rename
Bots Help:BotsLinguaLibre:BotHelp:Log in to Lingua Libre with PywikibotLingua Libre Bot (gh) • OlafbotPamputtBotDragons Bot (gh)
MediaWiki MediaWiki: Help:Documentation opérationelle MediawikiHelp:Database structureHelp:CSSHelp:RenameHelp:OAuthLinguaLibre:User rights (rate limit) • Module:Lingua Libre record & {{Lingua Libre record}}JS scripts: MediaWiki:Common.jsLastAudios.jsSoundLibrary.jsItemsSugar.jsLexemeQueriesGenerator.js (pad) • Sparql2data.js (pad) • LanguagesGallery.js (pad) • Gadgets: Gadget-LinguaImporter.jsGadget-Demo.jsGadget-RecentNonAudio.jsLiLiZip.js
Queries Help:APIsHelp:SPARQLSPARQL (intermediate) (stub) • SPARQL for lexemes (stub) • SPARQL for maintenanceLingualibre:Wikidata (stub) • Help:SPARQL (HAL)
Reuses Help:Download datasetsHelp:Embed audio in HTML
Unstable & tests Help:SPARQL/test
Categories Category:Technical reports