Page MenuHomePhabricator

AbuseFilter receives wrong page name from WikiLove
Closed, ResolvedPublic

Description

When using WikiLove to send a message to user's talk page, AbuseFilter sees the edit as performed on [[API]] instead of the actual user talk page.

Example:
https://zh.wikipedia.org/wiki/Special:AbuseLog/846904?uselang=en

This edit would end up on [[User talk:Liangent-test]] but here it seems to be on [[API]]


Version: unspecified
Severity: normal

Details

Reference
bz45092

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:34 AM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz45092.

Change-Id: I743942822eb5097d9d98c11088a91395d9e6d47f

(In reply to comment #1)

Change-Id: I743942822eb5097d9d98c11088a91395d9e6d47f

Please paste a valid URL again.

(In reply to comment #2)

(In reply to comment #1)

Change-Id: I743942822eb5097d9d98c11088a91395d9e6d47f

Please paste a valid URL again.

It's being submitted... and I had the Change-Id when this commit was created locally.

  • Bug 45128 has been marked as a duplicate of this bug. ***

(In reply to comment #5)

Is this fixed now?

I guess the problem does not fixed, since the Mediawiki 1.20.3 was released at 2013-03-04 the [https://gerrit.wikimedia.org/r/#/c/49472/ I743942822eb5097d9d98c11088a91395d9e6d47f] was Updated at Feb 19, 2013 7:33 AM.

My wiki still got API in abuse filter log, therefore it should not been fixed.

(In reply to comment #7)

(In reply to comment #5)

Is this fixed now?

I guess the problem does not fixed, since the Mediawiki 1.20.3 was released
at
2013-03-04 the [https://gerrit.wikimedia.org/r/#/c/49472/
I743942822eb5097d9d98c11088a91395d9e6d47f] was Updated at Feb 19, 2013 7:33
AM.

My wiki still got API in abuse filter log, therefore it should not been
fixed.

You should try master or a 1.21wmf* version. New bug fixes are not always backported.

I'm testing on core 65cbaf6369badc08dd6ca5f162209e53f76f4e22 AF 3e81fa56d6d755a99364cd7018b8cdd072ca4a25 WikiLove dce8efc9ea42cdb4ae0d066ec7e998b0de9d4c48 and confirm this bug is fixed.

Since I fix the api bug by replace ApiEditPage.php file, my LQT STOP WORKING.

LQT 1.20 stable can not leave comment, LQT lqt-updates and master ver do not even show "new messages in up right side" and show white screen in user talk page.

Created attachment 11975
patch for 1.20.3

Attached:

(In reply to comment #10)

Since I fix the api bug by replace ApiEditPage.php file, my LQT STOP WORKING.

LQT 1.20 stable can not leave comment, LQT lqt-updates and master ver do not
even show "new messages in up right side" and show white screen in user talk
page.

If you really want to use it in 1.20... try to patch ApiEditPage.php in the way given above (completely untested)?

Ok, it looks good, LQT work as normal.