Hi all, Two months ago, we talked about Extension:Widgets [1] and mediawikiwidgets.org [2] on wikitech-l [3].
Reminder: With Extension:Widgets, external services (Youtube, Facebook...) are added to the parser by writing code (smarty) in the Widget namespace. These Widgets are hosted on mediawikiwidgets.org.
In short, Sergey Chernyshev [4] wondered how we could save this great work. That lead to a discussion about the quality/sustainability of Extension:Widgets. Biggest issues raised were: security (code stored within the wiki pages) and version control (of widgets).
We [5] have been working since on Extension:WidgetsFramework [6]. Inspired by Extension:Widgets, we hope it could be a suitable successor. With Extension:WidgetsFramework, external services are added to the parser like any other MediaWiki extension (php) but the code is factorized and simplified. These Widgets are hosted in Git [7]
See the thorough documentation: http://www.mediawiki.org/wiki/Extension:WidgetsFramework
We believe WidgetsFramework is now stable and advanced enough to face the community (and its challenging insights). And here we are, asking: - Do you think this extension has an use and a future for more than just our wiki? - If yes, what is the best way to distribute/manage the codes (framework+widgets) within the community? - If answer is "Git+Gerrit+mediawiki.org", can we get help? Our resources are rather limited and... well... Gerrit scares us a bit :-)
Thank you for your time, Regards. -- [1] http://www.mediawiki.org/wiki/Extension:Widgets [2] http://www.mediawikiwidgets.org [3] http://comments.gmane.org/gmane.science.linguistics.wikipedia.technical/6379... [4] http://www.sergeychernyshev.com [5] http://www.seizam.com [6] http://www.mediawiki.org/wiki/Extension:WidgetsFramework [7] https://github.com/Seizam/seizamcore/tree/master/WikiZam/extensions/WidgetsF... -- Clément Dietschy *Seizam* Sàrl. 24, rue de Bâle 68300 Saint-Louis (France) tél. +33 6 87 75 99 27 www.seizam.com
Hey,
Suggestion: you could use the validator extension [0] instead of re-inventing the wheel in [1].
TL;DR: It's a declarative parameter processing framework written as MediaWiki extension and used by several other MediaWiki extensions.
The documentation on mw.org is outdated (the parameter definition syntax and overall architecture changed quite a bit) but the basic idea remains the same. The latest code is on the 1.0.x branch [2] and is going to be merged into master as soon as the Maps extension is made compatible with the new version. The code on the 1.0.x makes use of the DataValues and associated extensions being developed for the Wikidata project. If you then also consider the other extensions already using this I think it's pretty safe to say this is going to keep being maintained and get more features, thus has a huge advantage over doing something similar on your own.
[0] https://www.mediawiki.org/wiki/Extension:Validator [1] https://github.com/Seizam/seizamcore/tree/master/WikiZam/extensions/WidgetsF... [2] https://github.com/wikimedia/mediawiki-extensions-Validator/tree/1.0.x
Cheers
-- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. --
2012/11/16 Jeroen De Dauw jeroendedauw@gmail.com
Hey,
Suggestion: you could use the validator extension [0] instead of re-inventing the wheel in [1].
Yes, Extension:Validator [0] is exactly what we need. We did re-invent the wheel. We'll try to squeeze a migration to Validator in the next developments.
[0] https://www.mediawiki.org/wiki/Extension:Validator
[1] https://github.com/Seizam/seizamcore/tree/master/WikiZam/extensions/WidgetsF... [2] https://github.com/wikimedia/mediawiki-extensions-Validator/tree/1.0.x
Thanks for the notification! And congratulation about your excellent code...
-- Clément Dietschy *Seizam* Sàrl. 24, rue de Bâle 68300 Saint-Louis (France) tél. +33 6 87 75 99 27 www.seizam.com
wikitech-l@lists.wikimedia.org