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.

(Marked this version for translation)
Line 1: Line 1:
{{#Subtitle:<translate>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>
+
{{#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/>
 
<languages/>
 
<translate>
 
<translate>
== Check your user rights ==
+
== Check your user rights == <!--T:2-->
  
 +
<!--T:3-->
 
* Check a user's groups :
 
* Check a user's groups :
 
** On Commons: <tvar|1>[[:c:Commons:Special:UserRights]]</> > enter username.
 
** On Commons: <tvar|1>[[:c:Commons:Special:UserRights]]</> > enter username.
Line 321: Line 322:
  
 
<translate>
 
<translate>
== User rights on Commons ==
+
== User rights on Commons == <!--T:4-->
  
 +
<!--T:5-->
 
* Each mediawiki has upload limits according to user groups set via <code>wmf-config/InitialiseSettings.php</code>.
 
* Each mediawiki has upload limits according to user groups set via <code>wmf-config/InitialiseSettings.php</code>.
 
* See User group rights: [[:c:Special:ListGroupRights]]
 
* See User group rights: [[:c:Special:ListGroupRights]]
Line 328: Line 330:
  
 
{| class="wikitable"
 
{| class="wikitable"
|+ <translate>Uploads rate limits on Commons.</translate>
+
|+ <translate><!--T:6--> Uploads rate limits on Commons.</translate>
 
|-
 
|-
!rowspan=2| <translate>Group</translate>  
+
!rowspan=2| <translate><!--T:7--> Group</translate>  
!rowspan=2| <translate>Minimal condition</translate>
+
!rowspan=2| <translate><!--T:8--> Minimal condition</translate>
!colspan=1| <translate>Ratelimit</translate>
+
!colspan=1| <translate><!--T:9--> Ratelimit</translate>
 
|-
 
|-
! <translate>Uploads rights</translate>
+
! <translate><!--T:10--> Uploads rights</translate>
 
|-
 
|-
 
|  
 
|  
<code>*</code> <translate>(all)</translate>
+
<code>*</code> <translate><!--T:11--> (all)</translate>
|| <translate>Anonymous IP</translate> || <translate>0</translate>
+
|| <translate><!--T:12--> Anonymous IP</translate> || <translate><!--T:13--> 0</translate>
 
|-
 
|-
 
|  
 
|  
<code><translate>user</translate></code>  
+
<code><translate><!--T:14--> user</translate></code>  
|| <translate>Have an account</translate> || <translate>380 per 4320 sec.</translate>
+
|| <translate><!--T:15--> Have an account</translate> || <translate><!--T:16--> 380 per 4320 sec.</translate>
 
|-
 
|-
 
|  
 
|  
<code><translate>[[<tvar|1>c:Commons:Spcial:MyLanguage/Autoconfirmed_users</>|autoconfirmed]]</translate></code>
+
<code><translate><!--T:17--> [[<tvar|1>c:Commons:Spcial:MyLanguage/Autoconfirmed_users</>|autoconfirmed]]</translate></code>
|| <translate>4+ days old account</translate> || <translate>380 per 4320 sec.</translate>
+
|| <translate><!--T:18--> 4+ days old account</translate> || <translate><!--T:19--> 380 per 4320 sec.</translate>
 
|-
 
|-
 
|  
 
|  
<code><translate>autopatrolled</translate></code>
+
<code><translate><!--T:20--> autopatrolled</translate></code>
| <translate>[[:c:Commons:Requests for rights|On request]]</translate> || <translate>999 per 1 sec.</translate>
+
| <translate><!--T:21--> [[:c:Commons:Requests for rights|On request]]</translate> || <translate><!--T:22--> 999 per 1 sec.</translate>
 
|-
 
|-
 
|  
 
|  
<code><translate>patroller</translate></code>
+
<code><translate><!--T:23--> patroller</translate></code>
| <translate>On request</translate> || <translate>999 per 1 sec.</translate>
+
| <translate><!--T:24--> On request</translate> || <translate><!--T:25--> 999 per 1 sec.</translate>
 
|-
 
|-
 
|  
 
|  
<code><translate>image-reviewer</translate></code>
+
<code><translate><!--T:26--> image-reviewer</translate></code>
| <translate>On request</translate> || <translate>999 per 1 sec.</translate>
+
| <translate><!--T:27--> On request</translate> || <translate><!--T:28--> 999 per 1 sec.</translate>
 
|-
 
|-
|colspan=3|<small><translate>4320 sec. = 72 mins.</translate></small>
+
|colspan=3|<small><translate><!--T:29--> 4320 sec. = 72 mins.</translate></small>
 
|}
 
|}
  
 
<translate>
 
<translate>
=== Commons ratelimits in code ===
+
=== Commons ratelimits in code === <!--T:30-->
  
 +
<!--T:31-->
 
* Likely: [<tvar|1https://gerrit.wikimedia.org/r/plugins/gitiles/operations/mediawiki-config/+/refs/heads/master/wmf-config/InitialiseSettings.php#9983</> Here]
 
* Likely: [<tvar|1https://gerrit.wikimedia.org/r/plugins/gitiles/operations/mediawiki-config/+/refs/heads/master/wmf-config/InitialiseSettings.php#9983</> Here]
 
</translate>
 
</translate>
Line 400: Line 403:
  
 
<translate>
 
<translate>
== User rights on LinguaLibre ==
+
== 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-->
  
 +
<!--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.
 
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 :
 
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]
 
* [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|1>https://commons.wikimedia.org/w/index.php?title=Commons:Requests_for_rights&oldid=492690242#Vealhurl</> Vealhurl]
Line 422: Line 429:
 
* [<tvar|9>https://commons.wikimedia.org/wiki/Commons:Requests_for_rights/Approved/Autopatrolled/2022#Sagnamadr</> Sagnamadr]
 
* [<tvar|9>https://commons.wikimedia.org/wiki/Commons:Requests_for_rights/Approved/Autopatrolled/2022#Sagnamadr</> Sagnamadr]
  
== See also ==
+
== See also == <!--T:38-->
 
</translate>
 
</translate>
 
* [[:phab:T172293#6344271]]
 
* [[:phab:T172293#6344271]]
 
* {{tl|autopatrolled}} — message template for active users meeting the ratelimit of 380 audios per 72mins.
 
* {{tl|autopatrolled}} — message template for active users meeting the ratelimit of 380 audios per 72mins.
 
{{Technicals}}
 
{{Technicals}}

Revision as of 09:52, 25 February 2023

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

  • Likely: [<tvar|1https://gerrit.wikimedia.org/r/plugins/gitiles/operations/mediawiki-config/+/refs/heads/master/wmf-config/InitialiseSettings.php#9983</> Here]
	'+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