🏠 返回首頁 

Force Wikipedia Old (Vector) Skin

Returns Wikipedia's "Vector" skin. Doesn't break history or URLs, works faster!

< Feedback on Force Wikipedia Old (Vector) Skin

Review: OK - script works, but has bugs

§
Posted: 2023-04-14
Edited: 2023-04-14

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.

Post reply

Sign in to post a reply.