Commit graph

70 commits

Author SHA1 Message Date
alistair3149 c185ce037f
build: bump to 2.0.0 2024-05-25 00:36:43 -04:00
alistair3149 947a47af2e
feat: set animation to true as that bug has been resolved upstream 2024-05-25 00:36:09 -04:00
alistair3149 bb110c6d98
feat: rewrite Javascript implementation
To ensure easier development and maintenance, IE support is dropped to allow
modern Javascript features. The old tabber module is rewritten into newer
standard and using classes to ensure proper scoping.
2024-05-25 00:33:22 -04:00
alistair3149 9f44a9079d
build: bump to 1.9.1 2024-05-23 22:09:48 -04:00
alistair3149 b172b5fab3
build: bump to 1.9.0 2024-04-24 15:14:48 -04:00
alistair3149 7b1c319e24
feat: allow tab name to be parsed
This is an experimental config and can lead to performance issue and unexpected behavior.

Closes: #35
2024-04-24 15:13:08 -04:00
alistair3149 6e67dd2abb
fix: deprecate mobile target
Closes: #120
2024-04-24 14:04:06 -04:00
alistair3149 cfe539df90
fix: incorrect RL class name 2024-02-08 14:28:57 -05:00
alistair3149 64cafa84f8
fix: deprecate old RL class 2024-02-08 01:49:29 -05:00
alistair3149 4353855b88
build: bump to 1.8.2 2023-08-31 15:37:43 -04:00
alistair3149 973081d369
build: bump to 1.8.1 2023-07-30 18:08:51 -04:00
alistair3149 ae6a28ce96
build: bump to 1.8.0 2023-07-05 23:11:35 -04:00
alistair3149 c06f0e7e74
refactor: rename TabberNeueEnableLegacyMode to TabberNeueUseCodex 2023-07-05 23:00:32 -04:00
alistair3149 a4e59057bf
feat: add Vue component for tab content 2023-07-05 20:00:59 -04:00
alistair3149 cd63b6c10f
refactor: remove noscript message
Tabber already shows content without JS, and noscript handling is a bit tricky in MW
2023-07-05 18:32:18 -04:00
alistair3149 89e90af034
feat: add experimental support of Codex
It can be enabled by setting `$wgTabberNeueEnableLegacyMode` to `true`.
It is the first implementation and a WIP with numerous caveats:
- Nested Tabber does not work
- Tabber Transclue does not work
2023-07-05 17:26:33 -04:00
alistair3149 ebb10283dc
feat: bump requirement to > MW 1.39
The later refactor and features planned need 1.39+ to work
2023-03-20 12:16:59 -04:00
alistair3149 f9ecf2ad37
build: bump to 1.7.5 2023-02-16 14:21:05 -05:00
alistair3149 34611f87f0
build: bump to 1.7.4 2022-10-25 17:20:30 -04:00
alistair3149 f9983fb7a0
build: bump to 1.7.3 2022-09-28 09:55:11 -04:00
alistair3149 b1f339e58c
build: bump to 1.7.2 2022-06-29 17:24:25 -04:00
alistair3149 831eeee16c
refactor: use proper extension namespaces 2022-06-29 17:22:14 -04:00
alistair3149 047ba17d1b
fix: hide duplicate images generated by MobileFrontend
When a thumb is placed inside tabber under an article section, MobileFrontend duplicates
the image for some reason. So the hacky way to fix this is to hide the duplicated image.
Since it is an upstream issue, there are not much I can do.

Closes: #2
2022-06-29 17:01:57 -04:00
alistair3149 6b530290a4
build: bump to 1.7.1 2022-06-18 20:02:46 -04:00
alistair3149 04d0b84d4b
build: bump to 1.7.0 2022-06-05 15:19:30 -04:00
alistair3149 122df779e7
feat: add config to toggle Tabber animation and default to false
Add a config to enable/disable Tabber scrolling animation.

