Search results
Results from the WOW.Com Content Network
However, if your code works with the content part of the page (the #mw-content-text element), you should use the 'wikipage.content' hook instead. This way your code will successfully reprocess the page when it is updated asynchronously and the hook is fired again. There are plenty of tools that do so, ranging from edit preview to watchlist ...
This statistics -related article is a stub. You can help Wikipedia by expanding it.
Don't copy JavaScript or any other code from an unprotected page, since someone may have tampered with it. Figure 21-2. The script at the page Wikipedia:WikiProject User scripts/Scripts/User tabs has three full lines of comment (two at the top, one at the bottom); these have two slashes at the beginning. The actual code that will be executed is ...
Google JavaScript Style Guide – Google’s coding standards for source code in JavaScript; Human JavaScript – "tools, patterns, and approaches optimized for people" JavaScript Garden – collection of tips and documentation on JavaScript's quirks; JavaScript Guide – programmer's manual, from the Mozilla Developer Network
This is a central resource depot and organization hub for everything having to do with JavaScript on Wikipedia, including user scripts. This WikiProject provides a place for editors to share knowledge and ideas (on the talk page) about JavaScript, improve their JavaScript programming skills, and collaborate (get help) in developing user scripts.
Where BAR NAME is one of the following strings: 'p-cactions' - the tabs at the top of the page (with the article, discussion, edit, history, move, and watch links) 'p-personal' - the personal toolbar (i.e. the one at the top, with a link to user page, user talk, prefs, watchlist, contribs, log out)
First, make sure you are registered and logged in.Only logged-in users can install user scripts. to edit your common.js file.; Add the following line: {{subst:Lusc|script_path}} – replace "script_path" with the full name of the .js page that opens when a script's "(source)" link is clicked.
It asks that other editors not edit for a while; the Wikipedia page on edit lock recommends using this template for no more than three hours. In practice, use of this template is very, very rare. Wikipedia etiquette says you should never use it with a popular article (one that gets a lot of edits) or an article involving a breaking news story.