[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#744857: [www] year's index of DPN should be in general cat



Package: www.debian.org
Severity: wishlist
Tags: patch l10n

year's index of DPN should be in general instead of news category on website/stats/**

-- 
victory
no need to CC me :-)
http://userscripts.org/scripts/show/102724 0.0.1.4
http://userscripts.org/scripts/show/163846 0.0.1
http://userscripts.org/scripts/show/163848 0.0.1
--- stattrans-old.pl	2013-12-26 18:43:48 +0900
+++ stattrans.pl	2014-04-15 23:53:45 +0900
@@ -426,7 +426,7 @@
 		    $ui_body .=$u_tmp;
 		} elsif ((($file =~ /(News|events|security|vote)\/[0-9]{4}\//) &&
 		          ($file !~ /index.wml$/)) ||
-		         ($file =~ /(News\/weekly\/[0-9]{4}\/|security\/undated)/)) {
+		         ($file =~ /(News\/weekly\/[0-9]{4}\/(timeline|\d+)|security\/undated)/)) {
 		    $un_body .= $u_tmp;
 		} elsif (($file =~ /(consultants|users\/(com|edu|gov|org))\//) &&
 		         ($file !~ /index.wml$/)) {

Reply to: