Page MenuHomePhabricator

Allow browser to pass screen resolution to web server when rendering MediaWiki page
Closed, InvalidPublic

Description

Author: denelson83

Description:
I have my screen resolution set to 1280×960×32 bit, resulting in the div box in
the template linked to from here looking too wide on my screen. Presumably,
another user set it that way because his or her screen resolution is set much
lower. So to resolve this, is it possible that another magic word, perhaps
{{RESOLUTION}}, be implemented that would return the screen resolution as
reported by the client computer?


Version: 1.8.x
Severity: enhancement
OS: Windows XP
Platform: PC
URL: http://en.wikipedia.org/wiki/Template:Sailor_Moon

Details

Reference
bz7437

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:23 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz7437.
bzimport added a subscriber: Unknown Object (MLST).

marco wrote:

it would be possible via javascript, i think.

ayg wrote:

Use the CSS max-width property, which will work for anyone who doesn't use IE 6.
The people who use IE 6 *and* use unusually large screen resolutions can
upgrade to IE 7 (or switch to a different browser) if it really bothers them.