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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 430 - Allow backslash and dollar character in external links parser
Allow backslash and dollar character in external links parser
Status: RESOLVED DUPLICATE of bug 343
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
PC Windows 2000
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-09-09 13:01 UTC by Michael Keppler
Modified: 2010-05-15 15:29 UTC (History)
0 users

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


Description Michael Keppler 2004-09-09 13:01:09 UTC
Please add "\" and "$" to the external links parser to make the software usable
in Windows based intranets. "\" is needed for host based pathes like
\\servername\path\file and the "$" character is used for "hidden" network shares
in Windows.
This can be accomplished by changing function subReplaceExternalLinks in
includes\parser.php, so that
		$uc = "A-Za-z0-9_\\/~%\\-+&*#?!=()@\\x80-\\xFF\\\\\\$";
instead of
		$uc = "A-Za-z0-9_\\/~%\\-+&*#?!=()@\\x80-\\xFF";
where the change is "\\\\" and "\\$" and by
		$fnc = 'A-Za-z0-9_.,~%\\-+&;#*?!=()@\\x80-\\xFF\\\\\\$';
instead of
		$fnc = 'A-Za-z0-9_.,~%\\-+&;#*?!=()@\\x80-\\xFF';

With these changes the software works fine in a Windows installation at our company.
Comment 1 Brion Vibber 2004-09-09 18:28:56 UTC

*** This bug has been marked as a duplicate of 343 ***

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