Commit graph

278 commits

Author SHA1 Message Date
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
github-actions 4ee628dde4 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-04-09 17:08:41 +00: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
github-actions cb8fb498ab ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-04-09 15:48:47 +00:00
alistair3149 bd3eac63bb
refactor: move Mustache templates to root directory 2021-04-09 11:47:48 -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
github-actions 373ba3b50c ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-03-18 16:36:39 +00:00
alistair3149 fd931a13d5
feat: add debug styles 2021-03-18 12:35:18 -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 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 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 77edd0145a
feat: add experimental caching for search suggestion 2021-03-11 20:26:01 -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
alistair3149 8971eed653
refactor: rename sitelogo to siteinfo 2021-03-05 11:47:58 -05:00
alistair3149 852bcf8b85
feat: tweak header and drawer logo styles 2021-03-05 11:37:27 -05:00
alistair3149 ae9ab0a8d1
bug: fix null pointer
Authored-by: H. C. Kruse <6594492+octfx@users.noreply.github.com>
2021-03-04 16:50:42 -05:00
alistair3149 b8fc3018ff
feat: implement wordmark in header 2021-03-04 15:08:32 -05:00
Hannes 82f220ec64
refactor: Convert html entitie
And only run collapse on content pages
2021-03-03 09:44:18 +01: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 624d896d73
refactor: rename variables and modules 2021-03-02 19:28:54 -05:00
github-actions fcd796d1e2 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-03-03 00:14:48 +00:00
alistair3149 669be20879
fix: fix error caused by PHP comments 2021-03-02 19:09:39 -05:00
alistair3149 af5565f490
feat: implement collapsible sections 2021-03-02 17:16:24 -05:00
alistair3149 b35c92d67a
refactor: remove Mustache parameters that are in 1.35 core 2021-02-26 16:34:28 -05:00
alistair3149 5177f6187b
fix: remove unused pagelink template 2021-02-26 16:29:10 -05:00
alistair3149 c795578dad
feat: merge namespace and variant links into more menu 2021-02-26 16:21:11 -05:00
alistair3149 00448a095d
feat: add drawer subsearch part 2 2021-02-03 15:47:32 -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
alistair3149 6633f89033
fix: fix display of theme toggle button if set to auto (#261)
Co-authored-by: Hannes <hannes@octofox.de>
2021-01-31 12:38:37 -05:00
Hannes 876f2da4bb
feat: Allow to choose the link append portal 2021-01-29 21:49:01 +01:00
alistair3149 96a98da021
feat: use flexbox for overlay menu 2021-01-29 14:54:42 -05:00
Hannes 4275a4c7df refactor: Use UploadWizard link if available 2021-01-28 15:54:18 -05:00
Hannes 97850860b7
fix: Fatal error 2021-01-28 21:09:52 +01:00