Vector Layout for Wikipedia (Fast)

returns old Wikipedia layout. (layout before 2023 redesign of the website)

< Feedback on Vector Layout for Wikipedia (Fast)

Review: قالتىس - قوليازما ئىشلەيدۇ

§
يوللانغان ۋاقتى: 2023-10-04

Great! Thanks for the updates and URL cleaning option.

NotYouئاپتور
§
يوللانغان ۋاقتى: 2023-10-04

Thanks! You are welcome!

§
يوللانغان ۋاقتى: 2023-12-02

I think there's a minor problem, when opening chapter/sub-section links. For example, when opening:

https://en.wikipedia.org/wiki/Krull_(film)#Soundtrack

the #Soundtrack part will be cleaned too, and we will get to the start of the page:

https://en.wikipedia.org/wiki/Krull_(film)

§
يوللانغان ۋاقتى: 2023-12-02

Oh, just saw it was discussed in the previous feedback entry. I've excluded though everything else, by using a clean browser profile and installing only Greasemonkey and the userscript. Issue occurs (using Pale Moon btw).

Also tried the suggested: https://github.com/gorhill/uBlock#enterprise-deployment

It works as expected.

NotYouئاپتور
§
يوللانغان ۋاقتى: 2023-12-03

I think there's a minor problem, when opening chapter/sub-section links. For example, when opening:

https://en.wikipedia.org/wiki/Krull_(film)#Soundtrack

the #Soundtrack part will be cleaned too, and we will get to the start of the page:

https://en.wikipedia.org/wiki/Krull_(film)

Fixed it. Thanks for report.

§
يوللانغان ۋاقتى: 2023-12-03

Thank you! The "MAKE_CLEAN_URL" setting doesn't seem to work in these cases, but they are corner cases. Hardly a major problem.

NotYouئاپتور
§
يوللانغان ۋاقتى: 2023-12-03

Thank you! The "MAKE_CLEAN_URL" setting doesn't seem to work in these cases, but they are corner cases. Hardly a major problem.

Fixed code again. If there are any problems you encounter, just report them, I'll try to fix them as soon, as I possibly can. Thanks for report.

§
يوللانغان ۋاقتى: 2023-12-03

Thank you for the immediate update! I'm not seeing a change this time, unfortunately. Updated to v.1.1.10, changed "const MAKE_CLEAN_URL = false" to true (it gets reset on each update) and saved the script. Also tried restarting the browser.

The "useskin=vector" is still there, before the #. So the above link leads to:

https://en.wikipedia.org/wiki/Krull_(film)?useskin=vector#Soundtrack

(linkification seems quite off here on the Greasy Fork镜像 comments, by the way)

NotYouئاپتور
§
يوللانغان ۋاقتى: 2023-12-04

Yeah, I see... I don't actually understand why it doesn't work with hash. I'll leave the code like that for now and try to figure out what's wrong later.

NotYouئاپتور
§
يوللانغان ۋاقتى: 2023-12-05

Okay, I figured things out. It's impossible to implement this feature because when you try to replace URL with hash, instead of redirecting (at least in our case), it just moves the current scroll bar position, that's how anchors work in browser, nothing I can really do.

§
يوللانغان ۋاقتى: 2023-12-05

Ok, thank you for checking :)

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.

长期地址
遇到问题?请前往 GitHub 提 Issues。