Index: trunk/extensions/PageTriage/PageTriage.hooks.php |
— | — | @@ -156,7 +156,7 @@ |
157 | 157 | * @param &$pcache Set if you want to use the parser cache. |
158 | 158 | * @return type description |
159 | 159 | */ |
160 | | - public static function onArticleViewHeader( &$article, &$outputDone, &$pcache ) { |
| 160 | + public static function onArticleViewFooter( &$article ) { |
161 | 161 | global $wgUser, $wgPageTriageMarkPatrolledLinkExpiry, $wgOut, $wgRequest; |
162 | 162 | |
163 | 163 | // the presence of rcid means this is coming from Special:NewPages, |
Index: trunk/extensions/PageTriage/PageTriage.php |
— | — | @@ -97,7 +97,7 @@ |
98 | 98 | $wgHooks['ArticleSaveComplete'][] = 'PageTriageHooks::onArticleSaveComplete'; |
99 | 99 | $wgHooks['UnitTestsList'][] = 'efPageTriageUnitTests'; // unit tests |
100 | 100 | $wgHooks['GetPreferences'][] = 'PageTriageHooks::onGetPreferences'; |
101 | | -$wgHooks['ArticleViewHeader'][] = 'PageTriageHooks::onArticleViewHeader'; |
| 101 | +$wgHooks['ArticleViewFooter'][] = 'PageTriageHooks::onArticleViewFooter'; |
102 | 102 | $wgHooks['ArticleDeleteComplete'][] = 'PageTriageHooks::onArticleDeleteComplete'; |
103 | 103 | $wgHooks['MarkPatrolledComplete'][] = 'PageTriageHooks::onMarkPatrolledComplete'; |
104 | 104 | $wgHooks['BeforePageDisplay'][] = 'PageTriageHooks::beforePageDisplay'; |
— | — | @@ -117,6 +117,9 @@ |
118 | 118 | $updater->addExtensionTable( 'pagetriage_log', $base . '/PageTriageLog.sql' ); |
119 | 119 | |
120 | 120 | $updater->modifyField( 'pagetriage_page', 'ptrp_triaged', "$base/PageTriageRename.sql", true ); |
| 121 | + $updater->addExtensionField( 'pagetriage_page', 'ptrp_created', "$base/PageTriageTimestamps.patch.sql", true ); |
| 122 | + $updater->addExtensionField( 'pagetriage_page', 'ptrp_tags_updated', "$base/PageTriageTimestamps.patch.sql", true ); |
| 123 | + $updater->addExtensionField( 'pagetriage_page', 'ptrp_deleted', "$base/PageTriagePageDeleted.sql", true ); |
121 | 124 | |
122 | 125 | return true; |
123 | 126 | } |