Commit graph

356 commits

Author SHA1 Message Date
alistair3149 c74b6f955e
build: bump to 1.7.2 2021-05-04 13:35:07 -04:00
alistair3149 28419d4006
build: bump to 1.7.1 2021-04-28 12:10:35 -04:00
alistair3149 bd8cbe29ea
build: bump to 1.7.0 2021-04-27 13:51:33 -04:00
alistair3149 51ac47691e feat: implement reading preferences
allow visitor to adjust theme, font size, and page width
2021-04-27 13:51:03 -04:00
alistair3149 e6ab1acf76
build: bump to 1.6.1 2021-04-26 15:39:46 -04:00
alistair3149 e2b4a4e49a
feat: show page title on header after scroll
The page header also acts as a jump to top link
2021-04-26 11:39:27 -04:00
alistair3149 447c2b077e
build: bump to 1.6.0
All scripts are refactored to ES6 (except for skins.citizen.search, which will be addressed later)
2021-04-22 12:12:50 -04:00
alistair3149 546fa36d33
refactor: drop dependency for mediawiki.page.ready 2021-04-22 11:44:48 -04:00
alistair3149 2cec33906e
refactor: integrate skins.citizen.scripts.theme into core scripts 2021-04-20 23:42:45 -04:00
alistair3149 b75e936b71 refactor: convert skin.citizen.scripts.theme to ES6
Also renamed the file and remove unnessecary dependencies
2021-04-20 22:40:05 -04:00
alistair3149 30465ebc20 refactor: convert skin.citizen.scripts.sections to ES6 2021-04-20 21:49:22 -04:00
alistair3149 fb7c164fc9
refactor: rename drawerSubSearch script to match RL module name 2021-04-20 20:28:27 -04:00
alistair3149 66a9a29bbf
fix: add missing permission policy config 2021-04-19 14:22:15 -04:00
alistair3149 013cfbb259
feat: add support for Permissions Policy 2021-04-19 14:17:23 -04:00
alistair3149 5bf3c9c30d
build: bump to 1.5.6 2021-04-16 23:44:21 -04:00
alistair3149 67e7a0e619
build: bump to 1.5.5 2021-04-12 17:11:53 -04:00
alistair3149 3f1cebae6c
fix: mediawiki.skinning.interface being loaded on VE preview 2021-04-11 15:58:56 -04:00
alistair3149 6ae72fc3da
build: bump to 1.5.4 2021-04-09 22:31:34 -04:00
alistair3149 9e2dcdadb8
refactor: switch to Mustache template for search suggestions 2021-04-09 22:25:39 -04:00
alistair3149 f8dbbe01a8
fix: move inline theme script into hook
Co-authored-by: Hannes Kruse <hannes@octofox.de>
2021-04-05 09:56:44 -04:00
alistair3149 ad6d2e7228
build: bump to 1.5.3 2021-04-04 11:40:25 -04:00
alistair3149 aba2c29701
build: bump to 1.5.2 2021-04-02 15:48:35 -04:00
alistair3149 b19bdbb617
build: bump to 1.5.1 2021-03-26 12:13:49 -04:00
alistair3149 00416246c1
feat: add styles for Graph 2021-03-26 12:03:03 -04:00
alistair3149 b291aff832
build: bump to 1.5.0 2021-03-22 17:08:07 -04:00
alistair3149 17069c3fef
doc: add the site stat config 2021-03-22 17:05:52 -04:00
alistair3149 bbbcaba94d
feat: add site stats to drawer 2021-03-22 17:01:08 -04:00
alistair3149 523ddcc8e9
feat: update CodeMirror styles 2021-03-19 12:36:01 -04:00
alistair3149 c5154c0827
fix: Parsoid style exception 2021-03-18 14:01:19 -04:00
alistair3149 068cca49a1
build: bump to 1.4.11 2021-03-18 13:40:48 -04:00
alistair3149 aa42838abc feat: add styles for Parsoid content 2021-03-18 13:01:52 -04:00
alistair3149 fd931a13d5
feat: add debug styles 2021-03-18 12:35:18 -04:00
alistair3149 9f1e064e4e
feat: remove ooui dependency for search suggestion 2021-03-15 16:35:48 -04:00
alistair3149 175d109f26
build: bump to 1.4.10 2021-03-13 13:17:54 -05:00
alistair3149 c299787b35
Refactor: all messages should be listed from skin.json 2021-03-13 13:10:56 -05:00
alistair3149 062cdd91a1
feat: add option to use REST API as search suggestion source
Co-authored-by: Hannes <hannes@octofox.de>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-03-12 14:25:32 -05:00
alistair3149 3fafb379ec
build: bump to 1.4.9
The two fixes are important enough to warrant a bump
2021-03-11 21:29:41 -05:00
alistair3149 1b9c2a7e97
build: bump to 1.4.8 2021-03-10 20:36:51 -05:00
alistair3149 cddb37901e
doc: add others to author
Add others to the author field since there are other minor contributors as well.
2021-03-09 22:15:29 -05:00
alistair3149 2401be2cf3
bump to 1.4.7 2021-03-09 12:13:24 -05:00
alistair3149 c9d3c998c9
feat: add TimedMediaHandler styles 2021-03-09 12:05:39 -05:00
alistair3149 959191a23e
feat: add ApprovedRevs styles
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-03-08 15:43:45 -05:00
alistair3149 40ca38fc29
feat: update meta and manifest theme color 2021-03-08 14:02:58 -05:00
alistair3149 40d18172fb
build: bump to 1.4.6 2021-03-08 12:13:10 -05:00
alistair3149 7712dfb1ce
feat: add DissmissableSiteNotice styles
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-03-07 14:55:48 -05:00
alistair3149 8f7d17b874
build: bump to 1.4.5 2021-03-07 13:13:44 -05:00
alistair3149 cbf2a20dee
fix: incorrect jquery ui resourceloader name 2021-03-07 12:09:13 -05:00
alistair3149 84acaac3d5
feat: add styles for OAuth 2021-03-06 19:51:31 -05:00
alistair3149 07ffe33e0b
build: bump to 1.4.4 2021-03-06 10:49:42 -05:00
alistair3149 62957f428e
build: bump to 1.4.3 2021-03-05 13:44:20 -05:00
alistair3149 9abc0ae96c
build: bump to 1.4.2 2021-03-04 15:09:36 -05:00
alistair3149 43cc4455c5
build: bump to 1.4.1 2021-03-03 03:17:31 -05:00
H. C. Kruse 49f6916195
fix: collapsible section issues (#283)
* fix: DOMDocument parser warnings

* minor: Run phpcbf

* minor: Remove linter warnings

* bug: Fix section.js script name
2021-03-03 03:05:13 -05:00
alistair3149 c466d04f7f
build: bump to 1.4.0 2021-03-02 19:35:57 -05:00
alistair3149 624d896d73
refactor: rename variables and modules 2021-03-02 19:28:54 -05:00
alistair3149 af5565f490
feat: implement collapsible sections 2021-03-02 17:16:24 -05:00
alistair3149 c9d5f3183e
build: bump to 1.3.5 2021-03-01 13:02:31 -05:00
alistair3149 5c12381d45
build: bump to 1.3.4 2021-02-26 17:07:02 -05:00
alistair3149 4654f5af32
build: bump version to 1.3.3 2021-02-20 15:25:16 -05:00
alistair3149 198fe0800d
feat: improve UploadWizard styles and make it responsive (#273) 2021-02-20 14:57:10 -05:00
alistair3149 3fa4992911
build: bump to 1.3.2 2021-02-03 15:53:00 -05:00
H. C. Kruse 407d367e37 feat: add drawer subsearch (#264)
* bug: Fix display of theme toggle button if set to auto

* feat: Add subsearch script to drawer

An input in the drawer allows to search portal headings and links for matching text
- Hides all portals / links based on the search value

Feature can be enabled by setting `$wgCitizenEnableDrawerSubSearch = true;` in LocalSettings.

* bug: Fix subsearch
2021-02-03 15:01:50 -05:00
Hannes 876f2da4bb
feat: Allow to choose the link append portal 2021-01-29 21:49:01 +01:00
alistair3149 3116edd977
build: bump to 1.3.1 2021-01-29 14:02:20 -05:00
alistair3149 a48f09f42d
build: bump to 1.3.0 2021-01-29 11:49:20 -05:00
Hannes 24a2a38b4b
feat: Convert hooks to HookHandler interface 2021-01-28 12:46:27 +01:00
alistair3149 9352d60711
build: bump to 1.2.6 2021-01-27 16:54:19 -05:00
alistair3149 e142800957
feat: move toolbox to page more menu 2021-01-27 14:52:49 -05:00
alistair3149 61f5afc0f1
build: bump to 1.2.5 2021-01-26 15:39:01 -05:00
alistair3149 3ba3a0cb8d
feat: hide menu when clicked outside 2021-01-21 21:08:55 -05:00
alistair3149 f995756747
feat: add user groups to personal menu (#233)
* feat: Add user groups to personal menu

* feat: tweak user group styles

Co-authored-by: Hannes <hannes@octofox.de>
2021-01-21 19:16:21 -05:00
alistair3149 7bf863aa0e
build: bump version to 1.2.4 2021-01-19 15:58:41 -05:00
alistair3149 f65bf157bd
feat: move personal menu to header (#231)
* fix: fix header background bleeding in VE

* feat: move personal menu out of drawer to header

* feat: update personal menu styles in smaller breakpoints

* fix: fix typo in qqq documentation

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

* feat: add title text to personal menu button

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-01-19 15:56:42 -05:00
alistair3149 28cc5f272f
build: bump version to 1.2.3 2021-01-18 16:58:24 -05:00
alistair3149 56de894f6e
refactor: convert skin.citizen.scripts to packagedFiles 2021-01-16 17:01:58 -05:00
alistair3149 15a02db45a
feat: use Wikimedia UI icons for theme toggle 2021-01-16 00:02:55 -05:00
alistair3149 4bbf111c1f
build: bump version to 1.2.2 2021-01-15 20:32:22 -05:00
alistair3149 4bde131f77
build: bump version to 1.2.1 2021-01-14 16:56:56 -05:00
alistair3149 dbcf0c3318
doc: bump version to 1.2.0 2021-01-12 18:23:58 -05:00
alistair3149 96ccea6cda
fix: empty feature flag for core style 2021-01-12 16:45:00 -05:00
alistair3149 3de8206f03
fix: empty feature flag since it breaks 1.35 2021-01-12 16:42:00 -05:00
alistair3149 2ae71637d4
fix: remove toc feature flag for 1.35 compatibility 2021-01-12 16:23:45 -05:00
alistair3149 9d3df250de
refactor: merge CSS variables in core styles 2021-01-12 14:31:35 -05:00
H. C. Kruse dde77d19dc
fix: fix incorrect files from rebased PR (#203)
* refactor: Fix switching theme

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

* refactor: Fix bad rebase

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-01-11 20:12:14 -05:00
alistair3149 83bac9e4f6
refactor: separate theme toggle styles from core module 2021-01-11 13:31:49 -05:00
alistair3149 22980f9302
style: rename theme switcher RL module 2021-01-11 13:12:49 -05:00
H. C. Kruse e30e6ce52c
feat: implement theme toggle (#201) 2021-01-11 12:13:59 -05:00
alistair3149 88ecd756e2
refactor: make theme handler more versatile 2021-01-10 15:40:25 -05:00
Hannes dde580e2de
Merge remote-tracking branch 'upstream/master' into feature/darkmode-switch 2021-01-09 23:03:23 +01:00
Hannes 028169ea42
feature: Make color scheme configurable 2021-01-09 22:58:43 +01:00
alistair3149 f2f669dec6 Deprecate mediawiki.skinning.content.externallinks 2020-10-22 11:04:19 -04:00
alistair3149 2110aa8d55
Add search loading indicator 2020-10-16 15:23:15 -04:00
alistair3149 331d7c9508
Disable core search module using search config 2020-08-21 15:38:11 -04:00
alistair3149 0b87fa8641
Remove low quality image placeholder for lazyload
The original implementation is not robust and make assumptions about a wiki configuration
2020-08-20 12:36:50 -04:00
alistair3149 68175798ac Simpify hook definition in skin.json 2020-08-12 12:59:57 -04:00
alistair3149 a96925b031 Use SkinMustache and merge CitizenTemplate into SkinCitizen 2020-08-12 12:59:57 -04:00
alistair3149 88b7e8babc Fix ToC behavior affected by 1.35 changes 2020-08-12 12:59:57 -04:00
alistair3149 4583a49383 Bump major version as it requires 1.35+ now 2020-08-12 12:59:57 -04:00
alistair3149 5bf4265e1e Bump version and target min 1.35 2020-08-12 12:59:56 -04:00
alistair3149 e58beb179f
Fix skewed toggle for Extension:CategoryTree (#101) 2020-07-25 14:19:44 -04:00
alistair3149 1e012eb101
Default image lazyload to false due to leak 2020-07-22 17:07:15 -04:00
alistair3149 d0c23dde30
Move citizen-desc to citizen-skin-desc 2020-07-05 18:19:31 -04:00
alistair3149 5bc057f5b5
Reordered skin.json 2020-07-05 18:16:22 -04:00
alistair3149 1dd3f0316e
Bumped version 2020-07-05 15:22:19 -04:00
alistair3149 b51494102d
Wider page width for special pages (#152)
* Wider page width for special pages

* Wider page width for special pages #2

* Bumped version
2020-06-26 15:55:53 -04:00
alistair3149 7e155cb3b7
Removed hardcoded footer SVG badges 2020-06-23 15:25:26 -04:00
alistair3149 a5fdb0b9df
Move icons to icon module 2020-06-16 23:43:29 -04:00
alistair3149 906448f6a9
Bump version 2020-06-16 23:19:53 -04:00
alistair3149 1d24923ba6
Use GPL-3.0-or-later instead
GPL-3.0 is deprecated
2020-06-16 23:19:01 -04:00
alistair3149 6ba5f41470
Use module name for stylesheets and scripts 2020-06-16 23:03:28 -04:00
alistair3149 3736489118 Load lazyload modules with skin modules if needed 2020-06-15 22:41:56 -04:00
alistair3149 32a0af35d4
Separate ToC from core module 2020-06-15 22:32:55 -04:00
alistair3149 17967d5b60
Bump version 2020-06-12 14:07:10 -04:00
alistair3149 96d7c90b21
Separate lazyload styles from common 2020-06-12 14:02:23 -04:00
alistair3149 520b80132e
Move Cite-related styles outside of common 2020-06-12 01:43:12 -04:00
alistair3149 d2db4e26a4 Bumped version 2020-06-11 16:34:12 -04:00
alistair3149 8295bba440
Add mobile-friendly tweaks to VisualEditor (#129)
* Hide some tools in mobile VE

* Github CI lint - eslint/stylelint

* Fixed typo in VE styles

* Shorten save button for VE in small screen

* Fixed stylelint error

* Github CI lint - eslint/stylelint

* Fix syntax for a CSS selector

* Fix z-index for save modal

* More restrictive CSS selector

* Fix syntax again

* Github CI lint - eslint/stylelint

* Fix a few bugs in VE

* Github CI lint - eslint/stylelint

* Fix margin and padding for VE text

* Fix a few bugs for VE

* Add styles for VE placeholder

* Fix CSS selector for VE toolbar placeholder

* Load VE skinstyle sooner

* Fix VE toolbar position in smaller screens

* Fix issues where some VE styles are overrided

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-10 16:47:24 -04:00
alistair3149 bfa6176868
Change skin page URL from Github to MediaWiki 2020-06-09 22:23:56 -04:00
alistair3149 41802cb96a
Clean up icon ResourceLoader modules 2020-06-09 22:23:04 -04:00
alistair3149 0484c32f41
Reorganize stylesheets into its ResourceLoader module (#126) 2020-06-09 22:12:04 -04:00
alistair3149 9d6f97cae6
Added config to disable lazyload (#121) 2020-06-09 01:28:50 -04:00
alistair3149 d2845859c7
Open search when shortcut key is pressed 2020-06-09 00:30:24 -04:00
alistair3149 a9ef142b36
Bump version 2020-06-08 22:48:57 -04:00
alistair3149 345af04010
Added random button to search bar 2020-06-08 21:58:35 -04:00
alistair3149 c009b8726c
Simplified search bar
The last one didn't stage all the files
2020-06-08 19:12:03 -04:00
alistair3149 a6d42a419e
Added icon to fulltext search suggestion 2020-06-08 00:27:25 -04:00
alistair3149 5df1d0971e
Removed no result search suggestion 2020-06-07 18:48:21 -04:00
alistair3149 b03c250a75
Added full text search to search suggestions 2020-06-07 18:34:12 -04:00
alistair3149 4ad5056fc4
Add config to enable or disable rich search suggestions 2020-06-07 17:16:45 -04:00
alistair3149 a7e364aa72
Cleaned up search modules 2020-06-07 15:54:42 -04:00
alistair3149 4ab77674e4
Reorganized file structure for a few ResourceLoader modules 2020-06-07 15:02:52 -04:00
alistair3149 3aa075df94
Added new ResourceLoader module for fonts 2020-06-07 02:17:07 -04:00
alistair3149 bc15fd916e
Removed unused bottom bar 2020-06-07 02:07:30 -04:00
alistair3149 72b41df5ce
Refactor header DOM structure
- Reduced unnessecary HTML elements
- Stanardized class and IDs
- Switch to fix header due to performance concern
- Rewrote over-qualified CSS selectors
- Started rework on file organizations
2020-06-07 01:30:54 -04:00
alistair3149 0ade51a384
Full Mustache conversion 2020-06-05 20:12:39 -04:00
alistair3149 c0fee346c5
Partial conversion to Mustache for header 2020-06-03 00:28:22 -04:00
alistair3149 37732ea6a9
Partial Mustache refactor (#113)
Refactor some components into Mustache. With the footer refactor addressed in #75, it should solve most of the incompatibility issues caused by previous hacks used to generate the footer
2020-06-02 02:23:11 -04:00
alistair3149 5349ed1013
Version bump 2020-05-22 11:38:40 -04:00
alistair3149 c3483d3fb6 Use single quote for CSS 2020-05-18 13:44:29 -04:00
alistair3149 aa2ada02c1 Changed footer icon logic and added Miraheze icon 2020-05-18 12:46:34 -04:00
paladox cb431b61a9
Fix api
Bug: #104 104
2020-05-14 22:45:43 +01:00
alistair3149 bac5e17656
Added missing view source icon 2020-04-13 14:48:42 -04:00
alistair3149 11a13f68fa
Search input would be focus when toggle is clicked 2020-04-11 23:24:48 -04:00
alistair3149 9bc8683676
Table of Content improvements (#98)
* More condensed ToC

* Fixed spacing between ToC title and the list

* Added ToC heading hierarchy

* Github CI lint - eslint/stylelint

* More height for the ToC

* More space between ToC title and list

* Better section highlight on ToC

* Github CI lint - eslint/stylelint

* Fixed syntax from the last commit

* Github CI lint - eslint/stylelint

* Fixed undefined var

* Fixed ToC dark mode color

* Additional ToC dark mode color fixes

* Fixed incorrect ToC dark mode highlight color

* Fixed highlight color again for dark mode

* Bumped version

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-04-10 17:07:43 -04:00
alistair3149 c42c6523f6
Bump version 2020-03-16 00:49:23 -04:00
alistair3149 4589452358
Removed unused file 2020-02-15 23:01:58 -05:00
alistair3149 a2608fc40b
Use defaultmodule to load skin styles instead 2020-02-15 21:26:07 -05:00
alistair3149 77c8325e11
Attempt to fix lazyload not loading 2020-02-15 16:59:47 -05:00
alistair3149 16e187c38d
Renamed resourceloader modules 2020-02-15 16:49:55 -05:00
alistair3149 fbdac79c4f
Version bump 2020-02-06 15:06:43 -05:00