https://bugzilla.wikimedia.org/show_bug.cgi?id=44602

Rainer Rillke @commons.wikimedia <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Require POST for all        |Require POST for all
                   |changes                     |changes; Never change
                   |                            |content on HEAD-request

--- Comment #2 from Rainer Rillke @commons.wikimedia <[email protected]> 
---
(In reply to comment #1)
>HEAD requests shouldn't trigger rollback (and if they do, that's a bug)
Just tested and they did:

var xmlhttp = window.XMLHttpRequest ? 
   new XMLHttpRequest() : 
   new window.ActiveXObject("Microsoft.XMLHTTP"); 

 xmlhttp.open(
  "HEAD", 
  "URL",
  true
 );
 xmlhttp.onreadystatechange = function() {
  if (4 === xmlhttp.readyState) alert(xmlhttp.getAllResponseHeaders())
 }
 xmlhttp.send(null);

resulted in
https://commons.wikimedia.org/w/index.php?title=User_talk:Rillke/LicenseReview.js&diff=prev&oldid=89617364
this edit.

> what about opening revert links on another tab/window
This is indeed an issue. Perhaps there is a way to proper visualize the result
using JavaScript or there is something we're just not seeing...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to