Phabricator/Help

If you have questions, ask in the Discussion page. We will improve our documentation based on the feedback received.

Link to official docs: https://secure.phabricator.com/book/phabricator/

Creating your account
(Registration to phabricator.wikimedia.org is currently disabled, but you can have an account if you need one) You can connect your Wikimedia SUL and LDAP accounts to a single Phabricator username. You can also add several e-mail addresses to your Phabricator account (and they are kept private). Bugzilla users can claim their Bugzilla accounts by adding their corresponding email address(es).
 * Join Wikimedia Phabricator using your Wikimedia Single User Login (the account you use for mediawiki.org, Wikipedia...). If you don't have one, get one.
 * wikitech.wikimedia.org accounts (aka LDAP accounts) can be also used as backup, in case Wikimedia SUL is not working.
 * In your first login, Phabricator will ask you for a username. In case of doubt, just use your Wikimedia username.

Receiving updates and notifications
Phabricator notifies you about relevant activity, including your own actions. You can fine tune your email preferences to your taste, receiving web notifications only for certain activities, or no notifications at all.

Phabricator offers several tools to receive the notifications you wish to receive. There is even more at the Managing Phabricator Email user guide.
 * If you are interested in a single object (a task, a mockup...) just click  in their page. Adding a comment will subscribe you automatically.
 * If you are interested in all the activity within a project, you can  it and then   to it.
 * If this is not enough, you can click, which includes references to this project posted anywhere else. This is recommended for core team members.
 * Still unhappy? Meet Herald, a powerful tool that will send you notifications based on specific rules (e.g. when a keyword is mentioned in certain projects).

Creating Herald rules for notifications
This is how you create custom notification rules in Wikimedia Phabricator's Herald. Imagine you want to watch all the tasks that are being created: This is it. From that point, you will receive an email for every task being created. This is probably too much, though. This is how you can filter these notifications: You see where is this going. Adapting these rules you can watch the entire activity of a specific project without having to join it, you can watch certain keywords across the entire Phabricator, etc.
 * 1) Click
 * 2) Select   and
 * 3) Give a descriptive name to the rule, i.e. "All New Tasks".
 * 4) In , select  ,  , and.
 * 5) In , select   and.
 * If you want to be notified about new tasks only in specific projects, add a, and then select   and  , adding the projects you are interested about.
 * If you want to be notified about new tasks only from specific users, add a, and then select   and  , adding the users you are interested about.

Writing comments and descriptions
Phabricator allows you to post and edit comments and descriptions using text formatting and inserting images or other files (FIXME: create instructions for each of these actions). You can use toolbar at the top of the input text area and you can use Phabricator's own markup. Popular use of markup includes: At the end of the page you have a live preview to check whether your text looks as you expect.
 * Mentioning users as in @username will create a link to their profile and will CC them to the task.
 * Adding a task number as in T123 will create a link to the task including a hover card. {T123} inserts the title of the task in your text.
 * Adding a project name as in #Project will create a link to the project main page. In task descriptions it will add the project to the Projects field.
 * If you want to quote text, you can simply add ">" at the beginning. If you want to reply a comment including it as a quote, click the drop down arrow at the right end of the comment you want to reply.

Note that Phabricator's own markup language is different from MediaWiki's markup. If you want to add a web address (URL link) in a comment (for example to provide a testcase), it is highly recommend to copy and paste the full web address from your web browser's address bar (like "https://www.mediawiki.org/wiki/Project:Support_desk") instead of using MediaWiki markup (like "mw:Project:Support desk").

Creating a task
There are three ways to create a task, depending on the information you want to carry: Fill the form, leaving the fields you are not sure about empty.
 * Plain new task: click the + or the Create Task link located at the top right. You will get a blank form.
 * A subtask of an existing task: click the Create Subtask link located in the right column of the current task. The dependency between both tasks will be set, and some values of the parent task will be carried by default (Assigned To, CC, Priority, Projects).
 * A similar task to the one you just created: after creating a task, a Similar Task link is offered at the top right corner. Click it to prefill Assigned To, CC, Priority, and Projects with the same values.

