r45795 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45794‎ | r45795 | r45796 >
Date:15:54, 16 January 2009
Author:jojo
Status:deferred
Tags:
Comment:
Modified paths:
  • /trunk/extensions/Collection/Collection.templates.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Collection/Collection.templates.php
@@ -173,11 +173,9 @@
174174 <a onclick="return coll_move_item(<?php echo $index . ', 1' ?>)" href="<?php echo htmlspecialchars(SkinTemplate::makeSpecialUrlSubpage('Collection', 'move_item/', 'delta=1&index=' . $index)) ?>" title="<?php $this->msg('coll-move_down') ?>"><img src="<?php echo htmlspecialchars($mediapath . "down.png") ?>" width="10" height="10" alt="<?php $this->msg('coll-move_down') ?>" /></a>
175175 <?php } ?>
176176 </noscript>
177 - <?php if ($item['currentVersion'] == 0) { //($item['revision'] && $item['revision'] != $item['latest']) ||
178 - $revision = '('. htmlspecialchars(wfMsg('coll-revision', $item['revision'])) . ')';
 177+ <?php if ($item['currentVersion'] == 0) {
179178 $url = $item['url'] . '?oldid=' . $item['revision'];
180179 } else {
181 - $revision = '';
182180 $url = $item['url'];
183181 }
184182 ?>
@@ -187,8 +185,7 @@
188186 echo htmlspecialchars($item['displaytitle']);
189187 } else {
190188 echo htmlspecialchars($item['title']);
191 - }
192 - echo ' ' . $revision; ?>
 189+ } ?>
193190 </span>
194191 </li>
195192 <?php } else if ($item['type'] == 'chapter') { ?>

Status & tagging log