Daniel Kraus d7571c4922 Use preg_replace_callback throughout; lazy checks.
The checks for whether a page is a potential link target or not (depending
on the absence of the __NOAUTOLINKTARGET__ magic word and if it is not a
redirect to the current page) have now been moved into the callback
functions, so that they are only performed if a page really is a candidate
for linking (i.e, its title occurs on the currently edited page).

The change resulted in a ~10-fold increase in speed.
2014-06-10 16:22:28 +02:00
2014-06-05 22:45:08 +02:00
2014-06-06 06:06:12 +02:00
2014-06-08 19:23:41 +02:00
2014-06-06 06:05:55 +02:00
2014-06-06 06:05:55 +02:00

LinkTitles

MediaWiki extension that automatically adds links to words that match titles of existing pages.

For more information, see http://www.mediawiki.org/wiki/Extension:LinkTitles

Minimum requirements: MediaWiki 1.21+, PHP 5.3

Source code documentation can be found at the Github project pages.

Description
MediaWiki extension that automatically adds links to words that match titles of existing pages.
Readme 3.9 MiB
Languages
PHP 98%
Dockerfile 0.8%
Shell 0.8%
Makefile 0.4%