MediaWiki talk:Gadget-AddTopic.js
Latest comment: 20 days ago by Pols12 in topic Support for Vector-2022
Support for Vector-2022
edit{{edit request}} The gadget does not work with Vector 2022 skin. To fix this, please replace the line 5 with the following instruction:
var $newSectionLink = $(
'a#ca-addsection,' // Vector-2022
+'#ca-addsection a' // Vector legacy
);
Note that still reloads the page, but I don’t know why. Passing `true` to clone()
does not help. Still an improvement, though.
-- Pols12 (talk) 22:04, 7 June 2024 (UTC)
- @Pols12: I implemented a tweaked version of this, and confirmed that it works for me on vector-2022 --DannyS712 (talk) 06:15, 9 June 2024 (UTC)
- Thank you! -- Pols12 (talk) 12:45, 9 June 2024 (UTC)
- The page reloads because the button is added inside the H2 tag. That should be fixed in the coming weeks. -- Pols12 (talk) 13:15, 9 June 2024 (UTC)
- Thank you! -- Pols12 (talk) 12:45, 9 June 2024 (UTC)