r39259 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39258‎ | r39259 | r39260 >
Date:01:00, 13 August 2008
Author:aaron
Status:old
Tags:
Comment:
ok, better settle on a name this time :)
Modified paths:
  • /trunk/tools/upload-scripts/thumb-handler.php (modified) (history)

Diff [purge]

Index: trunk/tools/upload-scripts/thumb-handler.php
@@ -15,7 +15,7 @@
1616 $params['page'] = $pagenum;
1717 }
1818 if ( $arch ) {
19 - $params['archive'] = 1;
 19+ $params['archived'] = 1;
2020 }
2121 } elseif ( preg_match('!^(?:http://upload.wikimedia.org)?/([\w-]*)/([\w-]*)/thumb(/archive|)/\w/\w\w/([^/]*\.(?:(?i)ogg))/' .
2222 '(mid|seek(?:=|%3D|%3d)\d+)-([^/]*)$!', $uri, $matches ) )
@@ -27,7 +27,7 @@
2828 $params['thumbtime'] = $thumbtime;
2929 }
3030 if ( $arch ) {
31 - $params['archive'] = 1;
 31+ $params['archived'] = 1;
3232 }
3333 } else {
3434 # No, display standard 404

Status & tagging log