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

--- Comment #7 from Brion Vibber <[email protected]> 2012-05-24 22:30:41 UTC 
---
I think the way to go with this is to extend the small FileInfo extension that
I wrote a while ago: <https://www.mediawiki.org/wiki/Extension:FileInfo>
<http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/FileInfo/>

This currently has a parser function for getting the size of an arbitrary file;
you can use {{#filesize:{{PAGENAME}}}} etc to do the equivalent of just a raw
magic word, with the benefit that you can use it in templates and things.

-- 
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