Skip to content

Conversation

@siddharthvp
Copy link
Member

This has never really been used anywhere in the intended way. For example, on Bangla Wikipedia, they have modified the defaults inline, which defeats the point. The intended usage was to define messages in a JSON object, load them into an i18n lib like jquery.i18n and attach it to morebits via Morebits.i18n.setParser(). The Chinese Wikipedia skips Morebits.i18n altogether in favour of defining messages inline.

The only usage is in Twinkle-core which anyway has its own copy of morebits. At this point, continuing to maintain this system feels like technical debt that also impedes readability of code where messages are used.

This has never really been used anywhere in the intended way. For example, on [Bangla Wikipedia](https://bn.wikipedia.org/wiki/MediaWiki:Gadget-morebits.js), they have modified the defaults inline, which defeats the point. The intended usage was to define messages in a JSON object, load them into an i18n lib like jquery.i18n and attach it to morebits via Morebits.i18n.setParser(). The [Chinese Wikipedia](https://zh.wikipedia.org/wiki/MediaWiki:Gadget-morebits.js) skips Morebits.i18n altogether in favour of defining messages inline.

The only usage is in Twinkle-core which anyway has its own copy of morebits. At this point, continuing to maintain this system feels like technical debt that also impedes readability of code where messages are used.
@github-actions github-actions bot added the Module: morebits The morebits.js library label Jan 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module: morebits The morebits.js library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants