Commit graph

233 commits

Author SHA1 Message Date
alistair3149 f816fdb830 Remove unused config variable 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
alistair3149 193c027eb4 Separate language portal from other portals in sidebar 2020-08-12 12:59:57 -04:00
alistair3149 22832841da Use standalone for display in Webapp manifest 2020-08-12 12:59:57 -04:00
alistair3149 fc0692f62d Merge footer functions 2020-08-12 12:59:57 -04:00
github-actions 0e67691569 Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149 f0110cbd7a Sync with MobileFrontend 2020-08-12 12:59:57 -04:00
alistair3149 91aaec57a1 Migrate some Mustache parameter to SkinCitizen 2020-08-12 12:59:57 -04:00
alistair3149 5b33a497e4 Clean up search props function 2020-08-12 12:59:57 -04:00
alistair3149 eb491f7465 Clean up Mustache param name for SkinMustache merge 2020-08-12 12:59:57 -04:00
github-actions 4cab9be57d Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-08-12 12:59:56 -04:00
alistair3149 01f43fc4cc Undo skin check for lazyload 2020-08-12 12:59:56 -04:00
alistair3149 143ecb98e7 Add additional check to avoid lazyload hook affect other skin 2020-08-12 12:59:56 -04:00
alistair3149 0cc5b9a9e8 Replace addModule with getDefaultModules 2020-08-12 12:59:56 -04:00
alistair3149 1e012eb101
Default image lazyload to false due to leak 2020-07-22 17:07:15 -04:00
Hannes Kruse 557c8577c1
Update PHPDoc and make some comparisons strict
Signed-off-by: Hannes Kruse <hannes@octofox.de>
2020-07-05 14:37:44 +02:00
Hannes Kruse 1550ee8658
Default lazyloading to true on ConfigException
Signed-off-by: Hannes Kruse <hannes@octofox.de>
2020-07-05 14:37:06 +02:00
Hannes Kruse 8df68d6393
Use getHttpRequestFactory instead of deprecated MWHttpRequest
MWHttpRequest was deprecated in 1.34, getHttpRequestFactory was introduced in 1.31

