3 ms·
I just downloaded Mediawiki and took a look at the source code. Some of the later added code doesn't seem as bad, but there's an overwhelmingly extreme amount o
by michaelkscott 14y ago
I just downloaded Mediawiki and took a look at the source code. Some of the later added code doesn't seem as bad, but there's an overwhelmingly extreme amount of mingling between the data logic, including the classes and actions, and the html markup. It makes it utterly hard to read understand for someone wanting to contribute. The codebase isn't light either so (correct me if I'm wrong but) I don't think a complete rewrite of the application ever occurred after the first version.
Now if only some of us stopped creating social networks for kitties, and actually contributed our time and hackery into something that actually benefited the world.
- mjn 14y agoYou might be interested in the Parsoid project, which Wikimedia funded precisely to try to build a more maintainable pipeline for parsing syntax into some kind of AST or document model, disentangled from the other cruft: http://www.mediawiki.org/wiki/Parsoid http://www.mediawiki.org/wiki/Parsoid I believe it's currently being maintained separately, so the logic in MediaWiki itself is still the crufty version.