Is there a way to add protocols to linking for MediaWiki?

For example:

  • Works: [http://www.google.com Google]
  • Doesn't work: [ftp://www.someplace.com Some FTP place]
  • Doesn't work: [conisio://something?something=awesome Something Awesome]

In the above example, I want to add ftp and conisio protocols



Add to $wgUrlProtocols 1.6 and above

For older versions, need to add a line in the function replaceExternalLinks in ./includes/Parser.php

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy