This page has archives. Sections older than 180 days may be automatically archived by Lowercase sigmabot III when more than 2 sections are present. |
![]() | This
edit request to
WP:AutoEd/basic.js and
WP:AutoEd/complete.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I'd like
User:Jerome Frank Disciple/curlyfixer.js to be added to the basic and complete presets. This script has an extremely low rate of error. The process for adding this would be to add importScript("User:Jerome Frank Disciple/curlyfixer.js");
(or its mw.loader.load equivalent) below the second stanza and txt = autoEdCurlyFixer(txt);
before the $textbox.textSelection
... line.
I'd also like to come back later when the dashes script is fixed to be compatible for inclusion in presets to add that one to complete, but not now. Aaron Liu ( talk) 02:20, 14 January 2024 (UTC)
mw.loader.load('//en.wikipedia.org/?title= User:Jerome_Frank_Disciple/curlyfixer.js&action=raw&ctype=text/javascript');
?
Aaron Liu (
talk) 14:47, 16 January 2024 (UTC)
![]() | This
edit request to
WP:AutoEd/complete.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I'd like
User:Ohconfucius/dashes.js to be added to the complete preset, now that it uses the same loader function and won't override everything else. This script also has quite a low rate of error, and dashes are in MOS. The process for adding this would be to add mw.loader.load('//en.wikipedia.org/?title= User:Ohconfucius/dashes.js&action=raw&ctype=text/javascript');
below the second stanza and txt = autoEdDashes(txt);
before the $textbox.textSelection
... line.
Aaron Liu (
talk) 23:14, 19 January 2024 (UTC)
![]() | This
edit request to
Wikipedia:AutoEd/core.js,
Wikipedia:AutoEd/extrabreaks.js,
Wikipedia:AutoEd/formatter.js,
Wikipedia:AutoEd/fullwidth.js,
Wikipedia:AutoEd/headlines.js,
Wikipedia:AutoEd/htmltowikitext.js,
Wikipedia:AutoEd/isbn.js,
Wikipedia:AutoEd/links.js,
Wikipedia:AutoEd/tablestowikitext.js,
Wikipedia:AutoEd/templates.js,
Wikipedia:AutoEd/unicodecontrolchars.js,
Wikipedia:AutoEd/unicodify.js,
Wikipedia:AutoEd/whitespace.js,
Wikipedia:AutoEd/wikichecker.js and
Wikipedia:AutoEd/wikilinks.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I use SD0001's system for
making user scripts load faster. This is fine for all of my other scripts, but AutoEd will not load. After some burrowing about in the loader code, I see that
Wikipedia:AutoEd/complete.js has a Page content model of JavaScript
, but the component JS pages have a Page content model of wikitext
. Could the (13 14) component JS pages modules be set to JavaScript
as well? —
GhostInTheMachine
talk to me 10:49, 25 January 2024 (UTC)
So any admin would also be able to edit.On Wikimedia projects this permission is granted via user groups: to sysops, interface editors and - on some projects - template editors.
Wikipedia
namespace. This is a different issue — the JavaScript pages for the modules should be typed as JavaScript —
GhostInTheMachine
talk to me 17:23, 25 January 2024 (UTC)
![]() | This
edit request to
Wikipedia:AutoEd/htmltowikitext.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Replace
str = str.replace(/<(B|STRONG)[ ]*>((?:[^<>]|<[a-z][^<>]*\/>|<([a-z]+)(?:| [^<>]*)>[^<>]*<\/\3>)*?)<\/\1[ ]*>/gi, "'''$2'''");
str = str.replace(/<(I|EM)[ ]*>((?:[^<>]|<[a-z][^<>]*\/>|<([a-z]+)(?:| [^<>]*)>[^<>]*<\/\3>)*?)<\/\1[ ]*>/gi, "''$2''");
with
str = str.replace(/<B[ ]*>((?:[^<>]|<[a-z][^<>]*\/>|<([a-z]+)(?:| [^<>]*)>[^<>]*<\/\3>)*?)<\/\1[ ]*>/gi, "'''$1'''");
str = str.replace(/<I[ ]*>((?:[^<>]|<[a-z][^<>]*\/>|<([a-z]+)(?:| [^<>]*)>[^<>]*<\/\3>)*?)<\/\1[ ]*>/gi, "''$1''");
This stops AutoEd from replacing strong and em tags with bold/italics, as the former are quite semantically different and the latter is only visual. Aaron Liu ( talk) 19:32, 25 January 2024 (UTC)
I’m not sure the extent of the behavior, but with #lsth AutoEd seems to remove links, at least to self.
I’m using this on a private wiki, but the following behavior was observed on many attempts:
on the page “Cleric”:
{{#lsth:Armor|[[Cleric]]}} changed to {{#lsth:Armor|Cleric}} and this no longer transcludes using lsth, since the page it’s transcluding links back to Cleric. Ryandward ( talk) 19:22, 30 January 2024 (UTC)
I'm coming here from User talk:Paulinefowler666 § Question, where I expressed concern about this edit, which I suspect may have been made using AutoEd. If so, and if the bugs are replicable, then there appear to be three issues:
 
are being removed and converted to normal spaces.I might be diagnosing what's happening here incorrectly (in which case just lmk), but if not, these are significant issues and should be resolved before this script is used further. Best, Sdkb talk 22:22, 15 May 2024 (UTC)
This page has archives. Sections older than 180 days may be automatically archived by Lowercase sigmabot III when more than 2 sections are present. |
![]() | This
edit request to
WP:AutoEd/basic.js and
WP:AutoEd/complete.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I'd like
User:Jerome Frank Disciple/curlyfixer.js to be added to the basic and complete presets. This script has an extremely low rate of error. The process for adding this would be to add importScript("User:Jerome Frank Disciple/curlyfixer.js");
(or its mw.loader.load equivalent) below the second stanza and txt = autoEdCurlyFixer(txt);
before the $textbox.textSelection
... line.
I'd also like to come back later when the dashes script is fixed to be compatible for inclusion in presets to add that one to complete, but not now. Aaron Liu ( talk) 02:20, 14 January 2024 (UTC)
mw.loader.load('//en.wikipedia.org/?title= User:Jerome_Frank_Disciple/curlyfixer.js&action=raw&ctype=text/javascript');
?
Aaron Liu (
talk) 14:47, 16 January 2024 (UTC)
![]() | This
edit request to
WP:AutoEd/complete.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I'd like
User:Ohconfucius/dashes.js to be added to the complete preset, now that it uses the same loader function and won't override everything else. This script also has quite a low rate of error, and dashes are in MOS. The process for adding this would be to add mw.loader.load('//en.wikipedia.org/?title= User:Ohconfucius/dashes.js&action=raw&ctype=text/javascript');
below the second stanza and txt = autoEdDashes(txt);
before the $textbox.textSelection
... line.
Aaron Liu (
talk) 23:14, 19 January 2024 (UTC)
![]() | This
edit request to
Wikipedia:AutoEd/core.js,
Wikipedia:AutoEd/extrabreaks.js,
Wikipedia:AutoEd/formatter.js,
Wikipedia:AutoEd/fullwidth.js,
Wikipedia:AutoEd/headlines.js,
Wikipedia:AutoEd/htmltowikitext.js,
Wikipedia:AutoEd/isbn.js,
Wikipedia:AutoEd/links.js,
Wikipedia:AutoEd/tablestowikitext.js,
Wikipedia:AutoEd/templates.js,
Wikipedia:AutoEd/unicodecontrolchars.js,
Wikipedia:AutoEd/unicodify.js,
Wikipedia:AutoEd/whitespace.js,
Wikipedia:AutoEd/wikichecker.js and
Wikipedia:AutoEd/wikilinks.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I use SD0001's system for
making user scripts load faster. This is fine for all of my other scripts, but AutoEd will not load. After some burrowing about in the loader code, I see that
Wikipedia:AutoEd/complete.js has a Page content model of JavaScript
, but the component JS pages have a Page content model of wikitext
. Could the (13 14) component JS pages modules be set to JavaScript
as well? —
GhostInTheMachine
talk to me 10:49, 25 January 2024 (UTC)
So any admin would also be able to edit.On Wikimedia projects this permission is granted via user groups: to sysops, interface editors and - on some projects - template editors.
Wikipedia
namespace. This is a different issue — the JavaScript pages for the modules should be typed as JavaScript —
GhostInTheMachine
talk to me 17:23, 25 January 2024 (UTC)
![]() | This
edit request to
Wikipedia:AutoEd/htmltowikitext.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Replace
str = str.replace(/<(B|STRONG)[ ]*>((?:[^<>]|<[a-z][^<>]*\/>|<([a-z]+)(?:| [^<>]*)>[^<>]*<\/\3>)*?)<\/\1[ ]*>/gi, "'''$2'''");
str = str.replace(/<(I|EM)[ ]*>((?:[^<>]|<[a-z][^<>]*\/>|<([a-z]+)(?:| [^<>]*)>[^<>]*<\/\3>)*?)<\/\1[ ]*>/gi, "''$2''");
with
str = str.replace(/<B[ ]*>((?:[^<>]|<[a-z][^<>]*\/>|<([a-z]+)(?:| [^<>]*)>[^<>]*<\/\3>)*?)<\/\1[ ]*>/gi, "'''$1'''");
str = str.replace(/<I[ ]*>((?:[^<>]|<[a-z][^<>]*\/>|<([a-z]+)(?:| [^<>]*)>[^<>]*<\/\3>)*?)<\/\1[ ]*>/gi, "''$1''");
This stops AutoEd from replacing strong and em tags with bold/italics, as the former are quite semantically different and the latter is only visual. Aaron Liu ( talk) 19:32, 25 January 2024 (UTC)
I’m not sure the extent of the behavior, but with #lsth AutoEd seems to remove links, at least to self.
I’m using this on a private wiki, but the following behavior was observed on many attempts:
on the page “Cleric”:
{{#lsth:Armor|[[Cleric]]}} changed to {{#lsth:Armor|Cleric}} and this no longer transcludes using lsth, since the page it’s transcluding links back to Cleric. Ryandward ( talk) 19:22, 30 January 2024 (UTC)
I'm coming here from User talk:Paulinefowler666 § Question, where I expressed concern about this edit, which I suspect may have been made using AutoEd. If so, and if the bugs are replicable, then there appear to be three issues:
 
are being removed and converted to normal spaces.I might be diagnosing what's happening here incorrectly (in which case just lmk), but if not, these are significant issues and should be resolved before this script is used further. Best, Sdkb talk 22:22, 15 May 2024 (UTC)