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

       Web browser: ---
            Bug ID: 57230
           Summary: Provide a module to format sizes
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: JavaScript
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: listenle...@gmail.com
                CC: krinklem...@gmail.com, matma....@gmail.com,
                    tpars...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

mediawiki.inspect.js has a function humanSize, mediawiki.special.upload.js a
function prettySize, UW probably has such a function, and there will be several
other implementations of it, including user scripts and gadgets. Instead of
re-inventing the wheel every time there should be a module for this, or a
function in an already existing module.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to