Foreign files use a HTTP request with action=render, which results in absolute links. Local files call the parser, which gives relative links.
Version: 1.23.0
Severity: normal
Foreign files use a HTTP request with action=render, which results in absolute links. Local files call the parser, which gives relative links.
Version: 1.23.0
Severity: normal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Tgr | T59187 Value of "Artist" should have a full URL | |||
Open | None | T59294 File::getDescriptionText() renders links differently for local and foreign files |
Apparently, the decision whether to use relative URLs is made somewhere deep down in the bowels of the parser by checking the value of $wgRequest->getVal('action'). Fun.