I've been informally mentoring André, Tiago, Diego, and César. They are four students at Minho University who are currently working on a project to improve DB2 database support in MediaWiki.
So far, they've: - Fixed several outstanding issues with DB2 support involving character encoding, Windows vs Linux, etc - Added DB2 support to the new MediaWiki 1.17 Installer and Updater - Put in the appropriate Updater sql patches to reflect database schema changes since 1.14
MediaWiki already had some DB2 support, but it's been broken since 1.15 and never complete. As a result of their work, it's now possible to successfully install MediaWiki on DB2 out of the box and to use the core wiki features.
I'll shortly commit their first patch using my SVN account (leonsp). I've taken some care to look over the code and make sure it abides by the MediaWiki code guidelines.
Regards,
Leons Petrazickis http://lpetr.org/blog/
2011/4/12 Leons Petrazickis leons.petrazickis@gmail.com:
- Added DB2 support to the new MediaWiki 1.17 Installer and Updater
- Put in the appropriate Updater sql patches to reflect database
schema changes since 1.14
This probably won't get backported into the 1.17 release branch, making 1.18 the first to really support DB2.
-Chad
On 12.04.2011, 20:34 Chad wrote:
2011/4/12 Leons Petrazickis leons.petrazickis@gmail.com:
- Added DB2 support to the new MediaWiki 1.17 Installer and Updater
- Put in the appropriate Updater sql patches to reflect database
schema changes since 1.14
This probably won't get backported into the 1.17 release branch, making 1.18 the first to really support DB2.
-Chad
It's DB2-only fixes, nothing scary about backporting it.
On 13/04/11 02:41, Max Semenik wrote:
It's DB2-only fixes, nothing scary about backporting it.
Historically, DBMS support patches have touched a lot of query building code, and have caused bugs for MySQL. We should decide whether we want to backport it when we see it.
-- Tim Starling
On 13.04.2011, 8:03 Tim wrote:
On 13/04/11 02:41, Max Semenik wrote:
It's DB2-only fixes, nothing scary about backporting it.
Historically, DBMS support patches have touched a lot of query building code, and have caused bugs for MySQL. We should decide whether we want to backport it when we see it.
It was already committed at the time of my post. In this particular case, no common code is touched other than registering DB2 within the installer, so it's pretty safe.
On 04/12/2011 12:32 PM, Leons Petrazickis wrote:
I've been informally mentoring André, Tiago, Diego, and César. They are four students at Minho University who are currently working on a project to improve DB2 database support in MediaWiki.
Thank you and congrats to your four students!
-Sumana
I've just committed additional enhancements to DB2 support in MediaWiki as r106480. This builds on the code developed by André and other student volunteers at Minho University which I committed in April as r85885.
I'm hoping that this will make the 1.19 cutoff, as it includes updates to the DB2 database schema to address changes in 1.18 and 1.19. I think the changes are reasonable, and I've done my best to look the code over for clarity and adherence to style guidelines before committing.
Regards,
Leons Petrazickis http://lpetr.org/blog/
Thanks, Leons! I see at http://www.mediawiki.org/wiki/Special:Code/MediaWiki/106480 that Brion has marked your revision deferred. If you disagree with this, and/or do not get responses and code reviews, I suggest you try to find core developers in the #mediawiki channel on Freenode IRC to discuss.
Thanks for improving our database support!
Sumana Harihareswara Volunteer Development Coordinator Wikimedia Foundation
On Fri, Dec 16, 2011 at 4:32 PM, Leons Petrazickis leons.petrazickis@gmail.com wrote:
I've just committed additional enhancements to DB2 support in MediaWiki as r106480. This builds on the code developed by André and other student volunteers at Minho University which I committed in April as r85885.
I'm hoping that this will make the 1.19 cutoff, as it includes updates to the DB2 database schema to address changes in 1.18 and 1.19. I think the changes are reasonable, and I've done my best to look the code over for clarity and adherence to style guidelines before committing.
Regards,
Leons Petrazickis http://lpetr.org/blog/ _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Tue, Dec 20, 2011 at 2:40 PM, Sumana Harihareswara <sumanah@wikimedia.org
wrote:
Thanks, Leons! I see at http://www.mediawiki.org/wiki/Special:Code/MediaWiki/106480 that Brion has marked your revision deferred. If you disagree with this, and/or do not get responses and code reviews, I suggest you try to find core developers in the #mediawiki channel on Freenode IRC to discuss.
I don't think we have any way to test it and I doubt any of our reviewers are familiar with DB2, so there's not much feedback we can give immediately. :)
Definitely thanks for adding it in, and I hope we can get DB2 added to our unit test suites at some point!
-- brion
On 21/12/11 09:49, Brion Vibber wrote:
On Tue, Dec 20, 2011 at 2:40 PM, Sumana Harihareswara <sumanah@wikimedia.org
wrote:
Thanks, Leons! I see at http://www.mediawiki.org/wiki/Special:Code/MediaWiki/106480 that Brion has marked your revision deferred. If you disagree with this, and/or do not get responses and code reviews, I suggest you try to find core developers in the #mediawiki channel on Freenode IRC to discuss.
I don't think we have any way to test it and I doubt any of our reviewers are familiar with DB2, so there's not much feedback we can give immediately. :)
Definitely thanks for adding it in, and I hope we can get DB2 added to our unit test suites at some point!
You can get the "Express-C" version for free.
https://en.wikipedia.org/wiki/IBM_DB2_Express-C
https://www14.software.ibm.com/webapp/iwm/web/pick.do?source=swg-db2expressc&lang=en_US
-- Tim Starling
wikitech-l@lists.wikimedia.org