Phabricator/versus Bugzilla

Wikimedia is deprecating Bugzilla for bug reporting and replacing it by Phabricator. All the Bugzilla reports will be migrated, and the process for reporting and managing bugs will be basically the same. However, some things will change.

Instead of trying to use Phabricator exactly how you use Bugzilla, we recommend you to get used to how Phabricator works. Get your account at https://phabricator.wikimedia.org

Some of the features described below are planned but not implemented today. In these cases you can follow the link to the task to learn about their current status.

Timeline
This timeline refers specifically to the Bugzilla migration. For a wider scope, see Phabricator.


 * 1) ✅ phabricator.wikimedia.org open to all Wikimedia users
 * 2) * Bugzilla users can register adding their Bugzilla email address(es) to claim their activity automatically.
 * 3) ✅ Test instance containing Bugzilla reports automatically migrated
 * , 2014-11-12: Go-NoGo meeting.
 * , 2014-11-14: Andre to send second and last announcement email to latest active Bugzilla users, see T618
 * , planned for 2014-11-21 00:30 UTC: Bugzilla migration starts
 * 1) * The Wikimedia Bugzilla instance is moved to old-bugzilla.wikimedia.org. Users will be able to access data as read-only, unless the system is too busy and we need to restrict the access to prioritize the extraction of data.
 * 2) * phabricator.wikimedia.org will be down during all the migration.
 * 3) * Regular bug reporting is paused. Exceptionally, emergencies can be reported at Project:Support desk and.
 * 4) * (Many steps will be included here, see T535)
 * , planned for 2014-11-24: phabricator.wikimedia.org reopens with the Bugzilla content migrated.

Improvements
Phabricator comes with many improvements over Bugzilla.

Interface

 * The desktop UI looks contemporary.
 * Similar to Bugzilla, the Phabricator UI is primarily designed for software development and not for average non-technical users (according to upstream). On this basis, Phabricator refused to implement some bugzilla features intended to make life easier for inexperienced users. The Phabricator UI hides more complexity than Bugzilla (e.g. by having separate modes for displaying and editing certain report information; while bugzilla only collapses advanced fields in bug filing and bug searching windows).
 * Most features are mobile friendly as well.
 * Interacting via email is possible, in some special cases (Operations procurement) also for non-registered users (T52).

User account
Phabricator/Help
 * Log in with your Wikimedia (SUL) or wikitech.wikimedia.org (LDAP) credentials (T346).
 * Your email address is finally private.

Task-centric environment

 * Tasks can be bugs, and they can be tasks. No more "this is not a bug, doesn't belong here" or "this report is being tracked in Mingle/Trello"
 * Reporters, developers, designers, and product managers use the same tool to discuss bugs/features and report progress.
 * We get project boards (example) and mockups with notes (example).
 * Explicit titles of tasks, code reviews, and mockups related to the task, without needing to click or memorize numbers.
 * You can also see in which column/status of the project board the task is currently.

Flexible taxonomy

 * Projects are like tags or keywords; there is no rigid tree structure.
 * Tasks can be assigned to multiple projects or to none. No more fights to decide where should a bug live when there are several candidates.

Creating tasks
Phabricator/Help
 * Simple form for newcomers with title, project, CCed users (subscribers), description, assignee and priority.
 * Type-ahead to select projects, instead of having to browse products/components to find the destination.
 * The description ("comment 0") of a task can be edited by multiple users (with history/diffs available) to evolve the task and summarize long discussions.
 * A toolbar and a specific markup allows formatting of descriptions.

Commenting
Phabricator/Help
 * Enjoy auto-saved comments while you type.
 * A toolbar and a specific markup allows formatting of comments.
 * You can add files and inline images to comments with a simple drag & drop.
 * You can edit your own comments (with history).
 * You can hide your own comments (admins can make them visible or delete them for good).
 * No mid-air collision when someone adds a comment while you are writing yours.

Notifications

 * Web notifications show activity relevant to the tasks you are subscribed to (once enabled, see T1047).
 * You can watch and subscribe to a project in Phabricator. Hence you do not need to ask Bugzilla admins anymore if they can add you to the default CC list of a Bugzilla component to receive mail notifications for all changes.
 * With Herald you can create custom notifications based on queries, e.g. "email me when someone mentions (your regexp here)". Note that Herald is currently disabled (T493).
 * Also see Phabricator/Help for more information.

