r108579 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108578‎ | r108579 | r108580 >
Date:00:46, 11 January 2012
Author:ben
Status:ok
Tags:
Comment:
fixes comment from r108569
Modified paths:
  • /trunk/extensions/SwiftMedia/wmf/rewrite.py (modified) (history)

Diff [purge]

Index: trunk/extensions/SwiftMedia/wmf/rewrite.py
@@ -202,7 +202,7 @@
203203 ((self.shard_containers == 'some') and (container in self.shard_container_list))):
204204 if shard:
205205 #add only the 2-digit shard to the container name
206 - container += "-%s" % shard[2:4]
 206+ container += ".%s" % shard[2:4]
207207 if arch:
208208 # for urls that go /wiki/thumb/archive/a/ab/path, the container is wiki-thumb-ab and the obj is archive/path
209209 # aka pull the shard into the container if necessary but the string 'archive' or 'temp' goes into the object.

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108569added feature to shard on some, all, or no containers...ben00:06, 11 January 2012

Status & tagging log