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 Index of JavaScript-related articles. If you are likewise interested in scripts, see the 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. Some members actively build upon the collection of user scripts itself.

Scope in article space: JavaScript

edit

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

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
  • 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 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. They should all be easily findable, starting from the Outline of 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.

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 subject

edit

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 JavaScript

edit

Glossary of JavaScript

Outline of JavaScript

edit

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.").

edit

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 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)
const 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:
const matchString2 = wpTextbox1.value.match(nodeScoop2);
alert(matchString2); // for testing

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

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

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. Alexander Davronov (talk · contribs) — Only occasional help. Wrote User:Alexander Davronov/HistoryHelper. Ping me if you get involved into JS related discussions.
  2. AltoStev (talk · contribs)
  3. Avbgok (talk · contribs)
  4. Chlod (talk · contribs)
  5. Crfmc (talk · contribs)
  6. DannyS712 (talk · contribs)
  7. Darcourse (talk · contribs)
  8. Darkdeath-2 (talk · contribs)
  9. Dayirmiter (talk · contribs)
  10. DevSpenpai (talk · contribs)
  11. Dreamy Jazz (talk · contribs)
  12. Ed6767 (talk · contribs) - developer of WP:REDWARN
  13. Eizzen (talk · contribs)
  14. Evad37 (talk · contribs)
  15. Gryllida (talk · contribs)
  16. Guywan (talk · contribs)
  17. Htmlghozt (talk · contribs)
  18. Itcouldbepossible (talk · contribs)
  19. KoolKidz112 (talk · contribs)
  20. Krinkle (talk · contribs)
  21. Lingzhi2 (talk · contribs) Wrote User:Lingzhi/reviewsourcecheck, now dunno what else to do.
  22. Llightex (talk · contribs)
  23. Lu Brito (talk · contribs)
  24. Luístro (talk · contribs)
  25. Masssly (talk · contribs)
  26. Mavaddat (talk · contribs)
  27. MaverickQuill55 (talk · contribs)
  28. Modded (talk · contribs)
  29. Ndeofm (talk · contribs)
  30. Newslinger (talk · contribs)
  31. Novem Linguae (talk · contribs)
  32. Openingthedev (talk · contribs)
  33. PipPenrod (talk · contribs)
  34. Patient Zero (talk · contribs)
  35. Pythoncoder (talk · contribs)—Mostly for the user scripts end.
  36. SewerCat (talk · contribs)
  37. SkyWolf369 (talk · contribs)
  38. Sportzpikachu (talk · contribs)
  39. SikiWtideI (talk · contribs)
  40. The Transhumanist (talk · contribs)
  41. TriosLosDios (talk · contribs)
  42. cyberwolf434344 (talk · contribs)
  43. Vghfr (talk · contribs)
  44. Hiima1234134 (talk · contribs)
  45. Brunnock (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 add them to that list.

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
Content assessment
To display all subcategories click on the "►":
To display all subcategories click on the "►":

Quality operations

edit

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

Peer review

edit
Peer review

Statistics

edit
edit

JavaScript articles

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

WikiProject categories

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

JavaScript programmers

edit

The following categories contain Wikipedians that identify as JavaScript programmers.

Templates

edit
  NODES
admin 2
chat 1
COMMUNITY 2
Idea 2
idea 2
INTERN 1
Note 4
Project 37
USERS 1