--- Comment #11 from Umherirrender <> 2010-10-26 
19:35:05 UTC ---
(In reply to comment #4)
> Looks like the same base problem as bug 14779...

No, using "$title = Title::newFromText( $name );" and give the $title to
wfFindFile works (with or without "File:"-prefix). But that doesnot work with
urlencode title, that is bug 14779.

wfFindFile is using Title::makeTitleSafe, which use Tilte::makeTitle for the
mDbkeyform. Title::newFromText use Sanitizer::decodeCharReferencesAndNormalize
and that normalize the &quot; &amp; &#39;.

It looks like, newFromText should used for all Titles from Wikitext and
makeTitleSafe should used for form given titles. So this parser function use
the wrong method.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to