Le 06/02/13 20:24, Jeroen De Dauw a écrit :
MediaWiki is currently closer to being a ball of mud
then a set of core
components nicely separated and working together via clean interfaces. We
have so many components that could just as well be independent from the
rest of the codebase, but they are not. Loose from the direct technical
cost of this, it also prevents reuse outside of MW and prevents using other
third party libraries from being used for those components rather then
custom MW code. Though we can clearly not just get rid of this legacy
(short from rewriting MW), we can encourage independent code and clean
interfaces.
We could probably keep our legacy interfaces and base them to cleaner
one that could be reusable by third parties or even come from third
parties (Symfony components comes to mind).
The includes/libs/ directory is more or less meant for that.
I would prefer we do not break back compatibility, it is already hard
enough to upgrade a wiki having several extensions.
--
Antoine "hashar" Musso