alistair3149
c5c47aeb5f
feat(search): ✨ use Short URL in search suggestion
...
This should avoid a bunch of 302 redirects using the old Special:Search links.
2024-07-05 16:21:10 -04:00
alistair3149
974e6b2750
feat(core): ✨ add config to change overflow inherited classes
2024-05-27 17:16:23 -04:00
alistair3149
c17aeab3fd
feat(core): ✨ rename wgCitizenTableNowrapClasses to wgCitizenOverflowNowrapClasses
...
Allow this config to use for more generic elements in the future
2024-05-27 15:54:34 -04:00
alistair3149
9110ef1ca3
refactor(core): ♻️ use MainConfigNames constants instead of string literals
...
Related: T305805
2024-05-07 16:21:01 -04: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
Simon Stier
2e3e5feb9b
feat(search): add SMW Ask API as search backend option ( #625 )
...
* feat: add SMW Ask API as search backend option
* feat: allow namespace prefix in smw ask query
2023-05-18 13:57:43 -04:00
Simon Stier
a7b99d11f0
feat(core): add config var 'wgCitizenTableNowrapClasses' ( #621 )
...
* add config var 'wgCitizenTableNowrapClasses'
* refactor: load config via require
2023-05-18 13:53:58 -04:00
alistair3149
90890de53f
feat(core): ✨ add config flag to disable preferences menu
2023-03-27 14:08:38 -04:00
alistair3149
203b0b42c3
feat(search): ✨ add MediaSearch to typeahead
2022-12-14 10:28:45 -05:00
alistair3149
391266c0a7
feat(core): ✨ allow the use of custom search suggestion module
...
defines the search suggestion ResourceLoader module
used by the skin. It deprecates the config
2022-12-02 17:59:45 -05:00
alistair3149
5c962ca22f
refactor(core): ♻️ use new ResourceLoader namespace
...
Related: T308718
2022-11-21 17:41:38 -05:00
alistair3149
e53afa51dc
fix(core): config CitizenThemeDefault should set theme correctly
...
Previously the config did set the theme correctly but get overridden by the inline
script to auto, this will fix it.
Closes : #418
2022-06-29 15:29:44 -04:00
alistair3149
58d85ff426
refactor(core): normalize PHP namespaces used in Citizen
...
Related: T303102
2022-05-26 16:58:14 -04:00
alistair3149
b2bd79196d
feat: rework search module ( #386 )
...
* feat: rewrite search module (WIP)
There are some caveats because it is a WIP
- Messages are not i18n yet
- Missing placeholder suggestion thumbnail
- Only REST mode works
- Missing greeting message when there is no search query
- Code might look like a mess (I learned JS not long ago)
* refactor: remove old search module
* feat: clean up search suggestion styles
* feat: hide overflow for suggestion text
* feat: add action API and various cleanup
* feat: re-add abort controller
* feat: add message support and tweaks
* feat: use virtual config instead of ResourceLoader hook
* fix: missing comma in const definition
* feat: add ARIA attributes
2021-05-17 16:34:14 -04: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
77edd0145a
feat: add experimental caching for search suggestion
2021-03-11 20:26:01 -05:00
Hannes
24a2a38b4b
feat: Convert hooks to HookHandler interface
2021-01-28 12:46:27 +01:00