Selecting projects
In order to relate a task with a project that uses Phabricator, you just need to start typing its name in the Projects field and select the project from the list of possible options. You can add one or more projects to the Projects field. If you are unsure, you can also leave it empty — triagers will take care of tasks that have no project set. There is a list of projects available.

Uploading file attachments
There are several ways to upload files: You can add a file (for example a screenshot) to a comment via drag and drop with your mouse. If this is not available on your system you can use https://phabricator.wikimedia.org/file/upload/ and refer to file number (like "123") that is shown after successfully having uploaded by writing "F123" in a comment. Users can also copy and paste images via the clipboard functionality of their system. Advanced users could also use "arc upload" which provides an F number that can be used via {Fxx} syntax to embed in a comment.

Note that you cannot upload a file and then decrease the access level to the file (e.g linking it to a restricted security ticket). You would have to delete the file and reupload it with stricter access permissions. It is recommended to upload files which should have restricted access together with the creation of a restricted (security) ticket.

Searching for items
Phabricator consists of several applications (task management in "Maniphest" being one of them, and in the future also code review and other applications). The search field in the upper corner allow searching across all these applications. For a search with advanced search criteria across applications, use the Advanced Search.

There is also an advanced search per application. To only search for tasks/bug reports, use the Advanced Search in Maniphest. One example for the advanced search: 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".

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

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

Claiming your previous Bugzilla and RT accounts
Note: This section only applies after RT and Bugzilla tickets have been imported into Phabricator. This import has not happened yet.


 * 1) Go to https://phabricator.wikimedia.org/settings/panel/email/.
 * 2) Add the email addresses that you used in RT and Bugzilla.

Your account activity (comments, reports you created, etc) will be merged into your Phabricator account within the next days. Please be patient as this can take quite some time, depending on how active you were in Bugzilla and RT before. After the process to link your previous, imported contributions to your Phabricator account has finished, you will be e.g. able to search for reports in Phabricator that you had created in Bugzilla before Bugzilla's reports were imported into Phabricator.

Linking your LDAP and MediaWiki accounts
You can manage these account types under https://phabricator.wikimedia.org/settings/panel/external/.

Creating a project
In Phabricator projects are tags, tags are projects. There is no tree hierarchy, and there are no subprojects (these might come in a near future, though). Tasks can be assigned to more than one project, and they can also be submitted without assigning them to any project.

When do you need a project?
In general, you need a project...
 * when you have a established team running one or several projects (start here, ask more only when you need more)
 * when you need a workboard (i.e. a sprint)
 * when you need a tag or keyword to organize a type of task that can be part of any project (i.e. "Accessibility")

Requesting a new project
In order to keep some sanity and consistency, projects can be created only by the Phabricator team. Anybody can request a new project. Just create a new task under the "Phabricator" project, specifying the project name and description, which ideally would include a link to the project main/wiki page.

Project naming guidelines:
 * Think of the shortest name that users can find easily typing ahead.
 * Ideally one word, otherwise multiple words must be connected with dashes.
 * Unnecessary use of frequent words like "Wikimedia" or "MediaWiki" should be avoided.
 * Title case by default.

Good: Phabricator, MediaViewer, Code-Review, Phabricator-Production-Instance... Bad: Wikimedia Phabricator, MediaViewer-for-MediaWiki, Code Review for Phabricator...

The default access policies for Wikimedia projects and tasks are: If your project requires more restrictive permissions, please explain your reasoning in your request.
 * visible to everybody (no login required)
 * editable by all registered users
 * joinable by all registered users

If you belong to a team that will manage several projects, then the first step is to create a project for your team.

MediaWiki templates and interwiki links
Existing Bugzilla interwiki links and templates will still work, because those links will redirect to the equivalent Phabricator tasks.
 * You can link to Phabricator tasks from wiki pages using  and its shorter version   (i.e. example generates example).
 * Template:Tracked has been updated to include links to Phabricator objects — see at the right how renders.
 * Template:Phabricator is also available; generates.