I have modified nshandling.py to get unconventional redirects recognized as such.
Now these redirects may contain whitespace-like characters at the beginning
(e.g., "
REDIRECT [[Foo]]"), or whitespace before an optional colon (e.g., "#REDIRECT : [[Foo]]").
I have modified nshandling.py to get unconventional redirects recognized as such. Now these redirects may contain whitespace-like characters at the beginning (e.g., "
REDIRECT [[Foo]]"), or whitespace before an optional colon (e.g., "#REDIRECT : [[Foo]]").
For more information, see: https://git.wikimedia.org/blob/mediawiki%2Fcore.git/ec02aba4c0e870f97c3ae8d237555c4b16f30750/includes%2Fcontent%2FWikitextContent.php#L188