Extension:WikiPagesTag

What can this extension do?
This extension was made because there was no way other than using auto-link to create internal links to documents or articles using a tag. But auto-link is very intensive one resources etc. Also I wanted the ability to have a list of words separated by a carriage return and have those words automatically link to internal pages whether or not those pages exist.

So if you had a list of words like:

billy bob jane austin mike duck super man

And you want to create internal links for those documents, you would have to place and  around those words. If there is a lot of words, that is a lot of manual editing. This will allow you to auto link all of those words without manually adding the brackets.

Usage
 list list list  Will do the equivalent of: list list list list Thanks and if you have questions email me at owngeek@gmail.com

Download instructions
Please cut and paste the code found below. ''Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds

Configuration parameters
Just put everything in  tags.

User rights
Feel free to use it as you like, just give me credit :)

Version 1.0
This is the version 1.0 It includes the ability to add css styling to the output. Also you can specify if you want the UL or LI per line.

";       return $parser->recursiveTagParse( $output); }

function wfWikiPagesString( $text ) { return strtr(               wfWikiPagesDisplay( $text ),                array( "\\"  => "\\\\",                        "\""   => "\\\"",                        "'"    => "'",                        "\r\n" => "\\n", "\r"  => "\\n", "\n"  => "\\n", ) ); }

function wfWikiPagesDisplay( $text ) { static $invisibles = array(    ' ',     '&#160;' ); static $visibles  = array( '&amp;nbsp;', '&amp;#160;' ); return Sanitizer::decodeCharReferences(                       str_replace( $invisibles, $visibles, $text ) ); } ?>