Index: trunk/extensions/LiquidThreads/Lqt.i18n.php |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | 'lqt_delete_return' => 'Return to $1.', |
96 | 96 | 'lqt_delete_return_link' => 'the talkpage', // subst above |
97 | 97 | 'lqt_delete_unallowed' => 'You are not allowed to delete threads.', |
98 | | - 'lqt_delete_show' => 'Show deleted threads', |
| 98 | + 'lqt_delete_show_checkbox' => 'Show deleted threads', |
99 | 99 | 'lqt_talkpage_autocreate_summary' => 'Talkpage autocreated when first thread was posted.', |
100 | 100 | 'lqt_header_warning_before_big' => '', |
101 | 101 | 'lqt_header_warning_big' => 'You are editing a $1.', |
Index: trunk/extensions/LiquidThreads/LqtPages.php |
— | — | @@ -155,7 +155,7 @@ |
156 | 156 | $show_deleted = "<br />\n" . |
157 | 157 | "<label for=\"lqt_show_deleted_threads_checkbox\">\n" . |
158 | 158 | "<input id=\"lqt_show_deleted_threads_checkbox\" name=\"lqt_show_deleted_threads\" type=\"checkbox\" value=\"1\" $show_deleted_checked />\n" . |
159 | | - wfMsg( 'lqt_show_deleted' ) . "</label>\n"; |
| 159 | + wfMsg( 'lqt_delete_show_checkbox' ) . "</label>\n"; |
160 | 160 | } else { |
161 | 161 | $show_deleted = ""; |
162 | 162 | } |
Index: trunk/extensions/LiquidThreads/LqtModel.php |
— | — | @@ -1145,11 +1145,9 @@ |
1146 | 1146 | |
1147 | 1147 | if( $t->article()->getTitle()->getNamespace() == NS_USER ) { |
1148 | 1148 | $name = $t->article()->getTitle()->getDBkey(); |
1149 | | - // handle talk subpage case |
1150 | | - list($name) = split('/', $name); |
| 1149 | + list($name) = split('/', $name); // subpages |
1151 | 1150 | $user = User::newFromName($name); |
1152 | | - if( $user |
1153 | | - && $user->getID() != $wgUser->getID() ) { |
| 1151 | + if( $user && $user->getID() != $wgUser->getID() ) { |
1154 | 1152 | $user->setNewtalk(true); |
1155 | 1153 | } |
1156 | 1154 | } |