dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0b9ccf
)
Attempt to fix External Edit for files.
author
gicode
<gicode@localhost>
Thu, 1 Dec 2011 19:11:54 +0000
(19:11 +0000)
committer
gicode
<gicode@localhost>
Thu, 1 Dec 2011 19:11:54 +0000
(19:11 +0000)
I would feel better if I knew how to test this all the way through...
Follow-up r102521.
includes/ExternalEdit.php
patch
|
blob
|
history
diff --git
a/includes/ExternalEdit.php
b/includes/ExternalEdit.php
index
b225001
..
9bdbd6c
100644
(file)
--- a/
includes/ExternalEdit.php
+++ b/
includes/ExternalEdit.php
@@
-80,7
+80,7
@@
class ExternalEdit extends ContextSource {
} else {
if ( $this->getRequest()->getVal( 'mode' ) == 'file' ) {
$type = "Edit file";
- $image = wfLocalFile( $this->
title
);
+ $image = wfLocalFile( $this->
getTitle()
);
$urls = array( 'File' => array(
'Extension' => $image->getExtension(),
'URL' => $image->getCanonicalURL()