Can you help me solve the perennial issue with the repeated "Script" header in sidebar? Would it be related to how I use your script? It's obviously not urgent, but it's annoying. Thanks for ay suggestions you can give me. -- Ohc revolution of our times 11:21, 8 June 2022 (UTC)
It seems that your version of MOSUTIL script does not function; the MOSNUM script buttons disappear upon installation with both test and production scripts. In fact, I suspect it might never have worked.
Secondly, I don't quite understand why there were two calls for Regex menu framework in my Sources script. The script continues to work after I substituted the first instance for TemplateScript, but fails to work thereafter if either one of those calls is removed. -- Ohc revolution of our times 11:04, 15 June 2022 (UTC)
I replaced regex menu framework as the basis of my Common terms script. And while there are now no longer any script buttons in the side bar, the underlying functions can still be called up from within my vector script. -- Ohc revolution of our times 13:52, 15 June 2022 (UTC)
regex
function which doesn't exist in TemplateScript. So you can't just swap the imports, you also need to migrate the code to the new format (and keep the Regex Menu Framework imports too until any code using it is fully updated). That's why I suggest starting with a single script (like MOSUTIL), migrating it, and making sure it fully works before moving on to the next script.User:Ohconfucius/script/MOSNUM dates.js
to User:Pathoschild/script/MOSNUM dates.js
, does everything still work for you? —
Pathoschild (
talk)
17:54, 15 June 2022 (UTC)|df=y
) were changed or inserted, and little else. Now, strangely enough, the script buttons no longer even show up. --
Ohc
revolution of our times
08:35, 16 June 2022 (UTC)ohc_regex
wrapper not saving changes, which should fix many of the issues. I get a slightly different result when editing that page, but I get the same result when using the original script. Can you try it now and list any other cases that don't match what you'd expect? —
Pathoschild (
talk)
01:44, 18 June 2022 (UTC)I have MOSNUM dates tentatively migrated to TemplateScript in User:Pathoschild/common.js. It's a pretty big change, so I suggest retesting all the features; let me know if anything doesn't work as expected. — Pathoschild ( talk) 19:50, 19 June 2022 (UTC)
regex
function is part of RMF). It just doesn't import it, so it only works because RMF is still being imported elsewhere.Can we switch attention over to the next script for now? I partly lost use of the script buttons following this change. My composite script still managed to call the basic unlinking function (without recourse to the script buttons, but it was reported that the button to delink countries disappeared, so I reversed the above change. -- Ohc revolution of our times 19:45, 24 June 2022 (UTC)
With regard to this conversation, where it's noted that the position of the script button has drifted downwards after migration to TemplateScript, is there any way of bumping up the position of the buttons, back into the "Tools" section of the add-ons menu? -- Ohc revolution of our times 16:12, 8 July 2022 (UTC)
Hello,
I think that since I modified my scripts to use your templatescript.js
module, my composite scripts – master scripts calling on several other scripts, for example the One Touch: FORMAT
subroutine in my
vector file – no longer work (I've already had to disable the ONETOUCH_DMY
and ONETOUCH_MDY
buttons for that reason). Could you offer any pointers as to why this may be the case, and maybe help me get the functionality back? It would be rather helpful as it's particular nuisance to access the relevant sidebar buttons efficiently because the sidebar is now quite long. Thanks in advance.
Ohc
revolution of our times
20:42, 4 August 2023 (UTC)
ONETOUCH_DMY
and ONETOUCH_MDY
buttons. The script button manages to call the CommonTerms script, and then stalls (The dates script should be called next but it isn't). I told you a porkie, for which I apologise: The One Touch: FORMAT
meta script (which calls The CommonTerms, dashes, sources and )formatgeneral) works, but just seems quite slow, so giving me the impression that it wasn't working. Cheers, --
Ohc
revolution of our times
21:34, 7 September 2023 (UTC)Ohc_retrain_links()
and Ohc_CommonTerms()
fine (loaded from
script/Common Terms.js).ohc_delink_dates()
(loaded from
script/MOSNUM dates.js).Uncaught TypeError: editor is undefined in ohc_delink_dates in ONETOUCH_DMY in <anonymous> javascript:ONETOUCH_DMY():1
ohc_delink_dates(editor)
) and Regex Menu Framework scripts (like Ohc_retrain_links()
), and you'll be able to incrementally remove Regex Menu Framework in the future. If you're interested, I can draft an updated vector.js for you. —
Pathoschild (
talk)
16:47, 9 September 2023 (UTC)
Hello! Voting in the 2023 Arbitration Committee elections is now open until 23:59 (UTC) on Monday, 11 December 2023. All eligible users are allowed to vote. Users with alternate accounts may only vote once.
The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail.
If you wish to participate in the 2023 election, please review
the candidates and submit your choices on the
voting page. If you no longer wish to receive these messages, you may add {{
NoACEMM}}
to your user talk page.
MediaWiki message delivery (
talk)
00:22, 28 November 2023 (UTC)
Can you help me solve the perennial issue with the repeated "Script" header in sidebar? Would it be related to how I use your script? It's obviously not urgent, but it's annoying. Thanks for ay suggestions you can give me. -- Ohc revolution of our times 11:21, 8 June 2022 (UTC)
It seems that your version of MOSUTIL script does not function; the MOSNUM script buttons disappear upon installation with both test and production scripts. In fact, I suspect it might never have worked.
Secondly, I don't quite understand why there were two calls for Regex menu framework in my Sources script. The script continues to work after I substituted the first instance for TemplateScript, but fails to work thereafter if either one of those calls is removed. -- Ohc revolution of our times 11:04, 15 June 2022 (UTC)
I replaced regex menu framework as the basis of my Common terms script. And while there are now no longer any script buttons in the side bar, the underlying functions can still be called up from within my vector script. -- Ohc revolution of our times 13:52, 15 June 2022 (UTC)
regex
function which doesn't exist in TemplateScript. So you can't just swap the imports, you also need to migrate the code to the new format (and keep the Regex Menu Framework imports too until any code using it is fully updated). That's why I suggest starting with a single script (like MOSUTIL), migrating it, and making sure it fully works before moving on to the next script.User:Ohconfucius/script/MOSNUM dates.js
to User:Pathoschild/script/MOSNUM dates.js
, does everything still work for you? —
Pathoschild (
talk)
17:54, 15 June 2022 (UTC)|df=y
) were changed or inserted, and little else. Now, strangely enough, the script buttons no longer even show up. --
Ohc
revolution of our times
08:35, 16 June 2022 (UTC)ohc_regex
wrapper not saving changes, which should fix many of the issues. I get a slightly different result when editing that page, but I get the same result when using the original script. Can you try it now and list any other cases that don't match what you'd expect? —
Pathoschild (
talk)
01:44, 18 June 2022 (UTC)I have MOSNUM dates tentatively migrated to TemplateScript in User:Pathoschild/common.js. It's a pretty big change, so I suggest retesting all the features; let me know if anything doesn't work as expected. — Pathoschild ( talk) 19:50, 19 June 2022 (UTC)
regex
function is part of RMF). It just doesn't import it, so it only works because RMF is still being imported elsewhere.Can we switch attention over to the next script for now? I partly lost use of the script buttons following this change. My composite script still managed to call the basic unlinking function (without recourse to the script buttons, but it was reported that the button to delink countries disappeared, so I reversed the above change. -- Ohc revolution of our times 19:45, 24 June 2022 (UTC)
With regard to this conversation, where it's noted that the position of the script button has drifted downwards after migration to TemplateScript, is there any way of bumping up the position of the buttons, back into the "Tools" section of the add-ons menu? -- Ohc revolution of our times 16:12, 8 July 2022 (UTC)
Hello,
I think that since I modified my scripts to use your templatescript.js
module, my composite scripts – master scripts calling on several other scripts, for example the One Touch: FORMAT
subroutine in my
vector file – no longer work (I've already had to disable the ONETOUCH_DMY
and ONETOUCH_MDY
buttons for that reason). Could you offer any pointers as to why this may be the case, and maybe help me get the functionality back? It would be rather helpful as it's particular nuisance to access the relevant sidebar buttons efficiently because the sidebar is now quite long. Thanks in advance.
Ohc
revolution of our times
20:42, 4 August 2023 (UTC)
ONETOUCH_DMY
and ONETOUCH_MDY
buttons. The script button manages to call the CommonTerms script, and then stalls (The dates script should be called next but it isn't). I told you a porkie, for which I apologise: The One Touch: FORMAT
meta script (which calls The CommonTerms, dashes, sources and )formatgeneral) works, but just seems quite slow, so giving me the impression that it wasn't working. Cheers, --
Ohc
revolution of our times
21:34, 7 September 2023 (UTC)Ohc_retrain_links()
and Ohc_CommonTerms()
fine (loaded from
script/Common Terms.js).ohc_delink_dates()
(loaded from
script/MOSNUM dates.js).Uncaught TypeError: editor is undefined in ohc_delink_dates in ONETOUCH_DMY in <anonymous> javascript:ONETOUCH_DMY():1
ohc_delink_dates(editor)
) and Regex Menu Framework scripts (like Ohc_retrain_links()
), and you'll be able to incrementally remove Regex Menu Framework in the future. If you're interested, I can draft an updated vector.js for you. —
Pathoschild (
talk)
16:47, 9 September 2023 (UTC)
Hello! Voting in the 2023 Arbitration Committee elections is now open until 23:59 (UTC) on Monday, 11 December 2023. All eligible users are allowed to vote. Users with alternate accounts may only vote once.
The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail.
If you wish to participate in the 2023 election, please review
the candidates and submit your choices on the
voting page. If you no longer wish to receive these messages, you may add {{
NoACEMM}}
to your user talk page.
MediaWiki message delivery (
talk)
00:22, 28 November 2023 (UTC)