Foolz currently archives /v/.

This commit is contained in:
Nicolas Stepien 2012-02-15 13:35:20 +01:00
parent 2fa4e4d81e
commit 6716d64b97
3 changed files with 4 additions and 3 deletions

View File

@ -3277,6 +3277,7 @@
case 'tg':
case 'tv':
case 'u':
case 'v':
return "http://archive.foolz.us/" + g.BOARD + "/thread/" + g.THREAD_ID + "/";
case 'lit':
return "http://fuuka.warosu.org/" + g.BOARD + "/thread/" + g.THREAD_ID;
@ -3304,7 +3305,6 @@
case 'sp':
case 'toy':
case 'trv':
case 'v':
case 'vp':
case 'x':
return "http://archive.no-ip.org/" + g.BOARD + "/thread/" + g.THREAD_ID;

View File

@ -1,6 +1,7 @@
master
- Mayhem
Fix post number quoting on /b/ and /v/.
Update archive redirection for /v/.
2.26.1
- Mayhem

View File

@ -2572,13 +2572,13 @@ redirect =
thread: ->
return unless conf['404 Redirect']
switch g.BOARD
when 'a', 'jp', 'm', 'tg', 'tv', 'u'
when 'a', 'jp', 'm', 'tg', 'tv', 'u', 'v'
"http://archive.foolz.us/#{g.BOARD}/thread/#{g.THREAD_ID}/"
when 'lit'
"http://fuuka.warosu.org/#{g.BOARD}/thread/#{g.THREAD_ID}"
when 'diy', 'g', 'sci'
"http://archive.installgentoo.net/#{g.BOARD}/thread/#{g.THREAD_ID}"
when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'pol', 'r9k', 'soc', 'sp', 'toy', 'trv', 'v', 'vp', 'x'
when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'pol', 'r9k', 'soc', 'sp', 'toy', 'trv', 'vp', 'x'
"http://archive.no-ip.org/#{g.BOARD}/thread/#{g.THREAD_ID}"
else
"http://boards.4chan.org/#{g.BOARD}/"