alistair3149
840b7b8fa0
chore(release): 1.14.0
2022-04-27 16:49:13 -04:00
alistair3149
d22f562816
fix: uncaught value when no theme value is saved
...
Users are unable to open the preference panel when there are no theme option saved in localStorage.
It is because prefValue.theme will return null which will stop the script from executing.
Now when prefValue.theme is null, it will default to auto.
2022-04-27 16:44:53 -04:00
alistair3149
37efe85bb7
feat: allow scripts to run when MobileFrontend is active
2022-04-27 16:43:53 -04:00
alistair3149
f0b9879fbd
feat: add skinStyles for collapsible toggles in MobileFrontend
2022-04-27 16:27:12 -04:00
alistair3149
9eeac80bf5
feat: tweak collapsible toggle size
2022-04-27 16:15:23 -04:00
alistair3149
8eaaecf957
feat: do not format body content if MobileFrontend is active ( #409 )
...
MobileFrontend formats body content to enable features such as collasible headers.
Citizen should not attempt to format it as it will break features in MF.
2022-04-27 15:58:16 -04:00
alistair3149
7e068dd4b1
refactor: simplify unnessecary selectors
2022-04-27 14:43:02 -04:00
alistair3149
b9b795ff11
refactor: use gap instead of margin-right for spacing
2022-04-27 14:02:10 -04:00
alistair3149
a61635ea8f
feat: tweak edit button styles when both visual and source edit are present
2022-04-27 13:35:03 -04:00
alistair3149
0177a06a22
feat: use wikiText icon for source edit when VE is present
...
* Use wikitext icon to indicate source edit instead of regular edit icon.
* Visual edit would now use regular edit icon
2022-04-27 13:12:59 -04:00
alistair3149
37beda8e87
feat: show namespace (e.g. Discussion) on page tools
2022-04-27 13:12:59 -04:00
alistair3149
d6415ecde6
docs: update skinStyles grade
2022-04-27 11:33:03 -04:00
alistair3149
77caba9d05
chore: do not proceed if there are no diff
2022-04-26 12:52:32 -04:00
github-actions
84570162b9
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-04-26 16:41:52 +00:00
alistair3149
8f5a50af30
chore: regenerate lock file
2022-04-26 12:40:54 -04:00
github-actions
0a6cf86486
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-04-26 16:25:56 +00:00
alistair3149
01e783187f
style: use tabs instead of spaces in package.json
2022-04-26 12:24:39 -04:00
alistair3149
cbc95c36b3
chore(release): 1.13.0
2022-04-26 12:19:45 -04:00
alistair3149
69ef0ed68c
chore: add additional config for standard-release
2022-04-26 12:19:22 -04:00
alistair3149
e71225be1b
chore: use standard-version to generate changelog
2022-04-26 12:10:33 -04:00
alistair3149
309ae7cec9
chore: enforce conventional commit at git commit
2022-04-26 12:06:20 -04:00
alistair3149
47e3e5c0ca
build: bump to 1.13.0
2022-04-25 22:33:35 -04:00
alistair3149
96013bb126
feat: deprecate --background-color-dp-XX in favor of --color-surface-X
...
--background-color-dp-XX is now fully deprecated in favor of a simpler 4 color surface system. It can be accessed through the --color-surface-X CSS var.
2022-04-25 22:27:52 -04:00
alistair3149
fed5369847
fix: add null check for checkboxObj.target
...
It should no longer throw an exception which causes other script to fail
Closes #432
2022-04-25 21:48:52 -04:00
alistair3149
fd0346bebb
docs: add link to the adapting Citizen style wiki page
2022-04-25 21:29:20 -04:00
alistair3149
2c79c061c4
feat: pass styles as style element instead of inline
2022-04-25 20:34:40 -04:00
alistair3149
00f35a7fab
build: bump to 1.12.1
2022-04-25 02:04:57 -04:00
alistair3149
7dbbc6b777
fix: add null check for user tagline
...
$editCount can return as null sometimes and throw an error
2022-04-25 02:03:13 -04:00
alistair3149
9041cc6f22
feat: tweak category styles
2022-04-24 15:38:17 -04:00
alistair3149
f5d280e4c3
fix: remove indentations
2022-04-24 15:34:43 -04:00
alistair3149
47e1259bc3
feat: implement a more adaptive smooth shadow
...
* Looks more natural
* Can be customized through the surface-shadow and shadow-strength CSS var
* Light mode and dark mode have been different shadow now, it should be more visible in dark mode
* Box-shadow is a CSS var, which can be used in templates and wiki CSS
2022-04-24 15:24:09 -04:00
alistair3149
f05295195a
feat: move discussion to the top of the more menu
...
Also clean up some related-styles
2022-04-24 01:53:47 -04:00
github-actions
2cd9efa4d9
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-04-24 00:27:06 +00:00
alistair3149
3c729928d2
feat: sitestats should show exact number when it is <10000
2022-04-23 20:26:05 -04:00
alistair3149
318ca23ad0
build: bump to 1.12.0
2022-04-23 01:32:50 -04:00
github-actions
673445c718
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-04-23 05:32:12 +00:00
alistair3149
a8485ac76a
fix: remove unused debug code
2022-04-23 01:31:22 -04:00
alistair3149
6217bad7c0
feat: implement RTL icons
2022-04-23 01:30:02 -04:00
alistair3149
6efff7f5da
feat: revamp drawer header
...
* wgLogo is always visible in the drawer
* Increase the size of wiki name
* Sitestats will now format large numbers into human readable formats (e.g. 12.2K, 3M, etc.)
* Sitestats now use icons instead of text as labels
* Remove wordmark for now, will revisit later
2022-04-23 01:30:02 -04:00
github-actions
c95b6c1550
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-04-19 22:21:08 +00:00
alistair3149
f770e250df
refactor: remove unused method
2022-04-19 18:20:06 -04:00
alistair3149
047f830d1a
fix: FOUC of light theme when user is using auto theme and prefer dark
...
The prefer-dark script was previously deferred which causes a delay to detect and switch theme for the user. It is now inlined to prevent the delay.
2022-04-19 18:17:53 -04:00
alistair3149
7ecf3a81eb
feat: depreciate theme preferences in MW user preferences
...
Just local storage is good enough
2022-04-19 17:31:23 -04:00
alistair3149
02d9f88742
feat: update TabberNeue styles to latest version
2022-04-19 11:10:07 -04:00
alistair3149
10b24e6d37
chore: update package-lock.json
2022-04-19 11:09:35 -04:00
alistair3149
7b7641b366
feat: hide toc number by default
2022-04-17 18:12:11 -04:00
alistair3149
a2dffec7eb
feat: remove letter spacing from wordmark
2022-04-17 18:07:56 -04:00
Lens0021
cebc35fd4b
feat: show footer desc and tagline in the content language ( #444 )
2022-04-17 12:23:43 -04:00
alistair3149
2eb4fe9a5f
build: bump to 1.11.0
2022-04-14 00:39:02 -04:00
Lens0021
5202ddbebe
feat: add styles for PortableInfobox ( #441 )
...
* feat: add styles for PortableInfobox
* Update ext.PortableInfobox.styles.less
* Update ext.PortableInfobox.styles.less
2022-04-14 00:36:33 -04:00