Index: trunk/extensions/PageTriage/SpecialPageTriage.php |
— | — | @@ -158,6 +158,7 @@ |
159 | 159 | </div> |
160 | 160 | </script> |
161 | 161 | |
| 162 | + <!-- top nav template --> |
162 | 163 | <script type="text/template" id="listControlNavTemplate"> |
163 | 164 | <span class="mwe-pt-control-label"><b><%= gM( 'pagetriage-showing' ) %></b> some things</span> |
164 | 165 | <span class="mwe-pt-control-label-right" id="mwe-pt-control-stats"></span><br/> |
— | — | @@ -230,6 +231,14 @@ |
231 | 232 | <span class="mwe-pt-control-label-right"><b><%= gM( 'pagetriage-viewing' ) %></b> Sort Controls</span> |
232 | 233 | </script> |
233 | 234 | |
| 235 | + <!-- load more link template --> |
| 236 | + <script type="text/template" id="listMoreLinkTemplate"> |
| 237 | + <div id="mwe-pt-list-more"> |
| 238 | + <a href="#" style="display: none;"> <%= gM( 'pagetriage-more' ) %> </a> |
| 239 | + </div> |
| 240 | + </script> |
| 241 | + |
| 242 | + <!-- bottom nav template --> |
234 | 243 | <script type="text/template" id="listStatsNavTemplate"> |
235 | 244 | <div id="mwe-pt-top-triager"> |
236 | 245 | <%= ptrTopTriager %> |
Index: trunk/extensions/PageTriage/includes/ArticleMetadata.php |
— | — | @@ -388,7 +388,7 @@ |
389 | 389 | $metaData[$row->page_id]['user_creation_date'] = wfTimestamp( TS_MW, $user->getRegistration() ); |
390 | 390 | $metaData[$row->page_id]['user_autoconfirmed'] = $user->isAllowed( 'autoconfirmed' ) ? '1' : '0'; |
391 | 391 | $metaData[$row->page_id]['user_bot'] = $user->isAllowed( 'bot' ) ? '1' : '0'; |
392 | | - $metaData[$row->page_id]['user_block_status'] = $row->ipb_id ? '1' : '0'; |
| 392 | + $metaData[$row->page_id]['user_block_status'] = $row->ipb_id ? '1' : '0'; |
393 | 393 | } else { |
394 | 394 | $metaData[$row->page_id]['user_id'] = 0; |
395 | 395 | $metaData[$row->page_id]['user_name'] = $row->rev_user_text; |
Index: trunk/extensions/PageTriage/PageTriage.i18n.php |
— | — | @@ -55,6 +55,7 @@ |
56 | 56 | 'pagetriage-stats-top-triagers' => 'Top {{PLURAL:$1|triager|$1 triagers}}: $2', |
57 | 57 | 'pagetriage-filter-ns-article' => 'Article', |
58 | 58 | 'pagetriage-filter-ns-all' => 'All', |
| 59 | + 'pagetriage-more' => 'More', |
59 | 60 | ); |
60 | 61 | |
61 | 62 | /** |
— | — | @@ -102,4 +103,5 @@ |
103 | 104 | 'pagetriage-stats-top-triagers' => 'Text that shows top triagers, $1 is the total number, $2 shows the detail', |
104 | 105 | 'pagetriage-filter-ns-article' => 'The name of the main article namespace, for the namespace filter select list', |
105 | 106 | 'pagetriage-filter-ns-all' => 'For the namespace filter select list, text indicating that all namespaces will be selected', |
| 107 | + 'pagetriage-more' => 'Text for a link that loads more articles into list', |
106 | 108 | ); |
Index: trunk/extensions/PageTriage/PageTriage.php |
— | — | @@ -198,6 +198,7 @@ |
199 | 199 | 'ext.pageTriage.views/ext.pageTriage.listItem.css', |
200 | 200 | 'ext.pageTriage.views/ext.pageTriage.listControlNav.css', |
201 | 201 | 'ext.pageTriage.views/ext.pageTriage.listStatsNav.css' |
| 202 | + 'ext.pageTriage.views/ext.pageTriage.listView.css' |
202 | 203 | ), |
203 | 204 | 'messages' => array( |
204 | 205 | 'days', |
— | — | @@ -243,6 +244,7 @@ |
244 | 245 | 'days', |
245 | 246 | 'pagetriage-filter-ns-article', |
246 | 247 | 'pagetriage-filter-ns-all', |
| 248 | + 'pagetriage-more', |
247 | 249 | ) |
248 | 250 | ); |
249 | 251 | |