reduce 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source :rubygems
2
+
3
+ gemspec
4
+
5
+ gem 'bump'
6
+ gem 'rake'
7
+ gem 'rspec', '~> 2'
@@ -0,0 +1,35 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ reduce (0.3.0)
5
+ smusher
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ bump (0.3.8)
11
+ diff-lcs (1.1.3)
12
+ httpclient (2.3.0.1)
13
+ json (1.7.5)
14
+ rake (10.0.3)
15
+ rspec (2.12.0)
16
+ rspec-core (~> 2.12.0)
17
+ rspec-expectations (~> 2.12.0)
18
+ rspec-mocks (~> 2.12.0)
19
+ rspec-core (2.12.2)
20
+ rspec-expectations (2.12.1)
21
+ diff-lcs (~> 1.1.3)
22
+ rspec-mocks (2.12.1)
23
+ smusher (0.4.9)
24
+ httpclient (>= 2.2)
25
+ json
26
+ rake
27
+
28
+ PLATFORMS
29
+ ruby
30
+
31
+ DEPENDENCIES
32
+ bump
33
+ rake
34
+ reduce!
35
+ rspec (~> 2)
data/Rakefile CHANGED
@@ -1,20 +1,7 @@
1
- task :default => :spec
2
- require 'spec/rake/spectask'
3
- Spec::Rake::SpecTask.new {|t| t.spec_opts = ['--color']}
1
+ require 'bundler/setup'
2
+ require 'bump/tasks'
3
+ require 'bundler/gem_tasks'
4
4
 
5
- begin
6
- require 'jeweler'
7
- project_name = 'reduce'
8
- Jeweler::Tasks.new do |gem|
9
- gem.name = "reduce"
10
- gem.summary = "Reduce your assets: minify javascript + stylesheets, optimize images lossless"
11
- gem.email = "grosser.michael@gmail.com"
12
- gem.homepage = "http://github.com/grosser/#{project_name}"
13
- gem.authors = ["Michael Grosser"]
14
- gem.add_dependency ['smusher']
15
- end
16
-
17
- Jeweler::GemcutterTasks.new
18
- rescue LoadError
19
- puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
20
- end
5
+ task :default do
6
+ sh "rspec spec/"
7
+ end
@@ -1,4 +1,4 @@
1
- Lossless reduction for js, css, jpg, png, gif
1
+ Lossless reduction for js, css, html, xml, jpg, png, gif
2
2
 
3
3
  Install
4
4
  =======
@@ -23,10 +23,11 @@ Ruby
23
23
  How does it work?
24
24
  =================
