توسعه دهندگان جدید
This page explains how to get started as a developer who wants to contribute to Wikimedia technical projects.
خوش آمدید
Wikimedia's technical community always welcomes new contributors!
بخشی از یک جامعه جهانی شوید و کمک کنید تا دسترسی به دانش رایگان برای همه آسان تر شود!
How to start contributing
The following steps are a general outline of how to get started contributing:
- Learn the basics of how Wikimedia open source software projects work.
- Read the Communication guidelines.
- Set up accounts: Create a developer account. Depending on the type of contribution you want to make, you may also need to set up accounts in Phabricator, and set up Git and Gerrit.
- Choose a software project.
- یک کار را انتخاب و حل کنید (کد خود را بنویسید و آزمایش کنید)
- به منظور مرور، تغییرات کد خود را ثبت کنید. Follow the Guide to getting your code reviewed and submit a patch.
The rest of this guide provides additional details about the process.
Basics of how Wikimedia software projects work
Wikimedia has software projects in many different areas.
نگهدارندگان پروژههای نرمافزاری، زیرساختی را که تمایل دارند، انتخاب مینمایند. به طور کلی، اکثر پروژههای نرمافزاری شامل موارد زیر میباشند:
- a task tracking tool where software bugs and enhancement requests are reported, managed and discussed. Examples are Wikimedia Phabricator, GitHub, or Wikimedia GitLab.
- یک "مخزن کد" که در آن می توان کد منبع را برای همه "بررسی" کرد. به عنوان مثال می توان به Wikimedia Git/Gerrit، GitHub یا Sourceforge اشاره کرد.
- یک ابزار "بازبینی کد" که در آن تغییرات کد پیشنهادی (به اصطلاح "وصلههای") مورد بحث و بهبود قرار میگیرد. به عنوان مثال می توان به Wikimedia Git/Gerrit، GitHub یا Sourceforge اشاره کرد. هنگامی که پچ پیشنهادی شما خوب شد و در مخزن کد ادغام شد، تغییرات کد شما برای همه در دسترس خواهد بود. (شما میتوانید درباره شیوههای خوب برای بازبینی کد اینجا بیشتر بخوانید.)
- "مکان های بحث" کلی پروژه نرم افزار و/یا برای دریافت کمک و پشتیبانی. این مکان ها می توانند لیست های پستی یا کانال های چت IRC یا صفحات ویکی یا مکان های دیگر باشند. مکان های دقیق به هر پروژه بستگی دارد. همچنین می توانید از طریق "$1" در صفحات کاربری آنها با مربیان خاصی تماس بگیرید، اما توجه داشته باشید که "سؤالاتی که به صورت خصوصی پرسیده می شوند به دیگران کمک نمی کنند".
در هر زمانی، اگر به مشکل برخوردید یا به کمک نیاز دارید، لطفاً بپرسید. اگر میخواهید سؤالات خوبی را در مکانهای مناسب بپرسید، توصیه میکنیم بخش "بازخورد، سوالات و پشتیبانی" را مطالعه کنید.
Overview of technical areas
For an overview of Wikimedia technology and examples of the major areas where developers can contribute, visit Introduction to the Wikimedia Technical Ecosystem.
Contributing to software in MediaWiki
Are you a user of a MediaWiki wiki looking to add a feature or fix a bug in one? Please see چگونه یک هکر مدیاویکی شویم to learn how to find and contribute to the software project part of MediaWiki you are looking for.
یک پروژه نرم افزاری را انتخاب کنید
The following projects offer resources, mentorship, and are looking for new developers to contribute to them. این روش توصیه شده برای شروع است. یکی از پروژه های زیر را انتخاب کنید و مستندات پروژه را دنبال کنید تا محیط توسعه خود را تنظیم کنید، یک کار را برای کار انتخاب کنید، کار را حل کنید و تغییرات کد خود را برای بررسی ارسال کنید: You are free to contribute to these projects or any others you are interested in related to Wikimedia. Most can be found by searching for them on فابریکاتور or online.
An offline reader for people without internet access
- مهارت های مورد نیاز: Java/Kotlin (Android), Swift (iOS), Qt (desktop), NodeJS (mediawiki offliner), C++, Python (WP1)
- در تماس باشید: Mailing list / Slack
- Get the source code: GitHub
- Read the general documentation and the README.md file of the corresponding project
- Check the recommended tasks to work on: Android, iOS, JS, mwoffliner on GitHub
- Mentor(s): Matthieu Gauthier, Emmanuel Engelhart, Stephane Coillet-Matillon
Commons App for Android
An app for Android devices to upload your pictures to Wikimedia Commons
- Skills required: Java
- Get in touch: Google Groups
- Get the source code: GitHub
- Read the documentation
- Check the recommended tasks to work on: GitHub
- Mentor(s): Josephine Lim
Wiki Education Dashboard
A web application that supports Wikipedia education assignments, provides data and course management for instructors and students
- Skills required: Ruby, JavaScript
- Get in touch: #wikimedia-ed connect on irc.libera.chat
- Get the source code: GitHub
- Read the documentation
- Check the recommended tasks to work on: GitHub
- Mentor(s): Sage Ross
Pywikibot
A Python library and collection of scripts that automate work on MediaWiki sites.
- Skills required: Python
- Get in touch: #pywikibot connect on irc.libera.chat / Mailing list
- Get the source code: Use git to get the source code
- Read the documentation and API reference
- Check the recommended tasks to work on: Phabricator
- Mentor(s): xqt
Scribe
Scribe provides Wikidata based keyboards for second language learners. Features include translation, verb conjugation and noun-gender annotation. This project is very open to those who want to learn the needed languages and how to work with Wikidata!
- Skills required: Swift for Scribe-iOS; Kotlin for Scribe-Android; Python and/or Wikidata Query Service for our Scribe-Data language data extraction CLI
- Get in touch: GitHub or email
- Get the source code: GitHub
- Read the contribution guidelines: Scribe-iOS, Scribe-Android or Scribe-Data
- Check the recommended tasks: Scribe-iOS, Scribe-Android or Scribe-Data
- Mentor(s): Andrew McAllister
VideoCutTool
A tool to edit the videos on Wikimedia Commons.
- Skills required: React JS, Node JS.
- Get in touch: #VideoCutTool in Zulip
- Get the source code: See link in description in Phabricator
- Read the documentation
- Check the recommended tasks to work on: Phabricator
- Mentor(s): Gopa Vasanth
SignIt Firefox Extension
Lingua Libre SignIt web-browser extension translates selected written word via an elegant pop up so you learn sign language while reading online. You can add a signed video using Lingualibre.org by selecting a signed language, then video recording yourself while signing.
- Skills required : JS, web extension, OOjs
- Get in touch: contact Yug or on GitHub
- Get the source code: GitHub
- Read the documentation: m:Lingua Libre/SignIt
- Check the recommended tasks to work on: Good first issues on GitHub »
- Mentor(s): Yug
Are you a maintainer and want your project to be included in the list of software projects above? Find out more and join!
Outreach programs and single tasks
In addition to the recommended software projects above, there are more ways to choose a project or task to work on:
Outreach programs
Good first tasks
However, mentors may not be available for these tasks, and your proposed patches may not receive fast reviews.
Communication tips
Follow these tips to communicate effectively and get help from community members.
Use Phabricator tasks effectively
When you plan to work on a فابریکاتور task:
- No need to ask for permission: You can work on unassigned tasks without asking someone to assign them to you. There is no authority who assigns tasks or who needs to be asked first.
- If a task already has a recent patch in Gerrit, choose a different task to work on instead.
- If an existing patch in Gerrit has not been merged and has not seen any changes for a long time, you could improve that existing patch, based on the feedback in Gerrit and in the task.
- Do your research: When you consider working on a task, do research before you start coding. Look at the code, try to understand what it is supposed to do, read related documentation, and try to find the places where you need to make code changes.
- In a فابریکاتور task, use the project tags in the side bar to find the code repository for the task.
- If you have no idea at all how to fix the bug, consider finding an easier one first.
- You do not need to announce your plans before you start working on a task, but you should communicate that you are working on the task.
- When you start work, set yourself as task assignee by clicking Edit Task… in Phabricator, and set your Phabricator username in the Assigned To field. This communicates to others that you are working on it, so they don't duplicate work.
- When your plans or interests change: If you are no longer working on a task, remove yourself as the assignee of the task. This tells others that they can work on the task, and they won't expect you to still work on it.
- Follow Phabricator etiquette.
- In Phabricator tasks, discuss only specific questions about the topic of that task. Don't use Phabricator to ask general questions, like how to set up a development environment or how to fix problems with Gerrit.
Compose good questions
- Don't ask to ask...just ask!.
- Be specific and provide context: Instead of simply asking "Can you give me more info?", "Please guide me", or "Please tell me how to start", include the following information in your question:
- What are you trying to achieve?
- What have you already tried? Copy and paste your commands and their output (if not too long) instead of paraphrasing in your own words.
- What have you found out already during your research? Include links to code, documentation, or other resources you already consulted.
- Use specific titles and subject lines in your communication. "Proposal draft" or "Need help" is not specific.
- Keep conversations readable: When you reply in Zulip, in Phabricator tasks, or on mailing lists, only quote sections of previous comments that are relevant to your response. If you quote a complete previous comment, it makes threads hard to read.
Follow communication policies and best practices
Before you send or post your question:
- Read and follow the code of conduct for Wikimedia technical spaces.
- Use inclusive language : Instead of using terms that assume a gender identity (like "guys", "madam", or "sir") use the name of the person instead.
Ask in the right place
- Ask in public: Do not send private messages if your conversation topic is not secret. Private messages don't help others.
- Ask and discuss in the best place:
- In Phabricator tasks, discuss only specific questions about the topic of that task.
- Ask general technical questions, like how to set up a development environment or how to fix problems with Gerrit, in the places listed on ارتباطات .
- If you take part in an outreach program, then Zulip is for discussing questions about the outreach programs themselves.
Be patient
After you post your question:
- Do not ask people for code review in a separate message. People receive Gerrit and Phabricator notifications and will respond when they can.
- When seeking input and comments, especially during weekends and holidays, you may need to wait until business hours resume. On chat channels like IRC: if nobody answers, try again at a different time; don't just give up!
- If you don't get an answer even after waiting and being patient, consider if other Communication channels might be a better place to ask your question.
Additional resources
- Introduction to the Wikimedia Technical Ecosystem provides an overview of Wikimedia tech, focused on the major areas where developers can contribute.
- How to contribute lists many more ways to contribute, including areas like documentation, testing, and more.
- How to become a MediaWiki hacker: For developers who want to work on MediaWiki core or MediaWiki extensions.
- Newbie guide for the Web team
- Developer hub: More resources for established Wikimedia developers.
- To ask your questions and to join general discussions, check the places listed on Communication.
- Wikimedia tutorials: An index of tutorials that feature various languages, APIs, and frameworks in the Wikimedia technology stack.
- Supporting newcomers at hackathons
- Newcomer support at hackathons and the associated mentor guide
- Newcomers section of the Hackathons Handbook, as well as the Mentoring Tips page
- How-to page for newcomers at the Wikimedia Hackathon 2022