Jean-Marc van Leerdam escribió: > Hi, > > Does MW.org provide some relatively high level description of the > process flow / object interaction that is followed when rendering > mediawiki pages? > > I've been searching mediawiki.org and the source tree from my mw > installation but so far I only found class-based 'local' information. > > I am happy to contribute a more high level description, if that is not > yet available, but would much prefer to use (and if needed contribute > to) an existing description. > > Do we have class models and process flow descriptions available somewhere? > > I am most interested in the way Parser, ParserOutput, Skin and the > related classes interoperate, as well as how user extensions and hooks > are supposed to interact with the core mediawiki software. > > -- > Regards, > > Jean-Marc
There are some graphics there, from profiling information. Usually you only need to care for the process followed for variable initialization: DefaultSettings.php -> LocalSettings.php -> Setup.php MediaWiki uses lazy initalization with stubs for the important objects objects, so it's a bit estochastic flow. As of the extensions, they hook into mediawiki, so they run on the points where mediawiki calls the hooks they are registered with. _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
