Parent5446 has uploaded a new change for review.

Change subject: (bug 3233) Send a cookie with autoblocks to prevent vandalism.
......................................................................

(bug 3233) Send a cookie with autoblocks to prevent vandalism.

Send a cookie with blocks that have autoblock turned on so that
the user will be identified to MediaWiki and any IP they try
to edit anonymously from will be blocked, even without logging
in to the originally blocked account. Additionally, the block
info is stored in local storage as well as an even stronger
deterrence.

Note: this is meant to deter normal vandals, i.e., not attackers
who know what cookies and local storage are and will be actively
removing the cookie.

Change-Id: Ic3383af56c555c1592d272490ff4da683b9d7b1b
---
M includes/OutputPage.php
M includes/User.php
M resources/Resources.php
A resources/mediawiki/mediawiki.autoblock.js
4 files changed, 65 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/29/48029/1
--
To view, visit https://gerrit.wikimedia.org/r/48029
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic3383af56c555c1592d272490ff4da683b9d7b1b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Parent5446 <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to