[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-05-25 Thread Addshore
Addshore merged a task: T269223: Introduce a rate limiting for item ID creation 
on Wikidata.
Addshore added subscribers: WMDE-leszek, MisterSynergy, Bugreporter.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Addshore
Cc: Bugreporter, MisterSynergy, WMDE-leszek, So9q, Mohammed_Sadat_WMDE, 
Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, Aklapper, 
Lucas_Werkmeister_WMDE, Invadibot, maantietaja, Akuckartz, Iflorez, alaa_wmde, 
Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-03-02 Thread Lydia_Pintscher
Lydia_Pintscher closed this task as "Resolved".
Lydia_Pintscher added a comment.


  \o/

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Lydia_Pintscher
Cc: So9q, Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, 
Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, 
Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Jonas, abian, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-17 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Maintenance_bot
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331, Alter-paule, 
Beast1978, Un1tY, Hook696, Kent7301, joker88john, CucyNoiD, Gaboe420, 
Giuliamocci, Cpaulf30, Af420, Bsandipan, Lewizho99, Maathavan
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-17 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE moved this task from Peer Review to Test (Verification) 
on the Wikidata-Campsite (Wikidata-Campsite-Iteration-∞) board.
Lucas_Werkmeister_WMDE added a comment.


  Alright, the rate limit should now be enabled on Wikidata.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

WORKBOARD
  https://phabricator.wikimedia.org/project/board/3539/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Beast1978, Un1tY, Akuckartz, 
Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, 
Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-17 Thread Stashbot
Stashbot added a comment.


  Mentioned in SAL (#wikimedia-operations) [2021-02-17T13:19:47Z] 
 Synchronized 
wmf-config/InitialiseSettings.php: Config: [[gerrit:664593|Enable Wikibase Repo 
ID generator rate limiting on Wikidata (T272032 
)]] (duration: 01m 11s)

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Stashbot
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Beast1978, Un1tY, Akuckartz, 
Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, 
Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-17 Thread gerritbot
gerritbot added a comment.


  Change 664593 **merged** by jenkins-bot:
  [operations/mediawiki-config@master] Enable Wikibase Repo ID generator rate 
limiting on Wikidata
  
  https://gerrit.wikimedia.org/r/664593

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, gerritbot
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Beast1978, Un1tY, Akuckartz, 
Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, 
Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-16 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  If the rate limit as it stands is not enough, we could maybe consider 
something like this:
  
diff --git a/repo/includes/Api/ModifyEntity.php 
b/repo/includes/Api/ModifyEntity.php
index d040105732..4a0d083544 100644
--- a/repo/includes/Api/ModifyEntity.php
+++ b/repo/includes/Api/ModifyEntity.php
@@ -357,28 +357,38 @@ private function loadEntityFromSavingHelper( 
?EntityId $entityId ): EntityDocume
$entity = $this->entitySavingHelper->loadEntity( $entityId, 
EntitySavingHelper::NO_FRESH_ID );
 
if ( $entity->getId() === null ) {
// Make sure the user is allowed to create an entity 
before attempting to assign an id
$permStatus = 
$this->permissionChecker->getPermissionStatusForEntity(
$this->getUser(),
EntityPermissionChecker::ACTION_EDIT,
$entity
);
if ( !$permStatus->isOK() ) {
$this->errorReporter->dieStatus( $permStatus, 
'permissiondenied' );
}
 
$entity = $this->entitySavingHelper->loadEntity( 
$entityId, EntitySavingHelper::ASSIGN_FRESH_ID );
+   // since we assigned a fresh entity ID, “punish” the 
user if an API error happens after this point
+   // (which means the ID was wasted, since no entity will 
be saved)
+   // by increasing the same rate limit which 
RateLimitingIdGenerator also checks, but with a larger increment
+   $this->getHookContainer()->register(
+   'ApiMain::onException',
+   function () {
+   $this->getUser()->pingLimiter( 
'wikibase-idgenerator', 10 );
+   // result is ignored, we only bump the 
limit for the next check in RateLimitingIdGenerator
+   }
+   );
}
 
return $entity;
}
  
  (This is just a sketch, I haven’t tested it yet. I also don’t know if adding 
a hook at runtime like this is considered acceptable or not.)

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Beast1978, Un1tY, Akuckartz, 
Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, 
Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-16 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, gerritbot
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Beast1978, Un1tY, Akuckartz, 
Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, 
Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-16 Thread gerritbot
gerritbot added a comment.


  Change 664593 had a related patch set uploaded (by Lucas Werkmeister (WMDE); 
owner: Lucas Werkmeister (WMDE)):
  [operations/mediawiki-config@master] Enable Wikibase Repo ID generator rate 
