-------------------------------------------------- From: "Dmitriy Sintsov" questpc@rambler.ru Sent: Friday, June 04, 2010 11:35 AM To: "Happy-melon" happy-melon@live.com Subject: Re: [Wikitech-l] Reasonably efficient interwiki transclusion
- Happy-melon happy-melon@live.com [Fri, 4 Jun 2010 11:10:04 +0100]:
MW 2.0? :-D
Not really. These are pretty simple things, comparing to Parser and some another classes. MediaWiki class isn't that complex.
You wouldn't need to remove the globals, at least immediately; you'd retain them as aliases for the relevant variables of the 'main' wiki;
assuming
that it makes sense to define one primary wiki, which it usually does.
That might introduce glitches where one variable in "global / member pair" has it's value modified, while another isn't. Or, maybe the references (&$) will help. Dmitriy
s/aliases/references, yes.
--HM