Page MenuHomeDevCentral

Allow .+prenom and .+nom on #wikidata-fr for every user
ClosedPublic

Authored by dereckson on Aug 10 2016, 14:26.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 21:36
Unknown Object (File)
Mon, Apr 22, 21:31
Unknown Object (File)
Sat, Apr 20, 04:26
Unknown Object (File)
Fri, Apr 19, 03:46
Unknown Object (File)
Fri, Apr 19, 02:40
Unknown Object (File)
Thu, Apr 18, 21:04
Unknown Object (File)
Mon, Apr 15, 21:44
Unknown Object (File)
Sun, Apr 14, 22:20
Subscribers
None

Details

Summary

To protect against potential abuse, the flag D is currently required
to run commands. As #wikidata-fr is dedicated for Wikidata work, and
there is no particular issue on this channel, this access control is
more a blocker for legitimate work than useful to stop vandalism.

This change removes this access control for whitelisted channels,
and keeps it in other channels.

Fixes T903.

[ New registry setting ]

  • wikidata.channels: a list of channels where everyone is allowed to use Wikidata commands.
Test Plan
  • areWikidataCommandsAllowed and isWikidataChannel tested with all the four scenarii (D user or not, in Wikidata channel or not).
  • areWikidataCommandsAllowed tested not to query registry when the user has the D flag, to avoid a MySQL query.

Diff Detail

Repository
rVIPER ViperServ scripts
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to Allow .+prenom and .+nom on #wikidata-fr for every user.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added reviewers: Ash-Crow, dachary.
dereckson added a reviewer: dereckson.

@Ash-Crow approved for the #wikidata-fr users the opportunity of the change.

This was also previously discussed on the channel with Harmonia Amanda and Ash.

This revision is now accepted and ready to land.Aug 10 2016, 14:49
This revision was automatically updated to reflect the committed changes.