Wikipedia:WikiProject JavaScript

From Wikipedia, the free encyclopedia
Jump to: navigation, search


Welcome to the mesopedic WikiProject JavaScript. If you would like to use, learn, or write JavaScript, or about JavaScript, for the betterment of Wikipedia (and beyond), including scripts and the improvement of 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, please add yourself as a participant in this project, below.

To get a bird's eye view of what Wikipedia has about JavaScript, see Draft:Outline of JavaScript and Index of JavaScript-related articles. If you are likewise interested in scripts, see User:The Transhumanist/Outline of scripts.

Scope of this WikiProject[edit]

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.

Scope in article space: JavaScript[edit]

All articles about JavaScript. 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]

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

Goals[edit]

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 encyclopedia[edit]

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 scripts[edit]

  • Collaboration efforts are coordinated on this WikiProject's talk page.

Support the development of user scripts[edit]

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.

Help each other learn and write JavaScript[edit]

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.
  • Wikipedia:User scripts/Requests

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:

Tools[edit]

Draft:Outline of JavaScript[edit]

One of our main tools is Draft:Outline of JavaScript.   How is this a tool?

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 pages[edit]

Go to Draft:Outline of JavaScript, 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.

Editing advice[edit]

Formatting JavaScript code[edit]

In the editor, precede your JavaScript code with this:

<syntaxhighlight lang="javascript">

and follow it with this:

</syntaxhighlight>

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 library[edit]

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 tasks[edit]

Needed articles[edit]

Programming styles in JavaScript[edit]

Core JavaScript features[edit]

Misc[edit]

Articles that need attention[edit]

Participants[edit]

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

  1. The Transhumanist (talk · contribs)
  2. SewerCat (talk · contribs)
  3. Llightex (talk · contribs)
  4. Evad37 (talk · contribs)
  5. Eizzen (talk · contribs)

Articles[edit]

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

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

Featured content[edit]

Candidates[edit]

New articles[edit]

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 assessment[edit]

Assessment[edit]

Assessment
To display all subcategories click on the "►":
To display all subcategories click on the "►":

Peer review[edit]

Peer review

Statistics[edit]

JavaScript-related categories[edit]

JavaScript articles[edit]

To display all subcategories click on the "►":
JavaScript(11 C, 41 P)
JavaScript engines(11 P)
Adaptive Web Design(6 P)
Ajax (programming)(1 C, 80 P)
JSON(1 C, 22 P)
JavaScript libraries(2 C, 125 P)

WikiProject categories[edit]

To display all subcategories click on the "►":

JavaScript programmers[edit]

The following lists were generated on Quarry (May 5, 2017) with the following script: https://quarry.wmflabs.org/query/18396

Templates[edit]