Last modified: 2011-07-13 18:33:48 UTC
Created attachment 8708 [details] Example patch Extension:WebChat (http://www.mediawiki.org/wiki/Extension:WebChat) uses an iFrame to display content, that is automatically resized to screen width. This forces the user to resize the browser to be unnecessarily wide. This is caused by /trunk/extensions/WebChat/WebChat_body.php, in function execute(). The attachment shows a sample change on how to fix the problem. It changes the iFrame width to 100%, letting the browser to resize the iFrame itself rather than hacking it through Javascript. A sample fix is found on StrategyWiki, and may be copied from there.
Patch seems to do the job! :) Looks ok in Firefox 5, IE 7, IE 6, didn't bother testing other browsers. Applied in r92077 (with the commented lines removed).