Topic on Extension talk:Mantle

Jump to navigation Jump to search
This, that and the other (talkcontribs)

Could we please have a more specific description? Even just a couple more sentences would be really nice.

The current description on the page is extremely vague; it's totally unclear to me what this extension does. Reading the code told me nothing.

This, that and the other (talkcontribs)

@Jdlrobson: Not sure if pinging works in LQT but could you have a look at this? Thanks.

Jdlrobson (talkcontribs)

Its meant to be vague. "The Mantle extension promotes code sharing of code not quite ready for core." is as clear as I can be right now as this is an experimental project and. Updating documentation right now would be very premature but essentially it is hoping to share code between MobileFrontend and Flow.

Legoktm (talkcontribs)

The main question I had when reading the description is why isn't the code ready for core?

SPage (WMF) (talkcontribs)
  • Since neither MobileFrontend's hogan nor Flow's handlebars is likely to win Requests for comment/HTML templating library, javascripts/templating should not go in core.
  • Gerrit change 111250 for "Add blobs support to ResourceLoader" was -1'd, and since we don't know if Mantle's similar approach to adding templates to RL will work for the likely winner of American Next Templating Idol, ResourceLoaderTemplateModule.php is premature for core.
  • The approach to modules, O-O, and events in javascripts/common/{modules,Class.js, eventemitter.js} is just one of many and overlaps with OOjs that is in core.

This post was posted by SPage (WMF), but signed as S Page (WMF). (talkcontribs)

Hey @Legoktm I fleshed out that description. Thanks for raising this issue.

SPage (WMF) (talkcontribs)

Now Flow is trying to use it, I added a substantial "Developer features" section. But this extensions is just the manifestation of sharing code between two extensions, it's not intended for the world (otherwise it would indeed be in core).

This post was posted by SPage (WMF), but signed as S Page (WMF).

Reply to "Description"