Go to file
rillke fba298c26f Expose file size and MIME to Lua
Use cases:
- size: Showing links (like to SVG validator) conditionally (e.g.
        only if the filesize is below the threshold it can work on)
- mime: No longer have to guess the MIME type based on the file
        extension. We use the MIME type for displaying correct and
        precise information about maximum thumbnailable sizes in
        case an uploaded work exceeds this limit.

This change will not have negative impact on performance; as soon
as width or height is loaded, the two newly added information are
gratis.

Change-Id: I25aad85c2a558a684aca83374aeb628f355fad1c
2015-02-12 01:18:57 +01:00
common Add more comments and type hints 2014-12-19 19:25:53 +00:00
engines Expose file size and MIME to Lua 2015-02-12 01:18:57 +01:00
i18n Localisation updates from https://translatewiki.net. 2015-02-04 22:27:10 +01:00
modules Expose mw.log data on preview 2014-07-07 16:14:30 -04:00
tests/engines Adds support for JSON encoding and decoding 2015-01-26 15:13:22 -08:00
.gitignore Update ignores for some emacs tmp files 2013-07-25 13:11:50 -04:00
.gitreview Adding .gitreview 2012-04-06 13:46:17 -04:00
.jshintrc Add .jshintrc file 2013-12-11 00:06:41 +01:00
composer.json Add composer.json file 2014-01-29 20:07:55 +01:00
Scribunto.i18n.php Update i18n shim 2014-04-22 13:40:40 +00:00
Scribunto.magic.php Localisation updates from https://translatewiki.net. 2014-11-04 23:31:03 +01:00
Scribunto.namespaces.php Add namespace translations for 'mai' 2014-10-22 22:56:21 +05:00
Scribunto.php Make Jenkins tests pass 2014-12-18 22:40:33 -05:00