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

Brion Vibber <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #3 from Brion Vibber <[email protected]> 2011-10-06 00:53:25 UTC 
---
Actually I think I see where this is happening!

The problem is the 'action=raw' without the ctype parameter... we guessed
people were doing these manually, but I don't think they are.

importScript correctly adds the &ctype=text/javascript .... but it can get
stripped in a redirect case.

The affected user's vector.js page loads up what's meant to be the same user's
monobook.js by doing an importScript on a Special:MyPage subpage:


https://en.wikipedia.org/wiki/User:Shubinator/vector.js

  importScript('Special:MyPage/monobook.js');

This goes off to load the very sensible:
https://en.wikipedia.org/w/index.php?title=Special:MyPage/monobook.js&action=raw&ctype=text/javascript

HOWEVER!

That then redirects us to the actual user page.... and drops the ctype
parameter:
https://en.wikipedia.org/w/index.php?title=User:Brion_VIBBER/monobook.js&action=raw

So the actual bug looks like Special:MyPage not forwarding other query string
parameters.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to