From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.

/*!

 * FastButtons

 *

 * @author [[es:User:Racso]] (versão original do script, na Wikipédia em espanhol)

 * @author [[en:User:Macy]] (versão adaptada para a Wikipédia inglesa)

 * @author [[pt:User:Danilo.mac]]

 * @author Helder (https://github.com/he7d3r)

 * @author [[pt:User:!Silent]]

 * @source [[en:User:Macy/FastButtons.js]] ([[en:Special:PermaLink/230473471]])

 * @source [[es:Special:PrefixIndex/User:Racso/FB]]

 * @see [[MediaWiki:Gadget-fastbuttons.js/buttonsList.js]]

 * @see [[MediaWiki:Gadget-fastbuttons.js/core.js]]

 * @help [[WP:Scripts/FastButtons]]

 */

/* global mediaWiki, jQuery */



( function ( mw, $, window ) {

'use strict';



mw.messages.set( {

	'fastb-portletButton-title': 'Exibe/Esconde os botões do FastButtons'

} );



var portletLink = mw.util.addPortletLink(

	'p-cactions',

	null,

	'FastButtons',

	'ca-fastbHideButton',

	mw.message( 'fastb-portletButton-title' )

);



try {

	if ( localStorage.getItem( 'fastb-hidden' ) === 'true' ) {

		$( portletLink ).click( function( e ) {

			localStorage.setItem( 'fastb-hidden', false );

			mw.loader.load( 'ext.gadget.fastButtonsCore' );

		} );

	} else {

		mw.loader.load( 'ext.gadget.fastButtonsCore' );

	}

} catch ( e ) {

	mw.loader.load( 'ext.gadget.fastButtonsCore' );

	// [[phab:T66721]]?

}



}( mediaWiki, jQuery, window ) );



// [[Categoria:!Código-fonte de scripts|FastButtons]]
From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.

/*!

 * FastButtons

 *

 * @author [[es:User:Racso]] (versão original do script, na Wikipédia em espanhol)

 * @author [[en:User:Macy]] (versão adaptada para a Wikipédia inglesa)

 * @author [[pt:User:Danilo.mac]]

 * @author Helder (https://github.com/he7d3r)

 * @author [[pt:User:!Silent]]

 * @source [[en:User:Macy/FastButtons.js]] ([[en:Special:PermaLink/230473471]])

 * @source [[es:Special:PrefixIndex/User:Racso/FB]]

 * @see [[MediaWiki:Gadget-fastbuttons.js/buttonsList.js]]

 * @see [[MediaWiki:Gadget-fastbuttons.js/core.js]]

 * @help [[WP:Scripts/FastButtons]]

 */

/* global mediaWiki, jQuery */



( function ( mw, $, window ) {

'use strict';



mw.messages.set( {

	'fastb-portletButton-title': 'Exibe/Esconde os botões do FastButtons'

} );



var portletLink = mw.util.addPortletLink(

	'p-cactions',

	null,

	'FastButtons',

	'ca-fastbHideButton',

	mw.message( 'fastb-portletButton-title' )

);



try {

	if ( localStorage.getItem( 'fastb-hidden' ) === 'true' ) {

		$( portletLink ).click( function( e ) {

			localStorage.setItem( 'fastb-hidden', false );

			mw.loader.load( 'ext.gadget.fastButtonsCore' );

		} );

	} else {

		mw.loader.load( 'ext.gadget.fastButtonsCore' );

	}

} catch ( e ) {

	mw.loader.load( 'ext.gadget.fastButtonsCore' );

	// [[phab:T66721]]?

}



}( mediaWiki, jQuery, window ) );



// [[Categoria:!Código-fonte de scripts|FastButtons]]

Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook