Phabricator/Help/zh

致Phabricator-{zh-hans:用户;zh-hant:使用者}-，如果您有问题，可直接在讨论页询问. 我们基于收到的-{zh-hans:反馈;zh-hant:回饋}-改进我们的-{zh-hans:文档;zh-hant:文件}-. 如果您希望测试Phabricator，您应该使用实验室实例. （不幸的是这个测试实例不是一直在线的） 要对Phabricator是什么，能做什么有一个基础了解，在维基共享上观看教程视频：

There are also if you have a low bandwidth. Or keep reading this page to dive right in and get started.



创建您的-{zh-hans:账户;zh-hant:賬號}-
您可以将新的Phabricator帐户与您的全域维基媒体维基帐户或维基媒体开发者帐户相关联. 在这两种情况下，都不需要单独的密码.



使用您的全域账户
MediaWiki.org 会要求您同意将您的帐户连接至Phabricator.
 * 首先，请确保您已至维基媒体. 如果您尚未拥有一个维基媒体-{zh-hans:账户;zh-hant:賬號}-，请一个.
 * 前往Phabricator登录页面.
 * 点击写着“Login or Register - MediaWiki”（登录或注册——MediaWiki）的按钮.
 * Phabricator将要求您输入用户名. 当您有疑惑时，直接填写您的维基媒体用户名即可，但请注意Phabricator用户名不能包含非ASCII字符，例如“العَرَبِيةُ”或“中华民族”或“Xï”. 亦请勿使用空格，可以用下划线“ ”替代.  另外您需要有效的电子邮件地址以供验证，但电子邮件地址不会向其他用户显示.
 * 点击左侧导航栏的Manage（管理），或点击您空白账户图片下方的弹出菜单（位于上栏、搜索字段左侧）.
 * 点击Edit Profile（编辑个人资料）并填写您的“Also Known As”（又称，例如是您的全名）以便其他人搜索到您.



使用你的维基媒体开发者账号

 * 如果您有维基媒体开发者帐户（又名LDAP帐户、Gerrit帐户或Wikitech帐户），您也可以使用它来登录. Phabricator用户名可以同时连接至MediaWiki.org账户和LDAP账户. 这可以作为维基媒体SUL系统出现故障时的备份.



两步验证

 * 除非您是管理员或有权访问安全任务、需要有NDA的任务，否则我们不建议您在Phabricator启用多因素身份验证. 如果您仍打算使用它，请先阅读多因素身份验证指南和要求再启用此功能.

Accessing Phabricator

 * Due to persistent abuse, some IPs from specific countries (such as Egypt) are blocked from accessing Phabricator. Some proxies, some VPNs and some Tor exit nodes are also blocked. When accessing Phabricator using these IPs, users will see an HTTP error (500 or 501). If your IP is blocked, and you cannot find a usable proxy to access Phabricator, you can contact security@undefinedwikimedia.org to request whitelisting your IP.
 * If you find that your Phabricator account has been disabled, please add a note on Talk:Phabricator/Help.



