Commit graph

6 commits

Author SHA1 Message Date
Timo Tijhof
26eae98f7f Update jQuery requirements in resources/startup.js per jQuery 1.7.x release
- Check http://jquery.com/:
 * IE 6.0+, FF 3.6+, Safari 5.0+, Opera, Chrome

- It does not include an Opera number, but they are only
  actively testing for Opera 11.x versions. Also Operate
  is quite bold in their upgrade requirement in-browser,
  so that shouldn't be much of an issue.

  I've also updated
  https://www.mediawiki.org/wiki/Compatibility#Browser

  Note that this means that we no longer support enhanced functionality in
  some browsers that are currently still above the 0.1% wmf-traffic threshold
  we keep. I've therefor split [[mw:Compatibility#Browser]] in a "Grade A"
  and "Grade B" section. One that we support for all functionality, and the
  others we support because of traffic, but not "everything" will work.
  Right now the only notable difference will be jQuery and depending modules.

  In reality Grade B will still get the same data served as Grade A, since
  startup.js only enforces IE6 right now (bug 35906)

  Auto-updating Chrome will not need a check, and Chrome < 1.0 is very minor,
  and will probably even work just fine.

Change-Id: If60de580fc892ced1a43a0bc4958988d98d087d9
2012-04-14 03:53:25 +02:00
Krinkle
836dbd7bfd whitespace commit (removing trailing space) 2010-11-22 23:55:37 +00:00
Tim Starling
e2cf4b81db * Break long lines
* For readability, rewrote ResourceLoaderFileModule::readScriptFiles() to use a loop instead of an excessively cute nested array_map() construction.
* In ResourceLoaderFileModule, check file_get_contents() result for errors. Golden rule of error checking: always check fopen(). Every call to fopen will fail some day for some user.
* In mediaWiki.loader.filter(): broke up a complex multi-line conditional into multiple commented if statements, for readability.
* Possessive "its" has no apostrophe.
2010-11-05 06:53:14 +00:00
Trevor Parscal
19e0c2b6ac * Fixed mistake made in r74271 where some functions were moved from core jquery.wikiEditor into jquery.wikiEditor.iframe, causing errors for textarea mode. These changes properly split the functions, allowing the iframe to override the textarea functions, and using $.client to only execute them on IE. (tested in IE7)
* Also fixed IE bug, where "delete window.myThing;" fails but "delete myThing;" succeeds.
2010-10-05 20:54:38 +00:00
Roan Kattouw
e0a67872ca Typo fix 2010-09-21 13:12:11 +00:00
Roan Kattouw
32377424b9 Merging resourceloader branch into trunk. Full documentation is at http://www.mediawiki.org/wiki/ResourceLoader and a general overview has been posted on wikitech-li <http://lists.wikimedia.org/pipermail/wikitech-l/2010-September/049253.html>. One important change is that all JS is now loaded at the bottom, so any scripts assuming things from wikibits or whatever are present will fail. 2010-09-04 04:00:09 +00:00