(bug 32951) Do not register absolute internal externals
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 29 Sep 2012 10:36:33 +0000 (12:36 +0200)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 3 Oct 2012 23:15:38 +0000 (23:15 +0000)
commita2e470ee686fd0e011a7b6225ca53a933e33b9a0
treea71f1c43f000845ae36997c78a8b7ad0cd4e32f0
parent0e680548fe9e31bf213fc9525a2ca26c210e8f52
(bug 32951) Do not register absolute internal externals

Setting $wgRegisterInternalExternals = false for proto server should not
store the http/https links in externallinks table

Also fix detection of own links for links with query or anchor or
nothing

new also detected:
//localhost
//localhost?query
//localhost#anchor

already detected:
//localhost/path

Change-Id: Idd03d309cc3b71728a8cbea460efa12b10348d64
RELEASE-NOTES-1.21
includes/parser/ParserOutput.php
tests/phpunit/includes/parser/ParserOutputTest.php [new file with mode: 0644]