Commit graph

327 commits

Author SHA1 Message Date
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
Hannes 423e7c0eea
Allow to make thumbnail size configurable 2020-01-11 21:27:39 +01:00
alistair3149 def3f44ed0
Re-added referrer policy since mw implementation does not include response header 2020-01-09 19:26:16 -05:00
alistair3149 c8858ace5d
Update skin.json 2020-01-06 21:59:18 -05:00
alistair3149 7e42f8c432
Fixed the default option 2020-01-01 16:48:15 -05:00
alistair3149 658084bb0d
Add option to choose description source for search suggestion 2020-01-01 16:38:10 -05:00
Hannes f90b653385
Add search string to no result card 2020-01-01 02:27:48 +01:00
Hannes 3aa733f96d
Refactor typeahead
- Instead of inserting/removing script elements use the actual mw.Api object
- Add localization to loading and no result messages

Needs design pass:
- Display a loading indicator upon typing in the input field
- Display a no results indicator if no results could be found
2019-12-31 12:42:39 +01:00
alistair3149 286c2d5acc
Added X-XSS-Protection header support 2019-12-31 02:36:17 -05:00
alistair3149 268e00850b
Removed Referrer policy since MW has its implementation > 1.31 2019-12-31 01:41:03 -05:00
alistair3149 70390f3e45
Merge pull request #27 from octfx/feature/srf_darkmode
Semantic Result Formats Darkmodes
2019-12-30 20:21:44 -05:00
alistair3149 645c72f658
Bumped version 2019-12-30 17:01:23 -05:00
alistair3149 d8052b7983
Merge pull request #39 from octfx/feature/jquery_ui_darkmode
Add jQuery UI darkmode
2019-12-30 16:59:37 -05:00
alistair3149 b8ff427e66
Merge pull request #38 from octfx/feature/uploadwizard_darkmode
Add Extension UploadWizard darkmode
2019-12-30 16:59:11 -05:00
Hannes d73d04eea4
Add jQuery UI darkmode 2019-12-30 20:59:22 +01:00
Hannes 55ad6ad0c8
Add Extension UploadWizard darkmode 2019-12-30 20:38:37 +01:00
alistair3149 a68c47f034
Merge pull request #35 from octfx/feature/lingo_darkmode
Extension Lingo darkmode
2019-12-30 11:26:12 -05:00
alistair3149 3a01db8314
Merge pull request #37 from octfx/feature/advanced_search_darkmode
Extension AdvancedSearch darkmode
2019-12-30 11:24:52 -05:00
Hannes facb4ea607
Add Extension AdvancedSearch darkmode 2019-12-30 17:02:31 +01:00
Hannes f082ff23bc
Add Extension Lingo darkmode 2019-12-30 16:33:10 +01:00
alistair3149 d028265058
Merge branch 'dev' into feature/wikieditor_darkmode 2019-12-30 10:14:38 -05:00
Hannes 9792ee2c57
Add Extension WikiEditor darkmode 2019-12-30 11:47:19 +01:00
Hannes ca413037c4
Add style to skin.json 2019-12-30 11:24:30 +01:00
Hannes 1e1bba82bc
Some fixes
Semantic Result Formats loves setting no background or an background image as a linear gradient.
This is not really addressed in these commits. TODO :/
2019-12-30 00:06:11 +01:00
Hannes a5f400632a
Add styles to skinStyles 2019-12-29 23:27:49 +01:00
alistair3149 5b1463f37b
Adding octfx as author 2019-12-29 16:23:01 -05:00
Hannes 7bf8fe44c8
Add SRF Event Calendar darkmode 2019-12-29 20:02:46 +01:00
alistair3149 82d79d3696
Bumped version 2019-12-29 13:06:01 -05:00
alistair3149 e2b3a313e1
Renamed SMW to SemanticMediaWiki 2019-12-29 13:03:22 -05:00
alistair3149 346b4966dc
Merge branch 'dev' into feature/smw_darkmode 2019-12-29 13:00:24 -05:00