Extension:ReplaceRedLinks

The ReplaceRedLinks extension supports replacing "red links" to Wikipedia for simple wikification in other projects.

Usage
Use tag to switch extension on. If in page there is not tag, extension does not anything.

Use parameter lang e.g.  to switch Wikipedia language. There is need a two-letter language identifier, e.g. "ru", "fr" etc. If there is no this parameter or if it incorrect - system uses "en" for default.
 * Language parameter

Use parameter exclusions e.g.  to switch off processing for any article names. Delimitier - is vertical pipe "|".
 * Exclusions parameter

Examples

 * http://wikiext.org/index.php/Red_links_sample - short sample (see wikitext).
 * http://wikiext.org/index.php/Harvard_references_sample - more complex sample.

Code
Create this file in ANSI encoding (do not add any spaces before starting "  ").
 * ReplaceRedLinks.php