Jump to content

Template:JavaScript/ja: Difference between revisions

From mediawiki.org
Content deleted Content added
FuzzyBot (talk | contribs)
Updating to match new version of source page
FuzzyBot (talk | contribs)
Updating to match new version of source page
Line 17: Line 17:


'''Adding JS on-wiki'''
'''Adding JS on-wiki'''
: {{ll|Manual:Interface/JavaScript|Interface}} (user-specific, [[SpecialMyLanguage/Manual:User group CSS and JavaScript|group-specific]] and site-wide)
: {{ll|Manual:Interface/JavaScript|Interface}} (user-specific, [[Special:MyLanguage/Manual:User group CSS and JavaScript|group-specific]] and site-wide)
: {{ll|ContentHandler}} facility for supporting js as page content
: {{ll|ContentHandler}} facility for supporting js as page content
: {{ll|Category:Snippets with JavaScript|Snippets}}
: {{ll|Category:Snippets with JavaScript|Snippets}}

Revision as of 04:11, 28 March 2020

MediaWiki および JavaScript

JavaScript

Delivery

ResourceLoader : delivery system for optimized loading and managing of modules
Core modules, including jQuery and OOjs
API client code

Adding JS on-wiki

Interface (user-specific, group-specific and site-wide)
ContentHandler facility for supporting js as page content
Snippets
Extensions that allow you to add js
Extension:Gadgets, Extension:Widgets

Extensions, skins and other modules

ResourceLoader modules
Developing with ResourceLoader
$wgResourceModules , BeforePageDisplay hook
OOUI
Ajax and Ajax extensions

Further guidance

Category for all things JavaScript
Learning JavaScript
CORS
Broken scripts
Core development: coding conventions and unit testing
Technical docs on doc.wikimedia.org

このボックス: 閲覧 · トーク · 編集