Hi folks,
I'm relatively new to mediawiki, and I'm wondering about best practices for maintaining extension code updates.
Is there a way to maintain extensions vis a cvs server, as there is with Drupal modules?
Also, is there a searchable archive of this list anywhere?
Thanks, Paul N.
Paul Newby pnewby@ocasi.org wrote:
Hi folks,
I'm relatively new to mediawiki, and I'm wondering about best practices for maintaining extension code updates.
Is there a way to maintain extensions vis a cvs server, as there is with Drupal modules?
Some extensions are hosted in the MediaWiki SVN repository:
https://secure.wikimedia.org/wikipedia/mediawiki/wiki/SVN
But many of them are maintained independently by authors.
Also, is there a searchable archive of this list anywhere?
You might want to try GMANE:
http://dir.gmane.org/gmane.org.wikimedia.mediawiki
//Marcin
Hi Paul.
On 17-03-11 15:34 Paul Newby pnewby@ocasi.org wrote:
Is there a way to maintain extensions vis a cvs server, as there is with Drupal modules?
Also, is there a searchable archive of this list anywhere?
List archive with search: * http://dir.gmane.org/gmane.org.wikimedia.mediawiki
Subversion commit access: * http://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker * http://www.mediawiki.org/wiki/Commit_access
Cheers!
Siebrand
One more extension code maintenance question - is there any automated way of checking for extension updates? Also, how are extension revisions to the database performed?
Thanks, Paul N.
On Thu, Mar 17, 2011 at 10:34 AM, Paul Newby pnewby@ocasi.org wrote:
Hi folks,
I'm relatively new to mediawiki, and I'm wondering about best practices for maintaining extension code updates.
Is there a way to maintain extensions vis a cvs server, as there is with Drupal modules?
Also, is there a searchable archive of this list anywhere?
Thanks, Paul N.
Extension updates to the database can be done with the LoadExtensionSchemaUpdates hook. The callback function is called when maintenance/update.php is run.
http://www.mediawiki.org/wiki/Manual:Hooks/LoadExtensionSchemaUpdates
DanB
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Paul Newby Sent: Friday, March 18, 2011 2:12 PM To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] maintaining extensions code
One more extension code maintenance question - is there any automated way of checking for extension updates? Also, how are extension revisions to the database performed?
Thanks, Paul N.
On Thu, Mar 17, 2011 at 10:34 AM, Paul Newby pnewby@ocasi.org wrote:
Hi folks,
I'm relatively new to mediawiki, and I'm wondering about best practices for maintaining extension code updates.
Is there a way to maintain extensions vis a cvs server, as there is with Drupal modules?
Also, is there a searchable archive of this list anywhere?
Thanks, Paul N.
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Extension updates to the database can be done with the LoadExtensionSchemaUpdates hook. The callback function is called when maintenance/update.php is run.
Thanks. So am I correct in assuming that code updates to of any kind should be followed by running the update script?
Paul N.
On Fri, Mar 18, 2011 at 11:47 AM, Paul Newby pnewby@ocasi.org wrote:
Extension updates to the database can be done with the LoadExtensionSchemaUpdates hook. The callback function is called when maintenance/update.php is run.
Thanks. So am I correct in assuming that code updates to of any kind should be followed by running the update script?
Yes.
-Chad
Is there an automated way of checking for (or being notified about) extension updates, or do you have to go through them and check each one?
Thanks, Paul N.
One more extension code maintenance question - is there any automated way of checking for extension updates? Also, how are extension revisions to the database performed?
Thanks, Paul N.
On Thu, Mar 17, 2011 at 10:34 AM, Paul Newby pnewby@ocasi.org wrote:
Hi folks,
I'm relatively new to mediawiki, and I'm wondering about best practices for maintaining extension code updates.
Is there a way to maintain extensions vis a cvs server, as there is with Drupal modules?
Also, is there a searchable archive of this list anywhere?
Thanks, Paul N.
On Mon, Mar 21, 2011 at 10:15 AM, Paul Newby pnewby@ocasi.org wrote:
Is there an automated way of checking for (or being notified about) extension updates, or do you have to go through them and check each one?
Thanks, Paul N.
Unfortunately you have to check for updates yourself. I'd like to see this fixed this year, it's absurd our extension process still requires so much manual labor.
-Chad
Unfortunately you have to check for updates yourself. I'd like to see this fixed this year, it's absurd our extension process still requires so much manual labor.
That would be great. It's something Drupal does particularly well - it checks all the contributed modules for update status automatically, and there are regular email alerts that flag any module with a security issue - makes code maintenance a lot easier.
Paul
On Mon, Mar 21, 2011 at 10:27 AM, Chad innocentkiller@gmail.com wrote:
Unfortunately you have to check for updates yourself. I'd like to see this fixed this year, it's absurd our extension process still requires so much manual labor.
Hear, hear!
In the meantime, if you're using SVN, you can at least update everything in one go: ls extensions | xargs svn up (or SVN switch if you're moving to a new branch)
mediawiki-l@lists.wikimedia.org