Matthias Mullie has uploaded a new change for review.

Change subject: Fix checkuser entries for automatic unhide
......................................................................

Fix checkuser entries for automatic unhide

After certain flags, some automated flags happen (e.g. requesting oversight -> 
autohide; decline oversight request -> unhide). The auto-unhides are currently 
being logged without user-info (unlike the autohides); in the log, they are 
then identified as being performed by "Article Feedback v5", which is ok 
(although inconsistent). In checkuser however, if no ip is known, the IP is 
derived from the request. As a result, an entry for user_text "Article Feedback 
v5" is saved with the IP from the request (a real user's ip), leading to 
strange results.
To get rid of these weird results and to make everything consistent, automatic 
unhiding will now also register (just like autohide and autoflag) as being 
performed by the user.

Change-Id: I5f30eaffdd4890b4e2f60e3f92f27b623dcfc128
---
M ArticleFeedbackv5.flagging.php
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ArticleFeedbackv5 
refs/changes/59/42759/1
--
To view, visit https://gerrit.wikimedia.org/r/42759
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5f30eaffdd4890b4e2f60e3f92f27b623dcfc128
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ArticleFeedbackv5
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <mmul...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to