Thread:Extension talk:ParserFunctions/Howto: Getting ParserFunctions & UNC links working with 1.15 (avoid MagicWord issues)

Hi All,

Thought i'd quickly document how to do this as I got help and it took me a bit of time: 1. Make sure you have a compatible version - I got mine from http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_15/extensions/ParserFunctions/ - this is where the magicword errors come from 2. Copy the downloaded files into a ParserFunctions folder within extensions 3. Add in the following line (only) to localsettings.php (without the ') - 'require( "extensions/ParserFunctions/ParserFunctions.php");' 4. Download StringFunctions files from http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_15/extensions/StringFunctions/ 5. Copy the downloaded files into a StringFunctions folder within extensions 6. Add in the following line (only) to localsettings.php - 'require( "extensions/StringFunctions/StringFunctions.php");' 7. Do not add in $wgPFEnableStringFunctions = true; - This only works on later versions of the ParserFunctions plugin where StringFunctions is included 8. Add in to localsettings 'array_push($wgUrlProtocols, "file://");' 9. Save the file and confirm that the pages are still loading without errors. If errors are coming up, add in '$wgShowExceptionDetails = true;' and troubleshoot 10. Search for 'Template:Unc' in your Wiki and add in '' 11. Save the new article 12. Add in the UNC links as per https://www.mediawiki.org/wiki/UNC_links

This should make it work