dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Per wikitech-l, run a bunch of URLs in the API output through wfExpandUrl(), so they...
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryIWLinks.php
diff --git
a/includes/api/ApiQueryIWLinks.php
b/includes/api/ApiQueryIWLinks.php
index
6244793
..
9addf36
100644
(file)
--- a/
includes/api/ApiQueryIWLinks.php
+++ b/
includes/api/ApiQueryIWLinks.php
@@
-112,7
+112,7
@@
class ApiQueryIWLinks extends ApiQueryBase {
if ( !is_null( $params['url'] ) ) {
$title = Title::newFromText( "{$row->iwl_prefix}:{$row->iwl_title}" );
if ( $title ) {
- $entry['url'] =
$title->getFullURL(
);
+ $entry['url'] =
wfExpandUrl( $title->getFullURL()
);
}
}