https://bugzilla.wikimedia.org/show_bug.cgi?id=19270
Web browser: ---
Summary: Relative URIs in interwiki links table break interwiki
transclusion
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Keywords: need-review, patch
Severity: minor
Priority: Normal
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
Depends on: 18664
Created an attachment (id=6237)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=6237)
Call wfExpandUrl in request() [HttpFunctions.php]
If you have an interwiki link:
ru => '//ru.wikifur.com/wiki/$1'
where iw_trans is set to 1
then the following inclusion:
{{:ru:GreenReaper}}
will fail with the following error:
"[Template fetch failed for //en.wikifur.com/wiki/GreenReaper?action=render]"
and:
"Warning: file_get_contents(//en.wikifur.com/wiki/GreenReaper?action=render)
[function.file-get-contents]: failed to open stream: No such file or directory
in [*censored*]/pool/w/includes/HttpFunctions.php on line 116"
If wfExpandUrl is called to expand the $url passed to request(), this ensures
(once bug 18664 is fixed) that the relative URL becomes an absolute URI as
required by file_get_contents.
--
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