贡献

From Meta
Jump to navigation Jump to search
This page is a translated version of the page Contributing and the translation is 35% complete.
Outdated translations are marked like this.
Other languages:
English • ‎Nederlands • ‎español • ‎français • ‎hrvatski • ‎italiano • ‎magyar • ‎português • ‎português do Brasil • ‎suomi • ‎svenska • ‎русский • ‎العربية • ‎हिन्दी • ‎বাংলা • ‎中文(中国大陆)‎ • ‎日本語 • ‎한국어

如你所知,Miraheze是一个社区运营的维基农场,由志愿者维护——当然你也可以!如果你想要通过担任不同的职责(有技术的或没技术的)帮助我们,请看下面和我们的Miraheze的职位空缺页面以得到帮助的途径。

使用我们的服务

最简单的一种帮助途径——任何用户都可以做到,那就是在Miraheze上申请一个维基并使用它。保持活跃,并开发您自己的子社区。将Miraheze推荐给你们认识的人。另外,随便去看看发现维基维基索引,查找您可能感兴趣的维基。

维基创建者

维基创建者是对创建维基的两个界面(特殊:维基请求队列特殊:创建维基)有所了解的志愿者,他们被允许创建维基。

我们需要更多的维基创建者,这样我们可以更快地处理新的维基请求,以为我们服务的最终用户创建了更好的体验

成为一个维基创建者,你需要在社区中拥有威信。请在这里申请维基创建者权限,监管员将会允许在决定批准或拒绝此申请之前允许在那里讨论。

如果您想成为维基创建者,有关其的更多信息请参见Meta:维基创建者Meta:维基创建者指南

Feature requests

We welcome any users to assist us with Feature requests. All of our configs and software used is available on in our GitHub config repo (see this page for additional info. When files are updated in any of the repositories hosted there, the changes are automatically deployed to the servers hosting Miraheze.

Anyone with a GitHub account (available for free) is able to propose file changes.

Easy start

One of the easiest ways to get started is to look at feature requests and then editing the LocalSettings.php file in our Miraheze/mw-config repo. Most of this file (except for a little at the end) should be some of the easier stuff to understand. It uses nested arrays to apply settings to all wikis by default, or some wikis as coded.

The basic nesting layout is as follows:

  • Define namespace variables (close to the start, after includes)
  • wgConf (largest array)
    • Setting name (in the form of 'wgVariable' or 'wmgVariable')
      • Wiki's affected (in the form of 'dbname' or 'default' where dbname is the site's subdomain with "wiki" added to the end)
        • Setting value (the values to set. Can be a number, true/false, or an array, depending on the setting.)

Some of the easier stuff will be enabling extensions that are already installed (See the section of wgConf called extensions, which follows the format above where "Setting name" will be something like 'wmgUseExtension' where Extension is the name of the extension to enable.

Note that some extensions like Flow and VisualEditor require additional configuration.

Installing a new extension or skin

Anyone can propose changes to the Miraheze/mediawiki repo. To install a new extension or skin not already installed (not enable one on a wiki), please see this page.

Tweaking the servers

Miraheze purely runs on Debian: 15 VPSs hosted by RamNode and 1 VPS hosted by Backupsy (storing backups). They are mostly powered by OpenVZ, in very rare cases KVM. Our server configuration is managed by Puppet, and we work with various kinds of technologies. We use MediaWiki with Apache, GDNSD, MariaDB, nginx and Varnish to power the web stack. If you are familiar with one or more of the software mentioned above, we would love to hear about your experience! Extra help is always welcome, and even the smallest improvements (fixed bugs/performance, etc.) for you, can be a big improvement for us. Please get in touch with the System administrators if you would like to contribute in this area or simply make a Phabricator task for it.

翻译页面

你可以通过点击右上方的“翻译”来翻译Meta上的页面或使用翻译扩展对页面进行翻译。