电邮地址

 * 如果由于输入了错误的电子邮件地址而无法验证Phabricator帐户，请在Talk:Phabricator/Help上添加说明. (If that's not possible, contact the Bugwrangler.) 我们无法更正您的电子邮件地址，但可以删除您的帐户，使您能够重新注册.
 * If you see the error "Email address already taken" when trying to create a Phabricator account on the page "Login or Register - MediaWiki", you have likely already registered a Phabricator account with such email address. You may recover that account using this link.

Changing accounts

 * 如果您发现Phabricator帐户被禁用，请在Talk:Phabricator/Help上留言，并在您的留言中附加到您Phabricator账户的链接.
 * 您可以点击“refresh account”（刷新账户）来更改与Phabricator帐户关联的维基媒体SUL账户和开发者帐户.



其他问题
To claim your old Bugzilla and/or RT account(s), click this link.



接收更新和通知
Phabricator通知您相关活动，包括settings/panel/emaildelivery/你自己的动作.

Phabricator提供多种方式供您接收通知.


 * 如果您对某个单独的对象（例如一个Task、mockup等）感兴趣，点击 即可订阅该对象的通知. 发表评论会自动为您订阅该对象.
 * 如果您对一个Project（项目）内的所有活动感兴趣，您可以点击该项目概要页面上的 按钮. 在Projects用户指引中有更多相关信息.

请参阅，以减少邮件通知的数量以及有关过滤邮件通知的信息.

故障排除
如果您收到任务的意外邮件通知：

参见.
 * 您可能订阅了该任务.
 * 您可能是项目或与该任务关联的子项目的成员. 可以使用您所属的所有项目的列表.
 * 您可能会看到与该任务相关联的项目. 可以使用您所监视的所有项目的列表.
 * 在[最亲密的任务]下的电子邮件设置中，您可能启用了“任务的子任务更改状态之一”.
 * 您可能设置了个人先驱统治. 检查“X-Herald-Rules”邮件头字段以查看所有应用的Herald规则的列表.
 * If nothing helps, check the "X-Phabricator-Stamps" message header field for further information.



为通知-{zh-hans:创建;zh-hant:建立}-Herald（传令）规则
你可以关注此链接了解如何在Wikimedia Phabricator's Herald中创建自定义（个人）通知规则. 这是一个更高级的选项，可能很难使用，而且由于性能原因，应谨慎使用.



-{zh-hans:创建;zh-hant:建立}-一个任务


创建任务有多种方法，具体取决于您要携带的信息：


 * 新任务：单击顶部导航栏右侧的书签按钮. 从下拉菜单中选择创建任务. 你会得到一张空白表单.
 * 安全问题：单击顶部导航栏右侧的书签按钮. 从下拉菜单中，选择报告安全问题.  您将得到一个预先标记为安全的表单，并带有一个链接来提交Bug的特殊说明.
 * 现有任务的子任务：单击当前任务右栏中的编辑相关任务…→创建子任务. 将设置两个任务之间的依赖关系，并且默认情况下将承载父任务的某些值（分配给、订户、优先和项目）. 两个任务之间的连接会显示在“Task Graph”（任务图）中. Please review and adjust the project tags and the subscribers before creating a subtask!

填写表单，留下您不确定的字段.

Phabricator supports some formatting in text areas. See.

使用页面末尾的实时预览来检查您的文字是否符合您的期望.



选择-{zh-hans:项目;zh-hant:專案}-
为了将任务与使用Phabricator的项目（标签）相关联，您只需要在“标签”字段中输入其名称，然后从匹配项目列表中选择项目（该列表仅显示五个匹配项目）项目）. 您可以通过单击标签字段中的放大镜图标来搜索项目并阅读简短的项目描述. 您可以将一个或多个项目添加到标签字段中. 如果您不确定，也可以将其留空，分类员将处理没有项目设置的任务. 有一个（长）项目列表可用按 以搜索项目（此列表也可在Phabricator/Projects中找到）.



设置任务优先权
优先权（Priority）通常应由产品经理、维护人员或计划工作于对应任务的开发人员设置，或由bugwrangler或有经验的社群成员设置，而不是由提报者填写在错误报告中，或由外来人员设置. 请参见Phabricator项目管理以获取详细信息.



使用电子邮件
您还可以通过向[mailto:task@phabricator.wikimedia.org task@phabricator.wikimedia.org]发送电子邮件来创建任务. 主题将用作任务标题，主体将按原样直接使用，附件将包含在任务中. 要设置项目，请在正文的开头添加相应的命令“!projects”及其主题标签，例如. [https://secure.phabricator.com/applications/mailcommands/PhabricatorManiphestApplication/task/ 可以通过电子邮件设置任务受让人，优先级或状态的其他命令. ]

注意：如果您的电子邮件签名没有按照事实上的标准（包括“ - ”与正文分开）进行格式化，那么它也会被发布. 我们鼓励您在第一次尝试时从签名中删除私人信息来以防万一.



在任务创建URL中传递某些值
“报告Phabricator中的错误”链接可以通过附加到通用任务创建链接的URL参数传递大量值.

这是一个非常-{zh-hans:高级;zh-hant:進階}-的功能. 在此了解更多.

Another option is to request a custom form for task creation which also supports setting a task subtype (e.g. "bug report" or "feature request"). See custom forms.



任务状态和生命周期
参看错误报告生命周期以了解“Status”（状态）一栏的意义.

要将某个任务作为另一个任务的副本关闭，请在侧栏中选择“编辑相关任务…>作为副本关闭”.

Assigning yourself a task
To assign yourself a task:


 * 1) Go to the task
 * 2) Click "Edit Task" in the Actions sidebar on the right.
 * 3) Add your username to the "Assigned To" field
 * 4) Click "Save Changes" at the bottom



