Index: trunk/extensions/PageTriage/SpecialPageTriage.php |
— | — | @@ -123,24 +123,26 @@ |
124 | 124 | · |
125 | 125 | <a href="<%= user_contribs_title.getUrl() %>">contribs</a>) |
126 | 126 | </span> |
127 | | - · |
128 | | - <%= gM( 'pagetriage-editcount', user_editcount, user_creation_date_pretty ) %> |
129 | | - <% if( user_bot == "1" ) { %> |
| 127 | + <% if( typeof ( user_editcount ) != 'undefined' ) { %> |
130 | 128 | · |
131 | | - <%= gM( 'pagetriage-author-bot' ) %> |
| 129 | + <%= gM( 'pagetriage-editcount', user_editcount, user_creation_date_pretty ) %> |
| 130 | + <% if( user_bot == "1" ) { %> |
| 131 | + · |
| 132 | + <%= gM( 'pagetriage-author-bot' ) %> |
| 133 | + <% } %> |
| 134 | + <% if( user_autoconfirmed == "0" ) { %> |
| 135 | + · |
| 136 | + <span class="mwe-pt-metadata-warning"> |
| 137 | + <%= gM( 'pagetriage-author-not-autoconfirmed' ) %> |
| 138 | + </span> |
| 139 | + <% } %> |
| 140 | + <% if( user_block_status == "1" ) { %> |
| 141 | + · |
| 142 | + <span class="mwe-pt-metadata-warning"> |
| 143 | + <%= gM( 'pagetriage-author-blocked' ) %> |
| 144 | + </span> |
| 145 | + <% } %> |
132 | 146 | <% } %> |
133 | | - <% if( user_autoconfirmed == "0" ) { %> |
134 | | - · |
135 | | - <span class="mwe-pt-metadata-warning"> |
136 | | - <%= gM( 'pagetriage-author-not-autoconfirmed' ) %> |
137 | | - </span> |
138 | | - <% } %> |
139 | | - <% if( user_block_status == "1" ) { %> |
140 | | - · |
141 | | - <span class="mwe-pt-metadata-warning"> |
142 | | - <%= gM( 'pagetriage-author-blocked' ) %> |
143 | | - </span> |
144 | | - <% } %> |
145 | 147 | <% } else { %> |
146 | 148 | <%= gM('pagetriage-no-author') %> |
147 | 149 | <% } %> |
Index: trunk/extensions/PageTriage/modules/ext.pageTriage.models/ext.pageTriage.article.js |
— | — | @@ -1,3 +1,6 @@ |
| 2 | +// Article represents the metadata for a single article. |
| 3 | +// ArticleList is a collection of articles for use in the list view |
| 4 | +// |
2 | 5 | $( function() { |
3 | 6 | mw.pageTriage = { |
4 | 7 | Article: Backbone.Model.extend( { |