User talk:BrandonXLF

Page contents not supported in other languages.
Welcome!
This user has rollback rights on the English Wikipedia.
This user has extended confirmed rights on the English Wikipedia.
This user has autoconfirmed rights on the English Wikipedia.
This user uses Twinkle to fight vandalism.
This user uses Huggle to fight vandalism.
Source: Wikipedia, the free encyclopedia.

CollapseSections in Vector 2022

a screenshot of the issue

The CollapseSections script looks a bit wonky on the skin Vector 2022. The arrows are there but they're mostly covered by the whitespace, making the clickable space rather small.

I will be using it nonetheless, though! — Mignof (talk | contribs) 17:59, 27 March 2024 (UTC)[reply]

@Mignof Thanks for your perseverance! It should be fixed now. BrandonXLF (talk) 07:53, 30 March 2024 (UTC)[reply]

ShowTemplates: portlet link issue

Hey, great job on ShowTemplates, it is really wonderful. I want to ask you to fix the script a little bit.

var portletItem = $(mw.util.addPortletLink('p-tb', '#', 'Show templates'));

portletItem.click(function() {

var portletItem = mw.util.addPortletLink('p-tb', '#', 'Show templates');

$( portletItem ).find( 'a' ).click( function( e ) {
	e.preventDefault();

Currently the click handler is implemented on the list item, not on the link in it, and it ends up adding # into the URL (and moving the user back to the start of the page) because of it. Thanks in advance. stjn 23:34, 17 April 2024 (UTC)[reply]

@Stjn  Done. Thank you for the bug fix I'm glad you're enjoying the script! BrandonXLF (talk) 02:28, 18 April 2024 (UTC)[reply]

The Signpost: 25 April 2024