limiting on Wikidata
  
  https://gerrit.wikimedia.org/r/664593

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, gerritbot
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-16 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Maintenance_bot
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331, Alter-paule, 
Beast1978, Un1tY, Hook696, Kent7301, joker88john, CucyNoiD, Gaboe420, 
Giuliamocci, Cpaulf30, Af420, Bsandipan, Lewizho99, Maathavan
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-16 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  Tested using a script to send a burst of 150 bad item ID creation requests 
(P14376 ).
  
  Output before deploying the change:
  
Bot username: Lucas Werkmeister (WMDE)@T272032_test
Bot password: 
Q214286
{'not-recognized-array': 150}
Q214437
  
  The only error I got was an error about the bad `labels` array I passed in, 
and the item ID counter was increased by 150 between the two good “marker” 
items, one per failed request.
  
  Output after deploying the config change:
  
Bot username: Lucas Werkmeister (WMDE)@T272032_test
Bot password: 
Q214438
{'not-recognized-array': 89, 'no-automatic-entity-id': 61}
Traceback (most recent call last):
  File "./floodids.py", line 49, in 
print(marker_item())
  File "./floodids.py", line 19, in marker_item
return session.post(action='wbeditentity',
  File "/home/luwe/.local/lib/python3.8/site-packages/mwapi/session.py", 
line 340, in post
return self.request('POST', params=params, auth=auth,
  File "/home/luwe/.local/lib/python3.8/site-packages/mwapi/session.py", 
line 170, in request
return self._request(method, params=normal_params, auth=auth,
  File "/home/luwe/.local/lib/python3.8/site-packages/mwapi/session.py", 
line 126, in _request
raise APIError.from_doc(doc['error'])
mwapi.errors.APIError: no-automatic-entity-id: Cannot automatically assign 
ID: As an anti-abuse measure, you are limited from performing this action too 
many times in a short space of time, and you have exceeded this limit. Please 
try again in a few minutes. -- See https://test.wikidata.org/w/api.php for API 
usage. Subscribe to the mediawiki-api-announce mailing list at 
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce; for 
notice of API deprecations and breaking changes.
  
  After the last error, I manually created a new item on the website and it got 
the ID Q214528, so this time the item ID counter was only increased by 89 
between the marker items, and the remaining 61 requests got a 
`no-automatic-entity-id` error without further increasing the counter. That 
would match the rate limit of 90/minute.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Beast1978, Un1tY, Akuckartz, 
Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, 
Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-16 Thread Stashbot
Stashbot added a comment.


  Mentioned in SAL (#wikimedia-operations) [2021-02-16T12:39:54Z] 
 Synchronized wmf-config/Wikibase.php: 
Config: [[gerrit:664507|Enable Wikibase Repo ID generator rate limiting on Test 
Wikidata (T272032 )]] 2/2 (duration: 
01m 06s)

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Stashbot
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Beast1978, Un1tY, Akuckartz, 
Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, 
Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-16 Thread Stashbot
Stashbot added a comment.


  Mentioned in SAL (#wikimedia-operations) [2021-02-16T12:38:35Z] 
 Synchronized 
wmf-config/InitialiseSettings.php: Config: [[gerrit:664507|Enable Wikibase Repo 
ID generator rate limiting on Test Wikidata (T272032 
)]] 1/2 (duration: 01m 12s)

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Stashbot
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Beast1978, Un1tY, Akuckartz, 
Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, 
Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-16 Thread gerritbot
gerritbot added a comment.


  Change 664507 **merged** by jenkins-bot:
  [operations/mediawiki-config@master] Enable Wikibase Repo ID generator rate 
limiting on Test Wikidata
  
  https://gerrit.wikimedia.org/r/664507

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, gerritbot
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Beast1978, Un1tY, Akuckartz, 
Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, 
Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-16 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, gerritbot
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Beast1978, Un1tY, Akuckartz, 
Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, 
Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-16 Thread gerritbot
gerritbot added a comment.


  Change 664507 had a related patch set uploaded (by Lucas Werkmeister (WMDE); 
owner: Lucas Werkmeister (WMDE)):
  [operations/mediawiki-config@master] Enable Wikibase Repo ID generator rate 
limiting on Test Wikidata
  
  https://gerrit.wikimedia.org/r/664507

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, gerritbot
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-15 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  Alright, I’ve added it to Other Noteworthy Stuff for now – feel free to edit 
it and/or move it around.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-12 Thread Lydia_Pintscher
Lydia_Pintscher added a comment.


  Let's go ahead and mention it in the next weekly summary.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Lydia_Pintscher
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-11 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  The code for this should now be rolled out, so we can enable it in 
production. Do we need to wait for anything (e.g. announcement) or can we go 
ahead?

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-08 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  True, I probably should’ve done that for those options.
  
  Which reminds me, we should have a task for removing both 
`idGeneratorLogging` and `idGeneratorRateLimiting`. (Probably two tasks.) I’ll 
go and create them.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-08 Thread Addshore
Addshore added a comment.


  The `idGeneratorRateLimiting` option. Aah, if this is only planned to be a 
temporary option then I wouldn't bother.
  In the past we have prefixed similar temporary options with `tmp` or 
mentioned it in the doc block.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Addshore
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-08 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  What would you expect in options.md – the rate limit itself, or the 
`idGeneratorRateLimiting` option? I’d expect the latter to be temporary.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-08 Thread Addshore
Addshore added a comment.


  @Lucas_Werkmeister_WMDE looking at 
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/660864 the 
options.md docs are not updated.
  Looking at the current options we choose to document there this should 
probably have an entry

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Addshore
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-04 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  Alright. Suggested summary:
  
  > Later this week, we will enable a rate limit for assigning new item IDs. 
Bots and users who successfully create items should notice no change, since the 
rate limit is equal to the existing limit on all edits. However, both that 
often //fail// to create items may start to see different error messages than 
usual. We hope that this will reduce the problem of skipped item IDs.
  
  (Wasn’t sure if that would belong under Other Noteworthy Stuff or 
Development, so I’m putting it here.)

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-04 Thread Lydia_Pintscher
Lydia_Pintscher added subscribers: Lea_Lacroix_WMDE, Mohammed_Sadat_WMDE.
Lydia_Pintscher added a comment.


  I think we can turn it on and is not a significant change. I think it does 
deserve a mention at least in the weekly summary though.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Lydia_Pintscher
Cc: Mohammed_Sadat_WMDE, Lea_Lacroix_WMDE, Lydia_Pintscher, noarave, Addshore, 
Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, Nandana, 
lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-04 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, Maintenance_bot
Cc: Lydia_Pintscher, noarave, Addshore, Aklapper, Lucas_Werkmeister_WMDE, 
Akuckartz, Iflorez, alaa_wmde, Nandana, lucamauri, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, Wikidata-bugs, aude, Mbch331, Alter-paule, Beast1978, Un1tY, Hook696, 
Kent7301, joker88john, CucyNoiD, Gaboe420, Giuliamocci, Cpaulf30, Af420, 
Bsandipan, Lewizho99, Maathavan
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-04 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE moved this task from Peer Review to Doing on the 
Wikidata-Campsite (Wikidata-Campsite-Iteration-∞) board.
Lucas_Werkmeister_WMDE added a subscriber: Lydia_Pintscher.
Lucas_Werkmeister_WMDE added a comment.


  Alright, the rate limit is merged but disabled by default. @Lydia_Pintscher 
do you think this needs an announcement as a significant change, or can we turn 
it on in production as soon as the code is rolled out?

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

WORKBOARD
  https://phabricator.wikimedia.org/project/board/3539/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lydia_Pintscher, noarave, Addshore, Aklapper, Lucas_Werkmeister_WMDE, 
Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, 
alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, lucamauri, Giuliamocci, 
Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, 
LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-04 Thread ReleaseTaggerBot
ReleaseTaggerBot added a project: MW-1.36-notes (1.36.0-wmf.30; 2021-02-09).

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, ReleaseTaggerBot
Cc: noarave, Addshore, Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, 
Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, 
joker88john, CucyNoiD, Nandana, Gaboe420, lucamauri, Giuliamocci, Cpaulf30, 
Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, 
aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-04 Thread gerritbot
gerritbot added a comment.


  Change 660864 **merged** by jenkins-bot:
  [mediawiki/extensions/Wikibase@master] Add wikibase-idgenerator rate limit
  
  https://gerrit.wikimedia.org/r/660864

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, gerritbot
Cc: noarave, Addshore, Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, 
Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, 
joker88john, CucyNoiD, Nandana, Gaboe420, lucamauri, Giuliamocci, Cpaulf30, 
Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, 
aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-03 Thread noarave
noarave added a comment.


  For verifying this locally: 
  add the following to your LocalSettings.php:
  $wgRateLimits['wikibase-idgenerator']['user'] = [ 0, 60 ]; // 1 per minute
  $wgRateLimits['wikibase-idgenerator']['anon'] = [ 0, 60 ]; // 1 per minute
  $wgMainCacheType = CACHE_DB;
  
  (the rate limit for 'anon' is probably enough but I have both so pasted both 
here)
  Open a private window and try to create an item without logging in. you 
should receive an error.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, noarave
Cc: noarave, Addshore, Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, 
Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, 
joker88john, CucyNoiD, Nandana, Gaboe420, lucamauri, Giuliamocci, Cpaulf30, 
Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, 
Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, 
aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-01 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, gerritbot
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Alter-paule, Beast1978, Un1tY, 
Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, 
Nandana, Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, 
Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, 
_jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, 
Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-01 Thread gerritbot
gerritbot added a comment.


  Change 660864 had a related patch set uploaded (by Lucas Werkmeister (WMDE); 
owner: Lucas Werkmeister (WMDE)):
  [mediawiki/extensions/Wikibase@master] Add wikibase-idgenerator rate limit
  
  https://gerrit.wikimedia.org/r/660864

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE, gerritbot
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, 
Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, 
Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-02-01 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE claimed this task.
Lucas_Werkmeister_WMDE moved this task from To Do (prioritised from top to 
bottom) to Doing on the Wikidata-Campsite (Wikidata-Campsite-Iteration-∞) board.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

WORKBOARD
  https://phabricator.wikimedia.org/project/board/3539/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, 
Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, 
Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-01-27 Thread darthmon_wmde
darthmon_wmde moved this task from Prioritized Product (prioritised from top to 
bottom) to Wikidata-Campsite-Iteration-∞ on the Wikidata-Campsite board.
darthmon_wmde edited projects, added Wikidata-Campsite 
(Wikidata-Campsite-Iteration-∞); removed Wikidata-Campsite.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

WORKBOARD
  https://phabricator.wikimedia.org/project/board/3402/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: darthmon_wmde
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Iflorez, alaa_wmde, 
Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, 
Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-01-27 Thread darthmon_wmde
darthmon_wmde updated the task description.
darthmon_wmde set the point value for this task to "8".

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: darthmon_wmde
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Nandana, lucamauri, 
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-01-27 Thread darthmon_wmde
darthmon_wmde updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: darthmon_wmde
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Nandana, lucamauri, 
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-01-27 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  I think the entity ID generation currently happens in 
`EntitySavingHelper::loadEntity()` (called by `ModifyEntity`, the parent class 
of `EditEntity` and others; calls `createEntity()`, which calls 
`EntityStore::assignFreshId()`), while the “create” rate limit is checked later 
in `MediawikiEditEntity::attemptSave()` (calls `checkRateLimits()`).
  
  I would suggest implementing this using a new `IdGenerator` implementation 
that wraps another generator and checks the rate limit before delegating to it, 
similar to the `LoggingIdGenerator` we introduced for the investigation.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Nandana, lucamauri, 
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-01-27 Thread darthmon_wmde
darthmon_wmde updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: darthmon_wmde
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Nandana, lucamauri, 
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-01-27 Thread darthmon_wmde
darthmon_wmde updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: darthmon_wmde
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Nandana, lucamauri, 
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-01-25 Thread Lydia_Pintscher
Lydia_Pintscher triaged this task as "High" priority.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lydia_Pintscher
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Nandana, lucamauri, 
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-01-25 Thread Lydia_Pintscher
Lydia_Pintscher updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lydia_Pintscher
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Nandana, lucamauri, 
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-01-18 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  I suppose that would also be an option. I feel like it would be more 
difficult to implement, but maybe no.

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Nandana, lucamauri, 
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-01-18 Thread Addshore
Addshore added a comment.


  It sounds like a slightly different way of wording this would be to ensure 
that the existing page creation limit check happens before IDs are created to 
be assigned?

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Nandana, lucamauri, 
Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T272032: Add rate limit for creating Item IDs

2021-01-14 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE created this task.
Lucas_Werkmeister_WMDE added projects: MediaWiki-extensions-WikibaseRepository, 
Wikidata, Wikidata-Campsite.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  To prevent users from allocating large numbers of unassigned Item IDs, we 
want to add a rate limit in front of the ID generator. If users try to generate 
too many IDs – regardless of what exactly is causing them to generate so many 
IDs – they should get a rate limit error, and no further IDs should be 
generated until the rate limit expires. The rate limit should be the same as 
the existing limit for page creation. See also T268625#6651847 
.
  
  **Open questions:**
  
  - Is this one rate limit per entity type (separate limits for Item and Lexeme 
IDs) or one overall limit? (I’m leaning towards “one limit” – after all, the 
page creation rate limit also includes all entity types, I believe.)

TASK DETAIL
  https://phabricator.wikimedia.org/T272032

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Lucas_Werkmeister_WMDE, Akuckartz, Nandana, lucamauri, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs