r114489 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114488‎ | r114489 | r114490 >
Date:14:57, 26 March 2012
Author:a_engels
Status:new
Tags:
Comment:
more recognizers for mobile traffic
Modified paths:
  • /trunk/wikistats/squids/SquidCountArchive.pl (modified) (history)

Diff [purge]

Index: trunk/wikistats/squids/SquidCountArchive.pl
@@ -57,8 +57,8 @@
5858 $path_root = $job_runs_on_production_server ? $cfg_path_root_production : $cfg_path_root_test ;
5959 $tags_wiki_mobile = "CFNetwork|Dalvik|WikipediaMobile|Appcelerator" ;
6060
61 - $tags_mobile = "Android|BlackBerry|Windows CE|DoCoMo|iPad|iPod|iPhone|HipTop|Kindle|LGE|Linux arm|Mobile|MIDP|NetFront|Nintendo|Nokia|Obigo|Opera Mini|Opera Mobi|Palm|Playstation|Samsung|SoftBank|SonyEricsson|SymbianOS|UP\.Browser|Vodafone|WAP|webOS|HTC_Touch|KDDI|FOMA|HTC_HD2|Polaris|Teleca" ;
62 - $tags_mobile_upd = "February 2012" ;
 61+ $tags_mobile = "Android|BlackBerry|Windows CE|DoCoMo|iPad|iPod|iPhone|HipTop|Kindle|LGE|Linux arm|Mobile|MIDP|NetFront|Nintendo|Nokia|Obigo|Opera Mini|Opera Mobi|Palm|Playstation|Samsung|SoftBank|SonyEricsson|SymbianOS|UP\.Browser|Vodafone|WAP|webOS|HTC |HTC_|KDDI|FOMA|Polaris|Teleca|Silk|ZuneWP|HUAwei|Blazer|Sunrise|AUDIOVOX|LG/U|AU-MIC|Motorola|portalmmm|Amoi|GINGERBREAD|Spice|SonyDTV|lgtelecom|PlayBook|KYOCERA|Opera Tablet|Windows Phone|UNTRUSTED" ;
 62+ $tags_mobile_upd = "March 2012" ;
6363
6464 $pattern_url_pre = "(?:^|[a-zA-Z0-9-]+\\.)*?" ;
6565 $pattern_url_post = "\\.(?:biz|com|info|name|net|org|pro|aero|asia|cat|coop|edu|gov|int|jobs|mil|mobi|museum|tel|travel|arpa|[a-zA-Z0-9-]{2}|(?:com?|ne)\\.[a-zA-Z0-9-]{2})\$" ;