16,989
edits
(→Byte saving: new section) |
|||
Line 198: | Line 198: | ||
I noticed on your sandbox for Spirit Battle stats that you link to the spirits-by-series pages a lot. If you swap them to <nowiki>{{h2}}</nowiki> you'll save about 10k bytes (if I compared correctly). Here's some regex if you want to make the change: Search: <code><nowiki>\[\[([^\[]+)\#([^\[]+)\|\2\]\]</nowiki></code> Replace: <code><nowiki>{{h2|$1|$2}}</nowiki></code>. I'd recommend using something other than the wiki editor for regex replacements on a large page like that one because it can be pretty slow. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 05:58, January 6, 2021 (EST) | I noticed on your sandbox for Spirit Battle stats that you link to the spirits-by-series pages a lot. If you swap them to <nowiki>{{h2}}</nowiki> you'll save about 10k bytes (if I compared correctly). Here's some regex if you want to make the change: Search: <code><nowiki>\[\[([^\[]+)\#([^\[]+)\|\2\]\]</nowiki></code> Replace: <code><nowiki>{{h2|$1|$2}}</nowiki></code>. I'd recommend using something other than the wiki editor for regex replacements on a large page like that one because it can be pretty slow. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 05:58, January 6, 2021 (EST) | ||
:Hey, sorry for the very late reply. Anyway, I'm not very familiar with "regax replacing" (this is the first time I'm hearing of it even), so I'm afraid that your suggestion of "using something other than the wiki editor" is too vague for my understanding. | |||
:If you're referring to external extensions, the device I currently have technically isn't mine, so I don't wanna risk adding stuff that the owner(s) might not approve of. [[File:SmashTurtlesSig1.png|20px]][[User:SuperSmashTurtles|<span style="color: green;">'''SuperSmashTurtles'''</span>]] of the [[User talk:SuperSmashTurtles|<span style="color: lightgreen;">'''Turtle Tribe'''</span>]][[File:SmashTurtlesSig2.png|20px]] 02:42, January 8, 2021 (EST) |
edits