提交图

118 次代码提交

作者 SHA1 备注 提交日期
WaitSpring b84a929cd0
revert `convert to ES6`
Signed-off-by: WaitSpring <me@waitspring.com>
2023-11-21 23:15:49 +08:00
WaitSpring 9d4f5400ad
follow "convert to es6"
Signed-off-by: WaitSpring <me@waitspring.com>
2023-11-19 12:47:46 +08:00
WaitSpring 2638e4ca20
follow "convert to es6"
Signed-off-by: WaitSpring <me@waitspring.com>
2023-11-19 12:45:56 +08:00
WaitSpring b362651c14
follow "convert to es6"
Signed-off-by: WaitSpring <me@waitspring.com>
2023-11-19 12:43:15 +08:00
WaitSpring 25749565a2
add dependencies
Signed-off-by: WaitSpring <me@waitspring.com>
2023-11-19 12:39:14 +08:00
WaitSpring 8cd094b1b7
follow "convert to es6"
Signed-off-by: WaitSpring <me@waitspring.com>
2023-11-19 12:34:19 +08:00
WaitSpring 15868e1948
add `target`
Signed-off-by: WaitSpring <me@waitspring.com>
2023-11-19 12:20:59 +08:00
WaitSpring 8a1f4aed95
convert to es6
Signed-off-by: WaitSpring <me@waitspring.com>
2023-11-19 11:53:24 +08:00
WaitSpring 5253cdcbd0
chore: update copyright info
Signed-off-by: WaitSpring <me@waitspring.com>
2023-10-22 20:22:18 +08:00
WaitSpring d9da39d340 format
Signed-off-by: WaitSpring <me@waitspring.com>
2023-03-04 12:19:02 +08:00
WaitSpring 098aee185d small fix
Signed-off-by: WaitSpring <me@waitspring.com>
2023-02-12 14:40:18 +08:00
WaitSpring c44f7e220b Error: Class "SkinWrite" not found
Signed-off-by: WaitSpring <me@waitspring.com>
2023-02-12 14:25:00 +08:00
WaitSpring f93f1fc543 typo
Signed-off-by: WaitSpring <me@waitspring.com>
2023-02-12 12:57:33 +08:00
WaitSpring 3e5dc5dda5 AutoloadClasses => AutoloadNamespaces
Signed-off-by: WaitSpring <me@waitspring.com>
2023-02-12 12:56:43 +08:00
WaitSpring 1dd399663a Class "MediaWiki\Skin\Write\SkinWrite" not found
Signed-off-by: WaitSpring <me@waitspring.com>
2023-02-12 12:47:56 +08:00
WaitSpring c3b03e2907 Class "MediaWiki\Skin\Write\SkinWrite" not found
Signed-off-by: WaitSpring <me@waitspring.com>
2023-02-12 12:43:37 +08:00
WaitSpring eb90a1033d remove WriteResponsive
Signed-off-by: WaitSpring <me@waitspring.com>
2023-02-12 12:40:08 +08:00
WaitSpring 2f2f7952a5 fix: remove the use of deprecated `headelement` and `bottomscripts`
Signed-off-by: WaitSpring <me@waitspring.com>
2023-02-12 09:58:07 +08:00
WaitSpring e4440f7fb9 update font size: 0.9em => 1em 2022-11-01 19:45:07 +08:00
WaitSpring 60550539f0 update readme 2022-10-31 18:29:43 +08:00
WaitSpring 302614764e #ffbe00 => #3366cc 2022-10-31 18:28:11 +08:00
WaitSpring 6bea2443d3 rename the skin 2022-10-31 00:09:50 +08:00
WaitSpring 5a8571e35c update version 2022-10-30 15:36:58 +08:00
WaitSpring 49fc153cc9 update credits 2022-10-30 15:36:48 +08:00
WaitSpring 29430adaf6 remove deprecated mediawiki.skinning.interface; renaming skins.medik to skins.medik.styles 2022-10-30 15:33:16 +08:00
WaitSpring d60a69c220 remove mobile sitename 2022-10-30 15:13:25 +08:00
WaitSpring 561a557e33 adjust screen query 2022-10-25 23:30:07 +08:00
WaitSpring a7a00a9736 add wordmark settings 2022-10-25 23:22:13 +08:00
WaitSpring d8bac4a12c update default logo width 2022-10-25 13:42:04 +08:00
Petr Kajzar 394b22fe48 Version 3.2.7
Bug fixes and validation improvements