25
25
  - uses web-based lossless image reduction service [Smush.it](http://smush.it) / [PunyPng](http://www.gracepointafterfive.com/punypng) through [smusher](http://github.com/grosser/smusher)
26
- - uses YUI compressor to minify css/js
26
+ - uses [YUI compressor](https://developer.yahoo.com/yui/compressor/) to minify css/js
27
+ - uses [htmlcompressor](https://code.google.com/p/htmlcompressor/) to minify html/xml
27
28
 
28
29
  Author
29
30
  ======
30
- Michael Grosser
31
- grosser.michael@gmail.com
32
- Hereby placed under public domain, do what you want, just do not hold me accountable...
31
+ Michael Grosser<br/>
32
+ grosser.michael@gmail.com<br/>
33
+ License: MIT
data/bin/reduce CHANGED
@@ -6,7 +6,7 @@ require 'reduce'
6
6
  options = {}
7
7
  OptionParser.new do |opts|
8
8
  opts.banner = <<BANNER
9
- Lossless optimize js, css, jpg, png, gif
9
+ Lossless optimize js, css, html, xml, jpg, png, gif
10
10
 
11
11
  Usage:
12
12
  reduce -o public/image.gif
@@ -1,35 +1,38 @@
1
- require 'smusher'
2
- raise "please install a newer version of smusher" if Smusher::VERSION < '0.4.0'
1
+ gem "smusher", ">= 0.4.0"
2
+ require "smusher"
3
3
 
4
- module Reduce
5
- extend self
6
-
7
- VERSION = File.read( File.join(File.dirname(__FILE__),'..','VERSION') ).strip
4
+ require "reduce/version"
8
5
 
9
- def reduce(file)
10
- extension = File.extname(file).downcase.sub('.','')
11
- case extension
12
- when 'js','css'
13
- compressor = File.join(File.dirname(__FILE__),'..','vendor','yuicompressor*.jar')
14
- `java -jar #{compressor} --type #{extension} #{file}`
15
- when 'jpg', 'jpeg', 'png', 'gif'
16
- reduce_image file
17
- else
18
- raise "reduce does not know how to handle a .#{extension} file (#{file})"
6
+ module Reduce
7
+ class << self
8
+ def reduce(file)
9
+ extension = File.extname(file).downcase.sub('.','')
10
+ case extension
11
+ when 'html', 'xml'
12
+ compressor = File.join(File.dirname(__FILE__),'..','vendor','htmlcompressor*.jar')
13
+ `java -jar #{compressor} --type #{extension} --compress-js --compress-css #{file}`
14
+ when 'js','css'
15
+ compressor = File.join(File.dirname(__FILE__),'..','vendor','yuicompressor*.jar')
16
+ `java -jar #{compressor} --type #{extension} #{file}`
17
+ when 'jpg', 'jpeg', 'png', 'gif'
18
+ reduce_image file
19
+ else
20
+ raise "reduce does not know how to handle a .#{extension} file (#{file})"
21
+ end
19
22
  end
20
- end
21
23
 
22
- private
24
+ private
23
25
 
24
- def reduce_image(input)
25
- output = input+'.temp'
26
- FileUtils.cp(input, output)
26
+ def reduce_image(input)
27
+ output = input+'.temp'
28
+ FileUtils.cp(input, output)
27
29
 
28
- service = (input.downcase =~ /\.gif$/ ? 'PunyPng' : 'SmushIt')
29
- Smusher.optimize_image(output, :quiet=>true, :service => service)
30
+ service = (input.downcase =~ /\.gif$/ ? 'PunyPng' : 'SmushIt')
31
+ Smusher.optimize_image(output, :quiet=>true, :service => service)
30
32
 
31
- data = File.read(output)
32
- FileUtils.rm(output)
33
- data
33
+ data = File.read(output)
34
+ FileUtils.rm(output)
35
+ data
36
+ end
34
37
  end
35
- end
38
+ end
@@ -0,0 +1,3 @@
1
+ module Reduce
2
+ VERSION = "0.3.0"
3
+ end
@@ -1,59 +1,14 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{reduce}
8
- s.version = "0.2.0"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
1
+ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
2
+ name = "reduce"
3
+ require "#{name}/version"
4
+
5
+ Gem::Specification.new name, Reduce::VERSION do |s|
6
+ s.summary = "Reduce your assets: minify javascript + stylesheets, optimize images lossless"
7
+ s.email = "grosser.michael@gmail.com"
8
+ s.homepage = "https://github.com/grosser/#{name}"
11
9
  s.authors = ["Michael Grosser"]
12
- s.date = %q{2009-11-22}
13
- s.default_executable = %q{reduce}
14
- s.email = %q{grosser.michael@gmail.com}
15
- s.executables = ["reduce"]
16
- s.extra_rdoc_files = [
17
- "README.markdown"
18
- ]
19
- s.files = [
20
- ".gitignore",
21
- "README.markdown",
22
- "Rakefile",
23
- "VERSION",
24
- "bin/reduce",
25
- "lib/reduce.rb",
26
- "reduce.gemspec",
27
- "spec/files/facebox.css",
28
- "spec/files/facebox.js",
29
- "spec/files/paintcan.png",
30
- "spec/files/test.gif",
31
- "spec/reduce_spec.rb",
32
- "spec/spec_helper.rb",
33
- "vendor/README",
34
- "vendor/yuicompressor-2.4.2.jar"
35
- ]
36
- s.homepage = %q{http://github.com/grosser/reduce}
37
- s.rdoc_options = ["--charset=UTF-8"]
38
- s.require_paths = ["lib"]
39
- s.rubygems_version = %q{1.3.5}
40
- s.summary = %q{Reduce your assets: minify javascript + stylesheets, optimize images lossless}
41
- s.test_files = [
42
- "spec/spec_helper.rb",
43
- "spec/reduce_spec.rb"
44
- ]
45
-
46
- if s.respond_to? :specification_version then
47
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
48
- s.specification_version = 3
49
-
50
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
51
- s.add_runtime_dependency(%q<smusher>, [">= 0"])
52
- else
53
- s.add_dependency(%q<smusher>, [">= 0"])
54
- end
55
- else
56
- s.add_dependency(%q<smusher>, [">= 0"])
57
- end
10
+ s.executables = [name]
11
+ s.add_runtime_dependency "smusher"
12
+ s.files = `git ls-files`.split("\n")
13
+ s.license = "MIT"
58
14
  end
59
-
@@ -0,0 +1,564 @@
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en" dir="ltr" class="client-nojs">
4
+ <head>
5
+ <title>Wikipedia, the free encyclopedia</title>
6
+ <meta charset="UTF-8" />
7
+ <meta name="generator" content="MediaWiki 1.21wmf6" />
8
+ <link rel="alternate" type="application/atom+xml" title="Wikipedia picture of the day feed" href="/w/api.php?action=featuredfeed&amp;feed=potd&amp;feedformat=atom" />
9
+ <link rel="alternate" type="application/atom+xml" title="Wikipedia featured articles feed" href="/w/api.php?action=featuredfeed&amp;feed=featured&amp;feedformat=atom" />
10
+ <link rel="alternate" type="application/atom+xml" title="Wikipedia &quot;On this day...&quot; feed" href="/w/api.php?action=featuredfeed&amp;feed=onthisday&amp;feedformat=atom" />
11
+ <link rel="apple-touch-icon" href="//en.wikipedia.org/apple-touch-icon.png" />
12
+ <link rel="shortcut icon" href="/favicon.ico" />
13
+ <link rel="search" type="application/opensearchdescription+xml" href="/w/opensearch_desc.php" title="Wikipedia (en)" />
14
+ <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd" />
15
+ <link rel="copyright" href="//creativecommons.org/licenses/by-sa/3.0/" />
16
+ <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom" />
17
+ <link rel="stylesheet" href="//bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&amp;lang=en&amp;modules=ext.gadget.DRN-wizard%2CReferenceTooltips%2Ccharinsert%2Cteahouse%7Cext.wikihiero%7Cmediawiki.legacy.commonPrint%2Cshared%7Cmw.PopUpMediaTransform%7Cskins.vector&amp;only=styles&amp;skin=vector&amp;*" />
18
+ <meta name="ResourceLoaderDynamicStyles" content="" />
19
+ <link rel="stylesheet" href="//bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&amp;lang=en&amp;modules=site&amp;only=styles&amp;skin=vector&amp;*" />
20
+ <style>a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}
21
+ /* cache key: enwiki:resourceloader:filter:minify-css:7:d11e4771671c2d6cdedf7c90d8131cd5 */</style>
22
+
23
+ <script src="//bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&amp;lang=en&amp;modules=startup&amp;only=scripts&amp;skin=vector&amp;*"></script>
24
+ <script>if(window.mw){
25
+ mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Main_Page","wgTitle":"Main Page","wgCurRevisionId":521573414,"wgArticleId":15580374,"wgIsArticle":true,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Article Feedback Blacklist"],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgMonthNamesShort":["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wgRelevantPageName":"Main_Page","wgRestrictionEdit":["sysop"],"wgRestrictionMove":["sysop"],"wgIsMainPage":true,"wgVectorEnabledModules":{"collapsiblenav":true,"collapsibletabs":true,"editwarning":true,"expandablesearch":false,"footercleanup":true,"sectioneditlinks":false,"experiments":true},"wgWikiEditorEnabledModules":{"toolbar":true,"dialogs":true,"hidesig":true,"templateEditor":false,"templates":false,"preview":false,"previewDialog":false,"publish":false,"toc":false},"wgTrackingToken":"ebe7588cfcf99b75ee9ccbb564c26ede","wgArticleFeedbackv5Permissions":{"aft-reader":true,"aft-member":false,"aft-editor":false,"aft-monitor":false,"aft-administrator":false,"aft-oversighter":false},"wgVisualEditor":{"isPageWatched":false},"wikilove-recipient":"","wikilove-anon":0,"mbEmailEnabled":true,"mbUserEmail":false,"mbIsEmailConfirmationPending":false,"wgFlaggedRevsParams":{"tags":{"status":{"levels":1,"quality":2,"pristine":3}}},"wgStableRevisionId":null,"wgCategoryTreePageCategoryOptions":"{\"mode\":0,\"hideprefix\":20,\"showcount\":true,\"namespaces\":false}","Geo":{"city":"","country":""},"wgNoticeProject":"wikipedia","aftv5Article":{"id":15580374,"title":"Main Page","namespace":0,"categories":["Article Feedback Blacklist"],"permissionLevel":"aft-reader"}});
26
+ }</script><script>if(window.mw){
27
+ mw.loader.implement("user.options",function(){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":1,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"imagesize":2,"justify":0,"math":0,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":5,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":false,"showjumplinks":1,"shownumberswatching":1,"showtoc":1,"showtoolbar":1,"skin":"vector","stubthreshold":0,"thumbsize":4,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":1,"watchdefault":0,"watchdeletion":0,"watchlistdays":3
28
+ ,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"flaggedrevssimpleui":1,"flaggedrevsstable":0,"flaggedrevseditdiffs":true,"flaggedrevsviewdiffs":false,"vector-simplesearch":1,"useeditwarning":1,"vector-collapsiblenav":1,"usebetatoolbar":1,"usebetatoolbar-cgd":1,"aftv5-last-filter":null,"wikilove-enabled":1,"echo-email-notificationspagetriage-mark-as-reviewed":true,"echo-email-notificationspagetriage-add-maintenance-tag":true,"echo-email-notificationspagetriage-add-deletion-tag":true,"ep_showtoplink":false,"ep_bulkdelorgs":false,"ep_bulkdelcourses":true,"ep_showdyk":true,"variant":"en","language":"en","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false
29
+ ,"searchNs15":false,"searchNs100":false,"searchNs101":false,"searchNs108":false,"searchNs109":false,"searchNs446":false,"searchNs447":false,"searchNs710":false,"searchNs711":false,"gadget-teahouse":1,"gadget-ReferenceTooltips":1,"gadget-HotCat":1,"gadget-DRN-wizard":1,"gadget-charinsert":1,"gadget-mySandbox":1});;},{},{});mw.loader.implement("user.tokens",function(){mw.user.tokens.set({"editToken":"+\\","patrolToken":false,"watchToken":false});;},{},{});
30
+ /* cache key: enwiki:resourceloader:filter:minify-js:7:19e64e7d3e84450cdd6aaeece6e56fab */
31
+ }</script>
32
+ <script>if(window.mw){
33
+ mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax","ext.vector.footerCleanup","ext.wikimediaShopLink.core","ext.centralNotice.bannerController"]);
34
+ }</script>
35
+ <script src="//bits.wikimedia.org/geoiplookup"></script><link rel="dns-prefetch" href="//meta.wikimedia.org" /><!--[if lt IE 7]><style type="text/css">body{behavior:url("/w/skins-1.21wmf6/vector/csshover.min.htc")}</style><![endif]--></head>
36
+ <body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-Main_Page skin-vector action-view vector-animateLayout">
37
+ <div id="mw-page-base" class="noprint"></div>
38
+ <div id="mw-head-base" class="noprint"></div>
39
+ <!-- content -->
40
+ <div id="content" class="mw-body" role="main">
41
+ <a id="top"></a>
42
+ <div id="mw-js-message" style="display:none;"></div>
43
+ <!-- sitenotice -->
44
+ <div id="siteNotice"><!-- CentralNotice --><script>
45
+ mw.loader.using( 'ext.centralNotice.bannerController', function() { mw.centralNotice.initialize(); } );
46
+ </script>
47
+ </div>
48
+ <!-- /sitenotice -->
49
+ <!-- firstHeading -->
50
+ <h1 id="firstHeading" class="firstHeading" lang="en"><span dir="auto">Main Page</span></h1>
51
+ <!-- /firstHeading -->
52
+ <!-- bodyContent -->
53
+ <div id="bodyContent">
54
+ <!-- tagline -->
55
+ <div id="siteSub">From Wikipedia, the free encyclopedia</div>
56
+ <!-- /tagline -->
57
+ <!-- subtitle -->
58
+ <div id="contentSub"></div>
59
+ <!-- /subtitle -->
60
+ <!-- jumpto -->
61
+ <div id="jump-to-nav" class="mw-jump">
62
+ Jump to: <a href="#mw-head">navigation</a>, <a href="#p-search">search</a>
63
+ </div>
64
+ <!-- /jumpto -->
65
+ <!-- bodycontent -->
66
+ <div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><table id="mp-topbanner" style="width:100%; background:#f9f9f9; margin:1.2em 0 6px 0; border:1px solid #ddd;">
67
+ <tr>
68
+ <td style="width:61%; color:#000;">
69
+ <table style="width:280px; border:none; background:none;">
70
+ <tr>
71
+ <td style="width:280px; text-align:center; white-space:nowrap; color:#000;">
72
+ <div style="font-size:162%; border:none; margin:0; padding:.1em; color:#000;">Welcome to <a href="/wiki/Wikipedia" title="Wikipedia">Wikipedia</a>,</div>
73
+ <div style="top:+0.2em; font-size:95%;">the <a href="/wiki/Free_content" title="Free content">free</a> <a href="/wiki/Encyclopedia" title="Encyclopedia">encyclopedia</a> that <a href="/wiki/Wikipedia:Introduction" title="Wikipedia:Introduction">anyone can edit</a>.</div>
74
+ <div id="articlecount" style="font-size:85%;"><a href="/wiki/Special:Statistics" title="Special:Statistics">4,131,335</a> articles in <a href="/wiki/English_language" title="English language">English</a></div>
75
+ </td>
76
+ </tr>
77
+ </table>
78
+ </td>
79
+ <td style="width:13%; font-size:95%;">
80
+ <ul>
81
+ <li><a href="/wiki/Portal:Arts" title="Portal:Arts">Arts</a></li>
82
+ <li><a href="/wiki/Portal:Biography" title="Portal:Biography">Biography</a></li>
83
+ <li><a href="/wiki/Portal:Geography" title="Portal:Geography">Geography</a></li>
84
+ </ul>
85
+ </td>
86
+ <td style="width:13%; font-size:95%;">
87
+ <ul>
88
+ <li><a href="/wiki/Portal:History" title="Portal:History">History</a></li>
89
+ <li><a href="/wiki/Portal:Mathematics" title="Portal:Mathematics">Mathematics</a></li>
90
+ <li><a href="/wiki/Portal:Science" title="Portal:Science">Science</a></li>
91
+ </ul>
92
+ </td>
93
+ <td style="width:13%; font-size:95%;">
94
+ <ul>
95
+ <li><a href="/wiki/Portal:Society" title="Portal:Society">Society</a></li>
96
+ <li><a href="/wiki/Portal:Technology" title="Portal:Technology">Technology</a></li>
97
+ <li><b><a href="/wiki/Portal:Contents/Portals" title="Portal:Contents/Portals">All portals</a></b></li>
98
+ </ul>
99
+ </td>
100
+ </tr>
101
+ </table>
102
+ <table id="mp-upper" style="width: 100%; margin:4px 0 0 0; background:none; border-spacing: 0px;">
103
+ <tr>
104
+ <td class="MainPageBG" style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;">
105
+ <table id="mp-left" style="vertical-align:top; background:#f5fffa;">
106
+ <tr>
107
+ <th style="padding:2px;">
108
+ <h2 id="mp-tfa-h2" style="margin:3px; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;"><span class="mw-headline" id="From_today.27s_featured_article">From today's featured article</span></h2>
109
+ </th>
110
+ </tr>
111
+ <tr>
112
+ <td style="color:#000;">
113
+ <div id="mp-tfa" style="padding:2px 5px">
114
+ <div style="float: left; margin: 0.5em 0.9em 0.4em 0;"><a href="/wiki/File:NabisCoin_cropped.jpg" class="image" title="Nabis"><img alt="Nabis" src="//upload.wikimedia.org/wikipedia/en/thumb/b/b1/NabisCoin_cropped.jpg/100px-NabisCoin_cropped.jpg" width="100" height="93" srcset="//upload.wikimedia.org/wikipedia/en/thumb/b/b1/NabisCoin_cropped.jpg/150px-NabisCoin_cropped.jpg 1.5x, //upload.wikimedia.org/wikipedia/en/b/b1/NabisCoin_cropped.jpg 2x" /></a></div>
115
+ <p>The <b><a href="/wiki/War_against_Nabis" title="War against Nabis">War against Nabis</a></b>, or the Laconian War, of <span class="nowrap">195 BC</span> was fought between the Greek city-state of <a href="/wiki/Sparta" title="Sparta">Sparta</a> under their ruler <a href="/wiki/Nabis" title="Nabis">Nabis</a> <i>(depicted)</i> and a coalition composed of <a href="/wiki/Roman_Republic" title="Roman Republic">Rome</a>, the <a href="/wiki/Achaean_League" title="Achaean League">Achaean League</a>, <a href="/wiki/Pergamum" title="Pergamum" class="mw-redirect">Pergamum</a>, <a href="/wiki/Rhodes" title="Rhodes">Rhodes</a>, and <a href="/wiki/Macedon" title="Macedon" class="mw-redirect">Macedon</a>. During the <a href="/wiki/Second_Macedonian_War" title="Second Macedonian War">Second Macedonian War</a> (200–196 BC), Macedon had given Sparta control over <a href="/wiki/Argos" title="Argos">Argos</a>, an important city on the Aegean coast. Sparta's continued occupation of Argos thereafter was used as a pretext for Rome and its allies to declare war. The anti-Spartan coalition laid siege to Argos, captured the Spartan naval base at <a href="/wiki/Gythium" title="Gythium" class="mw-redirect">Gythium</a>, and <a href="/wiki/Investment_(military)" title="Investment (military)">invested</a> and besieged Sparta itself. Negotiations led to peace on Rome's terms, under which Argos and the coastal towns of Laconia were separated from Sparta and the Spartans were compelled to pay a war indemnity to Rome for eight years. Argos joined the Achaean League, and the Laconian towns were placed under Achaean protection. As a result of the war, Sparta lost its position as a major power in Greece. All consequent Spartan attempts to recover the losses failed and Nabis, the last sovereign ruler, was eventually murdered. Soon after, Sparta was forcibly made a member of the Achaean League, ending several centuries of fierce political independence. (<a href="/wiki/War_against_Nabis" title="War against Nabis"><b>Full article...</b></a>)</p>
116
+ <p>Recently featured: <a href="/wiki/The_Notorious_B.I.G." title="The Notorious B.I.G.">The Notorious B.I.G.</a>&#160;– <a href="/wiki/Japanese_aircraft_carrier_H%C5%8Dsh%C5%8D" title="Japanese aircraft carrier Hōshō">Japanese aircraft carrier <i>Hōshō</i></a>&#160;– <i><a href="/wiki/Psilocybe_aztecorum" title="Psilocybe aztecorum">Psilocybe aztecorum</a></i></p>
117
+ <div style="text-align: right;" class="noprint"><b><a href="/wiki/Wikipedia:Today%27s_featured_article/December_2012" title="Wikipedia:Today's featured article/December 2012">Archive</a></b> – <b><a href="https://lists.wikimedia.org/mailman/listinfo/daily-article-l" class="extiw" title="mail:daily-article-l">By email</a></b> – <b><a href="/wiki/Wikipedia:Featured_articles" title="Wikipedia:Featured articles">More featured articles...</a></b></div>
118
+ </div>
119
+ </td>
120
+ </tr>
121
+ <tr>
122
+ <th style="padding:2px;">
123
+ <h2 id="mp-dyk-h2" style="margin:3px; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;"><span class="mw-headline" id="Did_you_know...">Did you know...</span></h2>
124
+ </th>
125
+ </tr>
126
+ <tr>
127
+ <td style="color:#000; padding:2px 5px 5px;">
128
+ <div id="mp-dyk">
129
+ <p><i>From Wikipedia's <a href="/wiki/Wikipedia:Recent_additions" title="Wikipedia:Recent additions">newest content</a>:</i></p>
130
+ <div style="float:right;margin-left:0.5em;">
131
+ <p><a href="/wiki/File:Geneetik_Riin_Tamm.jpg" class="image" title="Riin Tamm"><img alt="Riin Tamm" src="//upload.wikimedia.org/wikipedia/en/thumb/8/88/Geneetik_Riin_Tamm.jpg/66px-Geneetik_Riin_Tamm.jpg" width="66" height="100" srcset="//upload.wikimedia.org/wikipedia/en/thumb/8/88/Geneetik_Riin_Tamm.jpg/100px-Geneetik_Riin_Tamm.jpg 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/8/88/Geneetik_Riin_Tamm.jpg/133px-Geneetik_Riin_Tamm.jpg 2x" /></a></p>
132
+ </div>
133
+ <ul>
134
+ <li style="-moz-float-edge: content-box">... that in 2011, geneticist <b><a href="/wiki/Riin_Tamm" title="Riin Tamm">Riin Tamm</a></b> <i>(pictured)</i> was chosen as one of 26 scientists to travel around Estonia and take part in events at schools and academic institutions?</li>
135
+ <li style="-moz-float-edge: content-box">... that tools made from human bones have been found at the <b><a href="/wiki/Carlston_Annis_Shell_Mound" title="Carlston Annis Shell Mound">Carlston Annis Shell Mound</a></b> in Kentucky?</li>
136
+ <li style="-moz-float-edge: content-box">... that a "magnificent" furniture depository in <a href="/wiki/Hove" title="Hove">Hove</a>, England, designed by local architects <a href="/wiki/Clayton_%26_Black" title="Clayton &amp; Black">Clayton &amp; Black</a>, later became an insurance office and—in <span class="nowrap">November 2012</span>—the <b><a href="/wiki/Montefiore_Hospital,_Hove" title="Montefiore Hospital, Hove">Montefiore Hospital</a></b>?</li>
137
+ <li style="-moz-float-edge: content-box">... that <b><a href="/wiki/Townsend_F._Dodd" title="Townsend F. Dodd">Townsend F. Dodd</a></b> was the first US pilot to receive the <a href="/wiki/Distinguished_Service_Medal_(Army)" title="Distinguished Service Medal (Army)">Distinguished Service Medal</a> in <a href="/wiki/World_War_I" title="World War I">World War&#160;I</a>?</li>
138
+ <li style="-moz-float-edge: content-box">... that the <a href="/wiki/Maya_city" title="Maya city">Maya city</a> of <b><a href="/wiki/Dzibanche" title="Dzibanche">Dzibanche</a></b> in southeastern Mexico was the early capital of the Kan dynasty, which later ruled from <a href="/wiki/Calakmul" title="Calakmul">Calakmul</a>?</li>
139
+ <li style="-moz-float-edge: content-box">... that <b><a href="/wiki/Mike_Jolly" title="Mike Jolly">Mike Jolly</a></b> was the starting weak side <a href="/wiki/Cornerback" title="Cornerback">cornerback</a> in 35 of 36 games for <a href="/wiki/Michigan_Wolverines_football" title="Michigan Wolverines football">Michigan</a> teams that played in two <a href="/wiki/Rose_Bowl_Game" title="Rose Bowl Game">Rose Bowls</a> and a <a href="/wiki/Gator_Bowl" title="Gator Bowl">Gator Bowl</a> from 1977 to 1979?</li>
140
+ <li style="-moz-float-edge: content-box">... that during the early 20th century, <b><a href="/wiki/Halfaya" title="Halfaya">Halfaya</a></b>, in central <a href="/wiki/Syria" title="Syria">Syria</a>, was a village where <a href="/wiki/Collective_farming" title="Collective farming">collective farming</a> was practiced by the twelve clans who inhabited it?</li>
141
+ <li style="-moz-float-edge: content-box">... that when he was 13, <b><a href="/wiki/Leonard_Wood_(racing)" title="Leonard Wood (racing)">Leonard Wood</a></b> created a washing machine engine-powered go-kart that reached a top speed of 25 miles per hour (40&#160;km/h)?<br style="clear:both;" />
142
+ <div style="text-align: right;" class="noprint"><b><a href="/wiki/Wikipedia:Recent_additions" title="Wikipedia:Recent additions">Archive</a></b> – <b><a href="/wiki/Wikipedia:Your_first_article" title="Wikipedia:Your first article">Start a new article</a></b> – <b><a href="/wiki/Template_talk:Did_you_know" title="Template talk:Did you know">Nominate an article</a></b></div>
143
+ </li>
144
+ </ul>
145
+ </div>
146
+ </td>
147
+ </tr>
148
+ </table>
149
+ </td>
150
+ <td style="border:1px solid transparent;"></td>
151
+ <td class="MainPageBG" style="width:45%; border:1px solid #cedff2; background:#f5faff; vertical-align:top;">
152
+ <table id="mp-right" style="width:100%; vertical-align:top; background:#f5faff;">
153
+ <tr>
154
+ <th style="padding:2px;">
155
+ <h2 id="mp-itn-h2" style="margin:3px; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;"><span class="mw-headline" id="In_the_news">In the news</span></h2>
156
+ </th>
157
+ </tr>
158
+ <tr>
159
+ <td style="color:#000; padding:2px 5px;">
160
+ <div id="mp-itn">
161
+ <div style="float:right;margin-left:0.5em;"><a href="/wiki/File:Kazakhstan_Border_Guards_Antonov_An-72-100_Batuzak-1.jpg" title="Kazakh military plane"><img alt="Kazakh military plane" src="//upload.wikimedia.org/wikipedia/en/thumb/e/e3/Kazakhstan_Border_Guards_Antonov_An-72-100_Batuzak-1_cropped.jpg/100px-Kazakhstan_Border_Guards_Antonov_An-72-100_Batuzak-1_cropped.jpg" width="100" height="61" srcset="//upload.wikimedia.org/wikipedia/en/thumb/e/e3/Kazakhstan_Border_Guards_Antonov_An-72-100_Batuzak-1_cropped.jpg/150px-Kazakhstan_Border_Guards_Antonov_An-72-100_Batuzak-1_cropped.jpg 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/e/e3/Kazakhstan_Border_Guards_Antonov_An-72-100_Batuzak-1_cropped.jpg/200px-Kazakhstan_Border_Guards_Antonov_An-72-100_Batuzak-1_cropped.jpg 2x" /></a></div>
162
+ <ul>
163
+ <li style="-moz-float-edge: content-box">China officially <b><a href="/wiki/Beijing%E2%80%93Guangzhou%E2%80%93Shenzhen%E2%80%93Hong_Kong_High-Speed_Railway" title="Beijing–Guangzhou–Shenzhen–Hong Kong High-Speed Railway">opens</a></b> the world's longest <a href="/wiki/High-speed_rail" title="High-speed rail">high-speed rail</a> route, linking <a href="/wiki/Beijing" title="Beijing">Beijing</a> and <a href="/wiki/Guangzhou" title="Guangzhou">Guangzhou</a>.</li>
164
+ <li style="-moz-float-edge: content-box"><a href="/wiki/Egypt" title="Egypt">Egyptian</a> voters <b><a href="/wiki/Egyptian_constitutional_referendum,_2012" title="Egyptian constitutional referendum, 2012">approve</a></b> a <a href="/wiki/2012_Constitution_of_Egypt" title="2012 Constitution of Egypt">new constitution</a>.</li>
165
+ <li style="-moz-float-edge: content-box">A military aircraft <i>(pictured)</i> <b><a href="/wiki/2012_Kazakhstan_Antonov_An-72_crash" title="2012 Kazakhstan Antonov An-72 crash">crashes</a></b> while descending toward <a href="/wiki/Shymkent" title="Shymkent">Shymkent</a>, Kazakhstan, killing all <span class="nowrap">27 people</span> on board.</li>
166
+ <li style="-moz-float-edge: content-box"><b><a href="/wiki/2012_Delhi_gang_rape_case" title="2012 Delhi gang rape case">The victim of a gang-rape</a></b> in <a href="/wiki/Delhi" title="Delhi">Delhi</a>, which sparked widespread demonstrations across <a href="/wiki/India" title="India">India</a>, dies in Singapore.</li>
167
+ <li style="-moz-float-edge: content-box"><a href="/wiki/Park_Geun-hye" title="Park Geun-hye">Park Geun-hye</a> is <b><a href="/wiki/South_Korean_presidential_election,_2012" title="South Korean presidential election, 2012">elected</a></b> <a href="/wiki/President_of_South_Korea" title="President of South Korea">President of South Korea</a>, becoming the first woman to hold the position.</li>
168
+ <li style="-moz-float-edge: content-box">Swiss bank <a href="/wiki/UBS" title="UBS">UBS</a> is <b><a href="/wiki/Libor_scandal#Fines_for_manipulation" title="Libor scandal">fined</a></b> <span class="nowrap">US$1.5 billion</span> for its role in the <a href="/wiki/Libor_scandal" title="Libor scandal">Libor scandal</a>.</li>
169
+ </ul>
170
+ <p><b><a href="/wiki/Deaths_in_2012" title="Deaths in 2012">Recent deaths</a></b>:<span style="white-space:nowrap;">&#160;</span><a href="/wiki/Norman_Schwarzkopf,_Jr." title="Norman Schwarzkopf, Jr.">Norman Schwarzkopf, Jr.</a> – <a href="/wiki/Gerry_Anderson" title="Gerry Anderson">Gerry Anderson</a> – <a href="/wiki/Charles_Durning" title="Charles Durning">Charles Durning</a></p>
171
+ <div style="text-align: right;" class="noprint"><b><a href="/wiki/Syrian_civil_war" title="Syrian civil war">Syrian civil war</a></b> – <b><a href="//en.wikinews.org/wiki/Main_Page" class="extiw" title="n:Main Page">Wikinews</a></b>&#160;– <b><a href="/wiki/Portal:Current_events" title="Portal:Current events">More&#160;current&#160;events...</a></b></div>
172
+ </div>
173
+ </td>
174
+ </tr>
175
+ <tr>
176
+ <th style="padding:2px;">
177
+ <h2 id="mp-otd-h2" style="margin:3px; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;"><span class="mw-headline" id="On_this_day...">On this day...</span></h2>
178
+ </th>
179
+ </tr>
180
+ <tr>
181
+ <td style="color:#000; padding:2px 5px 5px;">
182
+ <div id="mp-otd">
183
+ <p><b><a href="/wiki/December_29" title="December 29">December 29</a></b>: <a href="/wiki/List_of_national_independence_days" title="List of national independence days">Independence Day</a> in <b><a href="/wiki/Mongolia" title="Mongolia">Mongolia</a></b> (1911)</p>
184
+ <div style="float:right;margin-left:0.5em">
185
+ <p><a href="/wiki/File:Tomwindo.png" class="image" title="Stained glass portrait of Thomas Becket"><img alt="Stained glass portrait of Thomas Becket" src="//upload.wikimedia.org/wikipedia/commons/thumb/d/dc/Tomwindo.png/77px-Tomwindo.png" width="77" height="100" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/d/dc/Tomwindo.png/116px-Tomwindo.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/d/dc/Tomwindo.png/155px-Tomwindo.png 2x" /></a></p>
186
+ </div>
187
+ <ul>
188
+ <li style="-moz-float-edge: content-box"><a href="/wiki/1170" title="1170">1170</a> – <a href="/wiki/Archbishop_of_Canterbury" title="Archbishop of Canterbury">Archbishop of Canterbury</a> <b><a href="/wiki/Thomas_Becket" title="Thomas Becket">Thomas Becket</a></b> <i>(<a href="/wiki/Stained_glass" title="Stained glass">stained glass</a> portrait pictured)</i> was slain in <a href="/wiki/Canterbury_Cathedral" title="Canterbury Cathedral">his own cathedral</a> by four knights of <a href="/wiki/Henry_II_of_England" title="Henry II of England">Henry&#160;II of England</a>.</li>
189
+ <li style="-moz-float-edge: content-box"><a href="/wiki/1779" title="1779">1779</a> – <a href="/wiki/American_Revolutionary_War" title="American Revolutionary War">American Revolutionary War</a>: British soldiers under the command of Lieutenant Colonel <a href="/wiki/Archibald_Campbell_(British_Army_officer)" title="Archibald Campbell (British Army officer)">Archibald Campbell</a> <b><a href="/wiki/Capture_of_Savannah" title="Capture of Savannah">captured</a></b> <a href="/wiki/Savannah,_Georgia" title="Savannah, Georgia">Savannah, Georgia</a>.</li>
190
+ <li style="-moz-float-edge: content-box"><a href="/wiki/1937" title="1937">1937</a> – The <b><a href="/wiki/Constitution_of_Ireland" title="Constitution of Ireland">Constitution of Ireland</a></b>, the founding legal document of the state known today as the <a href="/wiki/Republic_of_Ireland" title="Republic of Ireland">Republic of Ireland</a>, came into force.</li>
191
+ <li style="-moz-float-edge: content-box"><a href="/wiki/1972" title="1972">1972</a> – While the crew of <b><a href="/wiki/Eastern_Air_Lines_Flight_401" title="Eastern Air Lines Flight 401">Eastern Air Lines Flight 401</a></b> were busy trying to solve an instrumentation problem, the aircraft crashed into the <a href="/wiki/Everglades" title="Everglades">Florida Everglades</a>, killing 101 people.</li>
192
+ <li style="-moz-float-edge: content-box"><a href="/wiki/1992" title="1992">1992</a> – <a href="/wiki/President_of_Brazil" title="President of Brazil">President of Brazil</a> <b><a href="/wiki/Fernando_Collor_de_Mello" title="Fernando Collor de Mello">Fernando Collor de Mello</a></b> resigned in an attempt to stop his <a href="/wiki/Impeachment" title="Impeachment">impeachment</a> proceedings from continuing, but the <a href="/wiki/Senate_of_Brazil" title="Senate of Brazil" class="mw-redirect">Senate of Brazil</a> continued anyway, finding him guilty.</li>
193
+ </ul>
194
+ <p>More anniversaries: <span class="nowrap"><a href="/wiki/December_28" title="December 28">December 28</a> –</span> <span class="nowrap"><b><a href="/wiki/December_29" title="December 29">December 29</a></b> –</span> <span class="nowrap"><a href="/wiki/December_30" title="December 30">December 30</a></span></p>
195
+ <div style="text-align: right;" class="noprint"><span class="nowrap"><b><a href="/wiki/Wikipedia:Selected_anniversaries/December" title="Wikipedia:Selected anniversaries/December">Archive</a></b> –</span> <span class="nowrap"><b><a href="https://lists.wikimedia.org/mailman/listinfo/daily-article-l" class="extiw" title="mail:daily-article-l">By email</a></b> –</span> <span class="nowrap"><b><a href="/wiki/List_of_historical_anniversaries" title="List of historical anniversaries">List of historical anniversaries</a></b></span></div>
196
+ <div style="text-align: right;"><small>It is now <span class="nowrap">December 29, 2012</span> (<a href="/wiki/Coordinated_Universal_Time" title="Coordinated Universal Time">UTC</a>) – <span class="plainlinks" id="purgelink"><span class="nowrap"><a class="external text" href="//en.wikipedia.org/w/index.php?title=Main_Page&amp;action=purge">Refresh this page</a></span></span></small></div>
197
+ </div>
198
+ </td>
199
+ </tr>
200
+ </table>
201
+ </td>
202
+ </tr>
203
+ </table>
204
+ <table id="mp-lower" style="margin:4px 0 0 0; width:100%; background:none; border-spacing: 0px;">
205
+ <tr>
206
+ <td class="MainPageBG" style="width:100%; border:1px solid #ddcef2; background:#faf5ff; vertical-align:top; color:#000;">
207
+ <table id="mp-bottom" style="vertical-align:top; background:#faf5ff; color:#000; width:100%">
208
+ <tr>
209
+ <th style="padding:2px;">
210
+ <h2 id="mp-tfp-h2" style="margin:3px; background:#ddcef2; font-size:120%; font-weight:bold; border:1px solid #afa3bf; text-align:left; color:#000; padding:0.2em 0.4em"><span class="mw-headline" id="Today.27s_featured_picture">Today's featured picture</span></h2>
211
+ </th>
212
+ </tr>
213
+ <tr>
214
+ <td style="color:#000; padding:2px;">
215
+ <div id="mp-tfp">
216
+ <table style="margin:0 3px 3px; width:100%; text-align:left; background-color:transparent; border-collapse: collapse;">
217
+ <tr>
218
+ <td style="padding:0 0.9em 0 0;"><a href="/wiki/File:Zirconium_crystal_bar_and_1cm3_cube.jpg" class="image" title="Zirconium"><img alt="Zirconium" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/92/Zirconium_crystal_bar_and_1cm3_cube.jpg/340px-Zirconium_crystal_bar_and_1cm3_cube.jpg" width="340" height="250" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/92/Zirconium_crystal_bar_and_1cm3_cube.jpg/510px-Zirconium_crystal_bar_and_1cm3_cube.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/92/Zirconium_crystal_bar_and_1cm3_cube.jpg/680px-Zirconium_crystal_bar_and_1cm3_cube.jpg 2x" /></a></td>
219
+ <td style="padding:0 6px 0 0">
220
+ <p>Two samples of crystal bars of pure <b><a href="/wiki/Zirconium" title="Zirconium">zirconium</a></b> on a white glass plate showing different surface textures, made by the <a href="/wiki/Crystal_bar_process" title="Crystal bar process">crystal bar process</a>, and a <span class="nowrap">1 cm<sup>3</sup></span> cube of it for comparison. Zirconium is a lustrous, grey-white, strong <a href="/wiki/Transition_metal" title="Transition metal">transition metal</a> that resembles <a href="/wiki/Titanium" title="Titanium">titanium</a>. It is mainly used as a <a href="/wiki/Refractory" title="Refractory">refractory</a> and <a href="/wiki/Opacifier" title="Opacifier">opacifier</a>, although it is used in small amounts as an alloying agent for its strong resistance to corrosion.</p>
221
+ <small>Photo: <a href="/wiki/User:Alchemist-hp" title="User:Alchemist-hp">Alchemist-hp</a></small>
222
+ <div style="text-align:right;">
223
+ <p>Recently featured: <a href="/wiki/Template:POTD/2012-12-28" title="Template:POTD/2012-12-28">Red-capped Plover</a> – <a href="/wiki/Template:POTD/2012-12-27" title="Template:POTD/2012-12-27">ORP <i>Grom</i></a> – <a href="/wiki/Template:POTD/2012-12-26" title="Template:POTD/2012-12-26">Confederate States of America currency</a><br /></p>
224
+ <div class="noprint"><b><a href="/wiki/Wikipedia:Picture_of_the_day/December_2012" title="Wikipedia:Picture of the day/December 2012">Archive</a></b> – <b><a href="/wiki/Wikipedia:Featured_pictures" title="Wikipedia:Featured pictures">More featured pictures...</a></b></div>
225
+ </div>
226
+ </td>
227
+ </tr>
228
+ </table>
229
+ </div>
230
+ </td>
231
+ </tr>
232
+ </table>
233
+ </td>
234
+ </tr>
235
+ </table>
236
+ <div id="mp-other" style="padding-top:4px; padding-bottom:2px;">
237
+ <h2><span class="mw-headline" id="Other_areas_of_Wikipedia">Other areas of Wikipedia</span></h2>
238
+ <ul>
239
+ <li><b><a href="/wiki/Wikipedia:Community_portal" title="Wikipedia:Community portal">Community portal</a></b> – Bulletin board, projects, resources and activities covering a wide range of Wikipedia areas.</li>
240
+ <li><b><a href="/wiki/Wikipedia:Help_desk" title="Wikipedia:Help desk">Help desk</a></b> – Ask questions about using Wikipedia.</li>
241
+ <li><b><a href="/wiki/Wikipedia:Local_Embassy" title="Wikipedia:Local Embassy">Local embassy</a></b> – For Wikipedia-related communication in languages other than English.</li>
242
+ <li><b><a href="/wiki/Wikipedia:Reference_desk" title="Wikipedia:Reference desk">Reference desk</a></b> – Serving as virtual librarians, Wikipedia volunteers tackle your questions on a wide range of subjects.</li>
243
+ <li><b><a href="/wiki/Wikipedia:News" title="Wikipedia:News">Site news</a></b> – Announcements, updates, articles and press releases on Wikipedia and the Wikimedia Foundation.</li>
244
+ <li><b><a href="/wiki/Wikipedia:Village_pump" title="Wikipedia:Village pump">Village pump</a></b> – For discussions about Wikipedia itself, including areas for technical issues and policies.</li>
245
+ </ul>
246
+ </div>
247
+ <div id="mp-sister">
248
+ <h2><span class="mw-headline" id="Wikipedia.27s_sister_projects">Wikipedia's sister projects</span></h2>
249
+ <p>Wikipedia is hosted by the <a href="/wiki/Wikimedia_Foundation" title="Wikimedia Foundation">Wikimedia Foundation</a>, a non-profit organization that also hosts a range of other <a href="//wikimediafoundation.org/wiki/Our_projects" class="extiw" title="wmf:Our projects">projects</a>:</p>
250
+ <table class="layout plainlinks" style="width:100%; margin:auto; text-align:left; background:transparent;">
251
+ <tr>
252
+ <td style="text-align:center; padding:4px;"><a href="//commons.wikimedia.org/wiki/" title="Commons"><img alt="Commons" src="//upload.wikimedia.org/wikipedia/en/9/9d/Commons-logo-31px.png" width="31" height="41" /></a></td>
253
+ <td style="width:33%; padding:4px;"><b><a class="external text" href="//commons.wikimedia.org/">Commons</a></b><br />
254
+ Free media repository</td>
255
+ <td style="text-align:center; padding:4px;"><a href="//en.wikinews.org/wiki/" title="Wikinews"><img alt="Wikinews" src="//upload.wikimedia.org/wikipedia/en/6/60/Wikinews-logo-51px.png" width="51" height="30" /></a></td>
256
+ <td style="padding:4px;"><b><a class="external text" href="//en.wikinews.org/">Wikinews</a></b><br />
257
+ Free-content news</td>
258
+ <td style="text-align:center; padding:4px;"><a href="//species.wikimedia.org/wiki/" title="Wikispecies"><img alt="Wikispecies" src="//upload.wikimedia.org/wikipedia/en/b/bf/Wikispecies-logo-35px.png" width="35" height="41" /></a></td>
259
+ <td style="padding:4px;"><b><a class="external text" href="//species.wikimedia.org/">Wikispecies</a></b><br />
260
+ Directory of species</td>
261
+ </tr>
262
+ <tr>
263
+ <td style="text-align:center; padding:4px;"><a href="//meta.wikimedia.org/wiki/" title="Meta-Wiki"><img alt="Meta-Wiki" src="//upload.wikimedia.org/wikipedia/en/b/bc/Meta-logo-35px.png" width="35" height="35" /></a></td>
264
+ <td style="padding:4px;"><b><a class="external text" href="//meta.wikimedia.org/">Meta-Wiki</a></b><br />
265
+ Wikimedia project coordination</td>
266
+ <td style="text-align:center; padding:4px;"><a href="//en.wikiquote.org/wiki/" title="Wikiquote"><img alt="Wikiquote" src="//upload.wikimedia.org/wikipedia/en/4/46/Wikiquote-logo-51px.png" width="51" height="41" /></a></td>
267
+ <td style="width:33%; padding:4px;"><b><a class="external text" href="//en.wikiquote.org/">Wikiquote</a></b><br />
268
+ Collection of quotations</td>
269
+ <td style="text-align:center; padding:4px;"><a href="//en.wikiversity.org/wiki/" title="Wikiversity"><img alt="Wikiversity" src="//upload.wikimedia.org/wikipedia/en/e/e3/Wikiversity-logo-41px.png" width="41" height="32" /></a></td>
270
+ <td style="width:33%; padding:4px;"><b><a class="external text" href="//en.wikiversity.org/">Wikiversity</a></b><br />
271
+ Free learning materials and activities</td>
272
+ </tr>
273
+ <tr>
274
+ <td style="text-align:center; padding:4px;"><a href="//en.wikibooks.org/wiki/" title="Wikibooks"><img alt="Wikibooks" src="//upload.wikimedia.org/wikipedia/en/7/7f/Wikibooks-logo-35px.png" width="35" height="35" /></a></td>
275
+ <td style="padding:4px;"><b><a class="external text" href="//en.wikibooks.org/">Wikibooks</a></b><br />
276
+ Free textbooks and manuals</td>
277
+ <td style="text-align:center; padding:4px;"><a href="//en.wikisource.org/wiki/" title="Wikisource"><img alt="Wikisource" src="//upload.wikimedia.org/wikipedia/en/b/b6/Wikisource-logo-35px.png" width="35" height="37" /></a></td>
278
+ <td style="padding:4px;"><b><a class="external text" href="//en.wikisource.org/">Wikisource</a></b><br />
279
+ Free-content library</td>
280
+ <td style="text-align:center; padding:4px;"><a href="//en.wiktionary.org/wiki/" title="Wiktionary"><img alt="Wiktionary" src="//upload.wikimedia.org/wikipedia/en/f/f2/Wiktionary-logo-51px.png" width="51" height="35" /></a></td>
281
+ <td style="padding:4px;"><b><a class="external text" href="//en.wiktionary.org/">Wiktionary</a></b><br />
282
+ Dictionary and thesaurus</td>
283
+ </tr>
284
+ </table>
285
+ </div>
286
+ <div id="mp-lang">
287
+ <h2><span class="mw-headline" id="Wikipedia_languages">Wikipedia languages</span></h2>
288
+ <div id="lang" class="nowraplinks nourlexpansion plainlinks">
289
+ <p>This Wikipedia is written in <a href="/wiki/English_language" title="English language">English</a>. Started in 2001<span style="display:none">&#160;(<span class="bday dtstart published updated">2001</span>)</span>, it currently contains <a href="/wiki/Special:Statistics" title="Special:Statistics">4,131,335</a> articles. Many other Wikipedias are available; some of the largest are listed below.</p>
290
+ <ul>
291
+ <li id="lang-3">More than 750,000 articles: <a class="external text" href="//de.wikipedia.org/wiki/"><span title="German (de:)" lang="de" xml:lang="de">Deutsch</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//es.wikipedia.org/wiki/"><span title="Spanish (es:)" lang="es" xml:lang="es">español</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//fr.wikipedia.org/wiki/"><span title="French (fr:)" lang="fr" xml:lang="fr">français</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//it.wikipedia.org/wiki/"><span title="Italian (it:)" lang="it" xml:lang="it">italiano</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//nl.wikipedia.org/wiki/"><span title="Dutch (nl:)" lang="nl" xml:lang="nl">Nederlands</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//ja.wikipedia.org/wiki/"><span title="Japanese (ja:)" lang="ja" xml:lang="ja">日本語</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//pl.wikipedia.org/wiki/"><span title="Polish (pl:)" lang="pl" xml:lang="pl">polski</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//pt.wikipedia.org/wiki/"><span title="Portuguese (pt:)" lang="pt" xml:lang="pt">português</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//ru.wikipedia.org/wiki/"><span title="Russian (ru:)" lang="ru" xml:lang="ru">русский</span></a></li>
292
+ <li id="lang-2">More than 150,000 articles: <a class="external text" href="//ar.wikipedia.org/wiki/"><span title="Arabic (ar:)" lang="ar" xml:lang="ar">العربية</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//id.wikipedia.org/wiki/"><span title="Indonesian (id:)" lang="id" xml:lang="id">Bahasa Indonesia</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//ms.wikipedia.org/wiki/"><span title="Malay (ms:)" lang="ms" xml:lang="ms">Bahasa Melayu</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//ca.wikipedia.org/wiki/"><span title="Catalan (ca:)" lang="ca" xml:lang="ca">català</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//cs.wikipedia.org/wiki/"><span title="Czech (cs:)" lang="cs" xml:lang="cs">česky</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//da.wikipedia.org/wiki/"><span title="Danish (da:)" lang="da" xml:lang="da">dansk</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//eo.wikipedia.org/wiki/"><span title="Esperanto (eo:)" lang="eo" xml:lang="eo">Esperanto</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//fa.wikipedia.org/wiki/"><span title="Persian (fa:)" lang="fa" xml:lang="fa">فارسی</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//ko.wikipedia.org/wiki/"><span title="Korean (ko:)" lang="ko" xml:lang="ko">한국어</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//lt.wikipedia.org/wiki/"><span title="Lithuanian (lt:)" lang="lt" xml:lang="lt">lietuvių</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//hu.wikipedia.org/wiki/"><span title="Hungarian (hu:)" lang="hu" xml:lang="hu">magyar</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//no.wikipedia.org/wiki/"><span title="Norwegian (no:)" lang="no" xml:lang="no">norsk (bokmål)‎</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//ro.wikipedia.org/wiki/"><span title="Romanian (ro:)" lang="ro" xml:lang="ro">română</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//sk.wikipedia.org/wiki/"><span title="Slovak (sk:)" lang="sk" xml:lang="sk">slovenčina</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//sr.wikipedia.org/wiki/"><span title="Serbian (sr:)" lang="sr" xml:lang="sr">српски / srpski</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//fi.wikipedia.org/wiki/"><span title="Finnish (fi:)" lang="fi" xml:lang="fi">suomi</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//sv.wikipedia.org/wiki/"><span title="Swedish (sv:)" lang="sv" xml:lang="sv">svenska</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//vi.wikipedia.org/wiki/"><span title="Vietnamese (vi:)" lang="vi" xml:lang="vi">Tiếng Việt</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//tr.wikipedia.org/wiki/"><span title="Turkish (tr:)" lang="tr" xml:lang="tr">Türkçe</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//uk.wikipedia.org/wiki/"><span title="Ukrainian (uk:)" lang="uk" xml:lang="uk">українська</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//zh.wikipedia.org/wiki/"><span title="Chinese (zh:)" lang="zh" xml:lang="zh">中文</span></a></li>
293
+ <li id="lang-1">More than 50,000 articles: <a class="external text" href="//bg.wikipedia.org/wiki/"><span title="Bulgarian (bg:)" lang="bg" xml:lang="bg">български</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//et.wikipedia.org/wiki/"><span title="Estonian (et:)" lang="et" xml:lang="et">eesti</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//el.wikipedia.org/wiki/"><span title="Greek (el:)" lang="el" xml:lang="el">Ελληνικά</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//simple.wikipedia.org/wiki/"><span title="Simple English (simple:)" lang="simple" xml:lang="simple">English (simple)</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//eu.wikipedia.org/wiki/"><span title="Basque (eu:)" lang="eu" xml:lang="eu">euskara</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//gl.wikipedia.org/wiki/"><span title="Galician (gl:)" lang="gl" xml:lang="gl">galego</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//he.wikipedia.org/wiki/"><span title="Hebrew (he:)" lang="he" xml:lang="he">עברית</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//hr.wikipedia.org/wiki/"><span title="Croatian (hr:)" lang="hr" xml:lang="hr">hrvatski</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//nn.wikipedia.org/wiki/"><span title="Norwegian (Nynorsk) (nn:)" lang="nn" xml:lang="nn">norsk (nynorsk)‎</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//sl.wikipedia.org/wiki/"><span title="Slovene (sl:)" lang="sl" xml:lang="sl">slovenščina</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//sh.wikipedia.org/wiki/"><span title="Serbo-Croatian (sh:)" lang="sh" xml:lang="sh">srpskohrvatski / српскохрватски</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//ta.wikipedia.org/wiki/"><span title="Tamil (ta:)" lang="ta" xml:lang="ta">தமிழ்</span></a>&#160;<span style="font-weight:bold;">·</span> <a class="external text" href="//th.wikipedia.org/wiki/"><span title="Thai (th:)" lang="th" xml:lang="th">ไทย</span></a></li>
294
+ </ul>
295
+ </div>
296
+ <div id="metalink" style="text-align:center;" class="plainlinks"><b><a class="external text" href="//meta.wikimedia.org/wiki/List_of_Wikipedias">Complete list of Wikipedias</a></b></div>
297
+ </div>
298
+
299
+
300
+ <!--
301
+ NewPP limit report
302
+ Preprocessor visited node count: 9248/1000000
303
+ Preprocessor generated node count: 9704/1500000
304
+ Post-expand include size: 38546/2048000 bytes
305
+ Template argument size: 2354/2048000 bytes
306
+ Highest expansion depth: 29/40
307
+ Expensive parser function count: 49/500
308
+ -->
309
+
310
+ <!-- Saved in parser cache with key enwiki:pcache:idhash:15580374-0!*!0!!*!4!* and timestamp 20121229230229 -->
311
+ </div> <!-- /bodycontent -->
312
+ <!-- printfooter -->
313
+ <div class="printfooter">
314
+ Retrieved from "<a href="http://en.wikipedia.org/w/index.php?title=Main_Page&amp;oldid=521573414">http://en.wikipedia.org/w/index.php?title=Main_Page&amp;oldid=521573414</a>" </div>
315
+ <!-- /printfooter -->
316
+ <!-- catlinks -->
317
+ <div id='catlinks' class='catlinks catlinks-allhidden'><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden categories: <ul><li><a href="/wiki/Category:Article_Feedback_Blacklist" title="Category:Article Feedback Blacklist">Article Feedback Blacklist</a></li></ul></div></div> <!-- /catlinks -->
318
+ <div class="visualClear"></div>
319
+ <!-- debughtml -->
320
+ <!-- /debughtml -->
321
+ </div>
322
+ <!-- /bodyContent -->
323
+ </div>
324
+ <!-- /content -->
325
+ <div id="mw-navigation">
326
+ <h2>Navigation menu</h2>
327
+ <!-- header -->
328
+ <div id="mw-head" class="noprint">
329
+
330
+ <!-- 0 -->
331
+ <div id="p-personal" role="navigation" class="">
332
+ <h3>Personal tools</h3>
333
+ <ul>
334
+ <li id="pt-createaccount"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Main+Page&amp;type=signup">Create account</a></li><li id="pt-login"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Main+Page" title="You are encouraged to log in; however, it is not mandatory. [o]" accesskey="o">Log in</a></li> </ul>
335
+ </div>
336
+
337
+ <!-- /0 -->
338
+ <div id="left-navigation">
339
+
340
+ <!-- 0 -->
341
+ <div id="p-namespaces" role="navigation" class="vectorTabs">
342
+ <h3>Namespaces</h3>
343
+ <ul>
344
+ <li id="ca-nstab-main" class="selected"><span><a href="/wiki/Main_Page" title="View the content page [c]" accesskey="c">Main Page</a></span></li>
345
+ <li id="ca-talk"><span><a href="/wiki/Talk:Main_Page" title="Discussion about the content page [t]" accesskey="t">Talk</a></span></li>
346
+ </ul>
347
+ </div>
348
+
349
+ <!-- /0 -->
350
+
351
+ <!-- 1 -->
352
+ <div id="p-variants" role="navigation" class="vectorMenu emptyPortlet">
353
+ <h3 id="mw-vector-current-variant">
354
+ </h3>
355
+ <h3><span>Variants</span><a href="#"></a></h3>
356
+ <div class="menu">
357
+ <ul>
358
+ </ul>
359
+ </div>
360
+ </div>
361
+
362
+ <!-- /1 -->
363
+ </div>
364
+ <div id="right-navigation">
365
+
366
+ <!-- 0 -->
367
+ <div id="p-views" role="navigation" class="vectorTabs">
368
+ <h3>Views</h3>
369
+ <ul>
370
+ <li id="ca-view" class="selected"><span><a href="/wiki/Main_Page" >Read</a></span></li>
371
+ <li id="ca-viewsource"><span><a href="/w/index.php?title=Main_Page&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e">View source</a></span></li>
372
+ <li id="ca-history" class="collapsible"><span><a href="/w/index.php?title=Main_Page&amp;action=history" title="Past versions of this page [h]" accesskey="h">View history</a></span></li>
373
+ </ul>
374
+ </div>
375
+
376
+ <!-- /0 -->
377
+
378
+ <!-- 1 -->
379
+ <div id="p-cactions" role="navigation" class="vectorMenu emptyPortlet">
380
+ <h3><span>Actions</span><a href="#"></a></h3>
381
+ <div class="menu">
382
+ <ul>
383
+ </ul>
384
+ </div>
385
+ </div>
386
+
387
+ <!-- /1 -->
388
+
389
+ <!-- 2 -->
390
+ <div id="p-search" role="search">
391
+ <h3><label for="searchInput">Search</label></h3>
392
+ <form action="/w/index.php" id="searchform">
393
+ <div id="simpleSearch">
394
+ <input name="search" title="Search Wikipedia [f]" accesskey="f" id="searchInput" /> <button type="submit" name="button" title="Search Wikipedia for this text" id="searchButton"><img src="//bits.wikimedia.org/static-1.21wmf6/skins/vector/images/search-ltr.png?303-4" alt="Search" width="12" height="13" /></button> <input type='hidden' name="title" value="Special:Search"/>
395
+ </div>
396
+ </form>
397
+ </div>
398
+
399
+ <!-- /2 -->
400
+ </div>
401
+ </div>
402
+ <!-- /header -->
403
+ <!-- panel -->
404
+ <div id="mw-panel" class="noprint">
405
+ <!-- logo -->
406
+ <div id="p-logo" role="banner"><a style="background-image: url(//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png);" href="/wiki/Main_Page" title="Visit the main page"></a></div>
407
+ <!-- /logo -->
408
+
409
+ <!-- navigation -->
410
+ <div class="portal" role="navigation" id='p-navigation'>
411
+ <h3>Navigation</h3>
412
+ <div class="body">
413
+ <ul>
414
+ <li id="n-mainpage-description"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z">Main page</a></li>
415
+ <li id="n-contents"><a href="/wiki/Portal:Contents" title="Guides to browsing Wikipedia">Contents</a></li>
416
+ <li id="n-featuredcontent"><a href="/wiki/Portal:Featured_content" title="Featured content – the best of Wikipedia">Featured content</a></li>
417
+ <li id="n-currentevents"><a href="/wiki/Portal:Current_events" title="Find background information on current events">Current events</a></li>
418
+ <li id="n-randompage"><a href="/wiki/Special:Random" title="Load a random article [x]" accesskey="x">Random article</a></li>
419
+ <li id="n-sitesupport"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C12_en.wikipedia.org&amp;uselang=en" title="Support us">Donate to Wikipedia</a></li>
420
+ </ul>
421
+ </div>
422
+ </div>
423
+
424
+ <!-- /navigation -->
425
+
426
+ <!-- SEARCH -->
427
+
428
+ <!-- /SEARCH -->
429
+
430
+ <!-- interaction -->
431
+ <div class="portal" role="navigation" id='p-interaction'>
432
+ <h3>Interaction</h3>
433
+ <div class="body">
434
+ <ul>
435
+ <li id="n-help"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia">Help</a></li>
436
+ <li id="n-aboutsite"><a href="/wiki/Wikipedia:About" title="Find out about Wikipedia">About Wikipedia</a></li>
437
+ <li id="n-portal"><a href="/wiki/Wikipedia:Community_portal" title="About the project, what you can do, where to find things">Community portal</a></li>
438
+ <li id="n-recentchanges"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li>
439
+ <li id="n-contact"><a href="/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia">Contact Wikipedia</a></li>
440
+ </ul>
441
+ </div>
442
+ </div>
443
+
444
+ <!-- /interaction -->
445
+
446
+ <!-- TOOLBOX -->
447
+ <div class="portal" role="navigation" id='p-tb'>
448
+ <h3>Toolbox</h3>
449
+ <div class="body">
450
+ <ul>
451
+ <li id="t-whatlinkshere"><a href="/wiki/Special:WhatLinksHere/Main_Page" title="List of all English Wikipedia pages containing links to this page [j]" accesskey="j">What links here</a></li>
452
+ <li id="t-recentchangeslinked"><a href="/wiki/Special:RecentChangesLinked/Main_Page" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li>
453
+ <li id="t-upload"><a href="/wiki/Wikipedia:File_Upload_Wizard" title="Upload files [u]" accesskey="u">Upload file</a></li>
454
+ <li id="t-specialpages"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q">Special pages</a></li>
455
+ <li id="t-permalink"><a href="/w/index.php?title=Main_Page&amp;oldid=521573414" title="Permanent link to this revision of the page">Permanent link</a></li>
456
+ <li id="t-info"><a href="/w/index.php?title=Main_Page&amp;action=info">Page information</a></li>
457
+ <li id="t-cite"><a href="/w/index.php?title=Special:Cite&amp;page=Main_Page&amp;id=521573414" title="Information on how to cite this page">Cite this page</a></li> </ul>
458
+ </div>
459
+ </div>
460
+
461
+ <!-- /TOOLBOX -->
462
+
463
+ <!-- coll-print_export -->
464
+ <div class="portal" role="navigation" id='p-coll-print_export'>
465
+ <h3>Print/export</h3>
466
+ <div class="body">
467
+ <ul id="collectionPortletList"><li id="coll-create_a_book"><a href="/w/index.php?title=Special:Book&amp;bookcmd=book_creator&amp;referer=Main+Page" title="Create a book or page collection" rel="nofollow">Create a book</a></li><li id="coll-download-as-rl"><a href="/w/index.php?title=Special:Book&amp;bookcmd=render_article&amp;arttitle=Main+Page&amp;oldid=521573414&amp;writer=rl" title="Download a PDF version of this wiki page" rel="nofollow">Download as PDF</a></li><li id="t-print"><a href="/w/index.php?title=Main_Page&amp;printable=yes" title="Printable version of this page [p]" accesskey="p">Printable version</a></li></ul> </div>
468
+ </div>
469
+
470
+ <!-- /coll-print_export -->
471
+
472
+ <!-- LANGUAGES -->
473
+ <div class="portal" role="navigation" id='p-lang'>
474
+ <h3>Languages</h3>
475
+ <div class="body">
476
+ <ul>
477
+ <li class="interwiki-simple"><a href="//simple.wikipedia.org/wiki/" title="" lang="simple" hreflang="simple">Simple English</a></li>
478
+ <li class="interwiki-ar"><a href="//ar.wikipedia.org/wiki/" title="" lang="ar" hreflang="ar">العربية</a></li>
479
+ <li class="interwiki-id"><a href="//id.wikipedia.org/wiki/" title="" lang="id" hreflang="id">Bahasa Indonesia</a></li>
480
+ <li class="interwiki-ms"><a href="//ms.wikipedia.org/wiki/" title="" lang="ms" hreflang="ms">Bahasa Melayu</a></li>
481
+ <li class="interwiki-bg"><a href="//bg.wikipedia.org/wiki/" title="" lang="bg" hreflang="bg">Български</a></li>
482
+ <li class="interwiki-ca"><a href="//ca.wikipedia.org/wiki/" title="" lang="ca" hreflang="ca">Català</a></li>
483
+ <li class="interwiki-cs"><a href="//cs.wikipedia.org/wiki/" title="" lang="cs" hreflang="cs">Česky</a></li>
484
+ <li class="interwiki-da"><a href="//da.wikipedia.org/wiki/" title="" lang="da" hreflang="da">Dansk</a></li>
485
+ <li class="interwiki-de"><a href="//de.wikipedia.org/wiki/" title="" lang="de" hreflang="de">Deutsch</a></li>
486
+ <li class="interwiki-et"><a href="//et.wikipedia.org/wiki/" title="" lang="et" hreflang="et">Eesti</a></li>
487
+ <li class="interwiki-el"><a href="//el.wikipedia.org/wiki/" title="" lang="el" hreflang="el">Ελληνικά</a></li>
488
+ <li class="interwiki-es"><a href="//es.wikipedia.org/wiki/" title="" lang="es" hreflang="es">Español</a></li>
489
+ <li class="interwiki-eo"><a href="//eo.wikipedia.org/wiki/" title="" lang="eo" hreflang="eo">Esperanto</a></li>
490
+ <li class="interwiki-eu"><a href="//eu.wikipedia.org/wiki/" title="" lang="eu" hreflang="eu">Euskara</a></li>
491
+ <li class="interwiki-fa"><a href="//fa.wikipedia.org/wiki/" title="" lang="fa" hreflang="fa">فارسی</a></li>
492
+ <li class="interwiki-fr"><a href="//fr.wikipedia.org/wiki/" title="" lang="fr" hreflang="fr">Français</a></li>
493
+ <li class="interwiki-gl"><a href="//gl.wikipedia.org/wiki/" title="" lang="gl" hreflang="gl">Galego</a></li>
494
+ <li class="interwiki-ko"><a href="//ko.wikipedia.org/wiki/" title="" lang="ko" hreflang="ko">한국어</a></li>
495
+ <li class="interwiki-he"><a href="//he.wikipedia.org/wiki/" title="" lang="he" hreflang="he">עברית</a></li>
496
+ <li class="interwiki-hr"><a href="//hr.wikipedia.org/wiki/" title="" lang="hr" hreflang="hr">Hrvatski</a></li>
497
+ <li class="interwiki-it"><a href="//it.wikipedia.org/wiki/" title="" lang="it" hreflang="it">Italiano</a></li>
498
+ <li class="interwiki-lt"><a href="//lt.wikipedia.org/wiki/" title="" lang="lt" hreflang="lt">Lietuvių</a></li>
499
+ <li class="interwiki-hu"><a href="//hu.wikipedia.org/wiki/" title="" lang="hu" hreflang="hu">Magyar</a></li>
500
+ <li class="interwiki-nl"><a href="//nl.wikipedia.org/wiki/" title="" lang="nl" hreflang="nl">Nederlands</a></li>
501
+ <li class="interwiki-ja"><a href="//ja.wikipedia.org/wiki/" title="" lang="ja" hreflang="ja">日本語</a></li>
502
+ <li class="interwiki-no"><a href="//no.wikipedia.org/wiki/" title="" lang="no" hreflang="no">Norsk (bokmål)‎</a></li>
503
+ <li class="interwiki-nn"><a href="//nn.wikipedia.org/wiki/" title="" lang="nn" hreflang="nn">Norsk (nynorsk)‎</a></li>
504
+ <li class="interwiki-pl"><a href="//pl.wikipedia.org/wiki/" title="" lang="pl" hreflang="pl">Polski</a></li>
505
+ <li class="interwiki-pt"><a href="//pt.wikipedia.org/wiki/" title="" lang="pt" hreflang="pt">Português</a></li>
506
+ <li class="interwiki-ro"><a href="//ro.wikipedia.org/wiki/" title="" lang="ro" hreflang="ro">Română</a></li>
507
+ <li class="interwiki-ru"><a href="//ru.wikipedia.org/wiki/" title="" lang="ru" hreflang="ru">Русский</a></li>
508
+ <li class="interwiki-sk"><a href="//sk.wikipedia.org/wiki/" title="" lang="sk" hreflang="sk">Slovenčina</a></li>
509
+ <li class="interwiki-sl"><a href="//sl.wikipedia.org/wiki/" title="" lang="sl" hreflang="sl">Slovenščina</a></li>
510
+ <li class="interwiki-sr"><a href="//sr.wikipedia.org/wiki/" title="" lang="sr" hreflang="sr">Српски / srpski</a></li>
511
+ <li class="interwiki-sh"><a href="//sh.wikipedia.org/wiki/" title="" lang="sh" hreflang="sh">Srpskohrvatski / српскохрватски</a></li>
512
+ <li class="interwiki-fi"><a href="//fi.wikipedia.org/wiki/" title="" lang="fi" hreflang="fi">Suomi</a></li>
513
+ <li class="interwiki-sv"><a href="//sv.wikipedia.org/wiki/" title="" lang="sv" hreflang="sv">Svenska</a></li>
514
+ <li class="interwiki-th"><a href="//th.wikipedia.org/wiki/" title="" lang="th" hreflang="th">ไทย</a></li>
515
+ <li class="interwiki-vi"><a href="//vi.wikipedia.org/wiki/" title="" lang="vi" hreflang="vi">Tiếng Việt</a></li>
516
+ <li class="interwiki-tr"><a href="//tr.wikipedia.org/wiki/" title="" lang="tr" hreflang="tr">Türkçe</a></li>
517
+ <li class="interwiki-uk"><a href="//uk.wikipedia.org/wiki/" title="" lang="uk" hreflang="uk">Українська</a></li>
518
+ <li class="interwiki-zh"><a href="//zh.wikipedia.org/wiki/" title="" lang="zh" hreflang="zh">中文</a></li>
519
+ </ul>
520
+ </div>
521
+ </div>
522
+
523
+ <!-- /LANGUAGES -->
524
+ </div>
525
+ <!-- /panel -->
526
+ </div>
527
+ <!-- footer -->
528
+ <div id="footer" role="contentinfo">
529
+ <ul id="footer-info">
530
+ <li id="footer-info-lastmod"> This page was last modified on 5 November 2012 at 22:00.<br /></li>
531
+ <li id="footer-info-copyright">Text is available under the <a rel="license" href="//en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License">Creative Commons Attribution-ShareAlike License</a><a rel="license" href="//creativecommons.org/licenses/by-sa/3.0/" style="display:none;"></a>;
532
+ additional terms may apply.
533
+ See <a href="//wikimediafoundation.org/wiki/Terms_of_Use">Terms of Use</a> for details.<br/>
534
+ Wikipedia® is a registered trademark of the <a href="//www.wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.<br /></li><li class="noprint"><a class='internal' href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact us</a></li>
535
+ </ul>
536
+ <ul id="footer-places">
537
+ <li id="footer-places-privacy"><a href="//wikimediafoundation.org/wiki/Privacy_policy" title="wikimedia:Privacy policy">Privacy policy</a></li>
538
+ <li id="footer-places-about"><a href="/wiki/Wikipedia:About" title="Wikipedia:About">About Wikipedia</a></li>
539
+ <li id="footer-places-disclaimer"><a href="/wiki/Wikipedia:General_disclaimer" title="Wikipedia:General disclaimer">Disclaimers</a></li>
540
+ <li id="footer-places-mobileview"><a href="http://en.m.wikipedia.org/wiki/Main_Page" class="noprint stopMobileRedirectToggle">Mobile view</a></li>
541
+ </ul>
542
+ <ul id="footer-icons" class="noprint">
543
+ <li id="footer-copyrightico">
544
+ <a href="//wikimediafoundation.org/"><img src="//bits.wikimedia.org/images/wikimedia-button.png" width="88" height="31" alt="Wikimedia Foundation"/></a>
545
+ </li>
546
+ <li id="footer-poweredbyico">
547
+ <a href="//www.mediawiki.org/"><img src="//bits.wikimedia.org/static-1.21wmf6/skins/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" width="88" height="31" /></a>
548
+ </li>
549
+ </ul>
550
+ <div style="clear:both"></div>
551
+ </div>
552
+ <!-- /footer -->
553
+ <script>if(window.mw){
554
+ mw.loader.state({"site":"loading","user":"ready","user.groups":"ready"});
555
+ }</script>
556
+ <script src="//bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&amp;lang=en&amp;modules=skins.vector&amp;only=scripts&amp;skin=vector&amp;*"></script>
557
+ <script>if(window.mw){
558
+ mw.loader.load(["mediawiki.user","mediawiki.page.ready","mediawiki.searchSuggest","mediawiki.hidpi","mobile.desktop","ext.gadget.teahouse","ext.gadget.ReferenceTooltips","ext.gadget.DRN-wizard","ext.gadget.charinsert","mw.MwEmbedSupport.style","ext.vector.collapsibleNav","ext.vector.collapsibleTabs","ext.vector.editWarning","ext.UserBuckets","ext.articleFeedback.startup","ext.articleFeedbackv5.startup","ext.markAsHelpful","ext.Experiments.experiments","mw.PopUpMediaTransform"], null, true);
559
+ }</script>
560
+ <script src="/w/index.php?title=MediaWiki:Gadget-ReferenceTooltips.js&amp;action=raw&amp;ctype=text/javascript&amp;508635914"></script>
561
+ <script src="//bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&amp;lang=en&amp;modules=site&amp;only=scripts&amp;skin=vector&amp;*"></script>
562
+ <!-- Served by srv239 in 0.159 secs. -->
563
+ </body>
564
+ </html>
@@ -133,3 +133,41 @@ COPYRIGHT
133
133
  Copyright (c) 2007, Yahoo! Inc. All rights reserved.
134
134
  Code licensed under the BSD License:
135
135
  http://developer.yahoo.net/yui/license.txt
136
+
137
+ ==============================================================================
138
+ HtmlCompressor
139
+ ==============================================================================
140
+ http://code.google.com/p/htmlcompressor/
141
+
142
+ Small, fast and very easy to use Java library that minifies given HTML or XML source by removing extra whitespaces, comments and other unneeded characters without breaking the content structure. As a result pages become smaller in size and load faster. A command-line version of the compressor is also available.
143
+
144
+
145
+ PACKAGE CONTENT:
146
+ /bin - contains main htmlcompressor-1.5.3.jar binary,
147
+ as well as several extra jars (could be useful for IDE integration)
148
+ /doc - javadocs
149
+ /src - sources
150
+ /lib - dependencies (for using with a command line compressor or non-Maven projects)
151
+ pom.xml - Maven POM file
152
+ build.bat - Maven build launcher for Win
153
+ build.sh - Maven build launcher for *nix
154
+
155
+
156
+ USAGE:
157
+ For java projects add htmlcompressor-1.5.3.jar library to your project's classpath
158
+ For a command line usage run:
159
+ java -jar htmlcompressor-1.5.3.jar -h
160
+ to get a brief description of available parameters.
161
+
162
+ Please refer to http://code.google.com/p/htmlcompressor/ for the detailed documentation.
163
+
164
+
165
+ PROJECT BUILD:
166
+ - Install JDK v.5+ (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
167
+ - Install Maven v.2+ (http://maven.apache.org/download.html)
168
+ - Run build.bat or build.sh
169
+ - Compiled binaries will be placed in /target subdirectory
170
+
171
+
172
+ CHANGELOG:
173
+ http://code.google.com/p/htmlcompressor/wiki/Changelog
metadata CHANGED
@@ -1,79 +1,87 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: reduce
3
- version: !ruby/object:Gem::Version
4
- version: 0.2.0
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.3.0
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Michael Grosser
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
-
12
- date: 2009-11-22 00:00:00 +01:00
13
- default_executable: reduce
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2012-12-30 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ none: false
21
+ prerelease: false
16
22
  name: smusher
23
+ requirement: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ! '>='
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
28
+ none: false
17
29
  type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
24
- version:
25
30
  description:
26
31
  email: grosser.michael@gmail.com
27
- executables:
32
+ executables:
28
33
  - reduce
29
34
  extensions: []
30
-
31
- extra_rdoc_files:
32
- - README.markdown
33
- files:
35
+ extra_rdoc_files: []
36
+ files:
34
37
  - .gitignore
35
- - README.markdown
38
+ - Gemfile
39
+ - Gemfile.lock
36
40
  - Rakefile
37
- - VERSION
41
+ - Readme.md
38
42
  - bin/reduce
39
43
  - lib/reduce.rb
44
+ - lib/reduce/version.rb
40
45
  - reduce.gemspec
41
46
  - spec/files/facebox.css
42
47
  - spec/files/facebox.js
43
48
  - spec/files/paintcan.png
44
49
  - spec/files/test.gif
50
+ - spec/files/wikipedia.html
45
51
  - spec/reduce_spec.rb
46
52
  - spec/spec_helper.rb
47
53
  - vendor/README
48
- - vendor/yuicompressor-2.4.2.jar
49
- has_rdoc: true
50
- homepage: http://github.com/grosser/reduce
51
- licenses: []
52
-
54
+ - vendor/htmlcompressor-1.5.3.jar
55
+ - vendor/yuicompressor-2.4.6.jar
56
+ homepage: https://github.com/grosser/reduce
57
+ licenses:
58
+ - MIT
53
59
  post_install_message:
54
- rdoc_options:
55
- - --charset=UTF-8
56
- require_paths:
60
+ rdoc_options: []
61
+ require_paths:
57
62
  - lib
58
- required_ruby_version: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- version: "0"
63
- version:
64
- required_rubygems_version: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: "0"
69
- version:
63
+ required_ruby_version: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ segments:
69
+ - 0
70
+ hash: 4263623325399975666
71
+ none: false
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ segments:
78
+ - 0
79
+ hash: 4263623325399975666
80
+ none: false
70
81
  requirements: []
71
-
72
82
  rubyforge_project:
73
- rubygems_version: 1.3.5
83
+ rubygems_version: 1.8.24
74
84
  signing_key:
75
85
  specification_version: 3
76
- summary: "Reduce your assets: minify javascript + stylesheets, optimize images lossless"
77
- test_files:
78
- - spec/spec_helper.rb
79
- - spec/reduce_spec.rb
86
+ summary: ! 'Reduce your assets: minify javascript + stylesheets, optimize images lossless'
87
+ test_files: []
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.2.0