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

       Web browser: ---
             Bug #: 35907
           Summary: MediaWiki:Pagesize customization
           Product: MediaWiki
           Version: 1.17.1
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: User interface
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


I see the text of this user interface is simply "(bytes)".. It seems to have no
parameter for those that do not want that display. Will the wiki-core
automatically adjust if I change this to say "(kilobytes)"? Otherwise, it would
be nice if I could change it to this (Assuming $1 is the non-raw number of
bytes): ({{#ifexpr:{{format:$1|R}}/1024^2<1|{{#ifexpr:{{format:$1|R}}/1024<1|$1
bytes|{{#expr:{{format:$1|R}}/1024round1}}
kB}}|{{#expr:{{format:$1|R}}/1024^2round2}} MB}}).

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