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:
dfcc5bb
)
Followup r49655
author
Sam Reed
<reedy@users.mediawiki.org>
Fri, 18 Feb 2011 23:42:19 +0000
(23:42 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Fri, 18 Feb 2011 23:42:19 +0000
(23:42 +0000)
I'd guess there's never been a Title::newFromTitle method, swapping for Title::newFromText
includes/filerepo/LocalRepo.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/LocalRepo.php
b/includes/filerepo/LocalRepo.php
index
e556887
..
0ad1947
100644
(file)
--- a/
includes/filerepo/LocalRepo.php
+++ b/
includes/filerepo/LocalRepo.php
@@
-85,7
+85,7
@@
class LocalRepo extends FSRepo {
global $wgMemc;
if( is_string( $title ) ) {
- $title = Title::newFromT
itle
( $title );
+ $title = Title::newFromT
ext
( $title );
}
if( $title instanceof Title && $title->getNamespace() == NS_MEDIA ) {
$title = Title::makeTitle( NS_FILE, $title->getText() );