Help:Extension:Translate/Getting started with development/ja

翻訳拡張機能を興味深く思っていただきありがとうございます. この文書の目的は、翻訳拡張機能の開発を簡単に始められる様にすることです.

翻訳拡張機能の開発にはJavaScript/jQueryとCSS/LESSの知識が必要です. タスクによってはMySQLの知識も必要になる場合があります.

コードを使いこなす
以下に紹介するページは、コードの概要を説明している文書です :



ローカル開発準備
The easiest way to get started with development on Translate extension is to use the MediaWiki Docker. Please see the instructions here.

To run some code sniffs specific to Translate extension, you can run  inside the Translate extension directory. You can use the following command:

コーディング規則
Translate follows the existing MediaWiki Coding conventions. These differ based on the programming languages, so ensure you go through the appropriate pages.

There are a few other guidelines specific to Translate to keep in mind.

何に取り組むか選択する
Go to the Translate Phabricator Board and look for tasks with the tag: good first tasks.

Because the extension is actively being worked on, before you start work on a task, we recommend leaving a comment about any additional concerns that are not reflected in the task currently.

After you receive the green light, you can go ahead and assign the task to yourself and start working.

パッチ提出チェックリスト
It is important to be familiar with how to work with Gerrit. It is also important to be familiar with the commit message guidelines.

Before submitting the patch, it's recommended to run linting tools and test cases locally to ensure that simple issues can be identified and fixed early. This helps reduce the back and forth during code reviews.


 * 1) Run   to fix easily fixable linting issues locally. This can be done using:.
 * 2) Run other linters to identify any issues that could not be fixed automatically. This can be done using:
 * 3) Run Translate extension test cases:

他の有用なリンク

 * MediaWiki code search, useful to see how certain hooks, or functions are used in other extensions.
 * Open patches on Gerrit that you could help review.