Commit graph

6 commits

Author SHA1 Message Date
C. Scott Ananian
697588af7e Rename MediaWiki\Output\Hook\OutputPageBodyAttributesHook
Depends-On: Ifdb9e6b59f126b47e4143c875c34a207643b7034
Change-Id: Idc25e5f2facef2ecc4d3207a4e520d758eb4e577
2024-02-16 00:57:13 +00:00
Umherirrender
654fe199b8 Use namespaced class OutputPage
Change-Id: Id76216db62aa4a53b227cdb71f2f48a318ce5e74
2023-12-10 00:23:54 +01:00
Reedy
ec3e5e27fe Switch to HookHandlers
Bug: T271010
Change-Id: Ie248342d4deb3520d284fac9c3ead17f7dee3de4
2022-08-22 11:43:37 +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
jdlrobson
ee59005150 Separate hooks from SkinMonoBook, use namespace
For consistency with other skins, its easier to see how hooks are
invoked when they are separated from the skin.

The skin is also updated to use namespaces and modern skin registration
which has been available since MediaWiki v1.36.

Change-Id: I1c93d4e817b53c93eba47ee9086c86c5d75443e5
2021-06-27 22:06:39 +00:00