It is currently default to false as smooth scrolling is broken on Safari,
as tabs would not scroll at all with it on. It is an upstream browser bug
that is being tracked here: https://bugs.webkit.org/show_bug.cgi?id=238497
2022-06-03 16:46:42 -04:00
alistair3149 043e47e2c9
build: bump to 1.6.1 2022-05-31 03:22:20 -04:00
alistair3149 7b63c853bf
build: bump to 1.6.0 2022-05-06 17:56:08 -04:00
alistair3149 8fdead811e
feat: add tracking categories for pages using Tabber
Pages with tabber/tabbertransclude tag will have a tracking category called Category:Pages using Tabber/TabberTransclude parser tag. To hide the category, put the __HIDDENCAT__ magic word on the category page
2022-05-06 13:09:03 -04:00
alistair3149 e642364b6f
build: bump to 1.5.2 2022-04-23 18:44:42 -04:00
alistair3149 dc3cb203a3
fix: disable Parsoid extension module support
Seems like it is preventing VE to open by somehow breaking Parsoid (restbase error 500) in MW 1.35.5.
Disabling it for now.
2022-04-23 18:41:14 -04:00
alistair3149 5df6a0f772
feat: add link to documentation in VE context item
Also make the text label for tabbertransclude different so that it does not get mixed up with regular tabber
2022-04-22 22:22:44 -04:00
alistair3149 68d52b27a8
build: bump to 1.5.1 2022-04-22 20:01:42 -04:00
alistair3149 d0be57a629
feat: add basic VE support for tabbertransclude tag
* Add basic inspector tool for tabbertransclude
* Add custom icon for Tabber
* Fix an issue where Tabber VE dialog is triggered when selecting mapframe
2022-04-22 19:34:06 -04:00
alistair3149 5410a1496f
feat: add Tabber icon in VisualEditor 2022-04-22 16:31:21 -04:00
alistair3149 39d0bee0d4
build: bump to 1.5.0 2022-04-22 00:39:13 -04:00
alistair3149 84273da412
feat: generate tab header in visual edit mode 2022-04-22 00:38:16 -04:00
alistair3149 2d86edc3c1
feat: highlight text inside tabber tags as wikitext in CodeMirror 2022-04-21 15:35:07 -04:00
alistair3149 6165b06f28
feat: add basic VisualEditor support for tabber tags
Adding some basic support for visual editing in VisualEditor. Currently it is nothing fancy, just the ability to recognize <tabber/> tags and a simple dialog with code editor to edit the Tabber code. It would be iterated upon in the future.
2022-04-21 15:14:52 -04:00
alistair3149 b8309cd6e3
build: bump to 1.4.0
* Initial Parsoid support for the tabber tag
* Add background fade to indicate scrollable tab header on touch devices
* Some refactor and clean up
2022-04-20 17:22:56 -04:00
alistair3149 3220bb8ef4
feat: add initial Parsoid support for the tabber tag 2022-04-20 17:21:49 -04:00
alistair3149 007f1942de
feat: use the new HookContainer system 2022-04-20 14:00:28 -04:00
alistair3149 cc663e76e8
refactor: separate hooks from the rest of TabberNeue class 2022-04-20 13:11:10 -04:00
alistair3149 f3858fa198
build: bump to 1.3.2 2022-04-19 11:41:20 -04:00
alistair3149 38a47307d7
feat: add HTTP status code to error message
Also use default MediaWiki message 'error' instead of self-defined one.
2022-04-19 10:24:49 -04:00
alistair3149 2cd680df50
build: bump to 1.3.1 2022-04-18 23:10:30 -04:00
alistair3149 893611e41d
feat: replace loading message with animation 2022-04-18 22:46:40 -04:00
ciencia d8c3db4e59 feat: allow tab content to be transclusions of other pages
* Initial merge of the TabberTransclude extension from Ciencia
* Tab content can now be fetched from other pages on the wiki. The content is lazy-loaded when the tab is selected through a XHR request.
* Add a config option to disable setting URL hash on tab change
2022-04-18 21:56:03 -04:00
alistair3149 4ef6221d6c
build: bump to 1.2.0
Also add Ciencia to the author list since many patches came from his fork
2022-04-18 20:02:28 -04:00
alistair3149 eba79272a9
build: bump to 1.1.0 2021-10-23 00:49:22 -04:00