Morne Alberts:
    Add backward compatible getAfterPortlet()

Petr Kajzar:
    Add button role to aside menu links

Localisation updates from translatewiki.net
2022-08-28 08:18:25 +00:00
Petr Kajzar 712c787c66 Version 3.2.6
Bug fixes and validation improvements.

Petr Kajzar (5):
      Fix nested lists CSS
      Disable legacy feature for skins.medik module
      Fix CSS of nested lists again
      Remove unneeded attribute from style tag
      Remove invalid role for aside menu

translatewiki.net (3):
      Localisation updates from https://translatewiki.net.
2022-05-15 07:26:23 +02:00
Petr Kajzar d25cf8cf33 Disable legacy feature for skins.medik module 2022-01-16 22:11:32 +01:00
Petr Kajzar bb7c741e07 Improve basic html form appearance 2022-01-13 08:09:25 +01:00
Petr Kajzar 5c467e0990 Version 3.2.4
Petr Kajzar (3):
      Fix: do not change OOUI fieldset padding
      Change TOC floating to the right on desktop
      Make <ul> style consistent with common paragraphs
2022-01-12 22:58:09 +01:00
Petr Kajzar 833353a27e Fix CSS style at exactly 768 px 2022-01-09 16:57:08 +00:00
Petr Kajzar a8a3eac400 Version 3.2.2
Petr Kajzar (5):
      Hide user menu item #pt-anonuserpage
      Fix private login link in user menu for MW 1.36
      Fix whitespaces
      Fix position and color of echo icons at MW 1.36
      Remove CI/CD

Translation updater bot (1):
      Localisation updates from https://translatewiki.net.
2021-08-21 22:48:59 +02:00
Petr Kajzar dc375320e1 Version 3.2.1
Petr Kajzar (2):
      Remove unchanged setupSkinUserCss()
      Remove deprecated getFooterIcons()

Translation updater bot (2):
      Localisation updates from https://translatewiki.net.
      Localisation updates from https://translatewiki.net.
2021-06-28 21:42:52 +02:00
Petr Kajzar fff48f0cde Version 3.2.0
This version adds theme color for mobile browsers and splits "action"
and "tools" menu.

Petr Kajzar (6):
      Add theme color
      Remove typo in copying file
      Split "actions" and "tools" menu
      Use recommended jQuery selectors
      Stylelint whitespaces
      Fix aside menu right margin overflow
2021-04-18 20:55:14 +02:00
Petr Kajzar 3538960af9 Specify the default font size
This addresses issue #33 that caused an internal error when setting
unappropriate $wgDefaultUserOptions['medik-font'].

However, I am keeping this open as I plan to make this option more
flexible for both the users and admins. Probably this could be done with
<input type="range"> or something like that.

This commit allows admins to set literally anything to
$wgDefaultUserOptions['medik-font'], but the user will see "90%" as the
default in their user settings. And that's something I would like to fix
later.
2021-03-16 20:27:06 +01:00
Petr Kajzar d478a6b04c Version 3.1.1
Quick fix release.

Petr Kajzar (1):
      Change sidebar logo size to flexible clamp()
2021-03-16 19:57:17 +01:00
Petr Kajzar 7dd121360c Version 3.1.0
Small release with some new features incl. display options.

