Last modified: 2010-05-15 15:29:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2431, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 431 - Make external links protocols configurable
Make external links protocols configurable
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.3.x
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 2662 3133 3147 4831 4894 (view as bug list)
Depends on:
Blocks: 787
  Show dependency treegraph
 
Reported: 2004-09-09 13:04 UTC by Michael Keppler
Modified: 2010-05-15 15:29 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael Keppler 2004-09-09 13:04:48 UTC
Currently the supported protocols in the external links parser are hardcoded
(function replaceExternalLinks in includes\parser.php). Please make them
configurable for the administrator so that he/she can add necessary protocols (I
added file:\\ and notes:\\ in our installation).
Comment 1 Ævar Arnfjörð Bjarmason 2005-05-16 04:16:58 UTC
Both REL1_4 and HEAD have a URL_PROTOCOLS define in Parser.php that can be
expanded to allow for other protocols, markig it as FIXED.
Comment 2 Brion Vibber 2005-05-16 12:09:47 UTC
Hacking core source files isn't what we normally mean by configurable. Should be 
settable from LocalSettings.php without altering core files to satisfy this bug.
Comment 3 Brion Vibber 2005-06-23 04:21:28 UTC
Might be worth tying bug 787 with this, to indicate for each allowed protocol whether it requires a 
hostname part (http://example.com/) or not (news:alt.example).
Comment 4 Brion Vibber 2005-07-02 01:43:10 UTC
*** Bug 2662 has been marked as a duplicate of this bug. ***
Comment 5 Ævar Arnfjörð Bjarmason 2005-07-21 20:59:19 UTC
(In reply to comment #2)
> Hacking core source files isn't what we normally mean by configurable. Should be 
> settable from LocalSettings.php without altering core files to satisfy this bug.

It is now, marking this as FIXED.
Comment 6 Michael Keppler 2005-08-15 19:35:39 UTC
*** Bug 3147 has been marked as a duplicate of this bug. ***
Comment 7 Brion Vibber 2005-08-16 23:55:23 UTC
*** Bug 3133 has been marked as a duplicate of this bug. ***
Comment 8 Brion Vibber 2005-08-17 00:07:19 UTC
*** Bug 1235 has been marked as a duplicate of this bug. ***
Comment 10 Brion Vibber 2006-02-02 00:34:51 UTC
*** Bug 4831 has been marked as a duplicate of this bug. ***
Comment 11 Brion Vibber 2006-02-06 21:20:48 UTC
*** Bug 4894 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links