Commit graph

14 commits

Author SHA1 Message Date
Bartosz Dziewoński
b35ebdb1f5 mediawiki.action.history.diff: Rework print styles
* Remove extremely old print styles for diffs from commonPrint.css,
  added back in r6970. These were created for the old yellow-green-red
  diff styles and look terrible now.
* Add new, minimal print styles, that replace background colors with
  text decoration (underline for inserted text, line-through for
  deleted). Motivation is the same as in r6970: light colored backgrounds
  work great on displays, but not very well in black-and-white print.
* Fixed diff styles demo (mediawiki.action.history.diff.html), updated
  with print styles and better example.

Bug: 73544
Change-Id: Ibf08fa11f84ac0cf8c7ed4da8af2b8804de6ab6f
2014-11-18 18:48:15 +01:00
Bartosz Dziewoński
b1dea1d957 Move mediawiki.legacy.* modules from skins/common/ to resources/
Also renamed some image files for consistency and sanity.

Added temporary symlinks to the new location for ajax.js and
wikibits.js, which still seem to get many hits for unknown reasons.
I'm going to figure this out and remove them before 1.24 release.

shared.css also appears in the access logs from bug 69277, but with
many fewer hits (it might just correspond to debug=true requests)
and failing to load a style file is a lot less problematic from
user's perspective than failing to load a script.

Bug: 69277
Change-Id: Id4a8f9470d287c73309ff526ffb88984e2d351b9
2014-08-31 00:30:49 +02:00
Bartosz Dziewoński
13a14c70c6 jquery.confirmable: New inline confirmation module
$().confirmable() can be applied to any inline-block element. It will
cause it to expand into "Are you sure? [Yes] [No]" question and
buttons when clicked, where the buttons are clones of the original
element: [Yes] will carry out the default action (or a different one,
if specified), [No] will collapse the interface back.

Possible uses include:
* Confirmable "rollback" links
* Confirmable "unwatch" links on watchlists
* Confirmable "thank" links (Echo extension's ones)

Added a demo with possible uses on history and watchlist pages.
Included Hebrew messages courtesy of Moriel.

Change-Id: I2f6e0bd4f6f0a84e1a0d7193cde076738f3cdd25
2014-08-06 12:30:52 +00:00
Timo Tijhof
b7bec085ce Drop redundant attributes in hardcoded html
Follows-up 97caae596d which makes HTML5 the default
and removes support for XHTML 1.0 and HTML < 5.

* <script type>
* <style type>
* <html xmlns>
* Quick-closing slash in non-XML HTML5 documents

Change-Id: I71855fa8d4095a5a448ebdc3dc36506ddab6f70c
2013-05-21 01:05:12 +02:00
Chad Horohoe
431a2216c2 Fix invalid HTML in design doc
Change-Id: Ibb664c22dc54109b113a51b4385e5564c2b80ce1
2012-09-24 09:01:59 -04:00
Siebrand Mazeland
26f7bcd4e0 Replace deprecated <tt> with <code>.
Change-Id: I5e15628e34dd0473d2f6ce17509ed17e94257dfa
2012-08-16 10:30:43 +02:00
Antoine Musso
ccc769bac2 design file for nested tables CSS
See:
Bug 33752 - Wikitable uses CSS not supported in IE6
r107669
2012-01-19 17:22:36 +00:00
Antoine Musso
883da87ccf firefox does not honor colgroup width with fixed layout 2012-01-16 21:13:48 +00:00
Antoine Musso
616ff7b66c explanations by Erwin Dokter on bug 33496 2012-01-05 15:06:49 +00:00
Antoine Musso
4343153649 additional monospaced font-family hacks
font-family: monospace, monospace;
Is elegant and has my preference :-)

  font-family: monospace, DOESNOTEXISTREALLY;
Really make it obvious

follow r108123
2012-01-05 09:24:16 +00:00
Antoine Musso
37905df53a test rendering font-family for monospaced fonts
follow r108112
2012-01-05 09:16:13 +00:00
Antoine Musso
d383f5a5e8 uidesign: fix diffchange, show basic diff just like on wiki 2011-12-06 09:35:24 +00:00
Antoine Musso
941c553f3c basic design file for our diffs
Might help folks on r94461 . Loading this file will let you easily
look at the diff file. Might need to be improved to show a real diff
instead.
2011-12-06 09:15:41 +00:00
Antoine Musso
d3bb1dbe80 move docs/design.html to a new 'uidesign' directory 2011-12-06 09:14:27 +00:00