Signed-off-by: Hannes Kruse <hannes@octofox.de>
2020-07-05 14:36:31 +02:00
github-actions 1fa405871c Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-06-17 02:56:40 +00:00
alistair3149 8263f86df1
Add license header to PHP files 2020-06-16 22:56:19 -04:00
alistair3149 f72af5e76d
Improve CI and code clean up (#143)
* Replace existing grunt linter

* Fix stylesheet issues picked up by stylelint

* Update the git workflow

* Fix incorrect slash in workflow file

* Github CI lint - eslint/stylelint

* Clean up composer

* Fix phpcb error

* MediaWiki CI

* Change commit message

* Update status badge

* Add JSDoc

* Add SVGO

* Make a dinner reservation - MediaWiki CI

I clean up code to MediaWiki standards

* Optimize SVG files with SVGO

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-16 22:49:41 -04:00
alistair3149 aa9508b41b
Drop support for SkinTemplateToolboxEnd 2020-06-15 23:03:02 -04:00
alistair3149 3d497156a0 Add documentation and license header 2020-06-15 22:52:30 -04:00
github-actions eeb3962ae6 Github CI lint - phpcbf 2020-06-16 02:41:54 +00:00
alistair3149 3736489118 Load lazyload modules with skin modules if needed 2020-06-15 22:41:56 -04:00
github-actions 105bcd52ed Github CI lint - phpcbf 2020-06-16 02:33:05 +00:00
alistair3149 32a0af35d4
Separate ToC from core module 2020-06-15 22:32:55 -04:00
alistair3149 96d7c90b21
Separate lazyload styles from common 2020-06-12 14:02:23 -04:00
alistair3149 d087db2cad
Set autocomplete off for the entire search form 2020-06-12 13:39:31 -04:00
alistair3149 21c03c718c
Add content ID back for VE compatibility (#128) 2020-06-10 01:36:50 -04:00
alistair3149 9d6f97cae6
Added config to disable lazyload (#121) 2020-06-09 01:28:50 -04:00
alistair3149 ffb0916c6d
Added shortcut key tooltip to search toggle (#120) 2020-06-09 00:55:31 -04:00
alistair3149 345af04010
Added random button to search bar 2020-06-08 21:58:35 -04:00
alistair3149 b964eef276
Fixed php error when page tools condition is set to login 2020-06-08 21:05:33 -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 8e9bbdbbad
Removed search button 2020-06-08 16:51:48 -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 09116cd568
Changed header from mw-header-container to mw-header 2020-06-06 15:51:51 -04:00
alistair3149 ce9c9a27a9
Use standard class and ID for search box 2020-06-06 14:47:03 -04:00
github-actions 03b72231aa Github CI lint - phpcbf 2020-06-06 00:13:26 +00:00
alistair3149 0ade51a384
Full Mustache conversion 2020-06-05 20:12:39 -04:00
alistair3149 0b28c95507
Give screen-reader-text class to hidden labels 2020-06-05 18:55:04 -04:00
alistair3149 042522d310
Converted header user buttons into Mustache 2020-06-05 18:25:24 -04:00
alistair3149 4b4be074a2 Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev 2020-06-05 17:15:38 -04:00
alistair3149 f890f96ca0
Fixed PHP error on undefined variable 2020-06-05 17:13:55 -04:00
github-actions 8d24caa8be Github CI lint - phpcbf 2020-06-05 21:08:41 +00:00
alistair3149 1cdde07e32
Fixed missing legacy menus 2020-06-05 17:07:47 -04:00
alistair3149 0c3898c462
Converted the navigation menu to Mustache 2020-06-05 17:07:11 -04:00
alistair3149 86882116df
Removed unused functions 2020-06-04 15:08:42 -04:00
alistair3149 a6bcf28acd
Converted part of menu to Mustache 2020-06-04 15:04:03 -04:00
alistair3149 b675d95f35
Added missing documentation for search box 2020-06-04 13:32:01 -04:00
github-actions ae50312dae Github CI lint - phpcbf 2020-06-04 17:17:50 +00:00
alistair3149 65a364e3ca
Fixed incorrect DOM structure 2020-06-04 13:16:51 -04:00
alistair3149 72ab186ccd
Fixed incorrect tags in bottombar 2020-06-04 02:43:52 -04:00
github-actions 09af984c20 Github CI lint - phpcbf 2020-06-04 06:36:54 +00:00
alistair3149 89a8faec37
Converted search box to Mustache 2020-06-04 02:36:06 -04:00
alistair3149 f248b8a861
Removed try catch exception from bottombar
There should not be exception so no need for exception catching
2020-06-04 01:40:32 -04:00
alistair3149 575a700425
Added missing div tag in the footer 2020-06-04 01:13:04 -04:00
alistair3149 7a38c76215
Converted bottombar to Mustache 2020-06-04 00:18:36 -04:00
alistair3149 72bfbb6087
Converted header toggle tooltip to i18n message 2020-06-03 23:39:50 -04:00
alistair3149 4dd271eb09
Use div instead of span as it is not inline 2020-06-03 01:33:25 -04:00
alistair3149 2adf857692
Use div instead of span as it is not inline 2020-06-03 01:20:56 -04:00
alistair3149 6b69c66c08
Use aside element for sitename sidebar 2020-06-03 01:16:26 -04:00
alistair3149 e913ec5f86
Removed ARIA role from footer 2020-06-03 01:08:39 -04:00
alistair3149 2f4827b785
Use semantic HTML5 elements for footer 2020-06-03 01:07:40 -04:00
alistair3149 2c6962f2be
Removed footer and content IDs
Based on T248137
2020-06-03 00:44:13 -04:00
alistair3149 c0fee346c5
Partial conversion to Mustache for header 2020-06-03 00:28:22 -04:00
alistair3149 5d5d1077c6
Readded tooltip to sitetitle 2020-06-02 23:37:28 -04:00
alistair3149 f0da589b52
Fixed missing footer sitetitle 2020-06-02 23:22:09 -04:00
alistair3149 a039f02bed
Added missing tooltip for side sitetitle 2020-06-02 22:34:38 -04:00
alistair3149 35de211a49
Converted sidebar sitetitle to Mustache 2020-06-02 21:21:24 -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 fbd85a8ef6
Attempt to fix autocomplete on search form 2020-03-17 18:34:01 -04:00
alistair3149 e1db357496
Re-enable watch module since it provides better UX 2020-02-15 22:31:58 -05:00
alistair3149 71876c5f9e
Dequeued watch module since it is not needed 2020-02-15 21:55:11 -05:00
alistair3149 1b4daf957c
Reverted changes 2020-02-15 21:27:42 -05:00
alistair3149 a2608fc40b
Use defaultmodule to load skin styles instead 2020-02-15 21:26:07 -05:00
alistair3149 74f3647af0
Attempt to rearrange resourceloader module 2020-02-15 20:57:43 -05:00
alistair3149 cc58502424
Attempt to rearrange resourceloader module 2020-02-15 20:54:39 -05:00
alistair3149 7a922720ba
Attempt to rearrange resourceloader module 2020-02-15 20:49:32 -05:00
alistair3149 c8fa98b2e4
Dequeue icons styles from critical render path 2020-02-15 20:40:47 -05:00
alistair3149 42286cfc95
Attempt to fix styles not loading properly 2020-02-15 20:38:11 -05:00
alistair3149 5fd977ea6c
Attempt to fix styles not loading properly 2020-02-15 20:37:41 -05:00
alistair3149 9863548919
Attempt to fix styles not loading properly 2020-02-15 20:32:22 -05:00
alistair3149 4c7702f19c
Attempt to fix styles not loading properly 2020-02-15 20:28:17 -05:00
alistair3149 43ab95b516
Attempt to fix styles not loading properly 2020-02-15 20:25:32 -05:00
alistair3149 0256020d9e
Attempt to fix php error 2020-02-15 20:17:43 -05:00
alistair3149 174bb4ccda
Attempt to fix php error 2020-02-15 20:15:36 -05:00
alistair3149 da2b32896c
Attempt to fix resourceloader order 2020-02-15 20:04:53 -05:00
alistair3149 6d29600caf
Attempt to fix resourceloader not loading bug 2020-02-15 19:56:41 -05:00
alistair3149 24724cf9b2
Add missing return line 2020-02-15 19:50:35 -05:00
alistair3149 53416ce050
Optimize resourceloader load order 2020-02-15 19:49:49 -05:00