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
* (bug 12935, 12981) Fully-qualify archive URLs in delete, revert messages
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
File.php
diff --git
a/includes/filerepo/File.php
b/includes/filerepo/File.php
index
f4b28db
..
5172ad0
100644
(file)
--- a/
includes/filerepo/File.php
+++ b/
includes/filerepo/File.php
@@
-155,12
+155,7
@@
abstract class File {
* @return string
*/
public function getFullUrl() {
- $url = $this->getUrl();
- if( substr( $url, 0, 1 ) == '/' ) {
- global $wgServer;
- return $wgServer . $url;
- }
- return $url;
+ return wfExpandUrl( $this->getUrl() );
}
function getViewURL() {