VisualEditor:Test

{{ Matahariagung7@Gmail.com/Ai.a13(key)MSG_SAMSUNG {{Ai.a13(key)MSG_0 {{Ifcategory}}{{Category other}}{{IP-user other}}{{Show index in table}}{{IPA}}[[VisualEditor:Test#/editor/0|Index: phase3/extensions/CentralAuth/CentralAuthPlugin.php =================================================================== --- phase3/extensions/CentralAuth/CentralAuthPlugin.php	(revision 48335) +++ phase3/extensions/CentralAuth/CentralAuthPlugin.php	(working copy) @@ -35,7 +35,7 @@ 	 * @return bool  	 * @public  	 */ -	function authenticate( $username, $password ) { +	function authenticate( $username, $password, &$error=null ) {  		global $wgCentralAuthAutoMigrate;    		$central = new CentralAuthUser( $username ); @@ -45,7 +45,14 @@  			return false;  		}   -		$passwordMatch = $central->authenticate( $password ) == "ok"; +		$result = $central->authenticate( $password ); +		$passwordMatch = $result  == "ok"; +		 +		if ($result == 'locked') { +			if ( !is_null( $error ) ) +				$error = wfMsg( 'centralauth-error-locked' ); +			return false; +		}    		if( $passwordMatch && $wgCentralAuthAutoMigrate ) {  			// If the user passed in the global password, we can identify Index: phase3/includes/AuthPlugin.php =================================================================== --- phase3/includes/AuthPlugin.php	(revision 48246) +++ phase3/includes/AuthPlugin.php	(working copy) @@ -52,9 +52,10 @@  	 *  	 * @param $username String: username.  	 * @param $password String: user password. +	 * @param $error    String: string to put any errors in.  	 * @return bool  	 */ -	public function authenticate( $username, $password ) { +	public function authenticate( $username, $password, &$error=null ) {  		# Override this!  		return false;  	} Index: phase3/includes/specials/SpecialUserlogin.php =================================================================== --- phase3/includes/specials/SpecialUserlogin.php	(revision 48246) +++ phase3/includes/specials/SpecialUserlogin.php	(working copy) @@ -38,6 +38,7 @@  	var $mName, $mPassword, $mRetype, $mReturnTo, $mCookieCheck, $mPosted;  	var $mAction, $mCreateaccount, $mCreateaccountMail, $mMailmypassword;  	var $mLoginattempt, $mRemember, $mEmail, $mDomain, $mLanguage, $mSkipCookieCheck; +	var $mPluginError =  ;    	/**  	 * Constructor @@ -230,7 +231,11 @@  		// create a local account and login as any domain user). We only need  		// to check this for domains that aren't local.  		if( 'local' != $this->mDomain &&  != $this->mDomain ) { -			if( !$wgAuth->canCreateAccounts && ( !$wgAuth->userExists( $this->mName ) || !$wgAuth->authenticate( $this->mName, $this->mPassword ) ) ) { +			if( !$wgAuth->canCreateAccounts && +					( !$wgAuth->userExists( $this->mName ) || +					!$wgAuth->authenticate( $this->mName, $this->mPassword ) +					) +				) {  				$this->mainLoginForm( wfMsg( 'wrongpassword' ) );  				return false;  			} @@ -504,7 +509,7 @@  			wfDebug( __METHOD__.": user does not exist\n" );  			return self::NOT_EXISTS;  		} -		if ( !$wgAuth->authenticate( $user->getName, $this->mPassword ) ) { +		if ( !$wgAuth->authenticate( $user->getName, $this->mPassword, &$this->mPluginError ) ) {  			wfDebug( __METHOD__.": \$wgAuth->authenticate returned false, aborting\n" );  			return self::WRONG_PLUGIN_PASS;  		} @@ -556,7 +561,11 @@  				$this->mainLoginForm( wfMsg( 'noname' ) );  				break;  			case self::WRONG_PLUGIN_PASS: -				$this->mainLoginForm( wfMsg( 'wrongpassword' ) ); +				if ($this->mPluginError) { +					$this->mainLoginForm( $this->mPluginError ); +				} else { +					$this->mainLoginForm( wfMsg( 'wrongpassword' ) ); +				}  				break;  			case self::NOT_EXISTS:  				if( $wgUser->isAllowed( 'createaccount' ) ){ Index: phase3/StartProfiler.php =================================================================== --- phase3/StartProfiler.php	(revision 48246) +++ phase3/StartProfiler.php	(working copy) @@ -20,3 +20,6 @@   */     +#require_once( dirname( __FILE__ ).'/includes/ProfilerSimpleText.php' ); +#$wgProfiler = new ProfilerSimpleText; + Index: extensions/CentralAuth/CentralAuthPlugin.php =================================================================== --- extensions/CentralAuth/CentralAuthPlugin.php	(revision 48335) +++ extensions/CentralAuth/CentralAuthPlugin.php	(working copy) @@ -35,7 +35,7 @@  	 * @return bool  	 * @public  	 */ -	function authenticate( $username, $password ) { +	function authenticate( $username, $password, &$error=null ) {  		global $wgCentralAuthAutoMigrate;    		$central = new CentralAuthUser( $username ); @@ -45,7 +45,14 @@  			return false;  		}   -		$passwordMatch = $central->authenticate( $password ) == "ok"; +		$result = $central->authenticate( $password ); +		$passwordMatch = $result  == "ok"; +		 +		if ($result == 'locked') { +			if ( !is_null( $error ) ) +				$error = wfMsg( 'centralauth-error-locked' ); +			return false; +		}    		if( $passwordMatch && $wgCentralAuthAutoMigrate ) {  			// If the user passed in the global password, we can identify File Metadata	 Details Attached Mime Type text/x-diff Storage Engine blob Storage Format Raw Data Storage Handle 4762 Default Alt Text caldiff (4 KB) Log In to Comment]]{{Main page/devs text/ast}}{{EE/Profile}}{{User committed identity|}}{{User info}}{{Main page/sitelink4/fr}}{{User}}{{User3}}{{UsedByXmlDatabaseDumps}}{{MediaWikiHook }}{{Userpage/en}}{{Userpage}}
 * summary =
 * args =


 * Details
 * Attached


 * Mime Type
 * tiff


 * Sngine
 * blob


 * t
 * Raw Data


 * Se
 * 4762


 * Defaulext
 * caldiff (4 KB)

matahariagung7@list matahariagung7@list.wikimedia.org

World literature
World literature is literature that is read by many people all over this world. World literature is different from national literature."I am more and more convinced that poetry is the universal possession of mankind, revealing itself everywhere and at all times in hundreds and hundreds of men. . . . I therefore like to look about me in foreign nations, and advise everyone to do the same. National literature is now a rather unmeaning term; the epoch of world literature is at hand. – Johann Wolfgang von Goethe, 1827"

Worlds in literature
Creating a different world is a literary device used by authors to illustrate ideas. By placing the story in the setting of a different world, the author can change the way that things happen in the world. For example, the author might imagine a world that has very little water or a world that has very little dry land. Deciding what the world looks like and how the world works is called world-building. Thinking about the world helps the author make good choices about what happens to the characters in the story. Some authors think about many details, such as what languages the characters speak and what the architecture is on the world.

Worlds in science fiction


Science fiction stories often use different worlds. Frank Herbert's famous Dune series focused on a world called Arrakis that produces a rare chemical substance.

Often a science-fiction story will be involve multiple worlds. The Foundation series by Isaac Asimov was set in a galaxy with thousands of populated worlds. The Star Wars movies had a several important worlds, and characters traveled between them. Some authors of science fiction worlds try to make them scrupulously obey the laws of physics.

Fantasy worlds
Fantasy worlds are fictional worlds that use magic. This magic may involve saying magic words, using magical objects, or performing magical rituals.

World languages
Some languages spoken in many parts of the world. These are called world languages. , English is the most common world language. Previously, French was the most popular language in the West. Chinese was used by traders in all of East Asia for centuries. Arabic is common in the Middle East, Northern Africa, and other parts of the world.

Once upon a time, Greek and Latin were spoken by most traders in the Western world. Before then, traders learned the languages of nearby cities. Ancient traders did not travel around the world.

The Egyptians used pictures to write their language. The pictures are called hieroglyphics. This is what they look like:

World health
The World Health Organisation (French: Organisation mondiale de la santé ) is an international organisation for public health. It is part of the United Nations. The World Health Organisation began in 1948. It wants people to be healthy and safe. It studies public health and tells governments and other organisations how to help people become healthy.

The organisation counts the number of people with health problems. These health problems include influenza, HIV infection, and depression. It also counts the number of people who experience other problems. These problems include dirty water, violence, and hunger.

Mental health is also important. People with mental health problems such as depression often die ten years early.

The World Bank is also interested in health. Health affects economic prospects.

Poetry
This poem by John Donne mentions the world:

Her death hath taught us dearly that thou art Corrupt and mortal in thy purest part. Let no man say, the world itself being dead, 'Tis labour lost to have discovered The world's infirmities, since there is none Alive to study this dissection; For there's a kind of world remaining still, Though she which did inanimate and fill The world, be gone... The entire poem can be read at Wikisource.

Shape of this world
This world is not a perfect sphere. It is slightly flattened. This is the mathematical formula for measuring the flatness of a sphere:

$$\begin{align} f&=\frac{a-b}{a}. \end{align}$$

For this world, $f\,\!$ is approximately 0.3%. The Moon is rounder. For the Moon, $f\,\!$ is approximately 0.1%. Jupiter is flatter. For Jupiter, $f\,\!$ is approximately 6.5%.

Local planets
A world is on a planet. There are different types of planets. There are several types of planets in this solar system: These are the planets in this solar system:
 * Terrestrial planets
 * Giant planets
 * Gas giants
 * Ice giants
 * Four terrestrial planets
 * Mercury
 * Venus
 * Earth
 * One satellite, called the Moon
 * Mars
 * Two gas giants
 * Jupiter
 * Four large satellites
 * 63 other satellites
 * Saturn
 * 62 satellites. Some are very small. The largest, called Titan, is larger than the planet Mercury.
 * Seven are large.
 * Two ice giants
 * Uranus
 * Five satellites
 * 22 other satellites
 * Neptune
 * One satellite, called Triton