Petr Kajzar (11):
      Update minus-x to 1.1.1 and composer to 1.10.0
      Make main area padding consistent (fix #31)
      Add 'narrow' option for the main content width
      Change array syntax for the content width
      Add 'wide' option for the main content width
      Update CI/CD libraries
      Update Bootstrap to 4.6.0
      Rollback eslint-config-wikimedia to 0.18.0
      Rollback eslint-config-wikimedia to 0.17.0
      Update PHP to 8.0.3
      Fix 'wide' option logo width for x-large screens

Translation updater bot (3):
      Localisation updates from https://translatewiki.net.
2021-03-15 13:18:50 +01:00
Petr Kajzar f5a927ac78 Version 3.0.11
Some small improvements and fixes for the UX/UI.

Petr Kajzar (4):
      Change source of navbar's sitename
      Adjust footer style
      Fix full-width TOC appearance on mobile
      Add config option for short wiki name for mobile
2021-01-19 19:22:39 +01:00
Petr Kajzar 32f0bf0bbe Add config option for short wiki name for mobile
This adds $wgMedikMobileSitename option to LocalSettings.php.

By default, on desktop and mobile $wgSitename is displayed.
2021-01-19 19:19:15 +01:00
Petr Kajzar 7a0fa00466 Version 3.0.10
Mainly updates of some dependecies and improved compatibility with
coming MW 1.36.

Petr Kajzar (9):
      Update PHP to 7.4.13
      Update mediawiki-codesniffer to 34.0.0
      Update grunt-stylelint to 0.16.0
      Update stylelint-config-wikimedia to 0.10.3
      Update PHP to 8.0.1
      Fix BaseTemplate::getToolbox() deprecation
      Provide fallback for data['sidebar']['TOOLBOX']
      Update contributing section and copyright year
      Update copyright year in license file

Translation updater bot (4):
      Localisation updates from https://translatewiki.net.
2021-01-12 13:30:57 +01:00
Petr Kajzar 5a5850aa27 Version 3.0.9
Small fixes.

Petr Kajzar (10):
      Update PHP to 7.4.11
      Show sitenotice on mobile
      Update PHP to 7.4.12 and codesniffer to 33.0.0
      phpDoc var definitions
      Small typo fix: whitespace
      Fix visited red links
      Add style whitespaces
      Remove X-MediaWiki-Skin header
      Fix Visual Editor table row indicator for MW 1.35
      Fix left padding of visual editor node for MW 1.35

Translation updater bot (10):
      Localisation updates from https://translatewiki.net.
2020-12-11 12:40:53 +01:00
Petr Kajzar cf1bf2b701 Remove X-MediaWiki-Skin header
This was used for checking the Medik installation on WikiSkripta sites,
however, it reveals the skin installation even on wikis which have
another skin as default.
2020-12-11 11:53:11 +01:00
Petr Kajzar 1118c51615 Version 3.0.8
Quite good new version mainly with Echo support on smaller screens.
Since I completely forgot to include proper commit message when merging
the develop branch, I think I can include it here:

Use echo notifications on smaller screens

For screens <= 650 px it's very painful to open the notifications popup,
it does not display properly and breaks the page. That's why this has
been disabled and hidden by CSS for widths <= 650 px.

Now I would like to try another approach: let's show the echo
notifications icons (badges), but disable the onclick event and let
MediaWiki redirect to Special:Notifications page instead, which is quite
default link under the hood of the badges.

Petr Kajzar (10):
	Change i18n descriptions
	Fix README typo
	Use proper attribution in COPYING file
	Update composer.json with support and proper links
	Fix whitespace indentation in config files
	Fix invalid bitbucket-pipelines.yml
	Remove relative position for aside menu
	Change whitespaces in i18n messages
	Use echo notifications popups on smaller screens
	Merge branch 'develop' into master
2020-09-30 11:54:21 +02:00
Petr Kajzar 3d4c079435 Fix whitespace indentation in config files
Whitespaces in PHP/CSS/JS is covered by composer and npm tests, however,
I would like to see proper indentation and tabs in other files as well.
This should fix that.
2020-09-08 15:17:08 +02:00
Petr Kajzar adb5b398c8 Version 3.0.7
New patch version with a small fix and two new config options for navbar
logo.

Petr Kajzar (2):
      Fix input text appearance: show letter descenders
      Add config options for navbar logo
2020-09-07 12:11:57 +02:00
Petr Kajzar 6ff79467f2 Add config options for navbar logo
There are two new options for LocalSettings.php:

- '$wgMedikLogoWidth' sets the logo width in the navbar, e.g.

	$wgMedikLogoWidth = '210px';

- '$wgMedikUseLogoWithoutText' disables the site name in the navbar,
   e.g.

	$wgMedikUseLogoWithoutText = true;

Note that you need '$wgMedikShowLogo = "main";' for this.
2020-09-07 12:06:30 +02:00