Wikipedia:WikiProject JavaScript
- "WP:JS" redirects here. To skip straight to user scripts, see Wikipedia:User scripts.
This is a WikiProject, an area for focused collaboration among Wikipedians. New participants are welcome. To join, sign up here. |
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
editThis 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
editAll 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):
- Index of JavaScript-related articles – comprehensive alphabetical list of JavaScript articles.
- Glossary of JavaScript – terms and jargon about JavaScript, with descriptions
Scope in project space: User scripts!
editAnything and everything about user scripts, including but not limited to:
- Lists of user scripts
- The user scripts themselves
- User script documentation
- User script support pages
- Using scripts
- Writing user scripts
- Collaboration on developing user scripts - see the talk page
- JavaScript resources, such as the JS reference library (WP:JSRL)
Goals
editThis project has three main goals:
- Improve Wikipedia's coverage on the programming language JavaScript
- Organize and support use and development of user scripts
- Help each other learn the JavaScript language and write user scripts
Improve coverage of JavaScript topics in the encyclopedia
editToward 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
editThis 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
editDo 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?
editIf 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
editMapping 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
editOutline of JavaScript
editIt 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.").
Index of JavaScript-related articles
editIndex 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
editFormatting JavaScript code
editIn 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
editNeeded articles
editProgramming styles in JavaScript
edit- Event-driven programming in JavaScript
- Declarative programming in JavaScript
- Imperative programming in JavaScript
- Structured programming in JavaScript
Misc
editArticles that need attention
edit- Glossary of JavaScript
- Comparison of JavaScript-based source code editors – this table is out of date, with many entries missing (see Category:JavaScript-based HTML editors for some editors that are missing.)
- JavaScript_syntax see This is article is not about JavaScript syntax....
- Nicky Case
Participants
editIf you would like to join this WikiProject for developing user scripts and Wikipedia's JavaScript-related pages, please add your username here:
- Alexander Davronov (talk · contribs) — Only occasional help. Wrote User:Alexander Davronov/HistoryHelper. Ping me if you get involved into JS related discussions.
- AltoStev (talk · contribs)
- Avbgok (talk · contribs)
- Chlod (talk · contribs)
- Crfmc (talk · contribs)
- DannyS712 (talk · contribs)
- Darcourse (talk · contribs)
- Darkdeath-2 (talk · contribs)
- Dayirmiter (talk · contribs)
- DevSpenpai (talk · contribs)
- Dreamy Jazz (talk · contribs)
- Ed6767 (talk · contribs) - developer of WP:REDWARN
- Eizzen (talk · contribs)
- Evad37 (talk · contribs)
- Gryllida (talk · contribs)
- Guywan (talk · contribs)
- Htmlghozt (talk · contribs)
- Itcouldbepossible (talk · contribs)
- KoolKidz112 (talk · contribs)
- Krinkle (talk · contribs)
- Lingzhi2 (talk · contribs) Wrote User:Lingzhi/reviewsourcecheck, now dunno what else to do.
- Llightex (talk · contribs)
- Lu Brito (talk · contribs)
- Luístro (talk · contribs)
- Masssly (talk · contribs)
- Mavaddat (talk · contribs)
- MaverickQuill55 (talk · contribs)
- Modded (talk · contribs)
- Ndeofm (talk · contribs)
- Newslinger (talk · contribs)
- Novem Linguae (talk · contribs)
- Openingthedev (talk · contribs)
- PipPenrod (talk · contribs)
- Patient Zero (talk · contribs)
- Pythoncoder (talk · contribs)—Mostly for the user scripts end.
- SewerCat (talk · contribs)
- SkyWolf369 (talk · contribs)
- Sportzpikachu (talk · contribs)
- SikiWtideI (talk · contribs)
- The Transhumanist (talk · contribs)
- TriosLosDios (talk · contribs)
- cyberwolf434344 (talk · contribs)
- Vghfr (talk · contribs)
- Hiima1234134 (talk · contribs)
- Brunnock (talk · contribs)
Articles
editAll 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.
Featured content
editCandidates
editNew articles
editPlease 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
editAssessment
editJavaScript articles by quality and importance | |||||||
---|---|---|---|---|---|---|---|
Quality | Importance | ||||||
Top | High | Mid | Low | NA | ??? | Total | |
GA | 1 | 1 | |||||
B | 1 | 2 | 1 | 4 | 8 | ||
C | 3 | 1 | 12 | 58 | 3 | 77 | |
Start | 1 | 2 | 7 | 126 | 4 | 140 | |
Stub | 1 | 2 | 40 | 2 | 45 | ||
List | 1 | 5 | 6 | ||||
NA | 1 | 3 | 56 | 60 | |||
Assessed | 5 | 7 | 23 | 237 | 56 | 9 | 337 |
Total | 5 | 7 | 23 | 237 | 56 | 9 | 337 |
WikiWork factors (?) | ω = 1,304 | Ω = 4.81 |
To display all subcategories click on the "►": |
---|
To display all subcategories click on the "►": |
---|
A-Class JavaScript articles (empty) C-Class JavaScript articles (77 P) FA-Class JavaScript articles (empty) FL-Class JavaScript articles (empty) NA-Class JavaScript articles (59 P) Start-Class JavaScript articles (140 P) Unassessed JavaScript articles (empty) |
Quality operations
editQuality operations: A bot-generated detail log for Javascript articles.
Peer review
editStatistics
editJavaScript-related categories
editJavaScript articles
editTo display all subcategories click on the "►": |
---|
WikiProject categories
editTo display all subcategories click on the "►": |
---|
JavaScript programmers
editThe following categories contain Wikipedians that identify as JavaScript programmers.
Templates
edit- {{WikiProject JavaScript}} – project banner, for posting at the top of article talk pages
- {{JavaScript}} – navigation footer
- {{User WikiProject JavaScript}} – userbox