Wikipedia:WikiProject JavaScript

"WP:JS" redirects here. To skip straight to user scripts, see Wikipedia:User scripts.

Welcome to the mesopedic WikiProject JavaScript. If you would like to use or write user scripts, or learn or write JavaScript, or about JavaScript, for the betterment of Wikipedia (and beyond), including improving the coverage of JavaScript-related topics and support pages, you've come to the right place.

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. If you would like to get involved, add your name here.

To get a bird's eye view of what Wikipedia has about JavaScript, see Draft:Outline of JavaScript (please work on it) and Index of JavaScript-related articles. If you are likewise interested in scripts, see the Outline of scripts.

Scope of this WikiProjectEdit

This WikiProject is mesopedic, meaning that it operates on articles in the encyclopedia and on pages in project space. Basically, we create and maintain articles related to JavaScript, and do the same for every page in the Wikipedia community about using and creating user scripts on Wikipedia. Some members actively build upon the collection of user scripts itself.

Scope in article space: JavaScriptEdit

All articles about JavaScript or the JavaScript ecosystem. They are in the process of being listed on the following pages (please help find and add them in):

Scope in project space: User scripts!Edit

For further information, see: Outline of scripts

Anything and everything about user scripts, including but not limited to:


This project has three main goals:

  1. Improve Wikipedia's coverage on the programming language JavaScript
  2. Organize and support use and development of user scripts
  3. Help each other learn the JavaScript language and write user scripts

Improve coverage of JavaScript topics in the encyclopediaEdit

