regexp for ReplaceText
Hi. As discuss here, could you try the follwing regex in Special:ReplaceText for theese messages?
~ $ cat test.txt
[[:$1]] and {{PLURAL:$2|one page|$2 pages}} added to category
~ $ sed -r 's/(\{\{PLURAL.*\}\})/[[Special:WhatLinksHere\/$1|\1]]/' test.txt
[[:$1]] and [[Special:WhatLinksHere/$1|{{PLURAL:$2|one page|$2 pages}}]] added to category
Let me know if you need help. I'm not familiar with ReplaceText and what sort of regex it accepts.
UPDATE: also here
This can't be done with ReplaceText, because there is no reliable way to skip the messages where Special:WhatLinksHere already exists; moreover, some messages have multiple occurrences of PLURAL and other exceptions. For such small replacements, doing manually saves a lot of time; if you want to exercise with regexes, I recommend using pywikibot which has way better regex handling, presents you the diff and lets you confirm it, and many other features.
You can still ask about ReplaceText for bigger replacements of course.