alistair3149
76a84d9e00
feat(core): add ARIA support to collaspible sections
...
* Also renamed toggle to indicator since it is misleading. The whole heading is the toggle itself.
2022-04-30 14:48:09 -04:00
Lens0021
2787d49a96
fix: find toolbox explicitly ( #448 )
...
The last item in the sidebar is not always the toolbox in some wikis, as result, a wrong portlet is displayed.
2022-04-30 02:54:13 -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
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
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
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
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
alistair3149
f770e250df
refactor: remove unused method
2022-04-19 18:20:06 -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
Lens0021
cebc35fd4b
feat: show footer desc and tagline in the content language ( #444 )
2022-04-17 12:23:43 -04:00
Lens0021
449278f0be
feat: use template data for page tools if available ( #440 )
...
* Use template data for page tools if available
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
* emptyPortlet class is added by the core
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
* Update PageTools.php
* Set toolbox to always valid data
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2022-04-14 00:30:33 -04:00
alistair3149
42df59f2b4
refactor!: drop security header support
2021-08-31 13:20:51 -04:00
github-actions
446faaf7f4
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-07-30 02:49:04 +00:00
alistair3149
d6968e9383
fix: undefined userPage variable
2021-06-22 11:23:42 -04:00
github-actions
c0ce609cd4
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-06-20 06:04:43 +00:00
alistair3149
bc59fb82aa
refactor: clean up footer functions
2021-06-20 02:03:43 -04:00
alistair3149
82d48ac4e8
refactor: depreciate User->isLoggedIn (T270450)
2021-06-09 13:48:16 -04:00
alistair3149
57ff42abcf
feat: do not call HtmlFormatter when the page is not collapsible ( #384 )
2021-05-13 09:44:34 -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
2cec33906e
refactor: integrate skins.citizen.scripts.theme into core scripts
2021-04-20 23:42:45 -04:00
alistair3149
013cfbb259
feat: add support for Permissions Policy
2021-04-19 14:17:23 -04:00
github-actions
ec4b3fa5b4
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-04-17 03:42:35 +00:00
alistair3149
607d87a4f6
doc: add missing documentation
2021-04-16 23:41:41 -04:00
alistair3149
1fe399cd85
feat: add user edit count as user page tagline
2021-04-16 23:35:59 -04:00
github-actions
59b90fb202
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-04-17 02:40:47 +00:00
alistair3149
d89f44a76e
feat: allow tagline to be defined for custom namespaces
2021-04-16 22:39:49 -04:00
alistair3149
2a93a292c7
feat: add contextual tagline for different namespaces
2021-04-12 17:09:35 -04:00
alistair3149
670641e903
feat: use slash as shortcut for search
2021-04-12 15:09:28 -04:00
alistair3149
fccf312e7e
refactor: remove the unnecessary usage of array_merge
...
also move skin features out of construct
2021-04-09 13:08:01 -04:00
H. C. Kruse
0e63bb6aef
bug: fix changing theme through UPO ( #340 )
2021-04-06 08:40:15 -04:00
alistair3149
abffe590b5
refactor: remove cookie theme for local storage
...
Co-authored-by: H. C. Kruse <6594492+octfx@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-04-05 14:24:18 -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
83c6735cda
bug: fix parsing raw html ( #334 )
...
Co-authored-by: Hannes Kruse <hannes@octofox.de>
2021-04-04 11:39:57 -04:00
alistair3149
bc1c1c9001
Merge pull request #329 from octfx/dev
...
refactor: Don't create sections if they are disabled
2021-03-26 08:36:00 -04:00
Hannes
88912f71b3
refactor: Don't create sections if they are disabled
2021-03-26 08:00:14 +01:00
alistair3149
41a0793ae1
refactor: use isRegistered instead of isLoggedIn
...
isLoggedIn is depreciated in 1.36
2021-03-25 15:06:54 -04:00
alistair3149
88aed73f5c
feat: format sitestats with separators
2021-03-23 10:38:30 -04:00
github-actions
ad899801ff
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-03-22 21:01:56 +00:00
alistair3149
bbbcaba94d
feat: add site stats to drawer
2021-03-22 17:01:08 -04:00
alistair3149
2bed65ee2c
fix: missing doc and file from previous commit
2021-03-16 13:10:54 -04:00
alistair3149
65a7ffd927
feat: add short description support
2021-03-16 13:08:47 -04:00
alistair3149
5ee951c1f8
feat: support wikitext in footer description and tagline
2021-03-13 13:15:41 -05:00
alistair3149
4fb5005bd0
feat: move ULS button back to personal menu
2021-03-11 21:09:43 -05:00
github-actions
1a72f99dd5
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-03-12 01:44:25 +00:00
alistair3149
b0f7acd6f0
fix: missing edit count for users without expllict groups
2021-03-11 20:43:36 -05:00
alistair3149
582776f0cd
refactor: replace addHeadItem with addInlineScript
...
Use included method in OutputPage as addHeadItem is not specific and does not support nonce
https://doc.wikimedia.org/mediawiki-core/REL1_35/php/classOutputPage.html#ab87aa6f446da87bdf143998ee0ca5297
2021-03-10 20:35:40 -05:00
alistair3149
112ff9a4b5
feat: add user edit count to personal menu
2021-03-09 15:04:48 -05:00