Update archives, close #264

This commit is contained in:
Nicolas Stepien 2011-09-02 18:53:18 +02:00
parent 618689e382
commit a6b2513844
3 changed files with 13 additions and 3 deletions

View File

@ -2509,6 +2509,8 @@
var url; var url;
switch (g.BOARD) { switch (g.BOARD) {
case 'g': case 'g':
url = "http://archive.installgentoo.net/cgi-board.pl/" + g.BOARD + "/thread/" + g.THREAD_ID;
break;
case 'lit': case 'lit':
case 'sci': case 'sci':
case 'tv': case 'tv':
@ -2518,7 +2520,7 @@
case 'jp': case 'jp':
case 'm': case 'm':
case 'tg': case 'tg':
url = "http://archive.easymodo.net/cgi-board.pl/" + g.BOARD + "/thread/" + g.THREAD_ID; url = "http://archive.easymodo.net/" + g.BOARD + "/thread/" + g.THREAD_ID;
break; break;
case '3': case '3':
case 'adv': case 'adv':

View File

@ -1,5 +1,11 @@
master master
2.19.2
- mayhem
update archives redirections
- aeosynth
change unread favicons (by xat-)
2.19.1 2.19.1
- mayhem - mayhem
fix OP indication in expanded comments fix OP indication in expanded comments

View File

@ -1944,10 +1944,12 @@ Favicon =
redirect = -> redirect = ->
switch g.BOARD switch g.BOARD
when 'g', 'lit', 'sci', 'tv' when 'g'
url = "http://archive.installgentoo.net/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}"
when 'lit', 'sci', 'tv'
url = "http://archive.gentoomen.org/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}" url = "http://archive.gentoomen.org/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}"
when 'a', 'jp', 'm', 'tg' when 'a', 'jp', 'm', 'tg'
url = "http://archive.easymodo.net/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}" url = "http://archive.easymodo.net/#{g.BOARD}/thread/#{g.THREAD_ID}"
when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'soc', 'sp', 'toy', 'trv', 'v', 'vp', 'x' when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'soc', 'sp', 'toy', 'trv', 'v', 'vp', 'x'
url = "http://archive.no-ip.org/#{g.BOARD}/thread/#{g.THREAD_ID}" url = "http://archive.no-ip.org/#{g.BOARD}/thread/#{g.THREAD_ID}"
else else