Right now both _portal and _template are parsed. But _portal hasn't been in use for months (or years). Those are just useless fetches of content and string searches for "$1".
That whole first array, Title creation, Article creation, content fetching and parsing/$1 replacement can be nuked afaik.
Version: unspecified
Severity: enhancement