Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

share|improve this question
add comment

migrated from webapps.stackexchange.com Sep 22 '12 at 17:44

This question came from our site for power users of web applications.

1 Answer

up vote 6 down vote accepted

http://www.mediawiki.org/wiki/Manual:$wgUrlProtocols

Add to $wgUrlProtocols 1.6 and above

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.