Mailing List Archive

SVN: [114916] trunk/extensions/PageTriage/PageTriage.php
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114916

Revision: 114916
Author: werdna
Date: 2012-04-16 03:25:09 +0000 (Mon, 16 Apr 2012)
Log Message:
-----------
Make sure PageTriageRename.sql is applied to existing installations.

Modified Paths:
--------------
trunk/extensions/PageTriage/PageTriage.php

Modified: trunk/extensions/PageTriage/PageTriage.php
===================================================================
--- trunk/extensions/PageTriage/PageTriage.php 2012-04-16 00:00:08 UTC (rev 114915)
+++ trunk/extensions/PageTriage/PageTriage.php 2012-04-16 03:25:09 UTC (rev 114916)
@@ -115,6 +115,9 @@
$updater->addExtensionTable( 'pagetriage_page_tags', $base . '/PageTriagePageTags.sql' );
$updater->addExtensionTable( 'pagetriage_page', $base . '/PageTriagePage.sql' );
$updater->addExtensionTable( 'pagetriage_log', $base . '/PageTriageLog.sql' );
+
+ $updater->modifyField( 'pagetriage_page', 'ptrp_triaged', "$base/PageTriageRename.sql", true );
+
return true;
}



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs