FANDOM


(Created page with "This is the regex I used with AWB to do this task: * Alternate form redirects for enemies like Anchorage Water Demon II need a graphic added. This is to make the category ...")
 
m
 
Line 4: Line 4:
   
   
Use ''Find and replace/Advanced'' in the ''Options'' tab, and do not forget to check '''''Regular expression''''' and to disable '''''Follow redirects''''' in the ''Options'' menu.
+
Use '''''Find and replace/Advanced''''' in the ''Options'' tab, and do not forget to check '''''Regular expression''''' and to disable '''''Follow redirects''''' in the ''Options'' menu.
   
 
;Find
 
;Find

Latest revision as of 07:35, August 20, 2016

This is the regex I used with AWB to do this task:

  • Alternate form redirects for enemies like Anchorage Water Demon II need a graphic added. This is to make the category listing prettier (otherwise it shows #REDIRECT [[...]]).
    • For enemy ships, add {{ShipGraphicKai|Ship/Form}} between the #REDIRECT line and the EnemyShipCategoriesKai line.


Use Find and replace/Advanced in the Options tab, and do not forget to check Regular expression and to disable Follow redirects in the Options menu.

Find
#REDIRECT \[\[(.*)]]
{{EnemyShipCategoriesKai\|(.*)}}
Replace
#REDIRECT [[$1]]
{{ShipGraphicKai|$2}}
{{EnemyShipCategoriesKai|$2}}
Community content is available under CC-BY-SA unless otherwise noted.