Last modified: 2013-06-10 08:53:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51355, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49355 - Edit filter warning blocks sysop page deletion activity
Edit filter warning blocks sysop page deletion activity
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://mr.wikipedia.org/wiki/Special...
:
: 49356 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-09 07:23 UTC by Mahitgar
Modified: 2013-06-10 08:53 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
The unexpected message apearing to unsuspecting sysop (7.70 KB, image/png)
2013-06-09 07:26 UTC, Mahitgar
Details

Description Mahitgar 2013-06-09 07:23:08 UTC
*In sysop's regular page deletion activity: At drop down menu of page to be deleted sysop selects delete >> A confirmation screen apears >> Sysop clicks 'Delete' Button >> Page gets deleted.

*By ommission if any edit filter having active Warning message does not exclude  sysops in user group (usually Autoconfirmed users in user group), and matches a page being deleted by sysop then it creats a situation that a sysop deletion activity gets unexpectedly  partially blocked.The process happens some thing like following 

::*At drop down menu of page to be deleted sysop selects delete >> A confirmation screen apears >> Sysop clicks 'Delete' Button >> Deletion activity gets partialy blocked>>Media wiki message "Cannot delete page "$1" " page  apears via  MediaWiki:Cannotdelete-title (This block can be unexpected to unsuspecting sysop) >> This block is partial and a not real one  because actually if you press back button at the browser and again click delete the page gets successfully deleted.(Probablly this happens because a warning message stops you temporarily and when you click action (save or delete) it executes asked action. 

::Is this a problem ?Although not a serious one, still yes it is important problem. we have more than 700 wiki's under wikimedia umbrella and all filter managers and sysops may not be aware of this glitch.And can cause confusion and mis-understanding. 

::Why wikis usually do not complain about this,most of the filters exclude sysop group indirectly by excluding usually Autoconfirmed users in user group.But it is preferable to fix it as informed in above point.

::Is there a way we can avoid this ? When sysop has already selected action delete,then Edit filter should avoid trigerring of the warning message.  

::Temporary solution is updating 'MediaWiki:Cannotdelete-title'  message a separate bug will be filed soon for the same purpose.

::are there any associated issues yes two of them 

::Associated issue 1: Associated  Media wiki message "Cannot delete page "$1" " is misleading and can be improved upon a separate bug will be soon filed for the same 

::Associated(?) issue 2:: Technical simmilarity to bug no 45195 :Along with the 'MediaWiki:Cannotdelete-title' message the related warning message also is seen.Only at this instance related warning media message does not show internal wikilinks and behaves as in bug 45195.
Comment 1 Mahitgar 2013-06-09 07:26:49 UTC
Created attachment 12501 [details]
The unexpected message apearing  to unsuspecting sysop

The unexpected message apearing  to unsuspecting sysop
Comment 2 Mahitgar 2013-06-09 08:24:03 UTC
Comment on attachment 12501 [details]
The unexpected message apearing  to unsuspecting sysop

Media wiki message "Cannot delete page "$1" " page 
apears via  MediaWiki:Cannotdelete-title (This block can be unexpected to
unsuspecting sysop)
Comment 3 Nemo 2013-06-09 08:50:48 UTC
*** Bug 49356 has been marked as a duplicate of this bug. ***
Comment 4 Mahitgar 2013-06-09 08:58:25 UTC
Associated issue 1: Since bug no 49356 is cancelled being duplicate of this bug request in that bug is transfered here as below:

Message " Cannot delete page "$1" " by " MediaWiki:Cannotdelete-title "
misleads sysops in certain specific situation. 


*Please update it as below:

"Unable delete page "$1" an edit filter's triggered warning message has blocked
deletion process untill you press back on your browser and repeat/click delete
action again.Afterwards you consider  for edit filter no. "x" for excluding
Sysops in user group by inclusion  of syntax: & !("sysop" in user_groups) "
Comment 5 Nemo 2013-06-09 09:02:24 UTC
You set up a filter that filters deletion for that page, so I don't understand what you would expect. [[mr:Special:AbuseFilter/101]] [[mr:Special:AbuseLog/34951]]
The notes in the filter contain the conditions you have to add so that this doesn't happen, why didn't you use them?

The only possible bug I see here is: were you shown the warning you set up for the filter, or not?
Comment 6 Mahitgar 2013-06-09 09:44:58 UTC
Mr-edit filter 101 is still in its very early stage of being written and currently is being tested for checking apearance of warning messages.You might have seen is disabled after certain number of tests.

>>why didn't you use them?<< 

Being a sysop I can not experience warning message myself;How warning message apears to others,I wanted to experience and confirm to myself before it reaches larger audience- so the condition was excluded with a purpose.  

>>You set up a filter that filters deletion for that page<< 

No, filter being written is not for deletion for a particular page.(When completed it will be a filter for specific group of pages to adress certain different specific situation and that is not relevant for this bug). What you saw is deletion of a test page/sand box page for realtime experince in main namespace.I first attempted to delete the test page so I had completed work on the test page.That made me remember this bug we experinced a year back and created some confusion and misunderstanding then which was later cleared. 

I did not file the bug then itself because that time I was new with Edit filters, but bug was at back of mind.Today I remembered with this instance.Since I decided to file the bug so I tested it more times for the situation that includes deletion.Since I tried to delete it multiple times you thought it has relation to deletion.Thats how this bug has potential of creating confusion and misunderstanding.
Comment 7 Mahitgar 2013-06-09 09:58:48 UTC
(In reply to comment #5)
> You set up a filter that filters deletion for that page, so I don't
> understand
> what you would expect. [[mr:Special:AbuseFilter/101]]
> [[mr:Special:AbuseLog/34951]]
> The notes in the filter contain the conditions you have to add so that this
> doesn't happen, why didn't you use them?
> 
> The only possible bug I see here is: were you shown the warning you set up
> for
> the filter, or not?


>>The only possible bug I see here is: were you shown the warning you set up
for  the filter, or not? <<

Sorry , along with the warning I see one more unxpected message "Media wiki message "Cannot delete page "$1" for the given situation.And that is a bug.

Best thing is you recreate a situation given in bug report.

Regards
Comment 8 Nemo 2013-06-09 10:04:34 UTC
(In reply to comment #6)
> >>You set up a filter that filters deletion for that page<< 
> 
> No, filter being written is not for deletion [...]

It currently is. If you don't want deletion to be filtered, add: & (action == "edit")
Comment 9 Mahitgar 2013-06-10 08:41:01 UTC
(In reply to comment #8)
> (In reply to comment #6)
> > >>You set up a filter that filters deletion for that page<< 
> > 
> > No, filter being written is not for deletion [...]
> 
> It currently is. If you don't want deletion to be filtered, add: & (action ==
> "edit")


:Sorry, I took more time to understand the hitch.So what I reported as a main bug is not a bug.To avoid the goof-up by others in future can we still update concerned MediaWiki message  " MediaWiki:Cannotdelete-title " to :

"Deletion process of page "$1"  got partialy blocked by filter no. "x";You can still press back on your browser and repeat/click delete action again.

To avoid recurrance of the same situation later you can update filter no. "x" by adding suitable condition 'action == "edit" or you can exclude Sysops in user group by inclusion  of syntax: & !("sysop" in user_groups) "
Comment 10 Nemo 2013-06-10 08:53:57 UTC
(In reply to comment #9)
> Sorry, I took more time to understand the hitch.So what I reported as a main
> bug is not a bug.

Ok, closing this one then.

> "Deletion process of page "$1"  got partialy blocked by filter no. "x";You
> can
> still press back on your browser and repeat/click delete action again.

Please file a separate bug if the answer to this question is "no":

(In reply to comment #5)
> were you shown the warning you set up
> for the filter, or not?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links