This is the script used in the smart rules, which I believe to be somehow connected to the issue: Exclude from Wiki Linking not working as expected - #15 by pete31
As emphasized earlier, I doubt something is wrong with this script as such. Probably the cause is in how I’m applying it or something in my local setup. It has always worked as intended.
Unfortunately, I can’t send the logs since they contain file names and I’m not comfortable with that… Sorry.
But all good from my side. I’m hopeful that the issue won’t reoccur anymore based on the described settings change.