Kirby Wiki
mNo edit summary
(→‎Reference: category reorganization)
 
(43 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<source lang="xml">
 
<source lang="xml">
<Typo word="Kirby's Return to Dream Land <-- Kirby Wii" find="(?:''|)(\[\[)?\b[K|k]irby:?('s)?s? [W|w]ii\b(\]\])?(?:''|)" replace="''$1Kirby's Return to Dream Land$3''" />
+
<Typo word="" find="" replace="" />
 
</source>
<Typo word="Kirby's Return to Dream Land" find="(?:''|)(\[\[)?\b[K|k]irby:?('s)?s? [R|r]eturns? to [D|d]ream\s?[L|l]and\b(\]\])?(?:''|)" replace="''$1Kirby's Return to Dream Land$3''" />
 
  +
<noinclude>
<Typo word="Kirby Mass Attack" find="(?:''|)(\[\[)?\b[K|k]irby:?('s)?s? [M|m]ass [A|a]ttack\b(\]\])?(?:''|)" replace="''$1Kirby Mass Attack$3''" />
 
<Typo word="Kirby's Epic Yarn" find="(?:''|)(\[\[)?\b[K|k]irby:?('s)?s? [E|e]pic [Y|y]arn\b(\]\])?(?:''|)" replace="''$1Kirby's Epic Yarn$3''" />
 
<Typo word="Kirby Super Star Ultra" find="(?:''|)(\[\[)?\b[K|k]irby:?('s)?s? [S|s]uper [S|s]tar [U|u]ltra\b(\]\])?(?:''|)" replace="''$1Kirby Super Star Ultra$3''" />
 
Typo word="Kirby Super Star" find="(?:''|)(\[\[)?\b[K|k]irby:?('s)?s? [S|s]uper [S|s]tar\b(\]\])?(?:''|)" replace="''$1Kirby Super Star$3"'' />
 
</source><noinclude>
 
   
 
To account for:
 
To account for:
   
 
*Kirby / Kirby: / Kirby's / Kirbys / kirby / kirby: / kirby's / kirbys
 
*Kirby / Kirby: / Kirby's / Kirbys / kirby / kirby: / kirby's / kirbys
<pre>[K|k]irby:?('s)?s?</pre>
+
<pre>[Kk]irby:?('s)?s?</pre>
   
 
*Dream Land / DreamLand / Dreamland
 
*Dream Land / DreamLand / Dreamland
<pre>[D|d]ream\s?[L|l]and</pre>
+
<pre>[Dd]ream\s?[Ll]and</pre>
   
 
*(italicize matching title, regardless of whether linked or not)
 
*(italicize matching title, regardless of whether linked or not)
 
<pre>(?:''|)(\[\[)?\b regex here \b(\]\])?(?:''|)</pre>
 
<pre>(?:''|)(\[\[)?\b regex here \b(\]\])?(?:''|)</pre>
  +
  +
Basic construct (copy and paste):
   
 
==Reference==
 
==Reference==
Line 23: Line 21:
 
*[[wikipedia:Regular expressions]]
 
*[[wikipedia:Regular expressions]]
 
*[[wikipedia:Wikipedia:AutoWikiBrowser/Typos/Guide]]
 
*[[wikipedia:Wikipedia:AutoWikiBrowser/Typos/Guide]]
  +
*[[wikipedia:Wikipedia:AutoWikiBrowser/Regular_expression]]
[[Category:Kirby Wiki]]</noinclude>
 
  +
*https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Regular_Expressions
 
[[Category:Community]]</noinclude>

Latest revision as of 01:24, 31 August 2020

<Typo word="" find="" replace="" />


To account for:

  • Kirby / Kirby: / Kirby's / Kirbys / kirby / kirby: / kirby's / kirbys
[Kk]irby:?('s)?s?
  • Dream Land / DreamLand / Dreamland
[Dd]ream\s?[Ll]and
  • (italicize matching title, regardless of whether linked or not)
(?:''|)(\[\[)?\b    regex here     \b(\]\])?(?:''|)

Basic construct (copy and paste):

Reference