Commit graph

19 commits

Author SHA1 Message Date
Jon Robson
47a97282aa Make sure MonoBook retains classic labels
We are updating the default menu labels inside core. This has
implications on several messages which are updated here:

// History rather than View history
// Undelete rather than Undelete x edit(s)
// Add topic rather than +

Bug: T301203
Change-Id: I854a0fdaaa53791955b156b7861ea108e1b6c224
2022-02-11 01:52:35 +00:00
jdlrobson
abe94aa408 Monobook Mustache
Changes in HTML markup that fix various bugs and lead to consistencies
with other skins:
* firstHeading now has `dir` attribute
* `tagline` message no longer parsed - plain text only - this is consistent with
other skins
* printfooter now child of #bodyContent
* #ca-view is outputted (but hidden with CSS)
* Order of attributes on  #p-search-label changed
* Search input form elements are no longer self closing
* The #mw-searchButton element gains class mw-fallbackSearchButton
* The generated-sidebar class is no longer present on sidebar portlets,
consistent with other skins
* The print link disappears when ElectronPdf is installed so there
are not two print links.

Changes in functionality:
* Previously (in getCactions) a nomobile class would be added if
less than 2 tabs.
If not 1 tab, more would be appended. This is dropped.

Bug: T285989
Change-Id: I03d0dc1dad23894e7e64ceeb8956692316265144
2021-09-07 09:02:55 -07:00
jdlrobson
9b4186d863 Drop MonoBook responsive preference
This was moved to a core preference as part of T285402
The migration was handled by a #user-notice

Bug: T285402
Change-Id: I25fe3d32ad929924034db06b5a95bab6a3a3a727
2021-07-29 23:50:31 +00:00
Translation updater bot
d27c233593 Localisation updates from https://translatewiki.net.
Change-Id: I5c54209536b629da1d2f2af3df909b0983a2b39c
2020-10-05 08:47:41 +02:00
Translation updater bot
96142c78d1 Localisation updates from https://translatewiki.net.
Change-Id: I1b3042fe8f83f1c59c75d613e7b3a57bd1dacde6
2020-09-29 08:21:10 +02:00
Translation updater bot
f0c19dbdc8 Localisation updates from https://translatewiki.net.
Change-Id: I9247a6ff6ced54fc51152d0b84f4167f887cbf5f
2020-09-28 08:33:38 +02:00
Translation updater bot
12874c47e7 Localisation updates from https://translatewiki.net.
Change-Id: I92086f744e5994b518dd54facea563119f82ddd3
2020-04-08 09:06:48 +02:00
Kunal Mehta
9f9a5f2290 Add user preference to control responsive MonoBook
This provides a device agnostic, persistent opt-out for the new responsive
functionality.

The preference will show up under the skin selector if the user has their
skin already set to MonoBook. I considered adding a new skin option to
the radio selector of skins, but that is probably unnecessary for the
majority of users, in addition to complicating how to differentiate the
two modes (Classic MonoBook vs. Modern MonoBook?).

Wikis that want to make this opt-in can control the default in the standard
way ($wgDefaultUserOptions), or hide it entirely ($wgHiddenPrefs).

Change-Id: Id22f8e5199ff2b15fd03c94097db5cdc7188f8b1
2018-06-04 21:40:09 -07:00
Translation updater bot
573bab3af8 Localisation updates from https://translatewiki.net.
Change-Id: I3af726e7f3eee3b967f6f43fd7efa95e298b549c
2018-05-26 23:14:55 +02:00
Translation updater bot
502558851b Localisation updates from https://translatewiki.net.
Change-Id: Ic8a1d5dcf717cede769351c5d5957c90084b3de9
2018-05-24 21:56:08 +02:00
Timo Tijhof
6dccc0d96e Re-implement and improve mw-jump links with pure CSS
* Improve their accessibility by giving both links a full label
  ("Jump to x" and "Jump to y" instead of "Jump to: ", "x", "y").

  This also makes things better for localisation.

* Use pure CSS for the toggling of the visibility on focus,
  instead of relying on JavaScript. Especially given the
  JS came from core's 'jquery.mw-jump' module, which is
  considered technical debt per T195256.

* Use plain <a> links in the HTML instead of wrapped in a <div>.
  This solves the long-standing problem whereby the margin
  between #contentSub and #mw-content-text had to be awkwardly
  negated and overridden.

Bug: T195256
Change-Id: I40a769ee3a822a5a9167ec1d144e6b151eb8e141
2018-05-24 01:30:55 +01:00
Translation updater bot
a8eadfa7e8 Localisation updates from https://translatewiki.net.
Change-Id: I55aec27db144646028db85c087156358f9152c6e
2018-05-20 22:27:24 +02:00
Isarra
ef1f98e7bd Responsive support: Echo hacks
Have echo just show the numbers instead of the badges, and add a
text link to special:notifications in the dropdown, as opposed to
entirely reimplementing the flyout layout

Change-Id: I072dbc2b7bf70b6675469e09e3beb3927e06d0f7
2018-05-19 21:15:31 +00:00
Isarra
70d426d4fd Responsive support, noJS version
* Add screen-mobile.css with basic mobile styles
* Force loading of screen-desktop on IE8- due to lack of
  @media width support
* Add some new divs and a set of spoof cactions for jumping
  around the page (what's js?)
* Replace cactions label with a more descriptive string (was
  previously set to display:none regardless)
* Also add a set of icons for fixed widths for tabs and things
  (icons-source.svg is the source file for the set, and includes
  a few others that ultimately weren't used here)

Cutoff 850px. Desktop styles should remain unchanged, with
mobile remaining stylistically consistent.

Change-Id: I737a7447db1e44e0d6abaa4c07813295a5ac73a6
2018-05-02 22:20:54 +00:00
Translation updater bot
c14e39c55e Localisation updates from https://translatewiki.net.
Change-Id: Ia2722d6bc29cb35ba5907e776904eec32adab42f
2017-10-31 21:58:53 +01:00
Translation updater bot
2b6c1a4f16 Localisation updates from https://translatewiki.net.
Change-Id: I9e598701d331f8ef4ff4282cdf8673464f04a6bd
2015-09-28 22:26:27 +02:00
Siebrand
112fe6498f Revert "Update namemsg to convention"
My bad... skinname-<skinname> is used in core to get the skin name.

This reverts commit 7e619a4564.

Change-Id: If38a19aceb46c0205a39aa7f27b98ceaa056c0f2
2015-09-28 09:42:33 +00:00
Paladox
7e619a4564 Update namemsg to convention
Bug: T113632
Change-Id: I470e1ec4d925f0a1975d38e708b28e08b495567d
2015-09-25 18:34:55 +01:00
Bartosz Dziewoński
ff6a01f844 Move MonoBook skin from core
This is the final step of the process described at
<https://www.mediawiki.org/wiki/Separating_skins_from_core_MediaWiki>.

Corresponding core change: Idfc38503.

Change-Id: I83b1efb4a489254c76e0cbda72ff34efa3d41261
2014-08-07 13:40:21 +02:00