评论和编辑任务
您需要一个账户来回复. Phabricator允许您使用文本格式和插入图像或其他文件发布和编辑注释和描述；见上传文件附件. 您可以使用输入文本区域顶部的工具栏，您可以使用Phabricator的使用Phabricator独有的格式.

使用页面末尾的实时预览来检查您的文字是否符合您的期望.

要编辑任务的描述，请在侧栏中选择“编辑任务”.

Changing a task's subtype
The subtype can be edited via the comment area's "actions" section:





格式和标记
Phabricator支持文本区域中的某些格式.

请注意Phabricator自己的标记语言与MediaWiki的标记不同.

标记的流行使用包括：


 * 在 中提及用户将创建指向其个人资料的链接，并将订阅他们的任务.
 * 在 中添加任务编号将创建包含悬停卡的任务链接. 在文本中插入任务的标题.
 * 在 中添加项目名称将创建指向项目主页面的链接.
 * 如果您想引用文字，您只需在开头添加 . 如果您想回复包含它作为报价的评论，请单击要回复的评论右端的下拉箭头.
 * 如果要在评论中显示上传的模型图像文件，例如 ，请写.
 * 如果您想创建外部链接，例如在wiki标记中使用 ，使用 ，包括Phabricator中的空格.
 * 如果您想在评论中添加网址（URL链接）以提供测试用例，请从网络浏览器的地址栏复制并粘贴完整的网址，例如 . Do not use  . Interwiki prefixes like   are not supported in Phabricator.
 * 如果要粘贴代码行，请在代码前后添加一个带有三个反引号的行： . 您也可以缩进两个空格.  或创建粘贴并从任务链接到粘贴.
 * Use  to define list items with checkboxes in the task description. Change it to   to resolve a list item.

<span id="Uploading_file_attachments">

上传-{zh-hans:文件;zh-hant:檔案}-附件
上传文件有多种方法：您可以通过鼠标拖放将文件（例如屏幕照片）添加到评论或任务说明中. 用户还可以通过其系统的剪贴板功能复制和粘贴图像. You can also click the "cloud" icon while editing / creating / commenting on a task and use the dialog.

如果您的系统上没有此功能，您可以使用https://phabricator.wikimedia.org/file/upload/并通过编写 来查看成功上传后显示的文件编号（如“123”），在评论中. 这将创建文件的“链接”. 要在评论中“包含”该文件，请将ID括在大括号中：. 默认情况下，它包含在缩略图中. 有关更多格式选项，请见语法参考手册. 如果您必须经常上传文件并考虑当前可用的选项不舒服，您还可以添加文本面板到您的主页直接链接.

The size of the uploaded files is limited to ~4 MB.

File visibility
Files uploaded through https://phabricator.wikimedia.org/file/upload/ always become public, visible to everyone. (Keep this in mind in case e.g. the file is related to a restricted security ticket.)

Files uploaded while editing/creating/commenting on a task are private, and visible to no one except the file's uploader and the subscribers of the task that they are attached to.

Attaching the file to the task usually happens automatically when you save your changes, but it is possible to bypass this by accident – for example, by uploading the files on one task, then cutting-and-pasting the resulting  markup into another task. When this happens, you will still be able to view the file, but no one else will see it. To resolve this problem, find the "Referenced Files" section in the task's sidebar, then click "File Not Attached" on the files marked in red and follow the scary prompts to attach it.

File management
如果您需要删除上传的文件，请打开您创作的文件的列表，选择文件并单击侧栏中的“删除文件”.

