Index: trunk/extensions/LiquidThreads/classes/LqtHistoricalThread.php |
— | — | @@ -1,5 +1,4 @@ |
2 | 2 | <?php |
3 | | - |
4 | 3 | if (!defined('MEDIAWIKI')) die; |
5 | 4 | |
6 | 5 | class HistoricalThread extends Thread { |
— | — | @@ -63,4 +62,4 @@ |
64 | 63 | function isHistorical() { |
65 | 64 | return true; |
66 | 65 | } |
67 | | -} |
| 66 | +} |
\ No newline at end of file |
Index: trunk/extensions/LiquidThreads/classes/LqtDate.php |
— | — | @@ -1,5 +1,4 @@ |
2 | 2 | <?php |
3 | | - |
4 | 3 | if (!defined('MEDIAWIKI')) die; |
5 | 4 | |
6 | 5 | class Date { |
Index: trunk/extensions/LiquidThreads/classes/LqtNewMessages.php |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | <?php |
3 | | - |
4 | 3 | if (!defined('MEDIAWIKI')) die; |
5 | 4 | |
| 5 | + |
6 | 6 | class NewMessages { |
7 | 7 | |
8 | 8 | static function markThreadAsUnreadByUser($thread, $user) { |
— | — | @@ -91,4 +91,4 @@ |
92 | 92 | array(), array('user_message_state') ); |
93 | 93 | } |
94 | 94 | |
95 | | -} |
| 95 | +} |
\ No newline at end of file |
Index: trunk/extensions/LiquidThreads/classes/LqtQueryGroup.php |
— | — | @@ -1,5 +1,4 @@ |
2 | 2 | <?php |
3 | | - |
4 | 3 | if (!defined('MEDIAWIKI')) die; |
5 | 4 | |
6 | 5 | class QueryGroup { |
Index: trunk/extensions/LiquidThreads/classes/LqtThreadHistoryIterator.php |
— | — | @@ -1,5 +1,4 @@ |
2 | 2 | <?php |
3 | | - |
4 | 3 | if (!defined('MEDIAWIKI')) die; |
5 | 4 | |
6 | 5 | class ThreadHistoryIterator extends ArrayIterator { |
— | — | @@ -32,4 +31,4 @@ |
33 | 32 | $this->append( HistoricalThread::fromTextRepresentation($l->hthread_contents) ); |
34 | 33 | } |
35 | 34 | } |
36 | | -} |
| 35 | +} |
\ No newline at end of file |
Index: trunk/extensions/LiquidThreads/classes/LqtPost.php |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | <?php |
3 | | - |
4 | 3 | if (!defined('MEDIAWIKI')) die; |
5 | 4 | |
| 5 | +// TODO get rid of this class. sheesh. |
6 | 6 | class Post extends Article { |
7 | 7 | /** |
8 | 8 | * Return the User object representing the author of the first revision |
— | — | @@ -21,4 +21,4 @@ |
22 | 22 | else |
23 | 23 | return null; |
24 | 24 | } |
25 | | -} |
| 25 | +} |
\ No newline at end of file |
Index: trunk/extensions/LiquidThreads/classes/LqtThread.php |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | <?php |
3 | | - |
4 | 3 | if (!defined('MEDIAWIKI')) die; |
5 | 4 | |
| 5 | + |
6 | 6 | class Thread { |
7 | 7 | /* SCHEMA changes must be reflected here. */ |
8 | 8 | |
— | — | @@ -162,16 +162,9 @@ |
163 | 163 | 'thread_parent' => $this->parentId, |
164 | 164 | 'thread_type' => $this->type, |
165 | 165 | 'thread_summary_page' => $this->summaryId, |
166 | | -// 'thread_modified' => wfTimestampNow(), |
167 | | -// 'thread_revision' => $this->revisionNumber, |
168 | 166 | 'thread_article_namespace' => $this->articleNamespace, |
169 | 167 | 'thread_article_title' => $this->articleTitle, |
170 | 168 | 'thread_editedness' => $this->editedness, |
171 | | -// 'thread_change_type' => $this->changeType, |
172 | | -// 'thread_change_object' => $this->changeObject, |
173 | | -// 'thread_change_comment' => $this->changeComment, |
174 | | -// 'thread_change_user' => $this->changeUser, |
175 | | -// 'thread_change_user_text' => $this->changeUserText, |
176 | 169 | ), |
177 | 170 | /* WHERE */ array( 'thread_id' => $this->id, ), |
178 | 171 | __METHOD__); |
— | — | @@ -179,10 +172,6 @@ |
180 | 173 | if( $change_type == Threads::CHANGE_EDITED_ROOT ) { |
181 | 174 | NewMessages::writeMessageStateForUpdatedThread($this); |
182 | 175 | } |
183 | | - |
184 | | - // RecentChange::notifyEdit( wfTimestampNow(), $this->root(), /*minor*/false, $wgUser, $summary, |
185 | | - // $lastRevision, $this->getModified(), $bot, '', $oldsize, $newsize, |
186 | | - // $revisionId ); |
187 | 176 | } |
188 | 177 | |
189 | 178 | function delete($reason) { |
— | — | @@ -582,4 +571,4 @@ |
583 | 572 | } |
584 | 573 | |
585 | 574 | } |
586 | | -} |
| 575 | +} |
\ No newline at end of file |