Commit graph

1815 commits

Author SHA1 Message Date
Leo Koppelkamm
82e24a9c51 Bug 27047: Nicer design for pre elements in Vector 2011-04-30 19:49:57 +00:00
Daniel Friesen
8ae8bd5a98 Use a reversed magnify image for framed image thumbnails when on a RTL wiki. 2011-04-30 12:04:00 +00:00
Jan Paul Posma
3284866769 Moved the tab break from the link to the span. This allows for multiple icons, as icons overwrite this link image and thus wouldn't have a tab break. This was originally solved for the watchlist star by using a right margin, so this one is removed to prevent double borders. 2011-04-28 21:34:55 +00:00
Krinkle
f0ceb8b304 FU: r87041: Oops 2011-04-27 20:27:26 +00:00
Krinkle
0d2ff127e8 Fixes for IE7 (alignment of checkboxes due to double-margin bug on floated elements. The popular display:inline hack doesn't fix this. Removed the margin for now, was collapsed/invisible in most browsers anyway. Covered by the margins on the parent elements. 2011-04-27 20:25:35 +00:00
Krinkle
e22f2272c2 * Fix ancient jumpy bug when clicking the hover-triangle (normally nobody does that, but just tried it for screenreader thing, it's been around for quite some time (href="#": needs preventDefault)
* jQuery chaining :)
* Add bugzilla ref. in comment ("hidden link being clicked")
(Follow-up r86958, r86861)
2011-04-26 18:18:29 +00:00
Krinkle
04b9861c6e Selectors go from right to left. Starting with a generic 'a' is kind of slow. Also loses the advantage of an id-selector.
* Optimizing by selecting the ID seperately (very fast) and doing a find() within that context (also caching pCactions ).
* while at it:
 - caching selector
 - aliasing $ to jQuery locally
 - Shorthand dom-ready

(Follow-up r86861)
2011-04-26 18:01:52 +00:00
Ryan Kaldari
3758fb4e49 fix for bug 28573 - in printable version centered images are not centered 2011-04-25 21:37:32 +00:00
Sam Reed
26dc902e59 * (bug 27249) "Installed software" table in Special:Version should always be left-to-right
Patch by Jan Paul Posma
2011-04-25 14:46:42 +00:00
Roan Kattouw
573d3dafc1 (bug 24298) Make dropdown menus in Vector more accessible by expanding and collapsing them when the hidden link behind the dropdown arrow receives a click event (triggered by an enter or space bar key press in the typical use case) and changing the appearance of the arrow when the hidden link behind it is focused. Patch by Jan Paul Posma
--This line, and those behind, will be ignored--

M    phase3/skins/Vector.php
M    phase3/skins/vector/images/arrow-down-icon.png
M    phase3/skins/vector/screen.css
AM   phase3/skins/vector/vector.js
M    phase3/resources/Resources.php
2011-04-25 14:08:01 +00:00
Roan Kattouw
7611624a1a (bug 16921) Add JavaScript-based enforcing of byte limits on move and protection forms. Patch by Jan Paul Posma 2011-04-25 11:39:30 +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
Ryan Kaldari
d3bf5662ed fixing bug 28438 - header links displaying incorrectly in rlt IE9. Also removing redundant padding declaration - padding 0 is already declared for all unordered lists in vector 2011-04-20 01:42:45 +00:00
Leo Koppelkamm
40bc91e203 Followup to r85021: Fix changed ID name 2011-04-18 09:35:14 +00:00
Happy-melon
0c5fe31dc7 More deprecated calls to Skin static methods, update to use Linker methods instead. 2011-04-16 21:43:32 +00:00
Leo Koppelkamm
c6e79d969c Give fieldsets in vector preferences the same look in JS and non-JS version. This gets rid of the flash of blue borders before the preference JS ran 2011-04-16 14:44:18 +00:00
Leo Koppelkamm
bf99353feb Move timezone preference functions to mediawiki.special.preferences.js & remove their wikibits dependencies 2011-04-16 14:03:07 +00:00
Leo Koppelkamm
1e13a6c94f Free metadata toggle script from wikibits.js dependencies; rename to mediawiki.action.view.metadata.js 2011-04-16 11:54:43 +00:00
Brian Wolff
74f16767e7 Merge to trunk everything in img_metadata branch.
Hope I did this in an ok fashion. svn merge --re-integrate was giving me issues
so I just essentially over-wrote my working copy with the version at img_metadata.
2011-04-16 01:23:15 +00:00
Chad Horohoe
a147c57165 Merge r81445 from 1.17: revert r70520 (js password complexity checker) 2011-04-15 23:38:34 +00:00
Brian Wolff
42e4bada90 (bug 28561 - follow-up r4185) remove rule .small * {font-size: 94%} causes anything nested to be super-small
I'm not sure what the intent was, but this rule will make something like:
<span class="small">fo<b>o</b></span>
have the second o in foo be smaller then the first. Even without this rule, nested instances
of class="small" will still be smaller than a single instance, so it only causes weirdness.
2011-04-15 20:57:24 +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
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
Leo Koppelkamm
c2b1952451 Changing icons used in installer to GNOME ones, like the rest of vector skin. Also fixing Bug 28298 (one border extens a few pixel too much in installer) 2011-04-14 17:04:49 +00:00
Leo Koppelkamm
5c89f16552 Followup to r86047: Rewrite the radio-button updater & move everything to action.history. Also move to fixCompare version by Helder, since HTMLdiff is scrapped 2011-04-14 16:06:02 +00:00
Leo Koppelkamm
ddaf0fe2b2 History: Adding JS that converts buttons to links for better UX. Patch based on one by Matthew Flaschen. Fixes Bug 16165 2011-04-14 13:18:39 +00:00
Leo Koppelkamm
109f7bcb9d 2011-04-12 21:27:24 +00:00
Krinkle
b7aaa1c214 Remove color:black from table {} in skins (bug 28422) + small fixes
* Remove color:black from table {} in skins (bug 28422)
* Add color:black to .wikitable (since it has a background-color)
* Update comment about CSS3 'word-wrap:break-word' support in Gecko
* Remove line-break in mediawiki.js (it's ~ 90 chars, acceptable)
2011-04-06 16:31:46 +00:00
Mark A. Hershberger
46cf8879ea Patch from Bug #28406:
# the digitClass join versions were inverted: for a maxLength > 1 it should be
      (|||), not []
    # the regexp escape for digits in the ts_number_transform_table was a bit, er,
      strange. Although it worked, I think my version is more common.
    # most important: As recommended in http://en.wikipedia.org/wiki/Percent_sign,
      there may be some whitespaces between the number and the
      "%". See also Bug #15422 for that, I'm not sure wheter it's
      included there.

I didn't include the “non-breaking space is part of \s” bit since I didn't want to mess up browser bug work-arounds
2011-04-06 00:56:22 +00:00
Happy-melon
32dca322af Styling for revdel'd revision links for oversighters/admins: make the links still be greyed out, but still active and with underline-on-hover. 2011-04-04 11:51:06 +00:00
Niklas Laxström
405e43e702 Followup r80398: fix overspecific css rules which broke 2011-04-02 08:22:52 +00:00
Happy-melon
229b5aa755 (bug 19942) remove deprecated HTML attributes (cellpadding, align, valign) from TablePager. 2011-03-30 17:37:25 +00:00
Happy-melon
6af6374293 (bug 17009) remove hiddenStructure. Wasn't even applied across all skins anyway, would have been broken in cologneblue, standard, etc. 2011-03-30 16:44:13 +00:00
Happy-melon
1f874c59d2 Follow-up r83907: abstract the flatlist mode into a descriptor option, and make it so the label does not linewrap away from the checkbox. 2011-03-27 22:45:32 +00:00
Derk-Jan Hartman
4a82a518a6 Followup r80772
I'm not bored enough to actually port these IE styles into the main Chick stylesheet. So better to re-enable them until someone else is bored enough to try.
2011-03-26 13:20:41 +00:00
Tim Starling
2db6020e25 Revert r84615, complaints received from ml.wikipedia.org. Just because a language has its own set of numerals doesn't mean writers of that language prefer to use them. You can make these changes on a case-by-case basis, after community consultation. 2011-03-24 04:24:30 +00:00
Sam Reed
b63e315182 Added 11 more sets of numbered list localisations
Based on http://help.dottoro.com/lccatosn.php

Probably some more that can be done, but I don't know the language codes well enough
2011-03-23 17:45:53 +00:00
Sam Reed
624158c190 Add localised number listing for Oriya 2011-03-23 17:19:23 +00:00
Krinkle
4d56f2f1c2 Follow-up r84565: Whitespace 2011-03-22 21:44:18 +00:00
Krinkle
c060307074 Fixing bug 27764. Adding an extra if-check to make sure ['text'] is defined. In To avoid wrapping multiple 'if shorthands', converted it to an actual if-statement at the same time 2011-03-22 21:42:16 +00:00
Marcin Cieślak
3fbfafb1a0 Followup to r81507: Call to undefined method StandardTemplate::showEmailUser()
Fixes:

PHP Fatal error:  Call to undefined method StandardTemplate::showEmailUser() in skins/Standard.php on line 262
2011-03-14 17:59:31 +00:00
Happy-melon
ccecc7f377 Follow-up r83907: some CSS to achieve flat lists 2011-03-14 15:56:51 +00:00
Marcin Cieślak
86ff9e4f3b Bug 2557: Sidebar items missing from classic, cologne blue, simple skins
* Simple skin support multiple sidebar items
* Standard (a.k.a. Classic) likes to add "my watchlist" and "my contributions"
  links at the bottom of the first sidebar box. It also has no titles for boxes.
* Cologne blue supports multiple sidebar boxes with titles.
2011-03-13 23:12:59 +00:00
Niklas Laxström
5b0cc178cb HTMLForm:
* Allow field validators to return multiple errors
* Allow field validators to return Message objects
* Add a class for fields for invalid input
* Style invalid <input> fields with red border color

Done with http://www.mediawiki.org/wiki/StyleGuide/Forms in mind
2011-03-13 09:51:47 +00:00
Happy-melon
b9be69ce3d Spin out all the CSS used on special pages into their own mediawiki.special module. This comprises about a third of /skins/common/shared.css, so it's definitely worthwhile not loading it for the 99.9% of pageviews which aren't special pages. 2011-03-12 22:42:58 +00:00
Ryan Kaldari
37fda0ba5f fix for Bug 27669 2011-03-10 00:25:33 +00:00
Roan Kattouw
47e771d572 Fix r74388: CSS for IE7 and below was put in a selector that only applies it for IE7 and *above*, causing bug 27547 (Text excerpt doesn't start on a new line in file search results) in other browsers. Fixed this by replacing the selector hack with !ie , a hack that we use to target IE7 and below with our data URL embedding fallback as well 2011-03-09 12:30:08 +00:00
Ilmari Karonen
7b9aaf7832 (bug 14645) Show expensive special pages differently in miser mode on Special:SpecialPages. Patch by Jarry1250 with a few tweaks by me. Tested, saw no errors or warnings. 2011-03-09 00:06:57 +00:00
Sam Reed
58e8c56eda And some more mime-types 2011-03-08 02:25:12 +00:00
Antoine Musso
8a3dcccbda Remove second parameters from wfEmptyMsg() calls
The second parameter was removed in r64178 and is now useless.
There is probably no need to backport this in 1.17.
2011-03-07 17:10:22 +00:00