Commit graph

260 commits

Author SHA1 Message Date
Leo Koppelkamm
abc88c1561 Tablesorter: Add a title attribute to sort arrows ( Bug 21453 ) 2011-05-03 11:44:35 +00:00
Leo Koppelkamm
f925945977 Tablesorter: use mw.config.get() to access globals; force mdy for english contentlang 2011-05-02 11:55:45 +00:00
Leo Koppelkamm
73ea7301ec Make jquery.tablesorter more resilient by checking multiple cells before assuming a type. Fixes Bug 28775 2011-05-02 11:31:45 +00:00
Leo Koppelkamm
507ae6c45e TableSorter: Allow whitespace between digits and percent sign. Fixes Bug 28406 2011-04-27 11:02:59 +00:00
Krinkle
dc32287e25 jquery.byteLimit fixes:
* 'this' in a fn/prototype context already points to the jQuery object. Calling $(this) is redundant and goes through $.fn.init again untill it reaches the last else case (luckily $.fn.init() has a failsafe case for that, but also makes it harder to spot)
* Adding support for using the current attribute value (to avoid having to duplicate the values between PHP and JavaScript). Fully backwards compatible, I think it's a very handy feature to be able to pass a custom length, but using the maxLength attribute as a default makes sense.
2011-04-26 20:00:59 +00:00
Leo Koppelkamm
5761d25008 Followup to r86854: fix $ object 2011-04-25 13:18:09 +00:00
Leo Koppelkamm
b16efcada2 Followup to r86108: jQuery tries to be too smart and converts the string to a number, which breaks the value parser 2011-04-25 13:15:26 +00:00
Roan Kattouw
5a121eb723 Followup r86625: per CR, use loose comparison against null instead of typeof foo != 'undefined' because jQuery 1.4 (which MW uses) actually returns null for unset .data() keys, but 1.5 returns undefined. 2011-04-25 10:17:30 +00:00
Roan Kattouw
233a49e612 (bug 28650) Refactor dynamic byte-based maxlength of edit summary into a jQuery plugin. Patch by Jan Paul Posma 2011-04-22 10:58:58 +00:00
Trevor Parscal
774804fb64 Added jquery.json library to core. 2011-04-21 19:33:53 +00:00
Roan Kattouw
bedecf2240 (bug 27833) CollapsibleTabs doesn't collapse tabs due to JS errors
* Change remove() to detach() so .data() isn't lost
* Be more careful using the parent's .data() in addData()
* Change ele (which mysteriously isn't available in the closure) to this, they're the same anyway
2011-04-21 14:39:45 +00:00
Roan Kattouw
19edd6b0e4 (bug 22209, bug 22574) Make indent, bullet list and numbered list buttons in the WikiEditor toolbar act on each line individually
* Reintroduce support for the splitlines argument in encapsulateSelection(). Was implemented by Adam Miller in r61493 but got lost somehow
* Add 'splitlines': true for the bullet list and numbered list buttons. The indent button already had it, so that part of r61493 did survive
* Copy options.pre and options.post to local pre and post variables instead of using (and modifying!) them directly all over the place
2011-04-21 13:42:39 +00:00
Leo Koppelkamm
92d5213ece Move edit.js stuff to mediawiki.action.edit.js, and remove wikibits dependency. Wrap publicly accessible functions inside mw.toolbar & provide legacy shortcuts to those. Make the traditional toolbar use $.fn.textSelection, to reduce code duplication. This fixes Bug 27116, Bug 15705, Bug 11011 2011-04-21 08:19:24 +00:00
Trevor Parscal
90d5d35680 Added keys option to jquery.localize, allowing message keys to be remapped when rendering a template by providing a an object of [message-key-in-template]/[message-key-to-use] pairs. 2011-04-19 21:01:01 +00:00
Leo Koppelkamm
fdd72f8271 r86088: Get rid of eval by implemting a MergeSort algorithm. It's a few ms slower on very large tables, but is stable-sorting in all browsers 2011-04-18 19:20:02 +00:00
Leo Koppelkamm
77e1e201f6 Followup r86088 per CR: Move month array builder into language; use mw.config.get(); Fix rowspans and some cleanup 2011-04-18 12:54:28 +00:00
Leo Koppelkamm
26b32c426d r86108: Fix var name 2011-04-15 08:31:05 +00:00
Leo Koppelkamm
16760162b1 Followup ro r86088: Use data-sort-type instead of classes to specify the parser-type; add support for data-sort-value; strip legacy code (CR) 2011-04-15 08:23:29 +00:00
Leo Koppelkamm
6419c17740 Updating jQuery from 1.4.2->1.4.4, for better data-* support. 1.4.4 contains the patch from r74326 in core 2011-04-15 07:28:02 +00:00
Leo Koppelkamm
7d6ddfe836 Completely rewritten table sorting script.
Fixes Bug 8028, Bug 8115, Bug 15406, Bug 17141, Bug 8732

1. Sites can specify custom collations.
The script accepts an object "tableSorterCollation" which contains a lookup
table, how specific characters should be treated.
For example, after setting "tableSorterCollation={'ä':'ae', 'ß':'ss'};" in the
site's common.js any string containing an ä or Ä will be sorted as if it were a
'ae'.

2. Table rows can be forced to use a specific data type.
By setting class="sort-{Parsername}", the row will be parsed with the specified
algorithm. class="sort-date" would force date sorting etc.
The following parsers are available: text, IPAddress, number, url, currency,
date, isoDate, usLongDate, time

3. Execution time is reduced by half or more.

Sorting a 935 row * 8 columns table:

Browser     Before      After
--------    ------      -----
Chrome 10   90ms        42ms
Safari 5    115ms       48ms
Firefox 4   412ms       87ms
IE8         720ms       115ms

4. Based on the content language and the mdy vs dmy preference, the parser can
understand dates such as "17. März '11". wgMonthNames=[] and
wgMonthNamesShort=[] 
in the content language and the mdy vs dmy preference are exported to js; A
table containing the following dates would be sorted correctly:
17. Jan. 01
23 Feb 1992
9.02.05
13 November 2001
14 Oktober '76

Was tested in ie6-8, chrome, safari 5, ff3 & ff4
2011-04-14 21:47:00 +00:00
Roan Kattouw
dd02d077b6 In $.textSelection, treat <input> elements differently from other elements (such as textareas and iframes) in IE, seems to be needed for some reason (oh IE, how I hate you). This fixes a bug causing Narayam's keyboard mappings to not work in <input> elements in IE. 2011-03-20 14:48:20 +00:00
Krinkle
db8f2328c2 per r83658 CR: mw.log.prefix is for identifying windows, not context. Using string concat instead 2011-03-18 22:16:12 +00:00
Roan Kattouw
00c5c39e24 Fix r83586 (drag and drop support for placeholder plugin) to work in IE, whose drag&drop API is surprisingly similar to Firefox's but with slight differences 2011-03-09 14:27:13 +00:00
Roan Kattouw
324b9997f3 (bug 27944) Search placeholder was inserted even when the search box was already focused, leading to the placeholder being added to the search string. This revision doesn't fix the initial insertion of the placeholder if the search box is focused but empty, but it does remove it upon keydown (and paste), which fixes the search string munging.
(bug 26135) Support drag and drop in the search box in Firefox. Done by adding 'drop' to the list of events to update search suggestions for and to remove the placeholder for. Removing the placeholder is trickier in this case because 'drop' fires after the text has already been inserted, and because it could have been inserted at any offset in the placeholder string. Used dataTransfer magic to obtain the text being dropped and just overwrote the search box text with that.
2011-03-09 13:54:02 +00:00
Krinkle
6fd85d1cd0 removing fallback, not needed (messages are in-core and defined in Resources.php). FU: r78966 2011-03-07 21:17:47 +00:00
Krinkle
a832f9f450 Fixed (bug 27652) [jQuery.client] versionBase is wrong for versions higher with two or more digits
* A userAgent like the following:
> "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; nl-nl) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4"
Will now have a versionBase of "10" instead of "1".
* A few JSHint warnings fixed (missing semicolon)
2011-03-06 14:34:10 +00:00
Krinkle
27b5c803d7 Fix bug in makeCollapsible.
* The instantHide implementation (added in r82471) didn't cover the case where a table is collapsed by default, it needs to pass the toggle to the function so that the row it is in can be excluded.
* The bug was found by user Helder.wiki, also reproducable on the demonstration page (I guess it was cached for everyone, since nobody noticed?)
* Demonstration page has been refreshed and all tests are passed now.
2011-03-05 19:00:19 +00:00
Roan Kattouw
8b9af2f364 Merge r83152 from 1.17wmf1 to trunk 2011-03-03 18:04:11 +00:00
Brion Vibber
8842ab1d0c Add @fixme comments for undocumented options parameters 2011-03-03 02:10:38 +00:00
Krinkle
86d10b8ce0 Closing tags in jQuery-element creation. Bug in jQuery, using the shortcut doens't work in IE8, it needs to be <open></close> 2011-02-28 21:20:23 +00:00
Krinkle
9f3db4baa5 changing implied if-statement into a real if-statment; Passes strict settings of JSHint now as well 2011-02-24 23:10:04 +00:00
Krinkle
76935df945 caching selector instead of re-creating the jQuery object for 'this' two or three times 2011-02-24 23:02:56 +00:00
Roan Kattouw
8ec5eefde8 (bug 27355) Guard against context being null, this happens when wikiEditor disables itself in unsupported browsers and was causing a JS error 2011-02-20 19:27:03 +00:00
Krinkle
b2378a694c Using the mw alias for mediaWiki in core. Saves bandwidth and makes sense (there's no point in a wrapper function for ($,mw) if we use jQuery and mediaWiki inside of it).
TODO: Since the alias is globally available from the start, the 'mw' argument in the wrapper is redundant, so that should be removed at some point as well.
2011-02-19 22:59:44 +00:00
Krinkle
d2a23f2e22 Improving jquery.makeCollapsible & small fixed mw.util
* Making makeCollapsible more DRY. 
* Small optimalizations and fixes in mw.util
2011-02-19 17:46:30 +00:00
Krinkle
2e6b0c5fa1 Fixing issue with multiple premade toggles in a non-custom collapsible element.
The problem is that when one of the toggles is clicked the classname is only changed on the toggle that was clicked. The others will stil have the wrong class. On of the areas in which this may lead to weird behaviour is the :hover styles for the up- and downarrow cursors.

Previously would bind to all of them :

<pre>
 = .find( '> .mw-collapsible-toggle' );
// ^ may match multiple ones
</pre>

...  which is good. But in the click handler:

<pre>
[..].bind( 'click.mw-collapse', function( e ){
toggleLinkPremade( this, e );
} );
</pre>

... only called the function with 'this'. This has been changed to pass all of  instead.

This problem was discovered in the following scenario. Where an .mw-collapsible has three children. The first two are clickable and are the togglers for the third child.
http://translatewiki.net/w/i.php?title=Sandbox&oldid=2692006
2011-02-11 22:30:14 +00:00
Krinkle
8fa69452fa Follow-up r81660.
(Renaming new jQuery.jsMessage plugin to jQuery.mesageBox() )
2011-02-08 00:22:03 +00:00
Krinkle
0146f3e4f3 Renaming new jQuery.jsMessage plugin to jQuery.mesageBox(). Name was too generic and could be confusing with localization messages.
. Next commit will deal with the contents of the messageBox .js/css files
2011-02-08 00:20:41 +00:00
Roan Kattouw
0b24c29294 Followup r81491: use $.client correctly 2011-02-07 21:55:11 +00:00
Brion Vibber
d8b39ef3f6 Fix for renamed stuff that broke jquery.textSelection.js: $.os.name -> $.client.platform 2011-02-07 21:45:19 +00:00
Krinkle
1102826153 Making a start with $.jsMessage. A more flexible way for messages. Supports grouping them and making the replacing of previous messages into option (the current jsMsg() function always replaces older messages. Time has shown that there is need for the ability to show older messages as well and grouping to avoid different scripts from erasing or clearing eachother's output (current Commons and a few other wikis have created similar functions to enable keeping previous messages)
* See also bug 26888. Not resolving the bug yet, this plugins needs a little more testing and should then be called from within mw.util.jsMessage with some wiki specific things.

Examples:

// Show a simple message in the default group
$.jsMessage( {
message: 'Hello',
target: 'mw-js-message'
} );

// Add a new message this time stating the defaults
$.jsMessage( {
message: 'World',
group: 'default',
replace: false,
target: 'mw-js-message'
} );

// Post a new message, replacing the previous ones
$.jsMessage( {
message: 'New',
group: 'default',
replace: true,
target: 'mw-js-message'
} );

// Add a messages in a new group (groups separated by a line)
$.jsMessage( {
message: 'A new group',
group: 'something',
target: 'mw-js-message'
} );

// Clear the default group
// See code comments for more info
$.jsMessage( {
message: '',
replace: true,
target: 'mw-js-message'
} );

// Clear the 'something'-group
// Since this leaves no visible groups, the main box will hide (slideUp) right after
$.jsMessage( {
message: '',
group: 'something',
replace: true,
target: 'mw-js-message'
} );

If testing goes well, mw.util.jsMsg(message, className, replace) will call
$.jsMessage( { message: message, group: className, replace: replace, target: $.jsMessage(ge' );
So it's more a backend plugin, not used directly by core modules.
But this way extensions or third party sites can easily re-use this plugin and/or create multiple message boxes
on one page, by calling $.jsMessageNew and giving an id and location for it on the page.
2011-02-04 02:17:14 +00:00
Krinkle
006b6ee25f Applying conventions and some JSLint good practices in core modules. 2011-02-01 02:28:10 +00:00
Krinkle
892de3450c Applying conventions and some JSLint good practices in core modules. 2011-01-31 22:02:58 +00:00
Krinkle
bc0f9cac32 Wrapping core modules (FIXME from r79929)
(Touch: r74088, r73046)
2011-01-31 19:33:16 +00:00
Krinkle
cc676254a4 Small fixes
* Missing space in SpecialPage.php
* Raising z-index of .suggestions (when used in a jQuery UI modal box the suggestion list appeared behind the modal instead of on top (ui modal has z-index: 1000; )
2011-01-25 19:53:21 +00:00
Roan Kattouw
61db3d8cab (bug 26827) Fix JS error on IE caused by the rename of {save,restore}StuffForIE() not updating callers. Changed callers to use {save,restore}Selection() or {save,restore}CursorAndScrollTop() as seemed appropriate 2011-01-24 02:58:12 +00:00
Sam Reed
dbaa60e4ea Add missing ; 2011-01-23 02:16:49 +00:00
Derk-Jan Hartman
0f0f9e6d13 Partial revert of r80772.
Did not mean to commit that potential but unconfirmed fix for bug 26135
2011-01-22 23:13:59 +00:00
Derk-Jan Hartman
fee2a5a3ea Port Chick to Resourceloader. Bug 26649 2011-01-22 21:29:39 +00:00
Andrew Garrett
6dfa145c88 Add jquery.form.js, from http://jquery.malsup.com/form/#download 2011-01-18 18:25:42 +00:00
Trevor Parscal
85a453204c Fixed IE bug, you must use html:msg for the msg elements that jquery.localize uses to translate things otherwise IE chokes when you insert them cause it doesn't know about the msg element. 2011-01-12 20:43:23 +00:00
Trevor Parscal
de1e452557 Fixed suggestions positioning in IE6 2011-01-12 20:04:58 +00:00
Trevor Parscal
534f6abd6b Fixed logic error - all tests were passing... :( 2011-01-11 23:15:26 +00:00
Trevor Parscal
9d999a61fc Fixed logic error that caused the test to always pass. 2011-01-11 21:55:45 +00:00
Trevor Parscal
dfabce85cf Included client in the initial payload. Restored functionality that used to exist in this plug-in that adds classes to the document's HTML element for browser and platform information. This will help reduce CSS hacks to only be used for non-JS rendered items. 2011-01-11 20:56:15 +00:00
Krinkle
85d5e617d7 Removing unneeded wraps and using $ and mw instead of jQuery or mediaWiki since r79246 enabled the private scope by default. No need for two wraps.
(the wraps had an extra indention, hence the diff will probably look huge)
2011-01-10 05:33:03 +00:00
Krinkle
acf088b883 Clean up mediawiki.special.upload.js
* (Whitespace) conventions [[Manual:Coding conventions]]
* Single quotes where possible
* Removing useless parens in some cases
* Missing semicolons (JSLint)
(Kindafollowupon r79867)
2011-01-08 16:43:25 +00:00
Krinkle
83a7822df7 Wrote jquery.colorUtil plugin.
* Introduces rgbToHsl and hslToRgb functions
* Introdoces a simple way to get a brigher or darker color
* Moved getRGB() function and colors-array from jquery.color to it so they are publically available.
* Applied fixed from JSLint to all of this
* Made jquery.color use these instead to avoid duplication and added dependency for it
2011-01-05 23:24:07 +00:00
Krinkle
8fad46e6ad * Toggle entire element if no .mw-collapsible-content is found
* Bug fixed in which a single customtoggle should trigger multiple customcollapsible elements

If no .mw-collapsible-content element is found when the toggleElement() function is called, assume that the user wants the mw-collapsible itself to be toggled. This enables custom use with table rows (in which we dont want something inside to toggle but the entire table row) - with a remote toggle.

This change makes it possible to have a togglable table-row.

The intial "collapsed" state for a mw-customtoggle is no longer executed by performing a click on the mw-customtoggle. Instead by calling the toggle function directly.
Reason being that an mw-customtoggle could have any number of special functions bound to it (be it the function to toggle another mw-customcollapsible, or perhaps a totally different function).

I considered using this method for 'normal' default togglers as well. However default togglers have more actions involved aside from just 'toggling' the element. Namely changing the innerText to the localized message and swapping classes. Those stay as they are by simply simulating a click() event on them (if the initial state should be collapsed).
2011-01-02 04:46:44 +00:00
Krinkle
0f8d4d4481 Treat premade toggle links as a custom instead of default case (ie. dont change the text) (Follow-up r78989 CR) 2010-12-27 17:37:19 +00:00
Krinkle
31c71dbdb4 The toggle link may be in any of the cells of the first row. The default will stick to the last cell but when detecting premade links, it now scans the entire first row instead of just the last cell. 2010-12-27 16:43:50 +00:00
Krinkle
c2da6eade9 adding hoverIntent plugin 2010-12-26 20:41:08 +00:00
Krinkle
d4ff136244 Added remote binding for custom collapsibles and minor improvements
* Fixed JSLint errors
* Added support for custom collapsibles that can have togglelink(s) anywhere in the document
* To prevent people from making secret toggle links (vandalism?) for things like '#content', prefix 'mw-customcollapsible-' is required
* Merged a few comments (bit less verbose)
* Adding extra check when fixing li-value. Value-attribute of an ordered list items defaults to '-1' instead of '' in Mozilla Firefox 3.
2010-12-25 03:26:09 +00:00
Krinkle
fd7afe8b90 Fixing typo from r78944 2010-12-24 16:08:42 +00:00
Krinkle
61c52fcdd5 Adding fallback for collapsible messages 2010-12-24 15:27:11 +00:00
Krinkle
ed5d9a08b0 Forgot to namespace the click handler. Unbinding all click handlers is indeed risky (Follow-up r78935 CR) 2010-12-24 15:24:28 +00:00
Krinkle
5a8133d6d9 Removing debug call. Follow-up r78935 CR 2010-12-24 14:34:27 +00:00
Krinkle
6c83eee8ac Fixing TODO from r78915
* Removed old "kr-" prefix for the plugin
* Moved function call from the bottom of the script to mw init function
2010-12-24 01:30:23 +00:00
Krinkle
1a827a0984 Improving jquery.makeCollapsible:
* Setting toggle function in a variable to easier reuse it through the plugin
* Replace "-hide" and "-show" classes with "expanded" and "collapsed" respectively
* For more flexibility, if there's a toggle-element already, bind the function to it and use it instead. Otherwise, just create one as usual. See [[betawiki:User:Krinkle/CollapsingTestpageKr#footer|CollapsingTestpageKr#Combination example]]
** It's more likely that the source has a custom position of the togglelink waiting for it to be bound, then it to be already bound.
* Some comments improved
* Message key "hide" to "collapsible-collapse" (Follow-up r78915 CR)
* Message key "show" to "collapsible-expand"
* Changed toggle-link content filling from html() to text() (message errors like <keyname> caused an HTML-element to be created)
2010-12-23 23:34:32 +00:00
Krinkle
c105152ef1 removing cursor style from JS, adding to CSS file instead 2010-12-23 19:42:26 +00:00
Krinkle
3f57784777 fixing comment in jquery.makeCollapsible.js (in mw 'jquery' is written in lowercase in filenames 2010-12-23 19:27:43 +00:00
Krinkle
9ba8bf97fa whitespace according to mw conventions + using mw.msg instead of english hardcoding 2010-12-23 19:26:30 +00:00
Krinkle
eb18151c7a adding jQuery.makeCollapsible plugin 2010-12-23 19:25:16 +00:00
Roan Kattouw
85d474d85f Fix JS errors thrown by SimpleSearch: add dependency from jquery.autoEllipsis to jquery.highlightText, and fix the latter for the RegExp.escape() -> $.escapeRE() rename 2010-12-23 14:16:20 +00:00
Trevor Parscal
0c9c79a313 Fixed RTL errors for search suggestions 2010-12-16 19:03:51 +00:00
Trevor Parscal
d6a72c6ec8 Updated cookie plugin 2010-12-08 23:14:21 +00:00
Trevor Parscal
88f330061e Removing unused plugin file 2010-12-08 19:14:21 +00:00
Brandon Harris
44a91da53a * Fix issues brought up in r75832
* Really and truly add in a couple files that were supposed to go in with r77898, and fully revert r77860 (which was a reversion of r75832). (Ran previous commit for r77898 from wrong directory. Oops.)
* Fixed issue with help box text not being parsed.
* Modified help system to remove tooltips and instead open/show hidden boxes.
  - I am not happy with this design and future revisions will iterate upon it.
  - The biggest problem is everything sitting "on top" of itself.  I dislike this a great deal and plan on changing it to be more aesthetic and natural; however, I wanted to get a version of this in that allowed for cut-and-pasting and solved the text parsing issue.
  - With javascript disabled, help text is visible by default.
* Remove redundancy in checkboxes
* Added i18n entry for "help", which wasn't there for some reason.
* Removed references to tipsy library in installer html
  - Kept tipsy library in core; this is being used elsewhere.
2010-12-06 23:13:35 +00:00
Sam Reed
bfb6c23266 (bug 26265) Many semicolons are missing from JavaScript files
And some more unterminated statements..
2010-12-06 22:34:15 +00:00
Sam Reed
f8c9b5a6d3 (bug 26265) Many semicolons are missing from JavaScript files
More unterminated statements..
2010-12-06 22:30:34 +00:00
Trevor Parscal
887d1d1660 Improves on r77710 - no purpose in using call() here. 2010-12-06 21:09:53 +00:00
Tim Starling
41b92f3343 Reverted r75832 per my comments on CR, unanswered for 19 days. Moving all help information into tooltips is a step backwards for usability. Reverted followups r75836, r75866, r76314 and r76315. 2010-12-06 07:08:31 +00:00
Trevor Parscal
4cb694ec6c Added new localize plugin which allows simple placeholder based localization of a dom selection with special <msg /> elements or elements with title-msg or alt-msg attributes. 2010-12-04 02:16:37 +00:00
Sam Reed
5437c40e1d Remove some redundant character escapes from regexes 2010-11-30 19:38:04 +00:00
Sam Reed
3070a42fca More JS documentation fixups 2010-11-30 18:26:52 +00:00
Sam Reed
a1d9af3a06 Start fixing up javascript function documentation
Switching order, renaming parameters in documentation
2010-11-30 18:19:27 +00:00
Krinkle
836dbd7bfd whitespace commit (removing trailing space) 2010-11-22 23:55:37 +00:00
Krinkle
1a95664a43 jquery.placeholder.js rewritten
* Instead of calling placeholder() and passing the placeholder-text to it (which meant having to manage text-messages in javascript as well and calling it for each different one), it is now expected that the placeholder-attribute already exists on the page generated by PHP. placeholder() is then called on all input-elements with that attribute to provide fallback for browsers that don't support it.
2010-11-19 00:12:43 +00:00
Krinkle
c563312d90 clean-up trailing spaces and tabs in js/css resources 2010-11-12 23:10:58 +00:00
Roan Kattouw
f3628a4a2a (bug 25877) Don't focus search box when clicking SimpleSearch's magnifying class button 2010-11-11 10:15:49 +00:00
Brandon Harris
d00ddeef7f * Added tipsy library
* Added associated files for tooltip display
* Added associated css rules for tooltip display
* Updated installer's help system in (most?) places to display help as tooltips instead of show/hide system
* Beginnings of visual changes (e.g., less boxes, more color)
* Modified several of the installer's widget display methods
* Added a couple new i18n values
* Fixed small bug in installer logic:
  - Password validation on new users was being executed even if there wasn't a $user object
2010-11-01 21:17:15 +00:00
Roan Kattouw
674e917ce2 Indentation fix 2010-11-01 14:25:47 +00:00
Krinkle
4074b58c3c white-space cleanup throughout $.client and mw.util and mw.util.test (r75593) 2010-10-29 15:30:54 +00:00
Krinkle
77424c1f50 adding layoutversion to $.client and isLayoutVersion to mw.util. Follow-up of r75593 2010-10-29 15:27:53 +00:00
Krinkle
e2e6fb563b moved jQuery.fn.enableCheckboxShiftClick to it's own file and renamed to jQuery.fn.checkboxShiftClick 2010-10-27 15:02:18 +00:00
Trevor Parscal
bc7172ada8 Improved on r74282 and r74333 in response to CR comments. 2010-10-06 19:05:59 +00:00
Trevor Parscal
8467176cca Moved the HTML5 placeholder attribute emulation in ext.vector.simpleSearch into it's own jQuery plugin called jquery.placeholder. 2010-10-05 23:24:56 +00:00
Trevor Parscal
a48858382a Fixed jQuery bug/enahnced jQuery to not blindly convert anything that's not a string to an integer and append 'px', resulting in values like "nullpx" and "NaNpx" which would cause errors in Internet Explorer. Now we are using ( parseInt( size ) || 0 ) + "px" so that if size is null or NaN it will be converted to 0. I've also passed this upstream (http://dev.jquery.com/ticket/7116) 2010-10-05 21:51:24 +00:00
Trevor Parscal
c769d30da7 Improved on r73046 by removing asumption of $ === jQuery. 2010-10-01 19:22:06 +00:00
Trevor Parscal
4f166d4fe8 Improves on r73032 by making more consistent use of escape sequences. 2010-10-01 19:20:27 +00:00
Trevor Parscal
86ba49df42 Resolves issue in r73046 where a jQuery plugin assumed $; wrapped it in a closure to solve this. 2010-10-01 18:05:55 +00:00
Trevor Parscal
1e8dee36f6 Removed unused scripts. 2010-09-20 23:48:27 +00:00
Trevor Parscal
659c86a019 Changed profile property names - this should be the stable API from now on. 2010-09-20 19:20:55 +00:00
Trevor Parscal
b16d2d0beb fixed comment 2010-09-20 19:12:28 +00:00
Trevor Parscal
7c97cae851 Swtiched to using a more robust object to properly store a cached profile 2010-09-15 02:34:31 +00:00
Trevor Parscal
92d8037bb9 Added collapsible tabs plugin, reworked tabIndex functions, and fixed some syntax errors. 2010-09-15 02:03:24 +00:00
Trevor Parscal
6554e106a0 Removed remnant of this being a mediaWiki module. 2010-09-15 01:48:55 +00:00
Trevor Parscal
3bb421904a Moved client library to a jQuery extension - which makes it more useful to non-mediawiki people. 2010-09-15 00:58:59 +00:00
Trevor Parscal
6a33ab3514 Added registrations for modules that were present but not registered. Also removed 2 scripts; jquery.browser is being replaced by mediWiki.util.client, and jquery.collapsibleTabs belongs to the Vector/CollapsibleTabs extension. 2010-09-09 20:31:19 +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