indie-wiki-buddy icon indicating copy to clipboard operation
indie-wiki-buddy copied to clipboard

Add support for filtering article names during redirection

Open KevinPayravi opened this issue 5 months ago • 0 comments

The Star Trek Online Fandom wiki has some basic information saved in "/Info" subpages (for example, see Adapted_M.A.C.O._Phaser_Pulsewave_Rifle/Info. The destination wiki (https://stowiki.net/) has no such /Info pages. These Fandom /Info pages do show up in search results, and the resulting redirection by IWB hits a dead end.

To resolve this, we may want to add support for filtering and/or transforming article names. We could, for example, have a origin_filter_regex property. The value would be a regular expression that is removed from article names before redirecting. For STO Wiki, the value would be \/Info$.

KevinPayravi avatar Sep 02 '24 06:09 KevinPayravi