This is an archive of past discussions on Wikipedia:Scripts++. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page.
Sorry, didn't see this earlier. Usage instructions are given at the top of the js page as a comment. Still I'll try to make a dedicated /doc page whenever I get time. SD0001 (talk) 14:22, 23 January 2019 (UTC)
@SD0001: Nice. 3 things. Please do bother with a doc page, if not for me than for twinkle. Can I suggest you check that the user has oversight rights before adding the portlet, to avoid any potential errors? And, have you submitted this to twinkle/made a pull request/what's the status of getting this integrated? --DannyS712 (talk) 09:18, 21 January 2019 (UTC)
To be clear, it's a module for requesting oversight. I've updated the Git version so that this is hidden from oversighters, but I've left this out on-wiki as it'd hinder oversighters from testing it for reviewing the PR.
Hello, Is there a template version of this newsletter (like signpost have)? If not please consider creating it. Also it would be nice if there is a separate section for scripts for other wiki's or for xwiki work. Thanks for newsletter! ‐‐1997kB (talk) 13:52, 5 July 2019 (UTC)
@1997kB: sure, I'll make a template, but it'll just transclude the current version (in the same format and layout). As for the other wikis or xwiki scripts, I haven't had any to include yet, but when I do I'll add it. --DannyS712 (talk) 15:58, 5 July 2019 (UTC)
@Andrybak: I saw that. A few things, however. A lot of helper templates were created that I don't think are needed, and the /next page isn't really what I had in mind. I'm going to finish and send this month's issue, and then take a look DannyS712 (talk) 15:47, 1 March 2020 (UTC)
with bugger-all description—libExtraUtil.js and the Twinkle morebits—spring to mind, highlighted as they are in the current newsletter. I'm sure they're fantastic pieces of work, if only—in one case at least—going by the reputation of its creator. But instead of / as well as linking to the source code, how about some sort of indication as to what they do and how to use 'em?
Ah, you tell me, there's already a page for that, and it's at "XYZ"? Good. Then howabout a link.
These are libraries of reusable components that assist in the development of user scripts (libExtraUtil contains simple and a few not-so-simple helper functions, whereas Morebits contains entire classes for GUI creation and api-based page interaction). They are hidden gadgets (you won't be able to see them in preferences or enable them) -- that can be loaded from within other scripts. That being said, a documentation page for morebits is well worth it. Someone should just boldly start Wikipedia:Morebits. SD0001 (talk) 09:31, 29 November 2019 (UTC)
Contributing
I know I haven't explained much how to best help, and I'll elaborate further, but the biggest things are:
Keeping track of newly created scripts to include
Keeping track of updates to scripts that warrant inclusion
@BrandonXLF: I just installed it to try it out, and the first section I tried to edit, "Installation" at User:BrandonXLF/QuickEdit, errored with "An errored occurred while getting section wikitext, perhaps it was deleted. Try reloading the page." (also, should it be "error occurred"?) --DannyS712 (talk) 22:37, 7 April 2020 (UTC)
DannyS712, it seems to be because the headings were in <includeonly> tags so when the scripts tries to load the section the API says it doesn't exist since it's hidden behind the includeonly tags. The issue is that [3] and [4] return two very different results, with the latter returning the entire page, so using T-x as the section isn't an option, if it was this issue wouldn't exist.– BrandonXLF (talk)02:10, 8 April 2020 (UTC)
I've filed the issue as a task at phab:T249675 since it's unexpected behaviour that works as expected at all other entry points when you can get and set the page content. – BrandonXLF (talk)02:55, 8 April 2020 (UTC)
After 5 years of being an admin, I've added a lot of scripts to several different pages. And, because this has been piecemeal (seeing a script recommended and pasting it in), I have found some scripts conflict and I have a feeling that some actions are duplicated by different scripts. It would be great if there was a script (or some code/gadget) that would scan an editor's scripts and find any ones that conflict with each other or are out-of-date.
OR, if an editor well-educated in scripts would volunteer to scan script pages and delete any dysfunctional scripts, that would be a very helpful skill to offer. — Preceding unsigned comment added by Liz (talk • contribs) 21:27, 1 December 2020 (UTC)
After reading wikitext more closely I realized that positioning of File:Text-x-source.svg hasn't changed. It's just that #19 has really short paragraphs, while both #20 and #21 happen to have a couple of long paragraphs, so it looked as if the picture was repositioned to float to the right on my current screen width. I've struck out the misleading sentence. —andrybak (talk) 11:48, 27 September 2021 (UTC)
I just try to adjust the layout to make it look better after filling everything in, not needed to adjust the shell. Wow, I've really fallen behind here, I'll try to get an issue out this week DannyS712 (talk) 14:28, 27 September 2021 (UTC)