Index: trunk/extensions/LiquidThreads/i18n/Lqt.i18n.php |
— | — | @@ -158,6 +158,8 @@ |
159 | 159 | 'lqt-thread-edited-others'=> 'Edited by other users', |
160 | 160 | 'lqt-header-actions' => 'Actions', |
161 | 161 | 'lqt_summarize_link' => 'Summarize', |
| 162 | + 'lqt-summarize-intro' => 'Please summarize the below thread in the editing box. |
| 163 | +You may use any wikitext in your summary. When you finish, click "{{int:savearticle}}".', |
162 | 164 | |
163 | 165 | // Logging |
164 | 166 | 'lqt-log-name' => 'Threaded discussion log', |
Index: trunk/extensions/LiquidThreads/classes/LqtView.php |
— | — | @@ -326,6 +326,7 @@ |
327 | 327 | } |
328 | 328 | |
329 | 329 | function showSummarizeForm( $thread ) { |
| 330 | + $this->output->addWikiMsg( 'lqt-summarize-intro' ); |
330 | 331 | $this->showEditingFormInGeneral( null, 'summarize', $thread ); |
331 | 332 | } |
332 | 333 | |
— | — | @@ -570,9 +571,10 @@ |
571 | 572 | 'href' => $history_url, |
572 | 573 | 'enabled' => true ); |
573 | 574 | |
| 575 | + $summarizeUrl = self::permalinkUrl( $thread, 'summarize', $thread->id() ); |
574 | 576 | $commands['summarize'] = array( |
575 | 577 | 'label' => wfMsgExt( 'lqt_summarize_link', 'parseinline' ), |
576 | | - 'href' => self::permalinkUrl( $thread, 'summarize' ), |
| 578 | + 'href' => $summarizeUrl, |
577 | 579 | 'enabled' => true, |
578 | 580 | ); |
579 | 581 | |
— | — | @@ -973,7 +975,8 @@ |
974 | 976 | wfLoadExtensionMessages( 'LiquidThreads' ); |
975 | 977 | |
976 | 978 | $permalink_text = wfMsgNoTrans( 'lqt_summary_notice_link' ); |
977 | | - $permalink = self::permalink( $thread, $permalink_text, 'summarize' ); |
| 979 | + $permalink = self::permalink( $thread, $permalink_text, 'summarize', |
| 980 | + $thread->id() ); |
978 | 981 | $msg = wfMsgExt( 'lqt_summary_notice', array('parseinline', 'replaceafter'), |
979 | 982 | array( $permalink, $thread->getArchiveStartDays() ) ); |
980 | 983 | $msg = Xml::tags( 'p', array( 'class' => 'lqt_summary_notice' ), $msg ); |
— | — | @@ -1070,7 +1073,7 @@ |
1071 | 1074 | $label ); |
1072 | 1075 | |
1073 | 1076 | $link = $sk->link( $t->summary()->getTitle(), $link_text ); |
1074 | | - $edit_link = self::permalink( $t, $edit_text, 'summarize' ); |
| 1077 | + $edit_link = self::permalink( $t, $edit_text, 'summarize', $t->id() ); |
1075 | 1078 | $links = "[$link]\n[$edit_link]"; |
1076 | 1079 | $html .= Xml::tags( 'span', array( 'class' => 'lqt_thread_permalink_summary_edit' ), |
1077 | 1080 | $links ); |