You can also change the visibility of a file by viewing its page (such as https://phabricator.wikimedia.org/F35287447), then clicking "Edit File" in the sidebar and changing the "Visible To" field.

File access security
请注意，拥有文件完整URL（例如https://phab.wmfusercontent.org/file/data/svlzontonhy6xxdjxwga/PHID-FILE-zbgqfq7jqirt2s24y5e3/red.png，不是https://phabricator.wikimedia.org/F35287447）的任何人都可以下载文件或与他人共享链接. 没有身份验证保护文件不被访问. Phabricator文件完全依赖于透过模糊性的安全性，猜测任何给定文件的（伪随机）URL非常困难，甚至是不可能. 如果您需要为特别敏感的文件提供更多保护，那么您应该考虑更安全的替代方案.

<span id="Project_management">

项目管理
Read Phabricator/Project management for essential information on maintaining and managing projects, e.g. on using project workboards, common practices, and agile workflows.

在Phabricator中，项目是标签，标签是项目. 项目可以启用自己的workboard（工作板）. 通过子项目的层次结构自2016年2月起可用. 任务可以分配给一个或多个项目.

<span id="Requesting_a_new_project">

申请一个新-{zh-hans:项目;zh-hant:專案}-
参见Phabricator/申请一个新项目.

<span id="When_do_you_need_a_project?">

你什么时候需要一个项目？
一般来说，你需要一个项目……


 * 当你有一个已经建立的团队运行一个或多个项目时（从这里开始，只在你需要更多时询问更多）
 * 当你需要一个工作板（即冲刺）
 * 当您需要标记或关键字来组织可以成为任何项目一部分的任务类型时（例如“辅助功能”）

<span id="Parent_tasks_and_subtasks">

父任务和子任务
任务可以是父任务或任何数量的其他任务的子任务. 如果在解决任务B之前无法解决任务A，则任务A是父任务，任务B是子任务. 可以通过“编辑相关任务……”来设置这种关系. 父任务和子任务显示在任务中的“任务图”下. 此功能可用于完成一些不同的事情：


 * 拦截器和子任务. （父）任务可能只是被另一个（子）任务阻塞（代表一个依赖项，参见如何添加子任务）.
 * 跟踪. 由若干（子）任务阻止的“无工作”（父）任务可能正在跟踪发布或其他时间段内的（子）任务集合. 请注意，此处的“跟踪”与不推荐使用Phabricator中的#Tracking标记具有不同的含义.
 * 批准. 几个（父）任务（例如草稿团队目标）可能被单个（子）任务阻止，该任务代表获得批准的草案任务，之后这些草案目标现在是真正的目标.

注意：有一个“编辑相关任务……→创建子任务”功能. 除了设置正确的父/子任务关系外，它还将CC（订阅）列表载入新的子任务. 这样做的缺点是会在其他人的电子邮件中产生大量不需要的噪音，导致他们手动取消订阅，有时最好手动创建新任务，然后手动将其标记为子任务，从而让有需要的其他人订阅.

优先次序
参见[[Phabricator/Project management]]

分配
参见[[Phabricator/Project management]]

<span id="&quot;Tracking&quot;_tasks">

追踪任务
术语“追踪任务”来自Bugzilla，它有一个特定的含义：一个任务被阻止在其他任务上，但它本身并不代表任何工作，哪个与特定的发布/日期无关. 一个示例可能是名为“清理文档”的任务，该任务可能具有各种子任务，每个子任务都将描述要完成的特定工作. 这些“跟踪”任务往往会持续很长时间（或永远），因为他们的子任务将得到解决，但新的任务将被创建. 在Phabricator中，项目比依赖的'跟踪任务'更受青睐.

但请注意，还有其他类型的无工作伞任务在Phabricator中仍然有意义. 值得注意的是发布任务. 即将发布的版本可以由任务表示，该任务将子版本列为该版本的所有实际工作任务. 一旦发布，它就可以解决了. 类似的用途是具有代表该季度的团队总体目标的任务，然后每个目标可能（或可能不）是阻塞子任务.

<span id="Searching_for_items">

Search context (global vs advanced)
Phabricator由几个应用程序组成（“Maniphest”中的任务管理是其中之一，或者Diffusion用于代码浏览）. 这里有2种不同的搜索表单：

这个很简单. 它在右上角. By default, it searches across all applications and hence all types of documents (open tasks, closed tasks, code commits, etc…). You can change the default context using the arrow menu to the left of the search bar. For example, select "Open Tasks" to only show results in open tasks from the Maniphest issue tracker. Or select "Current Application" to search Maniphest in Maniphest, Diffusion in Diffusion etc. Tags specified are unioned (OR'd).
 * The global search at https://phabricator.wikimedia.org/search/query/advanced/, confusingly labeled "advanced search".
 * Advanced, application specific search, for example at https://phabricator.wikimedia.org/maniphest/query/advanced/ for Maniphest. This one has more fields, and auto-completion that includes "Not in:..." (equivalent to NOT) and "In any:..." (equivalent to OR) (for example, type "echo" in the "Tags" field). There is also an advanced search for most other applications (e.g. file/query/advanced for Files). To only search for tasks / bug reports, use the Maniphest advanced search. Tags specified are intersected (AND'd).

Inside Maniphest, custom, saved searches and advanced search options are listed in the navigation bar on the left.

<span id="Search_terms">

搜索条件
Special care needs to be put in choosing correct search terms.

Some locally-valid properties for the "Query" field:


 * Case insensitive:  is the same as
 * phrase search works:
 * basic tokenization is performed, e.g. to strip punctuation
 * Stemming is performed: "edited" is also found when searching for . However,   does not match   as quoted text does not stem.
 * Substring search is supported:  matches , but   does not.
 * matches  as quoted and substring-operator text uses substring search.
 * Boolean queries to exclude certain terms are possible by using the - symbol before the unwanted term. E.g. use  to exclude "non-fatal" errors from results.
 * To only search in a task title but not in the task description or comments, use  which is the same as  . To search for one term in the task title and other terms anywhere in a task, use   or  . See https://secure.phabricator.com/book/phabricator/article/search/ for more information.

The advanced search forms are not explicit about the logic but in general use AND between different fields.

You can exclude specific projects from the results by entering  (equivalent to NOT) and combine several projects via   (equivalent to OR) via the auto-completion suggestions.

There's a limit of 5 items in the maniphest autocomplete.

To increase this limit, see these userscripts for Chrome and for Firefox.

You can search for specific task IDs by leveraging a hidden "IDs" field, revealed when a search URL takes the following format: https://phabricator.wikimedia.org/maniphest/?ids=1,2,3,4#R

After the field is revealed, while you can still get results by manipulating the URL directly, you can also input directly into the field. The format is the number of the task only (removing the typical "T" prefix), comma-separated. This can be useful if you are pasting tasks from another place, such as a spreadsheet or database.

Another way to reveal the "IDs" field on various search forms is by enabling the "Expert Mode" checkbox in your phabricator user settings. To enable expert mode, first visit https://phabricator.wikimedia.org/settings/ and then click the "Developer Settings" menu on the left sidebar.

Alternatives ways to find something
If you don't remember the exact words used in an item you are looking for you can follow one of these paths:


 * use the activity feed and edit the query to be restricted to certain projects or timeframes
 * use the activity feed to list all actions that you performed in a certain timeframe at feed/query/EW2FwdAi.Kfz/
 * use an external search engine;
 * remove all search terms, refine the search only by project etc. and then scan all the possible results manually or use Ctrl to search specific strings (this might require setting "Page Size" to a high value to display more than only 100 results);
 * file a new task, mentioning that a past report exists as well, and wait for someone to merge the new report to the old.

<span id="Selecting_Dates_and_Date_Ranges">

选择日期和日期范围
这仅适用于高级搜索.

Using the Date fields like "Created After" and "Created Before" allow entering absolute and relative dates. Note that Maniphest uses UTC.

To get a list of tasks which were created in the last 24 hours, set the "Created After" field to "-24 hours" or "-1 day". Note that "Updated Before" actually means "Last updated before" and that absolute date values like "2014-11-26" refer to UTC time while your time zone setting might be different.

The "Updated After" and "Updated Before" fields return any and all changes to a task.

For example, when a task is moved to another column in a board it registers as "updated". This may add noise to your search results.

Examples of how Maniphest interprets searches:


 * "02/25/2015" - interpreted as "00:01 on February 25th, 2015" (UTC)
 * "5 days ago" - interpreted as "00:01 on the fourth calendar day before today" (UTC)
 * "2:45 AM 5 days ago" - interpreted as "02:45 on the fourth calendar day before today" (UTC)

The "X days ago" range can be confusing. Phabricator interprets today as part of any data set. Even if it is 12:30 UTC, Phabricator will interpret that as a potential day in the range.

Saving and Managing Searches/Queries
Queries can be saved and managed inside Maniphest.

Maniphest offers links to some predefined search queries in the navigation bar on the left. For example, click authored to get a list of tasks that you have created.

Search query addresses (URL) are stable so you can save and reuse them. You can share the address in your web browser's address bar with other people, e.g. via posting the link on a wikipage.

If you want to save a search, select the "Save Query" button at the bottom of the Advanced Search UI.

When looking at the navigation bar on the left in Maniphest, click on the "Edit Queries…" link. You will see a list of your saved queries. All users have a default set which can be deleted in this UI.

Some options in this UI:


 * Use the line elements on the left to drag queries up and down in the list.
 * The "x" will permanently delete a Query.
 * The Pencil icon allows a user to edit the name of a query
 * Clicking on the name of a Query will bring up the search options and results of that query

Once you save a query, you cannot change its parameters, but you can change its name. To edit a query, click on it's name, change parameters and save it as a new query. Also, Phabricator allows users to save multiple queries with the same name.

To make the user name dynamic (e.g. for "Tasks assigned to the person running this query") in searches that you'd like to share with others, select Authors > Magnify glass icon > Browse Users > "Current viewer".

Note that some common queries are also available in the "Activity" tabs on the Phabricator frontpage.

Finding the Maniphest task corresponding to a Bugzilla bug number
This is only available in the Advanced Search.

All Phabricator tasks migrated in 2014 from Bugzilla have a Reference field that contains a value "bz" followed by the number of the equivalent report in Bugzilla. If you want to search the task corresponding to a specific Bugzilla report, use the Reference field in the advanced search or just add 2000.

<span id="Advanced_features">

-{zh-hans:高级;zh-hant:進階}-功能
<span id="Using_Dashboards">

使用控制面板
仪表板是专门设计的主页，可以显示各种自定义信息. 可以在用户之间创建，管理和共享它们.

单击此处查看详细的仪表板演练.

<span id="Batch_edits">

批量编辑
Phabricator允许对一组任务执行批量操作. 在任何Maniphest搜索查询结束时，您将找到“Batch Edit Selected”（批量编辑选定）按钮. 您可以使用Shift键单击编辑选择的所有任务. 愿意使用此功能的用户需要加入Triagers组. 注：您可以修改查询中的“Page Size”参数以一次显示大于100个任务.

通过注意批量编辑开始时生成的“批量作业”ID，可以反转批量编辑. 可以通过在执行之前或之后单击“详细信息”来访问它. 在下一页上，右侧将出现一个“继续”菜单项，它将生成所有受影响任务的Maniphest查询.

If you have to perform the very same 'uninteresting' action on a lot of tasks (cleanup or reorganizing project structures) and you do not want to trigger notifications, ask someone with CLI server access (people listed under "phabricator-admin" or "phabricator-roots") to silence that specific batch edit before running it, so no notifications will be triggered for that batch edit. Silent batch-moves of tasks from one column to another column (via "Move tasks to column…" in the column header dropdown) on the same workboard are not supported as of July 2020.

Please be mindful about silencing a batch edit. For example, silencing is usually not appropriate for closing tasks as task subscribers would expect to get a notification.

收藏夹
可以自定义顶部导航栏右侧的“书签”菜单，其中包含指向首选表单和操作的链接. 有关详细信息，请参阅配置文件菜单说明.

<span id="Personal_lists_of_items">

个人物品清单
“Flag For Later”功能提供了“您希望以后再看”的标记对象（如任务或修订版）. 有八种旗帜颜色可供选择. 标志是个人和私人的，因此您的列表不能与他人共享. 标记的对象列在flag上. 与tokens相比，可以按颜色或对象类型搜索它们.

Phabricator badges
Badges are awarded to users to distinguish certain people or people in a particular group.

Currently all active badges can only be awarded by administrators.

<span id="Restricting_access_to_tasks">

New tasks
Access to a task that you plan to create can be restricted to a list of specific users by changing the "Visible To" field to something else than "Public". Note that setting "All Users" on a task will not restrict access to a task, as everybody can simply create an account and then still access a task with that visibility. To avoid vandalism, this "Visible To" field is only available to users who are members of some ACL projects or WMF-NDA. A list of all projects that you are a member of is available.

If you are a member of the #WMF-NDA project tag, then access to a task that you plan to create can be restricted to members of the #WMF-NDA project by clicking the Bookmark dropdown in the top bar and selecting "NDA Protected Task".

Security issues
如果要提交新的安全问题，则必须遵循报告安全问题来确保初始任务不公开！ An existing task can be converted into a Security issue via "Protect as security issue" in the side bar.

Existing tasks
可以通过“编辑任务”更改对存在的任务的访问，然后将“可见”字段更改为“公共”以外的其他字段. Note that setting "All Users" on a task will not restrict access to a task, as everybody can simply create an account and then still access a task with that visibility. To avoid vandalism, this "Visible To" field is only available to users who are members of some ACL projects or WMF-NDA. A list of all projects that you are a member of is available.

<span id="Displaying_and_using_a_Space">

显示和使用空间
Space（空间，参见上游文档）可以使一组对象（如任务等）仅可被一个特定组的成员访问. 参看通过空间策略限制访问了解如何设置.

If you can access at least two spaces, you see an additional Spaces dropdown under "Visible To" when creating and editing an object. Users with access to only one space will not see this control.

In Maniphest's task view, the Space will also be displayed in front of the task summary. You can batch-edit tasks to move them to a different Space.

Note that you will still have to associate the corresponding "public" project (if existing) to a task to make a task in a restricted Space (which you have access to) to show up in search queries and the workboard of the project. The "public" project could be automatically added via requesting a global Herald rule.

When creating tasks in Spaces, use the "Create Advanced Task" option in the "Create Task" dropdown. This option will display an additional Spaces dropdown under "Visible To" in the task creation UI that will allow you to set visibility to the Space for which this task should be visible.

If you instead create a task via the "Create Simple Task" option in the "Create Task" dropdown, then after you create it, you will have to edit the task to restrict visibility to members of the Space. Before this edit, the task will be visible to anyone and notifications about your task might have been sent to public logged IRC channels and other subscribed individuals.

<span id="MediaWiki_templates_and_links">

MediaWiki模板与-{zh-hans:链接;zh-hant:連結}-

 * * 您可以通过使用 及其简短版本 ，从wiki页面-{zh-hans:链接;zh-hant:連結}-至Phabricator任务（通过跨wiki链接），例如 会生成example.
 * Template:Tracked已更新，以包含至Phabricator对象的-{zh-hans:链接;zh-hant:連結}-——参见右侧 是怎么生成的.
 * Template:Phabricator同样可用； 会生成.

现有Bugzilla链接和模板仍将工作，因为这些链接将继续指向 ，而它将重定向至转换过的Phabricator任务.

统计
On every project page you find a "Reports" link in the sidebar. This is mostly useful for team projects. It offers information on task throughput, age of tasks, workload per assignee, distribution of open tasks per workboard column, a burndown chart, and an activity chart. You can also filter the data for a certain time period.

Apart from that, Phabricator doesn't support further statistics, metrics, charts, reports (e.g. over time) or however you may call them, whether built-in or via an API.

Phabricator also offers tables showing the open tasks by priority and by either user or project.

Some additional overall statistics can be found in the "Phabricator monthly statistics" emails sent to wikitech-l.

Exporting task data
The results of an Advanced Search query on maniphest/query/advanced/ can be exported to CSV and JSON formats. Use the "Use Results ▶ Export Data" in the upper right corner. If you are on the workboard of a project, the column header dropdown menu allows you to "View Tasks as Query" per column.

Code browsing (Diffusion)


Diffusion is the Phabricator repository browser. Another option is using gitiles at https://gerrit.wikimedia.org/r/plugins/gitiles/?format=HTML for repository read-only mirroring. Right now, we're mirroring some of our Git repositories to Phabricator for demonstration purposes.

To request and set up a new code repository, see Gerrit/New repositories/Requests.

<span id="Default_fields_(Forms)">

默认字段（表单）


Phabricator允许通过表单功能，自定义给定任务显示的字段，为字段设置预设值，或是设定任务子类型（如“bug report”（错误报告）或“feature request”（功能请求））.

API (Conduit)
Conduit is the name of the web API. https://phabricator.wikimedia.org/conduit/ offers some explanation and examples. See the Conduit upstream documentation. See also.

Phatality
Phatality is a plugin for the Wikimedia production Logstash installation which makes it easier to create Phabricator tasks for production errors.

See Introducing Phatality.

Automated Regular Search Summaries

 * You can get a regular email with the results of a saved Phabricator query.
 * The emails are currently delivered by the PhabSearchEmail tool maintained by RhinosF1 on a weekly or monthly basis although, more frequenices can easily be added.

Get Notified about new UBN Tasks
See Setup UBN Notifications

<span id="Other_links">

其他-{zh-hans:链接;zh-hant:連結}-

 * Other
 * OAuth consumer phabricator-production, use Special:OAuthManageMyGrants to manage connected apps
 * Phabricator etiquette