Use bracket-free, human-readable query URIs everywhere
Summary: See <http://fab.wmflabs.org/T88>. While this issue is on MW's side, these links are kind of ugly and have more readable alternate forms now. Update them to use proper modern forms. Test Plan: See inlines. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D9042
This commit is contained in:
@@ -148,8 +148,8 @@ final class PhabricatorHomeMainController
|
||||
'Nothing appears to be critically broken right now.');
|
||||
}
|
||||
|
||||
$href = sprintf(
|
||||
'/maniphest/?statuses[]=%s&priorities[]=%s#R',
|
||||
$href = urisprintf(
|
||||
'/maniphest/?statuses=%s&priorities=%s#R',
|
||||
implode(',', ManiphestTaskStatus::getOpenStatusConstants()),
|
||||
$unbreak_now);
|
||||
$title = pht('Unbreak Now!');
|
||||
@@ -196,8 +196,8 @@ final class PhabricatorHomeMainController
|
||||
}
|
||||
|
||||
$title = pht('Needs Triage');
|
||||
$href = sprintf(
|
||||
'/maniphest/?statuses[]=%s&priorities[]=%s&userProjects[]=%s#R',
|
||||
$href = urisprintf(
|
||||
'/maniphest/?statuses=%s&priorities=%s&userProjects=%s#R',
|
||||
implode(',', ManiphestTaskStatus::getOpenStatusConstants()),
|
||||
$needs_triage,
|
||||
$user->getPHID());
|
||||
|
||||
Reference in New Issue
Block a user