Toward this end, this WikiProject identifies, gathers, and rates all articles about JavaScript. It also identifies, gathers, and creates redirects to all article sections about JavaScript (for example, the links Comment (JavaScript) and Comments in JavaScript redirect to Comment (computer programming)#JavaScript). In addition, we identify gaps in JavaScript coverage, and plan coverage for missing topics by maintaining a list of needed articles and article sections.

To "gather" an article about JavaScript, add it to the Index of JavaScript-related articles.

Organize and support use and development of user scriptsEdit

  • Outline of scripts – directory of everything about user scripts in the Wikipedia community, including lists of scripts, using them, writing them, and other resources.
  • Collaboration efforts are coordinated on this WikiProject's talk page.

Support the development of user scriptsEdit

This goal entails identifying and listing all user scripts and pages about user scripts, as well as developing support pages for writing and maintaining user scripts. They should all be easily findable, starting from the Outline of scripts.

Help each other learn and write JavaScriptEdit

Do you know JavaScript? No? Doesn't matter. Because with all the resources (knowledge and JavaScript programs) that we have at Wikipedia, we can learn it and improve our skills together.

Looking for help with scripts?Edit

If you are writing scripts and are stuck, post a message explaining your problem on Wikipedia talk:WikiProject JavaScript (this project's talk page). In addition to posting a discussion thread there, you may also wish to post a link (to your discussion thread), on the following pages:

  • WP:VPT – Village Pump Technical, where many of WP's technical gurus and geniuses hang out. There's a fair amount of JavaScript experience there.
  • WP:RD/C – the computing reference desk.

If you don't know how to program in JavaScript but need a user script (or gadget) to do a particular thing, you can post your ideas and requests at the following page:

Mapping out the subjectEdit

Mapping the subject means identifying and organizing its topics.

That entails building reference pages with topic links: the 3 main types of pages on Wikipedia for mapping out a subject are Outlines, Glossaries, and Indices.

By mapping out the subject, we can easily see the gaps in coverage because links that don't lead anywhere turn red.

As they grow more comprehensive, they become powerful tools for navigating and monitoring the subject.

Your help is needed in building Wikipedia's subject maps on JavaScript...

Glossary of JavaScriptEdit

Glossary of JavaScript

Outline of JavaScriptEdit

One of our main resources is Draft:Outline of JavaScript (please work on it).

It is being built into a comprehenisve list of all articles or article sections about JavaScript on Wikipedia. Once it is completed, it will serve as a map of the entire subject's coverage. A JavaScript-experienced editor will be able to spot gaps in that coverage. And the list will also allow monitoring of all JavaScript-related pages.

Among the uses of an outline are as a composition and revision tool. As a topic tree, the outline can be used to plan and improve the structure of the subject, from filling gaps to deciding what topics should be covered in what articles, to spotting redundant articles, to choosing the best names for the branches and leaves of the subject.

The descriptive annotations are included to aid in topic selection, but they also make the outline a de facto classified glossary (not to be confused with the "Glossary of" pages, which are of the alphabetical sort). Therefore, using and working on the outline naturally improve one's vocabulary and fluency in the subject. (Comment from the Transhumanist: "Names are much more useful when you know what they belong to, and things are far more visible once you know their names. When I built the Outline of chess, my game improved from winning 50% of the time to winning 80% of the time. Once I knew the tactics by name, I could see them coming a mile away.").

To monitor all JavaScript-related pagesEdit

Go to Draft:Outline of JavaScript (please work on it), and click on "Related changes" in the tool menu in the sidebar. A list will appear of all the changes over the past few days made to any of the articles linked to from that page.

Index of JavaScript-related articlesEdit

Index of JavaScript-related articles is an alphabetical list of all articles in the encyclopedia about JavaScript or any part of the JavaScript ecosystem.

Editing adviceEdit

Formatting JavaScript codeEdit

In the editor, precede your JavaScript code with this:

<syntaxhighlight lang="javascript">

and follow it with this:


and it will turn out looking something like this:

// Here is the regular expression for matching the scoop target (to "scoop up" the redlinked entry with direct (non-piped) link, plus the whole next line)
var nodeScoop2 = new RegExp('\\n((\\*)+)[ ]*?\\[\\[\\s*'+(RegExp.quote(redlinks[i]))+'\\s*\\]\\].*?\\n(.*?\\n)','i');
// To actualize the search string above, we create a variable with method:
var matchString2 = wpTextbox1.value.match(nodeScoop2);
alert(matchString2); // for testing

// Declare match patterns
var patt1 = new RegExp(":");
var patt2 = new RegExp(" – ");
var patt3 = /$1\*/;

Reference libraryEdit

We are building a list of web resources on JavaScript at WP:JSRL, to help editors find useful links to add to articles, and to provide reliable sources on JavaScript. Feel free to add to it.

Open tasksEdit

Needed articlesEdit

Programming styles in JavaScriptEdit

Core JavaScript featuresEdit


Articles that need attentionEdit


If you would like to join this WikiProject for developing user scripts and Wikipedia's JavaScript-related pages, please add your username here:

  1. Avbgok (talk · contribs)
  2. CAPTAIN MEDUSA (talk · contribs)
  3. CentralTime301 (talk · contribs)
  4. Chlod (talk · contribs)
  5. DannyS712 (talk · contribs)
  6. Darcourse (talk · contribs)
  7. Dreamy Jazz (talk · contribs)
  8. Eizzen (talk · contribs)
  9. E Super Maker (talk · contribs)
  10. Evad37 (talk · contribs)
  11. Gryllida (talk · contribs)
  12. Guywan (talk · contribs)
  13. Htmlghozt (talk · contribs)
  14. Krinkle (talk · contribs)
  15. Lingzhi2 (talk · contribs) Wrote User:Lingzhi/reviewsourcecheck, now dunno what else to do.
  16. Llightex (talk · contribs)
  17. Lu Brito (talk · contribs)
  18. Luístro (talk · contribs)
  19. Mavaddat (talk · contribs)
  20. Modded (talk · contribs)
  21. Newslinger (talk · contribs)
  22. penguinmlle (talk · contribs)
  23. Pythoncoder (talk · contribs)—Mostly for the user scripts end.
  24. SewerCat (talk · contribs)
  25. The Transhumanist (talk · contribs)


All JavaScript-related articles should be listed in the Index of JavaScript-related articles. If you find any that are not, please add them to that list.

All JavaScript-related articles should also be listed either in the Draft:Outline of JavaScript (please work on it), or in one of the lists listed in that outline. If you find any that are not, please add them.

Featured contentEdit


New articlesEdit

Please feel free to list your new JavaScript-related articles here (newer articles at the top, please). Any new articles that have an interesting or unusual fact in them, are at least over 1,500 characters, don't have any dispute templates on them, and cite their sources, should be suggested for the Did you know? box on the Wikipedia Main Page.

Review and assessmentEdit


Content assessment
To display all subcategories click on the "►":
To display all subcategories click on the "►":

Quality operationsEdit

Quality operations: A bot-generated detail log for Javascript articles.

Peer reviewEdit

Peer review


JavaScript-related categoriesEdit

JavaScript articlesEdit

To display all subcategories click on the "►":
JavaScript(10 C, 48 P)
JavaScript engines(13 P)
Adaptive Web Design(6 P)
Ajax (programming)(1 C, 74 P)
JSON(1 C, 27 P)
JavaScript libraries(2 C, 120 P)

WikiProject categoriesEdit

To display all subcategories click on the "►":

JavaScript programmersEdit

The following categories contain Wikipedians that identify as JavaScript programmers.