r114572 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114571‎ | r114572 | r114573 >
Date:19:04, 28 March 2012
Author:raindrift
Status:deferred
Tags:
Comment:
include block status for IPs
Modified paths:
  • /trunk/extensions/PageTriage/SpecialPageTriage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageTriage/SpecialPageTriage.php
@@ -123,6 +123,7 @@
124124 ·
125125 <a href="<%= user_contribs_title.getUrl() %>">contribs</a>)
126126 </span>
 127+ <!-- editcount is undefined for IP users -->
127128 <% if( typeof ( user_editcount ) != 'undefined' ) { %>
128129 &#xb7;
129130 <%= gM( 'pagetriage-editcount', user_editcount, user_creation_date_pretty ) %>
@@ -136,13 +137,13 @@
137138 <%= gM( 'pagetriage-author-not-autoconfirmed' ) %>
138139 </span>
139140 <% } %>
140 - <% if( user_block_status == "1" ) { %>
141 - &#xb7;
142 - <span class="mwe-pt-metadata-warning">
143 - <%= gM( 'pagetriage-author-blocked' ) %>
144 - </span>
145 - <% } %>
146141 <% } %>
 142+ <% if( user_block_status == "1" ) { %>
 143+ &#xb7;
 144+ <span class="mwe-pt-metadata-warning">
 145+ <%= gM( 'pagetriage-author-blocked' ) %>
 146+ </span>
 147+ <% } %>
147148 <% } else { %>
148149 <%= gM('pagetriage-no-author') %>
149150 <% } %>

Status & tagging log