https://bugzilla.wikimedia.org/show_bug.cgi?id=30314

--- Comment #9 from Bryan Tong Minh <[email protected]> 2011-08-12 
21:50:12 UTC ---
The code is in includes/parser/Parser.php and includes/Linker.php. The relevant
functions are Parser::makeImage() and Linker::makeImageLink2().

I'm going to make a guess, but the code is too complicated to fully understand
what is going on without extensive debugging. In Parser::makeImage()
fetchFileAndTitle() returns false, because wfFindFile() does not find the file.
getImageParams() returns a parameter map which does not provide the width
magic, causing the 300px to be not recognized as a width parameter, thus
causing it to be interpreted as text.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to