The script's 90% of the way there, but there's one major oversight. If the input URL already has a # in it (i.e. a link to a section of a page, e.g. /Number_sign#Computing), it breaks. It doesn't take the # into account and just appends the "?useskin=vector" query to the very end of the URL, after the #'s contents (e.g. /Number_sign#Computing?useskin=vector), rendering it useless and r###lting in Vector 2022 being served.
(Any invocations of a # that occur after the page is loaded—links to sections within the page itself, or even links to sections from redirects—still work correctly, though, which makes sense given the script's mode of action.)
On a positive note, it's otherwise the most consistent skin-switching solution I've found. I'm especially pleasantly surprised to discover that it seems to handle wiki searches (including from browser search boxes) perfectly, since that's a fairly common point of failure for such solutions.
The script's 90% of the way there, but there's one major oversight. If the input URL already has a # in it (i.e. a link to a section of a page, e.g. /Number_sign#Computing), it breaks. It doesn't take the # into account and just appends the "?useskin=vector" query to the very end of the URL, after the #'s contents (e.g. /Number_sign#Computing?useskin=vector), rendering it useless and r###lting in Vector 2022 being served.
(Any invocations of a # that occur after the page is loaded—links to sections within the page itself, or even links to sections from redirects—still work correctly, though, which makes sense given the script's mode of action.)
On a positive note, it's otherwise the most consistent skin-switching solution I've found. I'm especially pleasantly surprised to discover that it seems to handle wiki searches (including from browser search boxes) perfectly, since that's a fairly common point of failure for such solutions.