Commit graph

21 commits

Author SHA1 Message Date
Timo Tijhof
16c8d89357 resources: Move the remaining src/mediawiki/ files
Single-file modules to src/, the remaining as sub directories.

A few highlights:
* mediawiki.Upload.BookletLayout. (stylesheet: no image references)
* mediawiki.feedback - Also move the image to its own images/ subdir.
* mediawiki.searchSuggest. (stylesheet: no image references)
* mediawiki.toc. (stylesheet: no image references)

Also updated any other references to 'src/mediawiki/' that I could find
in core:
* Fixed references in docs/uidesign/*.html
* Remove redundant exclude from jsduck.json.

After this, there are 4 files remaining in src/mediawiki,
which are the 4 files used by the actual 'mediawiki' base module.

Bug: T193826
Change-Id: I8058652892a78b3f5976397bd850741dd5c92427
2018-05-09 23:44:22 +01:00
WMDE-Fisch
110d7b695a Add render moved paragraphs marker in diff view
This overwrites the generic marker from the wikidiff2 lib and adds
simple RTL aware arrows that indicate movement of the paragraphs.

Bug:T176486
Change-Id: I3554785772a091c3813e41071efcb7bb9a26a951
2017-11-01 17:18:23 +00:00
Bartosz Dziewoński
84b634a9a8 docs/uidesign/monospace.html: Add textareas to the demo
It seems that textareas have their own font-size set in Chrome (but not
Firefox and other browsers), making them unaffected by this behavior.

Change-Id: I811245ea26b4d90ad252fe8f6d2e096e27cb9073
2017-10-06 23:15:29 +00:00
Volker E
4ceff60b64 Remove child-selector-emu.html
Not necessary to keep this doc around any longer, as IE 6 is not
of concern any more.

Change-Id: I381a2bc750accee324b627e87dd4e11ba8f96364
2017-08-18 14:10:35 -07:00
Bartosz Dziewoński
ecdef925bb Miscellaneous indentation tweaks
I was bored. What? Don't look at me that way.

I mostly targetted mixed tabs and spaces, but others were not spared.
Note that some of the whitespace changes are inside HTML output,
extended regexps or SQL snippets.

Change-Id: Ie206cc946459f6befcfc2d520e35ad3ea3c0f1e0
2017-02-27 19:23:54 +01:00
Leszek Manicki
a6b402c1c3 Rename mediawiki.action.history.diff to mediawiki.diff.styles
Diff is not shown on action=history, so the name was not valid.
This module contains only styles, so let's make it explicit in its name too.

mediawiki.action.history.diff module is temporarily left for
backwards compatibility. It should be removed when no longer used.

This also renames docs/uidesign/mediawiki.action.history.diff.html
to docs/uidesign/mediawiki.diff.html.

Change-Id: I7ecc08417c5f1870ed6f2ca139fd953d68f6ec8e
2016-09-06 11:11:33 +02:00
Bartosz Dziewoński
e2794b8d36 Remove WMF deployment hack for .feedlink from mediawiki.legacy.shared
To be merged 30 days after 579ec5dee1 is
deployed, and we know for sure that the new mediawiki.feedlink module
is included on all pages that need it.

Bug: T89981
Change-Id: I1e47b626fa937066823f056aec6fbc0205fdb9b6
2015-09-15 18:49:40 +00:00
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