Gregory Szorc schrieb:
On 5/3/06, Brion Vibber brion@pobox.com wrote:
Gregory Szorc wrote:
I was curious what the current plans are for MW 2.0. Will it just be announced sometime during the quarterly release schedule? Will it be a considerable rewrite?
Whether there will even be a 2.0 is an open question. So far we've made huge changes in internal structure incrementally, without having to rewrite everything, and there's no obvious reason why this can't continue.
If the later, I have an interesting idea for SoC. How about somebody rewrite the MW 1.6 core. Details of the rewrite would include
A core rewrite is I think not going to work for SoC. :)
*Changing everything to PHP 5 (better OO support in core)
We already require PHP 5 for 1.7, and will be making more use of the new features as things get refactored.
*Eliminating $wg global usage.
This too happens piece by piece. Most non-configuration globals have been pruned from most code, though there's still further work to be done.
Thank you, Brion, for the reply. This is exactly what I wanted to hear.
Would a suitable project for SoC be to go through the code base and assist with the PHP 5/$wg global phase out that has been occurring with 1.7? For example, adding visibility keywords on all the functions and fixing all the references to functions that are currently marked with comments as private or protected? On top of that, someone could update all the functions that have a better PHP 5 implementation. For example, replacing the XML functions with PHP 5 DOM ones and replacing all the references to the old functions.
For an initial attempt to get rid of the last globals, see index.php and include/Wiki.php One could expand on that.
Magnus