Commit graph

424 commits

Author SHA1 Message Date
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
alistair3149 e3fc3d0458
Use extension naming for folders 2019-12-29 12:58:50 -05:00
Hannes 0e133407a1
Add SMW darkmode 2019-12-29 18:40:33 +01:00
Hannes 05976a23aa
Move all extensions into separate folders 2019-12-29 18:38:38 +01:00
Hannes 6a8196256c
Reorganize skinStyles into separate folders 2019-12-29 10:47:56 +01:00
alistair3149 d8f03e1f97
Bumped version 2019-12-28 19:38:57 -05:00
alistair3149 d296f02737
Merge branch 'dev' into feature/flow_darkmode 2019-12-28 17:03:00 -05:00
alistair3149 1ffca23fea
Bumped version 2019-12-28 14:06:21 -05:00
Hannes cf356d6844
Add extension Flow darkmode
Some button colors are still of
2019-12-28 13:48:07 +01:00
alistair3149 4fe581fb46
Merge pull request #5 from octfx/feature/ooui-darkmode
OOUI Darkmode
2019-12-27 13:27:40 -05:00
Hannes 2c39eafe6b
Move datatables into lecacy.shared 2019-12-27 15:19:47 +01:00
Hannes d3a0ce33c8
Add darkmode to diff view and legacy inputs 2019-12-27 14:54:40 +01:00
Hannes 97e0aa6866
WIP: Add darkmode definitions to OOUI 2019-12-26 22:46:02 +01:00
alistair3149 6ab2d17cce
Updated website 2019-12-26 14:04:39 -05:00
alistair3149 a765556f9e
Bumped version and updated test files 2019-12-26 02:08:10 -05:00
Hannes 9c2d92991a
Add config values to skin.json
Also added namespaces to hooks and api class
2019-12-26 00:25:04 +01:00
alistair3149 cf58f8b9a3 Bumped version and updated readme 2019-12-24 01:08:43 -05:00
alistair3149 72e23056b3 Added support for Feature Policy 2019-12-24 00:40:30 -05:00
alistair3149 21778bec63 Enabled CSP for testing 2019-12-23 23:27:36 -05:00
alistair3149 2e4bc7adc3 Added CSP support 2019-12-23 23:13:42 -05:00
alistair3149 6ee9ce7f98 Added HSTS preload support 2019-12-23 22:43:11 -05:00
alistair3149 97d3e2ccb2 Enabled HSTS 2019-12-23 22:25:39 -05:00
alistair3149 067386964e Added HSTS support 2019-12-23 22:17:28 -05:00
alistair3149 4bd3cd2ec5 Added deny xframe 2019-12-23 21:10:13 -05:00
alistair3149 59aa0d9ab0 Enable strict origin referrer policy 2019-12-23 20:26:26 -05:00
alistair3149 f3e57a19fc Add documentation to the skin 2019-12-21 00:56:15 -05:00
alistair3149 dc7453ec7c Moved contact button to global config, fixed php quote styles 2019-12-20 15:19:17 -05:00
alistair3149 06d399ec3f Increased the number of search result from 6 to 10 2019-12-13 23:31:48 -05:00
alistair3149 a4e72132a0 Update to manifest 2 #3 2019-12-12 21:33:37 -05:00
alistair3149 dd026e70af Update to manifest 2 2019-12-12 21:28:28 -05:00
alistair3149 9d7d0ec5d0 Update to manifest 2 2019-12-12 21:25:37 -05:00
alistair3149 ef5954b71f Test global var #2 2019-12-11 23:07:00 -05:00
alistair3149 ea297d7967 Test global var 2019-12-11 23:01:14 -05:00
alistair3149 2ef10e9605 Implement global var test 2019-12-11 22:38:55 -05:00
alistair3149 1596126e1b No image icon for suggestions 2019-12-11 21:10:34 -05:00
alistair3149 60d0aa0aca Revert previous edit 2019-12-11 20:17:30 -05:00
alistair3149 f9b02b83ae Decouple skin settings from skin json to localsettings #2 2019-12-11 20:11:03 -05:00
alistair3149 38d12a09f6 Revert previous edit 2019-12-11 19:59:38 -05:00
alistair3149 0c780cd470 Decouple skin settings from skin json to localsettings 2019-12-11 19:54:24 -05:00
alistair3149 1119a5f2f9 More dependencies 2019-12-11 18:03:38 -05:00
alistair3149 aa69934446 Added dependency on the skin module 2019-12-11 17:22:34 -05:00
alistair3149 34ff3660f3 Experimential search suggestions 2019-12-11 17:14:36 -05:00
alistair3149 b5ccf5d8b9 Added support for Preconnect 2019-12-10 22:59:10 -05:00
alistair3149 3276fae9a8 Installed RelatedArticles
cls
exit
2019-12-04 13:11:20 -05:00
alistair3149 56f34c63a9 version scheme 2019-12-02 23:29:26 -05:00
alistair3149 91da6331d3 Added support for reduce motion 2019-12-02 23:28:05 -05:00
alistair3149 34d7fe017b Added SC Tools logo to footer 2019-11-27 22:21:57 -05:00
alistair3149 38f7374a05 Cookie warning styles 2019-08-21 19:44:08 -04:00
alistair3149 ad94c5b0e2 additional icons for sidebar 2019-08-20 01:34:35 -04:00
alistair3149 5c96aca142 Gallery styles 2019-08-19 15:44:19 -04:00
alistair3149 94bb17e054 Tabber styles 2019-08-17 01:41:14 -04:00
alistair3149 9fdba7e375 licensing update 2019-08-16 21:48:16 -04:00
alistair3149 94d6d9ff01 File page styles 2019-08-16 02:35:44 -04:00
alistair3149 8b74c1edb5 Removed unused codes 2019-08-15 20:39:40 -04:00
alistair3149 9a6e12c3d8 Added support for Native lazyloading API 2019-08-15 18:31:54 -04:00
alistair3149 45b775c5fc Repushed Citizen skin 2019-08-15 13:40:13 -04:00
alistair3149 5371f3182f Fix localsettings.php to remove wave.js, temp remove Citizen skin to repush 2019-08-15 13:39:47 -04:00
alistair3149 8265d67d75 Added Lazyload images, broke MMV 2019-08-15 02:20:50 -04:00
alistair3149 590ae51c05 Web Manifest API implementation 2019-08-13 19:45:20 -04:00
alistair3149 c56d3720f9 Removed CSS, added TemplateData and Styles, updated Citizen skin 2019-08-13 12:54:28 -04:00
alistair3149 4b078cb929 Additional ULS styles 2019-08-12 23:56:49 -04:00
alistair3149 805ab632b4 Scrollspy ToC 2019-08-12 23:00:16 -04:00
alistair3149 fa3b68b237 OOUI and MMV styles 2019-08-12 00:27:50 -04:00
alistair3149 8d37cc27c0 OOJSUI updates 2019-08-11 22:24:08 -04:00
alistair3149 423eb9c5cb Echo mobile styles 2019-08-11 21:07:38 -04:00
alistair3149 73947db60e OOUI styles 2019-08-11 01:49:05 -04:00
alistair3149 375b4b2a7b Hotfix for RC styles 2019-08-11 01:08:32 -04:00
alistair3149 2fcead01a4 Additional styles for Translate extension 2019-08-11 00:57:34 -04:00
alistair3149 3eaf58dd05 Special: Translate fixes 2019-08-10 22:08:42 -04:00
alistair3149 0bad828d25 Recent Changes styles 2019-08-10 18:39:41 -04:00
alistair3149 f5550d2fe4 translate header style 2019-08-10 16:47:03 -04:00
alistair3149 47245c897b language bar styles 2019-08-10 15:28:27 -04:00
alistair3149 b3a61828f0 Additional styling for category and related articles 2019-08-09 22:28:30 -04:00
alistair3149 653dce2711 Updated Citizen skin files 2019-08-09 03:22:43 -04:00
alistair3149 5d65e28734 optimized js delivery 2016-12-09 06:19:01 -05:00
alistair3149 7046985a09 fix js attempt #1 2016-12-09 05:42:28 -05:00
alistair3149 011951fa81 web app manifest #2 2016-12-09 04:50:00 -05:00
alistair3149 c444b7d07b Initial creation of Citizen skin
Set up the basic framework
2016-12-09 00:35:50 -05:00