Fix classname mismatch between upload js and templates/thumbnail.html
authorBrian Wolff <bawolff+wn@gmail.com>
Mon, 24 Aug 2015 04:43:15 +0000 (22:43 -0600)
committerBrian Wolff <bawolff+wn@gmail.com>
Mon, 24 Aug 2015 04:47:30 +0000 (22:47 -0600)
commit25cda1d8a3c1c9e59ca901e12d0df8b7171e396e
treed3b27c898bc6b5394be5098e714d4d962868fee2
parent221acd4ee48de6a25b3f453828fa6d6c6dd1b43f
Fix classname mismatch between upload js and templates/thumbnail.html

Classname was changed to use newer jQuery library, but js was still
hardcoding the old classname. This resulted in the preview of the
to be uploaded file, not to be shown.

I added an html comment to the template file to warn future
modifies about the dependency. I'm not sure if html comments in
template files are considered "appropriate".

Bug: T109952
Change-Id: I098a86260453d32644ff9ab06194c13998643de9
Follow-up: 6a70cc6968a3780c0b118e07f02f5ef015e655bb
resources/src/mediawiki.special/mediawiki.special.upload.js
resources/src/mediawiki.special/templates/thumbnail.html