This is a textformatter module that will automatically replace titles of other pages on your site with links to those pages. For example, if you have a template glossary-term, and mention the exact title of one page using that template in a textfield, the title will be automatically linked to that page (if the textfield uses that formatter). This is good for SEO, and saves you some manual labour. You can configure which templates should get automatically linked, and of course the formatter is only active for the fields you add this formatter to. Note that if you need more manual control over when and where titles are automatically linked, you're probably better of using Autolink from a Glossary by @mr-fan.
Allows you to limit the automatic links by template.
Only includes published & visible pages by default, with an option to include hidden pages.
Automatically excludes the current page, with an option to change that behaviour.
Supports multi-language sites. Titles will only be linked if a title in the current language is set.
Can add configurable CSS classes to all automatically created links.
Includes the ability to use page fields as replacement patterns for CSS classes.
Queries the database directly for improved performance.
Only queries the database once per request & language.
Download & Documentation
The module is now available in the modules directory: https://modules.processwire.com/modules/textformatter-page-title-links/
You can download & install it through the backend using the classname TextformatterPageTitleLinks.
To install it manually, download or clone the module from the Github repository into your site/modules folder and install through the backend.
The complete documentation can be found in the README in the repository. Make sure to check out the module configuration page after installing the module.
PHP 7.1 or higher
ProcessWire 3+ (it will probably work in older versions, I haven't tested those though).
This is my first module, I hope it may become useful to some of you 🙂
If you find any errors or have some other suggestions or feedback, let me know!