Gadget kitchen/pt-br: Difference between revisions

Content deleted Content added
Created page with "Os ''gadgets'' são criados e gerenciados por administradores de interface."
Created page with "Para completude:"
Line 11:
* A '''user script''' can be edited by the original author (if it is stored in the <code>User:</code> namespace) and by anyone with the "edituserjs" user-right (usually just interface administrators). The code is usually hosted on a sub page of [[Special:MyPage|your user page]]. Examples include: [[XTools/ArticleInfo.js]] and [[m:User:Hoo man/useful links.js]]. User scripts are similar to the [[Special:MyLanguage/Manual:Interface/JavaScript#Personal_scripts|personal JavaScript]] pages such as [[Special:MyPage/common.js]], but they allow single code chunks to be shared with other users.
* Um '''''gadget''''' é um ''script'' pessoal que foi "promovido" por um [[meta:Special:MyLanguage/Interface administrators|administrador de interface]], adicionando-o à página [[MediaWiki:Gadgets-definition]]. Usuários registrados podem ativar ''gadgets'' na aba [['Special:Preferences#mw-prefsection-gadgets|''"Gadgets"'']] de suas preferências de usuário. Os ''gadgets'' são criados e gerenciados por administradores de interface.
* ForPara completenesscompletude: There is also the '''siteJS''' located at [[MediaWiki:Common.js]]. The JavaScript in that file affects everyone and is executed automatically for both logged-out and logged-in users. Interface administrators can edit that page.
 
If you're running your own copy of MediaWiki, {{wg|AllowUserJs}} needs to be enabled for user scripts to work, and the {{ll|Extension:Gadgets||Gadgets}} extension needs to be installed to make it possible to promote individual scripts to gadget status.