Extension:PageCrossReference

=Description= PageCrossReference executes on onArticleSaveComplete then checks for a true $revision and false $minoredit before proceeding. The article text is searched for matches with page_titles. If a match is found, that match is converted to an internal link. Each page_title is matched only once, then the next page_title is searched for.

The parseContent cycles through EVERY page_title in the page table! Ten thousand page_titles means the for loop in parseContent runs 10,000 times. This makes PageCrossReference a memory and CPU hog. The hog mass will vary with each mediawiki site.

Text found in the following conditions are ignored by default:
 * The article's own page_title.
 * Category tags –
 * Link tags
 * http tags []
 * Angled braces <>

= Download = The source code and zip file are available on Sourceforge.

=Installation= require_once( "$IP/extensions/PageCrossReference/PageCrossReference.php" );
 * 1) To install the PageCrossReference extension, put the following line in LocalSettings.php