Calls to action

 * Tasks needing triaging appear at the top of lists (including search results) and in personal dashboards of the members of the affected projects.

Permissions

 * We can decide who can create projects, rather than only let a few administrators do so.
 * We can have specific teams with specific permissions whose members could add new members, rather than relying on admins only.

Missing features
Bugzilla users might miss some features that Phabricator still lacks, or is not pursuing. For more details, check T22: Identify features Bugzilla users would miss in Phabricator and related blocker tasks. We have reported some of these features upstream; check our Phabricator.org project.

Some missing features or convenience functionality that has been brought up includes:
 * T28: Metrics for key Wikimedia projects software in Maniphest
 * T45: Suggestions of possible duplicates when creating a new bug/task (upstream)
 * T54: Adding dependencies directly while creating a (sub-)task
 * T800: Equivalent to Bugzilla's "Users Watching"
 * T67: RSS/Atom feeds (upstream, not in Phabricator's plans)
 * T96: Dependency tree view of tasks (upstream)
 * T109: Phabricator is assistive technology–unfriendly (upstream, some improvements have taken place in upstream)

Considerations

 * Search in Phabricator can be powered by Elasticsearch (the same library used by MediaWiki's CirrusSearch, but we are still fine tuning it (i.e.. searching for "delete" should also find "deleting" and "deletion") -- see T95. In general, the search user interface is simpler and does not offer all the advanced options (regex etc.) that Bugzilla's search offers.
 * Offering a simpler UI, some advanced actions require an extra click, e.g. T33, T60.
 * Will users find their way with type-ahead for assigning tasks to projects? See T27. There is also a page listing all projects in Phabricator but it is not linked from the task creation form.

Migration
We will migrate all the public Bugzilla reports, including their attachments. We plan to announce the date of the Bugzilla migration at least two weeks in advance, as soon as the day can be confirmed.

Test instance
A test instance is available for review, showing a sample of 10% of all the Bugzilla reports, automatically migrated. We are leaving at least one week for feedback, or more if there are issues that require fixes and a second test. Check the timeline for more details.

https://bugzillapreview.wmflabs.org/

Register with your Bugzilla email address

You are encouraged to register using the same email address that identifies you in Bugzilla. This is how you claim your Bugzilla activity. Depending on the queue of new registrations, it might take between a couple of hours and a couple of days to get your Bugzilla activity assigned to your new Phabricator account.

How to find equivalent tasks/reports

All Phabricator tasks migrated 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.

Known issues

We are aware of some problems, and we are working on them:


 * Upstream Bugzilla XML-RPC API issue creates invalid XML & our workaround hack damages attachments - hence apply our hack only on text comment output
 * Date of creation of Bugzilla report is missing
 * Respect programmatic (custom regex) links in Bugzilla comments

Check the full list of known issues at Bugzilla-Preview.

Reporting bugs

Your feedback is welcome. If you find a bug, check whether it has been reported in Bugzilla-Preview. If not, the best way to submit a bug is to create a Phabricator task. Check the Help to create your account and create a task.

Alternatively, you can use Talk:Phabricator/versus_Bugzilla.

Bugzilla in read-only mode
Bugzilla will be switched to read-only mode as soon as the actual migration starts. We will keep it available as is during an indeterminate period of time, just in case.

Bugzilla data migrated
All public Bugzilla reports will be migrated, but it is not possible (neither desirable) to make a 1:1 mapping between Bugzilla reports and Phabricator tasks. All the details about the migration script can be found at T259. Below you have an exhaustive list of Bugzilla fields and their future in Phabricator:

Status options have been revised (T212):

Priority options have been revised (T268):

Bugzilla URLs

 * URLs of Bugzilla reports will redirect to their equivalent Phabricator tasks.
 * URLs for (saved) searches in Bugzilla will not work anymore as Phabricator does not offer passing URL parameters in a similar way to Bugzilla (also see T40).

Interwiki links and templates
Existing Bugzilla interwiki links and templates will still work, because those links will redirect to the equivalent Phabricator tasks.

Phabricator/Help

Bots

 * An IRC bot will report Phabricator activity just like Wikibugs does with Bugzilla (T131)
 * Gerrit Notification Bot will notify Phabricator tasks about related patches (T169)