https://www.mediawiki.org/wiki/Special:Code/MediaWiki/103497

Revision: 103497
Author:   inez
Date:     2011-11-17 19:22:11 +0000 (Thu, 17 Nov 2011)
Log Message:
-----------
Add more content to Visual Editor demo (from 
http://simple.wikipedia.org/wiki/Barack_Obama)

Modified Paths:
--------------
    trunk/extensions/VisualEditor/demo/es.js

Modified: trunk/extensions/VisualEditor/demo/es.js
===================================================================
--- trunk/extensions/VisualEditor/demo/es.js    2011-11-17 19:19:02 UTC (rev 
103496)
+++ trunk/extensions/VisualEditor/demo/es.js    2011-11-17 19:22:11 UTC (rev 
103497)
@@ -3,6 +3,106 @@
                'type': 'document',
                'children': [
                        {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Barack Hussein Obama II 
(born August 4 1961) is the 44th and current president of the United States of 
America. Obama won the 2008 United States presidential election on November 4. 
He became the first African-American president when he was inaugurated on 
January 20, 2009.' }
+                       },
+                       {
+                               'type': 'heading',
+                               'attributes': { 'level': 2 },
+                               'content': { 'text': 'Before becoming 
president' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Obama was born in 
Honolulu, Hawaii. His father was a black foreign student from Kenya and his 
mother was a white woman from Kansas. He spent most of his childhood there, 
although he lived in Indonesia with his mother and stepfather from age 6 to age 
10. He moved back to Hawaii after that to live with his grandparents. He 
started college at Occidental College in Los Angeles, and graduated from 
Columbia University in New York City. After taking time off to community 
organize, Obama went to law school at Harvard University. After law school, 
Obama worked for a law firm. The law firm sued companies who fired people, and 
sued the government claiming that some black people were prevented from 
voting.' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Later, Obama worked for 
Alice Palmer, an Illinois state senator. She ran for U.S. Congress. While doing 
so, Obama became interested in her Illinois state senate seat. Later, Alice 
Palmer tried to run for that state senate seat, but Obama got her name taken 
off the ballot because she had not met the rules for the election. Because of 
this, he ran unopposed (without anybody else running against him) in the 
election. He ran for election and became an Illinois state senator. He was 
state senator from 1997 to 2004.' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'While he was Illinois 
state senator, he was known for writing a law that required police to keep 
records on the race of people they stopped. The law that he wrote also forced 
police to videotape when they talked to people they suspect of murder. He also 
taught law part time at the University of Chicago Law School.' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Obama later ran for the 
U.S. Senate. While running for Senate, John Kerry asked him to speak at the 
Democratic National Convention. Most people had never heard of Obama, but many 
people saw him speak on television and he became well known after that.' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Obama won the 
presidential election of 2008. He was a U.S. Senator from 2005 to 2008.' }
+                       },
+                       {
+                               'type': 'heading',
+                               'attributes': { 'level': 2 },
+                               'content': { 'text': 'Presidential campaign' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Barack Obama\'s 
presidential campaign for the White House started in early June 2008 when he 
defeated Hillary Clinton in the 2008 Democratic primaries. Hillary Clinton was 
favored to win but Obama won many smaller state caucuses (local party 
elections) by having a lot of volunteers. He decided not to accept government 
money for his campaign so that he could accept more money from people. He 
raised the most amount of money ever for a presidential campaign.' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Obama\'s campaign theme 
was that he was a man of hope and change. He was also against the war in Iraq. 
He was in favor of giving money to American car companies. He was in favor of 
sending more troops to Afghanistan.' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'During the campaign, some 
people said that Obama\'s friends included a Tony Rezko, a landlord, and former 
member of the Weather Underground, Bill Ayers but Obama said that they were not 
his friends. Obama also had trouble when his minister at church, Jeremiah 
Wright, was videotaped criticizing America. During the campaign, Obama said 
that his opponent, Republican candidate John McCain, was just like George W. 
Bush, something that John McCain said was not true.' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'He defeated McCain in the 
election on November 4 by a wide electoral majority of 365 to 173, meaning that 
he won the most votes in enough states to send 365 people to officially elect 
him. The popular vote (based on the total number of votes across the country) 
was closer, with Obama winning 53%, McCain 46%.' }
+                       },
+                       {
+                               'type': 'heading',
+                               'attributes': { 'level': 2 },
+                               'content': { 'text': 'Family' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Obama has been married to 
Michelle Obama since 1992. She has a Bachelor of Arts degree from Princeton 
University and also a Juris Doctor degree from Harvard Law School. She worked 
as a lawyer. They have two daughters, Malia Ann who was born in 1998 and 
Natasha ("Sasha"), born in 2001. They lived in Chicago, but moved into the 
White House on January 20, 2009.' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Obama promised his 
daughters that the family would get a dog if he was elected President. In April 
2009, Senator Ted Kennedy, who once tried to run for President, gave Obama one 
of his dogs, a Portuguese water dog named Bo.' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Obama has a half sister 
who is a teacher in Hawaii. His father died from a car accident in Africa. His 
mother died of cancer. His grandmother died just before Obama won the election 
to become President.' }
+                       },
+                       {
+                               'type': 'heading',
+                               'attributes': { 'level': 2 },
+                               'content': { 'text': 'Presidency' }
+                       },
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Obama became President of 
the United States on January 20, 2009.' }
+                       },                      
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'When Obama became 
President, the United States was battling a tough recession. He asked Congress 
to spend an extra $787 billion ($787,000,000,000) to try to end the recession. 
He called the plan the stimulus bill. The stimulus bill funded many road 
projects, gave money to schools, gave tax credits to many Americans, and funded 
many science and research projects.' }
+                       },                      
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Obama continued the 
financial bailout that George W. Bush started, giving billions of dollars to 
car companies and banks so that they will not go bankrupt. He signed an act 
written by Barney Frank and Chris Dodd which would regulate Wall Street (the 
financial industry) to try to prevent another recession like this from 
happening again.' }
+                       },                      
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Obama signed the Patient 
Protection and Affordable Care Act which would bring health care reform to the 
United States, which he said would change the system so that more people can 
afford health care.' }
+                       },                      
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'In foreign policy, Obama 
made a plan to slowly withdraw troops from Iraq, ending the War In Iraq by the 
end of 2011, while adding more troops to Afghanistan to help the United States 
win the War In Afghanistan. He also decided that the USA should help in the war 
against Libya. He has said several times that he wants to improve U.S. 
relations with the Muslim world.' }
+                       },                      
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Obama received the 2009 
Nobel Peace Prize on October 9, 2009. He noted that his efforts were humble, 
but he donated the prize money to several charities.' }
+                       },                      
+                       {
+                               'type': 'paragraph',
+                               'content': { 'text': 'Although his popularity 
was very high (around 70% approval) when he entered office, his approval 
ratings fell to 45% percent during the year of 2010. He has received a lot of 
criticism from Republicans, conservatives, libertarians, and members of the Tea 
Party because they believe that, under the Obama Administration, the federal 
government is becoming too big and spending too much money and that his 
programs are not the best for the country.' }
+                       },                      
+                       {
                                'type': 'pre',
                                'content': { 'text': 'A lot of text goes 
here... and at some point it wraps.. A lot of text goes here... and at some 
point it wraps.. A lot of text goes here... and at some point it wraps.. A lot 
of text goes here... and at some point it wraps.. A lot of text goes here... 
and at some point it wraps..' }
                        },


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to