https://bugzilla.wikimedia.org/show_bug.cgi?id=40588
Web browser: ---
Bug #: 40588
Summary: Special:LinkSearch cannot search with a port in the
url
Product: MediaWiki
Version: 1.20-git
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Special pages
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
Giving a url with a port to search form of Special:LinkSearch, will not find
the url.
A user on de.wp was searching for:
http://www.gencat.net:8000/osial/owa/p01.dad_ens?via=0&cod=0800180001
This results in a query (on my localhost, git master):
SELECT page_namespace AS namespace, page_title AS title, el_index AS value,
el_to AS url
FROM `page` , `externallinks`
FORCE INDEX ( el_index )
WHERE (
page_id = el_from
)
AND (
el_index LIKE
'http://net:8000.gencat.www./osial/owa/p01.dad\_ens?via=0&cod=0800180001%'
But el_index in the database is:
http://net.gencat.www.:8000/osial/owa/p01.dad_ens?via=0&cod=0800180001
which cannot match, because the database has the port after domain and the
special page put the port after the tld, which looks strange.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l