alistair3149
9110ef1ca3
refactor(core): ♻️ use MainConfigNames constants instead of string literals
...
Related: T305805
2024-05-07 16:21:01 -04:00
alistair3149
76a93e962f
fix(Echo): 🐛 re-implement nojs Echo buttons
2024-05-06 15:28:56 -04:00
alistair3149
5d59a6d3c0
feat(core): ✨ enable caching for inline JS
2024-05-06 14:06:04 -04:00
alistair3149
a81bf1fc16
refactor(core): ♻️ re-implement VE action icon
2024-05-06 13:37:33 -04:00
alistair3149
3eab91ca07
feat(CiteThisPage): ✨ update icon to align with master branch
2024-05-03 18:54:16 -04:00
alistair3149
9f3b7dc178
feat(DiscussionTools): ✨ add icon to page subscribe button
2024-05-03 18:12:51 -04:00
alistair3149
3aba632382
feat(Cargo): ✨ add icon to purge button
2024-05-03 18:06:56 -04:00
alistair3149
4f9ded3c35
feat(core): ✨ render Echo icons in skin instead of js
2024-05-03 17:33:50 -04:00
alistair3149
ffa7d76df4
feat(core): ✨ change primary action links in user menu into buttons
...
Link such as sign up and sign in are converted into a button to make it more visible
2024-05-01 20:25:51 -04:00
alistair3149
00157436a5
fix(core): 🐛 stricter match for title parenthesis
...
* Only match the parenthesis at the end of the title
* Only match when a whitespace is before the opening parenthesis
2024-05-01 19:31:21 -04:00
alistair3149
a09e5e0b34
fix(core): 🐛 add missing file associated page icon
2024-04-27 13:29:23 -04:00
alistair3149
1997f126c0
feat(core): ✨ add wikidata icon to wikibase in toolbox
2024-04-27 13:25:37 -04:00
alistair3149
358f172542
feat(core): ✨ add qrcode icon to urlshortener in toolbox
2024-04-26 23:56:03 -04:00
alistair3149
52f4bab1a5
feat(core): ✨ only load the inline script if EnablePreferences is true
2024-04-25 19:33:11 -04:00
alistair3149
efe11ed410
refactor(prefs): ♻️ use literal values instead of integers in clientPref features
2024-04-25 17:51:54 -04:00
alistair3149
241dc96cfe
feat(prefs): ✨ move page width to clientPrefs
...
Now all of the existing prefs are migrated to clientPrefs,
we can discard the code from the old system.
2024-04-25 17:41:22 -04:00
github-actions
2d936d01c3
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-04-25 21:07:23 +00:00
alistair3149
0d52046523
feat(prefs): ✨ migrate font size to client preferences
2024-04-25 17:06:09 -04:00
alistair3149
5768ccc25b
feat(core): ✨ add pure black mode for dark theme
2024-04-25 15:45:24 -04:00
alistair3149
405eef0b9a
fix(core): 🐛 incorrect class of auto theme on page output
2024-04-25 15:19:51 -04:00
alistair3149
a741639085
feat(core): ✨ move theme preferences to clientPrefs
...
Since clientPrefs and other related features are not avaliable until MW 1.42,
many of them are backported as polyfill. Instead of using cookies, the polyfill
are using localStorage only like Citizen in the past.
There are many changes behind the scene, but the most important one being that
`skin-citizen-*` theme classes are now soft-deprecated, and replaced by the
standardized `skin-theme-clientpref-*` classes. There will be sufficient
time before the hard deprecation.
Related: #780
2024-04-24 20:23:54 -04:00
alistair3149
30ee7c1dd1
refactor(core): ♻️ use ResourceLoader to minify inline JS
2024-04-24 17:47:33 -04:00
github-actions
59aa0a9103
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-04-24 02:55:42 +00:00
alistair3149
ff3acf3b71
fix(core): 🐛 use runOnSkinTemplateNavigationHooks instead
...
This should somewhat ensure Citizen gets to run its hook after all the extensions.
Hopefully it will resolve various issues regarding hook load orders.
Closes : #812
2024-04-23 22:55:16 -04:00
alistair3149
3a73bdc640
fix(core): 🐛 deprecate more old ResourceLoader classes
2024-02-04 15:17:34 -05:00
alistair3149
69ba5d1e34
refactor(core): ♻️ avoid unnessecary declarations
2023-12-29 17:23:48 -05:00
Eisa Ahmed
e985f863bc
feat(ar): add support for Arabic fonts through Noto Arabic ( #755 )
...
* Added support for Arabic fonts through Noto Naskh Arabic.
* Added Noto Sans Arabic
2023-12-15 00:41:45 -05:00
alistair3149
0da7d8fe33
fix(core): 🐛 check for read access before attaching manifest
...
Since the manifest is generated by the MW API, users lacking read access
would not be able to access the manifest.
Closes : #747
2023-12-13 17:47:01 -05:00
alistair3149
c50a0cd0c1
refactor(core): ♻️ remove unnessecary params
2023-11-15 15:54:21 -05:00
David Lynch
6f5b761fe7
fix(core): let makeSections xpath query cope with multiple classes ( #733 )
...
* Let makeSections xpath query cope with multiple classes
As-of https://gerrit.wikimedia.org/r/c/mediawiki/core/+/939783 in mediawiki-core, this class attribute is going to contain multiple classes. This would break the section-creation. This change to the query is backwards-compatible, so this should just inoculate the skin against future updates.
* Shorten line for mediawiki-lint compatibility
* fix: update html selector for parser output
Related: T350627
---------
Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-11-15 15:15:25 -05:00
github-actions
43b7ce4717
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-09-11 18:05:27 +00:00
alistair3149
672740a23a
fix(core): 🐛 check for mw-heading wrapper first before mw-parser-output
...
The current implementation will fail with the new mw-heading wrapper
2023-09-11 14:04:43 -04:00
github-actions
7b349faa73
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-09-11 00:52:03 +00:00
alistair3149
45a726d77f
fix(core): 🐛 stricter selector for collasible headers in formatter
2023-09-10 20:51:28 -04:00
alistair3149
a6a9fe27e4
fix(core): 🐛 stricter selector for collapsible header
2023-09-10 19:19:31 -04:00
alistair3149
2f40541bc4
feat(core): ✨ prefix citizen section classes
2023-09-10 19:00:52 -04:00
alistair3149
d62bdca69c
refactor(core): ♻️ update title class to use the newer standard
2023-08-25 16:52:58 -07:00
H. C. Kruse
661ad61486
ci: add PHPUnit tests ( #712 )
...
* ci: WIP add PHP Unit Tests
* ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
* ci: Add phpunit tests
---------
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2023-08-25 14:39:37 -07:00
github-actions
4b1128b3b7
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-08-25 00:57:30 +00:00
alistair3149
b350660f4c
refactor(core): ♻️ use namespaced title class
...
Bumped minimum MW requirements to 1.39.4 as it is nessecary.
Related: T166010, T338114
2023-08-24 17:56:42 -07:00
alistair3149
1cfe3cdfc8
fix(core): 🐛 catch IntlException for NumberFormatter
...
This should at least avoid Citizen throwing an exception.
However, it won't address the root cause of the issue.
Closes #474
2023-08-24 14:58:10 -07:00
alistair3149
69163bee55
fix(search): 🐛 undefined wgScript config
2023-08-03 20:37:24 -04:00
alistair3149
51db19938c
feat(search): ✨ reimplement SMW Ask API search
...
Instead of relying on hardcoded config, you can simply type the
conditions as search query (e.g. `[[Has population::1200]][[:+]]`).
2023-08-02 19:02:50 -04:00
alistair3149
8605c6c6dc
fix(core): 🐛 deprecate User::idFromName
2023-07-17 17:59:28 -04:00
alistair3149
eecd21db76
feat(core): ✨ add icon for Email this user
2023-07-06 15:02:14 -04:00
沈澄心
4f6e34e05b
fix(core): undefined $msgGender error in Tagline.php ( #684 )
...
* Update Tagline.php
* Update Tagline.php
2023-07-04 23:19:36 -04:00
沈澄心
2891d042cc
fix(core): skin preference support for Safari on iOS < 12.2 ( #680 )
...
* Update skins.citizen.preferences.js
* Update skins.citizen.preferences.js
* Update inline.js
* Update SkinHooks.php
* Update skins.citizen.preferences.less
* Update variables.less
* Update theme.less
* Update theme.less
* Update skins.citizen.preferences.js
* Update skins.citizen.preferences.js
* Update skins.citizen.preferences.js
* Update skin.js
2023-07-03 08:48:41 -04:00
github-actions
2c5539900c
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2023-06-12 02:13:23 +00:00
沈澄心
e771c728e1
fix(core): add menu icons for "Special pages" and "Upload file" ( #664 )
...
* Update SkinHooks.php
* Update Drawer.php
* Update skin.json
2023-06-11 22:12:50 -04:00
alistair3149
717d16af35
feat(core): ✨ display real name in user menu when exists
...
Closes : #652
Co-authored-by: SimonTaurus <simon.stier@gmx.de>
2023-06-09 21:34:55 -04:00