Commit graph

1357 commits

Author SHA1 Message Date
Hannes 028169ea42
feature: Make color scheme configurable 2021-01-09 22:58:43 +01:00
Hannes 13e853ac9a
refactor: Convert color-scheme query to class 2021-01-09 22:57:28 +01:00
Hannes 044f27c5ba
refactor: Convert colors to css variables 2021-01-09 22:56:28 +01:00
alistair3149 664e1aac1d
chore: update linter config 2021-01-06 19:28:39 -05:00
alistair3149 0b4ed3d254
chore: use conventional commit for CI 2021-01-06 18:51:13 -05:00
alistair3149 27d0c12f2d
test: update depreciated stylelint rules 2021-01-05 19:45:22 -05:00
alistair3149 cd1729cda6
chore: depreciate composer no-suggest 2021-01-05 19:40:58 -05:00
alistair3149 6d0612aafa
refactor: rename function to avoid shadowing 2021-01-05 19:39:15 -05:00
alistair3149 0fc6a7d6ae
chore: update dependencies 2021-01-05 19:24:52 -05:00
translatewiki.net 03c3a0579d Localisation updates from https://translatewiki.net. 2021-01-04 14:49:45 +01:00
translatewiki.net 413c41b1ee Localisation updates from https://translatewiki.net. 2020-11-26 17:59:47 +01:00
github-actions e6bfcaacca Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-11-24 15:32:14 +00:00
alistair3149 0af975d0f7
Merge pull request #197 from RogerDodger/patch-1
Fix closed toc eating clicks with phantom div
2020-11-24 10:31:06 -05:00
alistair3149 851c92cceb
Merge branch 'master' into patch-1 2020-11-24 10:30:40 -05:00
alistair3149 bf2e70b90c
Update dependencies 2020-11-24 15:29:14 +00:00
Cameron bf8909e2bb
Fix closed toc eating clicks with phantom div
Previous behaviour was to remove the toc from view by applying a transform to the .toc > ul but *not* .toc itself.

This meant that .toc was still covering the body when the toc was "closed", eating clicks on anything that would be covered by the toc when opened.

This change puts a transform on .toc itself (and changes the transforms on the ul to match), fixing the issue. However, this creates a new stacking context, which affects .toctogglelabel, since its fixed position is now with respect to .toc, not the viewport. Setting .toctogglelabel { right: -100vw } keeps it in the same place.
2020-11-23 16:14:09 +10:30
Cameron 3f0b54aede Make toc closed by default on mobile 2020-11-23 00:29:59 -05:00
Cameron f168f14378
Make toc closed by default on mobile 2020-11-23 13:18:42 +10:30
alistair3149 f2f669dec6 Deprecate mediawiki.skinning.content.externallinks 2020-10-22 11:04:19 -04:00
alistair3149 8ce02ef308
Hide ToC in print mode due to overlapping 2020-10-19 09:50:48 -04:00
alistair3149 84afa95261
Merge pull request #192 from StarCitizenTools/dev
Avoid eager loading for search module and add loading indicator
2020-10-16 15:27:31 -04:00
alistair3149 2110aa8d55
Add search loading indicator 2020-10-16 15:23:15 -04:00
github-actions 49c91ba3fe Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-10-13 01:26:21 +00:00
alistair3149 3c3e4159c4
Fix some OOUI and Flow darkmode issues on 1.35 (#191)
* Fix some ooui and flow darkmode issues on 1.35

* Make CI happy

* Make CI happy

Co-authored-by: Hannes <hannes@octofox.de>
2020-10-12 21:25:14 -04:00
alistair3149 0910842eeb
Merge pull request #188 from octfx/patch-1
Add installer name to composer.json
2020-10-11 11:40:10 -04:00
H. C. Kruse f3d727e8e5
Add installer name to composer.json
When installing the skin via composer the created folder is named `citizen` instead of `Citizen`.  
See: https://www.mediawiki.org/wiki/Manual:Composer.json_best_practices#Skins for more info
2020-10-11 13:55:01 +02:00
alistair3149 d1bbc27e2e
Merge pull request #187 from kodiakcrypto/patch-1
Naming Capitalization issue fix
2020-10-09 10:01:38 -04:00
Kodiak 195c0d6e0a
Naming Capitalization issue fix
Naming Capitalization issue fix
2020-10-08 23:17:46 -07:00
alistair3149 c5f21c9233
Merge pull request #186 from StarCitizenTools/dev
Various improvement and fixes for 1.35
2020-09-26 16:38:42 -04:00
alistair3149 ab83d1acfc
Decode fulltext search string 2020-08-23 12:44:57 -04:00
alistair3149 d1b96d5639
Update README.md 2020-08-23 12:19:12 -04:00
alistair3149 edd7d30cca
Remove config flag from readme 2020-08-23 11:59:19 -04:00
github-actions ff4349601a Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-08-21 19:49:31 +00:00
alistair3149 e0fe0b88eb
Simplify get config method in skin hook 2020-08-21 15:48:23 -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
github-actions ac343ce893 Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149 0398f5f9f6 Contain scripts inside functions 2020-08-12 12:59:57 -04:00
alistair3149 68175798ac Simpify hook definition in skin.json 2020-08-12 12:59:57 -04:00
alistair3149 972d71edab Emphasize 1.35+ requirement 2020-08-12 12:59:57 -04:00
github-actions c04d4b102e Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149 f816fdb830 Remove unused config variable 2020-08-12 12:59:57 -04:00
github-actions eaeadbb776 Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149 8f4c114916 Fix ToC dark mode background 2020-08-12 12:59:57 -04:00
alistair3149 a413f5bd21 Update comment format in SkinCitizen 2020-08-12 12:59:57 -04:00
alistair3149 58789b9034 Add null check for last modified message 2020-08-12 12:59:57 -04:00
github-actions be0ada233c Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
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
github-actions bf653992da Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149 dc0b3e1549 Fix incorrect rebase merge 2020-08-12 12:59:57 -04:00