How can I create URL shortcuts/redirects for task/diff IDs in Phabricator?Custom search for format or pattern on a web page?How to backup Chrome extension data on a mac?How can I force my browser to automatically redirect a certain website?How to send Chrome browser to URL with the mouse (without hitting the Enter key)?How can I proxy HTTP connections for URLs that involve port numbersAny active browser intermittently freezes after using it for a while - how to diagnose?On a Chromebook, how do I selectively delete Search entries from the Omniboxcreate a cmd shortcut which opens url in chrome, firefox and IE simultaneouslyHow to install Chrome extension through windows registry in Windows 8.1?Change Chrome default completion behavor

Why does AES have exactly 10 rounds for a 128-bit key, 12 for 192 bits and 14 for a 256-bit key size?

How should I respond when I lied about my education and the company finds out through background check?

Why is this estimator biased?

What should you do if you miss a job interview (deliberately)?

Why does a simple loop result in ASYNC_NETWORK_IO waits?

limit of geometric series sum when r = 1

What does "Scientists rise up against statistical significance" mean? (Comment in Nature)

Fear of getting stuck on one programming language / technology that is not used in my country

Is it improper etiquette to ask your opponent what his/her rating is before the game?

Review your own paper in Mathematics

A problem from Hardy's_Pure Mathematics on Real variables about Linear equations in 3 variables

What is the highest possible scrabble score for placing a single tile

how to stretch or compress a spiral cylinder?

How can "mimic phobia" be cured or prevented?

Melting point of aspirin, contradicting sources

It grows, but water kills it

New brakes for 90s road bike

How does a computer interpret real numbers?

sed '/^$/d' and grep -Ev '^$' failed to remove blank lines

The IT department bottlenecks progress. How should I handle this?

What is going on with 'gets(stdin)' on the site coderbyte?

Is it better practice to read straight from sheet music rather than memorize it?

Temporarily disable WLAN internet access for children, but allow it for adults

What exact color does ozone gas have?



How can I create URL shortcuts/redirects for task/diff IDs in Phabricator?


Custom search for format or pattern on a web page?How to backup Chrome extension data on a mac?How can I force my browser to automatically redirect a certain website?How to send Chrome browser to URL with the mouse (without hitting the Enter key)?How can I proxy HTTP connections for URLs that involve port numbersAny active browser intermittently freezes after using it for a while - how to diagnose?On a Chromebook, how do I selectively delete Search entries from the Omniboxcreate a cmd shortcut which opens url in chrome, firefox and IE simultaneouslyHow to install Chrome extension through windows registry in Windows 8.1?Change Chrome default completion behavor













6















Is there a way to create Phabricator shortcuts? Like when I type T123 in the address bar, it should take me to https://secure.phabricator.com/T123.
On the same note, I want shortcuts for Diffs and Pastes.



Here is a list of patterns I need a shortcuts to:



T - Any number
P - Any number
D - Any number


I don't mind using any browser trick or, in fact, using a Chrome extension to solve this for me. It would be a huge productivity boost.



PS: I primarily use Chrome so even a solution which is Chrome-specific should work for me.










share|improve this question









New contributor




ua741 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    6















    Is there a way to create Phabricator shortcuts? Like when I type T123 in the address bar, it should take me to https://secure.phabricator.com/T123.
    On the same note, I want shortcuts for Diffs and Pastes.



    Here is a list of patterns I need a shortcuts to:



    T - Any number
    P - Any number
    D - Any number


    I don't mind using any browser trick or, in fact, using a Chrome extension to solve this for me. It would be a huge productivity boost.



    PS: I primarily use Chrome so even a solution which is Chrome-specific should work for me.










    share|improve this question









    New contributor




    ua741 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      6












      6








      6








      Is there a way to create Phabricator shortcuts? Like when I type T123 in the address bar, it should take me to https://secure.phabricator.com/T123.
      On the same note, I want shortcuts for Diffs and Pastes.



      Here is a list of patterns I need a shortcuts to:



      T - Any number
      P - Any number
      D - Any number


      I don't mind using any browser trick or, in fact, using a Chrome extension to solve this for me. It would be a huge productivity boost.



      PS: I primarily use Chrome so even a solution which is Chrome-specific should work for me.










      share|improve this question









      New contributor




      ua741 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Is there a way to create Phabricator shortcuts? Like when I type T123 in the address bar, it should take me to https://secure.phabricator.com/T123.
      On the same note, I want shortcuts for Diffs and Pastes.



      Here is a list of patterns I need a shortcuts to:



      T - Any number
      P - Any number
      D - Any number


      I don't mind using any browser trick or, in fact, using a Chrome extension to solve this for me. It would be a huge productivity boost.



      PS: I primarily use Chrome so even a solution which is Chrome-specific should work for me.







      google-chrome productivity






      share|improve this question









      New contributor




      ua741 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      ua741 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Mar 18 at 6:35









      Anaksunaman

      5,58321423




      5,58321423






      New contributor




      ua741 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Mar 18 at 6:20









      ua741ua741

      1313




      1313




      New contributor




      ua741 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      ua741 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      ua741 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          2 Answers
          2






          active

          oldest

          votes


















          12














          Built-in Chrome functionality only allows shortcuts which start with a space-separated "keyword", e.g. T 123. Right-click the address bar, select "Edit search engines", and add several new search engines like this:



          • Keyword: T

          • URL: https://secure.phabricator.com/T%s

          The same feature is available in Firefox. While it doesn't have a convenient way to add custom search engines, you can instead create a bookmark with the same URL (same %s syntax) and assign a keyword to it through the bookmark's "Properties" window.






          share|improve this answer

























          • Thanks, @grawity for sharing this! This is really handy.

            – sachinjain024
            Mar 18 at 6:37











          • Thanks for sharing this trick, upvoted. Usually the diffIDs or taskIDs are shared in this format Tid, Did (without space), so I would just want to paste the ID and press enter.

            – ua741
            Mar 18 at 7:52







          • 5





            Then I would create a keyword for the whole Phabricator instance – typing phab <Space> <Ctrl+V> or p <Space> <Ctrl+V> might be faster than manually editing T123 to T 123.

            – grawity
            Mar 18 at 7:55



















          6














          You can use Requestly chrome+firefox extension to setup URL shortcuts.



          Here is an old article which explains how to setup URL shortcuts for JIRA projects. You can set up a similar Redirect Rule in Requestly to achieve this use case.



          Follow these steps



          1. Install Requestly, if not already installed

          2. Create new Redirect Rule


          3. Define Source & Destination as



            Request URL -> Matches (Regex) -> /search?q=T([0-9]+)/ig
            Destination https://secure.phabricator.com/T$1


          Explanation



          1. Use Regex match to identify the Task/Diff/Paste number from Google Search Query

          2. Redirect to corresponding Phabricator URL using matched value

          You can also use this - https://app.requestly.in/rules/#sharedList/1552883742989 to directly get above rule. You must have Requestly installed to import the rule.



          Here is a screenshot for setting up the rule:-



          enter image description here



          PS: I built Requestly.






          share|improve this answer

























          • I just wrote an article covering this question & answer on Requestly's official medium channel to benefit the community - medium.com/@requestly_ext/…

            – sachinjain024
            Mar 18 at 6:51






          • 1





            This should probably match a larger part of the URL (at least including google.com or OP's other default search engine), otherwise it may trigger on searches on quite a few websites which use /search?q=... (For that matter, it'll probably trigger on regular attempts to google T<numbers>?)

            – grawity
            Mar 18 at 6:52






          • 2





            @grawity It can only trigger when search?q=T<numbers>. What I have is an idea and I hope OP can customize it according to his/her needs. Depending upon the situation, we can write more constrained regex but I leave that to the OP and others using the rule.

            – sachinjain024
            Mar 18 at 6:58











          • This looks good. How can I modify the regex so that it does not redirect for T12312 some text?

            – ua741
            Mar 18 at 8:00






          • 3





            You can just add $ to the end (or [$&] if you also want to catch the case of possible additional search parameters). There are some really good online regex testers out there, with which you can easily edit and test your regex in realtime :-)

            – Falco
            Mar 18 at 9:49










          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "3"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          ua741 is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1414946%2fhow-can-i-create-url-shortcuts-redirects-for-task-diff-ids-in-phabricator%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          12














          Built-in Chrome functionality only allows shortcuts which start with a space-separated "keyword", e.g. T 123. Right-click the address bar, select "Edit search engines", and add several new search engines like this:



          • Keyword: T

          • URL: https://secure.phabricator.com/T%s

          The same feature is available in Firefox. While it doesn't have a convenient way to add custom search engines, you can instead create a bookmark with the same URL (same %s syntax) and assign a keyword to it through the bookmark's "Properties" window.






          share|improve this answer

























          • Thanks, @grawity for sharing this! This is really handy.

            – sachinjain024
            Mar 18 at 6:37











          • Thanks for sharing this trick, upvoted. Usually the diffIDs or taskIDs are shared in this format Tid, Did (without space), so I would just want to paste the ID and press enter.

            – ua741
            Mar 18 at 7:52







          • 5





            Then I would create a keyword for the whole Phabricator instance – typing phab <Space> <Ctrl+V> or p <Space> <Ctrl+V> might be faster than manually editing T123 to T 123.

            – grawity
            Mar 18 at 7:55
















          12














          Built-in Chrome functionality only allows shortcuts which start with a space-separated "keyword", e.g. T 123. Right-click the address bar, select "Edit search engines", and add several new search engines like this:



          • Keyword: T

          • URL: https://secure.phabricator.com/T%s

          The same feature is available in Firefox. While it doesn't have a convenient way to add custom search engines, you can instead create a bookmark with the same URL (same %s syntax) and assign a keyword to it through the bookmark's "Properties" window.






          share|improve this answer

























          • Thanks, @grawity for sharing this! This is really handy.

            – sachinjain024
            Mar 18 at 6:37











          • Thanks for sharing this trick, upvoted. Usually the diffIDs or taskIDs are shared in this format Tid, Did (without space), so I would just want to paste the ID and press enter.

            – ua741
            Mar 18 at 7:52







          • 5





            Then I would create a keyword for the whole Phabricator instance – typing phab <Space> <Ctrl+V> or p <Space> <Ctrl+V> might be faster than manually editing T123 to T 123.

            – grawity
            Mar 18 at 7:55














          12












          12








          12







          Built-in Chrome functionality only allows shortcuts which start with a space-separated "keyword", e.g. T 123. Right-click the address bar, select "Edit search engines", and add several new search engines like this:



          • Keyword: T

          • URL: https://secure.phabricator.com/T%s

          The same feature is available in Firefox. While it doesn't have a convenient way to add custom search engines, you can instead create a bookmark with the same URL (same %s syntax) and assign a keyword to it through the bookmark's "Properties" window.






          share|improve this answer















          Built-in Chrome functionality only allows shortcuts which start with a space-separated "keyword", e.g. T 123. Right-click the address bar, select "Edit search engines", and add several new search engines like this:



          • Keyword: T

          • URL: https://secure.phabricator.com/T%s

          The same feature is available in Firefox. While it doesn't have a convenient way to add custom search engines, you can instead create a bookmark with the same URL (same %s syntax) and assign a keyword to it through the bookmark's "Properties" window.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 18 at 6:40

























          answered Mar 18 at 6:36









          grawitygrawity

          241k37510566




          241k37510566












          • Thanks, @grawity for sharing this! This is really handy.

            – sachinjain024
            Mar 18 at 6:37











          • Thanks for sharing this trick, upvoted. Usually the diffIDs or taskIDs are shared in this format Tid, Did (without space), so I would just want to paste the ID and press enter.

            – ua741
            Mar 18 at 7:52







          • 5





            Then I would create a keyword for the whole Phabricator instance – typing phab <Space> <Ctrl+V> or p <Space> <Ctrl+V> might be faster than manually editing T123 to T 123.

            – grawity
            Mar 18 at 7:55


















          • Thanks, @grawity for sharing this! This is really handy.

            – sachinjain024
            Mar 18 at 6:37











          • Thanks for sharing this trick, upvoted. Usually the diffIDs or taskIDs are shared in this format Tid, Did (without space), so I would just want to paste the ID and press enter.

            – ua741
            Mar 18 at 7:52







          • 5





            Then I would create a keyword for the whole Phabricator instance – typing phab <Space> <Ctrl+V> or p <Space> <Ctrl+V> might be faster than manually editing T123 to T 123.

            – grawity
            Mar 18 at 7:55

















          Thanks, @grawity for sharing this! This is really handy.

          – sachinjain024
          Mar 18 at 6:37





          Thanks, @grawity for sharing this! This is really handy.

          – sachinjain024
          Mar 18 at 6:37













          Thanks for sharing this trick, upvoted. Usually the diffIDs or taskIDs are shared in this format Tid, Did (without space), so I would just want to paste the ID and press enter.

          – ua741
          Mar 18 at 7:52






          Thanks for sharing this trick, upvoted. Usually the diffIDs or taskIDs are shared in this format Tid, Did (without space), so I would just want to paste the ID and press enter.

          – ua741
          Mar 18 at 7:52





          5




          5





          Then I would create a keyword for the whole Phabricator instance – typing phab <Space> <Ctrl+V> or p <Space> <Ctrl+V> might be faster than manually editing T123 to T 123.

          – grawity
          Mar 18 at 7:55






          Then I would create a keyword for the whole Phabricator instance – typing phab <Space> <Ctrl+V> or p <Space> <Ctrl+V> might be faster than manually editing T123 to T 123.

          – grawity
          Mar 18 at 7:55














          6














          You can use Requestly chrome+firefox extension to setup URL shortcuts.



          Here is an old article which explains how to setup URL shortcuts for JIRA projects. You can set up a similar Redirect Rule in Requestly to achieve this use case.



          Follow these steps



          1. Install Requestly, if not already installed

          2. Create new Redirect Rule


          3. Define Source & Destination as



            Request URL -> Matches (Regex) -> /search?q=T([0-9]+)/ig
            Destination https://secure.phabricator.com/T$1


          Explanation



          1. Use Regex match to identify the Task/Diff/Paste number from Google Search Query

          2. Redirect to corresponding Phabricator URL using matched value

          You can also use this - https://app.requestly.in/rules/#sharedList/1552883742989 to directly get above rule. You must have Requestly installed to import the rule.



          Here is a screenshot for setting up the rule:-



          enter image description here



          PS: I built Requestly.






          share|improve this answer

























          • I just wrote an article covering this question & answer on Requestly's official medium channel to benefit the community - medium.com/@requestly_ext/…

            – sachinjain024
            Mar 18 at 6:51






          • 1





            This should probably match a larger part of the URL (at least including google.com or OP's other default search engine), otherwise it may trigger on searches on quite a few websites which use /search?q=... (For that matter, it'll probably trigger on regular attempts to google T<numbers>?)

            – grawity
            Mar 18 at 6:52






          • 2





            @grawity It can only trigger when search?q=T<numbers>. What I have is an idea and I hope OP can customize it according to his/her needs. Depending upon the situation, we can write more constrained regex but I leave that to the OP and others using the rule.

            – sachinjain024
            Mar 18 at 6:58











          • This looks good. How can I modify the regex so that it does not redirect for T12312 some text?

            – ua741
            Mar 18 at 8:00






          • 3





            You can just add $ to the end (or [$&] if you also want to catch the case of possible additional search parameters). There are some really good online regex testers out there, with which you can easily edit and test your regex in realtime :-)

            – Falco
            Mar 18 at 9:49















          6














          You can use Requestly chrome+firefox extension to setup URL shortcuts.



          Here is an old article which explains how to setup URL shortcuts for JIRA projects. You can set up a similar Redirect Rule in Requestly to achieve this use case.



          Follow these steps



          1. Install Requestly, if not already installed

          2. Create new Redirect Rule


          3. Define Source & Destination as



            Request URL -> Matches (Regex) -> /search?q=T([0-9]+)/ig
            Destination https://secure.phabricator.com/T$1


          Explanation



          1. Use Regex match to identify the Task/Diff/Paste number from Google Search Query

          2. Redirect to corresponding Phabricator URL using matched value

          You can also use this - https://app.requestly.in/rules/#sharedList/1552883742989 to directly get above rule. You must have Requestly installed to import the rule.



          Here is a screenshot for setting up the rule:-



          enter image description here



          PS: I built Requestly.






          share|improve this answer

























          • I just wrote an article covering this question & answer on Requestly's official medium channel to benefit the community - medium.com/@requestly_ext/…

            – sachinjain024
            Mar 18 at 6:51






          • 1





            This should probably match a larger part of the URL (at least including google.com or OP's other default search engine), otherwise it may trigger on searches on quite a few websites which use /search?q=... (For that matter, it'll probably trigger on regular attempts to google T<numbers>?)

            – grawity
            Mar 18 at 6:52






          • 2





            @grawity It can only trigger when search?q=T<numbers>. What I have is an idea and I hope OP can customize it according to his/her needs. Depending upon the situation, we can write more constrained regex but I leave that to the OP and others using the rule.

            – sachinjain024
            Mar 18 at 6:58











          • This looks good. How can I modify the regex so that it does not redirect for T12312 some text?

            – ua741
            Mar 18 at 8:00






          • 3





            You can just add $ to the end (or [$&] if you also want to catch the case of possible additional search parameters). There are some really good online regex testers out there, with which you can easily edit and test your regex in realtime :-)

            – Falco
            Mar 18 at 9:49













          6












          6








          6







          You can use Requestly chrome+firefox extension to setup URL shortcuts.



          Here is an old article which explains how to setup URL shortcuts for JIRA projects. You can set up a similar Redirect Rule in Requestly to achieve this use case.



          Follow these steps



          1. Install Requestly, if not already installed

          2. Create new Redirect Rule


          3. Define Source & Destination as



            Request URL -> Matches (Regex) -> /search?q=T([0-9]+)/ig
            Destination https://secure.phabricator.com/T$1


          Explanation



          1. Use Regex match to identify the Task/Diff/Paste number from Google Search Query

          2. Redirect to corresponding Phabricator URL using matched value

          You can also use this - https://app.requestly.in/rules/#sharedList/1552883742989 to directly get above rule. You must have Requestly installed to import the rule.



          Here is a screenshot for setting up the rule:-



          enter image description here



          PS: I built Requestly.






          share|improve this answer















          You can use Requestly chrome+firefox extension to setup URL shortcuts.



          Here is an old article which explains how to setup URL shortcuts for JIRA projects. You can set up a similar Redirect Rule in Requestly to achieve this use case.



          Follow these steps



          1. Install Requestly, if not already installed

          2. Create new Redirect Rule


          3. Define Source & Destination as



            Request URL -> Matches (Regex) -> /search?q=T([0-9]+)/ig
            Destination https://secure.phabricator.com/T$1


          Explanation



          1. Use Regex match to identify the Task/Diff/Paste number from Google Search Query

          2. Redirect to corresponding Phabricator URL using matched value

          You can also use this - https://app.requestly.in/rules/#sharedList/1552883742989 to directly get above rule. You must have Requestly installed to import the rule.



          Here is a screenshot for setting up the rule:-



          enter image description here



          PS: I built Requestly.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 18 at 6:40

























          answered Mar 18 at 6:35









          sachinjain024sachinjain024

          28027




          28027












          • I just wrote an article covering this question & answer on Requestly's official medium channel to benefit the community - medium.com/@requestly_ext/…

            – sachinjain024
            Mar 18 at 6:51






          • 1





            This should probably match a larger part of the URL (at least including google.com or OP's other default search engine), otherwise it may trigger on searches on quite a few websites which use /search?q=... (For that matter, it'll probably trigger on regular attempts to google T<numbers>?)

            – grawity
            Mar 18 at 6:52






          • 2





            @grawity It can only trigger when search?q=T<numbers>. What I have is an idea and I hope OP can customize it according to his/her needs. Depending upon the situation, we can write more constrained regex but I leave that to the OP and others using the rule.

            – sachinjain024
            Mar 18 at 6:58











          • This looks good. How can I modify the regex so that it does not redirect for T12312 some text?

            – ua741
            Mar 18 at 8:00






          • 3





            You can just add $ to the end (or [$&] if you also want to catch the case of possible additional search parameters). There are some really good online regex testers out there, with which you can easily edit and test your regex in realtime :-)

            – Falco
            Mar 18 at 9:49

















          • I just wrote an article covering this question & answer on Requestly's official medium channel to benefit the community - medium.com/@requestly_ext/…

            – sachinjain024
            Mar 18 at 6:51






          • 1





            This should probably match a larger part of the URL (at least including google.com or OP's other default search engine), otherwise it may trigger on searches on quite a few websites which use /search?q=... (For that matter, it'll probably trigger on regular attempts to google T<numbers>?)

            – grawity
            Mar 18 at 6:52






          • 2





            @grawity It can only trigger when search?q=T<numbers>. What I have is an idea and I hope OP can customize it according to his/her needs. Depending upon the situation, we can write more constrained regex but I leave that to the OP and others using the rule.

            – sachinjain024
            Mar 18 at 6:58











          • This looks good. How can I modify the regex so that it does not redirect for T12312 some text?

            – ua741
            Mar 18 at 8:00






          • 3





            You can just add $ to the end (or [$&] if you also want to catch the case of possible additional search parameters). There are some really good online regex testers out there, with which you can easily edit and test your regex in realtime :-)

            – Falco
            Mar 18 at 9:49
















          I just wrote an article covering this question & answer on Requestly's official medium channel to benefit the community - medium.com/@requestly_ext/…

          – sachinjain024
          Mar 18 at 6:51





          I just wrote an article covering this question & answer on Requestly's official medium channel to benefit the community - medium.com/@requestly_ext/…

          – sachinjain024
          Mar 18 at 6:51




          1




          1





          This should probably match a larger part of the URL (at least including google.com or OP's other default search engine), otherwise it may trigger on searches on quite a few websites which use /search?q=... (For that matter, it'll probably trigger on regular attempts to google T<numbers>?)

          – grawity
          Mar 18 at 6:52





          This should probably match a larger part of the URL (at least including google.com or OP's other default search engine), otherwise it may trigger on searches on quite a few websites which use /search?q=... (For that matter, it'll probably trigger on regular attempts to google T<numbers>?)

          – grawity
          Mar 18 at 6:52




          2




          2





          @grawity It can only trigger when search?q=T<numbers>. What I have is an idea and I hope OP can customize it according to his/her needs. Depending upon the situation, we can write more constrained regex but I leave that to the OP and others using the rule.

          – sachinjain024
          Mar 18 at 6:58





          @grawity It can only trigger when search?q=T<numbers>. What I have is an idea and I hope OP can customize it according to his/her needs. Depending upon the situation, we can write more constrained regex but I leave that to the OP and others using the rule.

          – sachinjain024
          Mar 18 at 6:58













          This looks good. How can I modify the regex so that it does not redirect for T12312 some text?

          – ua741
          Mar 18 at 8:00





          This looks good. How can I modify the regex so that it does not redirect for T12312 some text?

          – ua741
          Mar 18 at 8:00




          3




          3





          You can just add $ to the end (or [$&] if you also want to catch the case of possible additional search parameters). There are some really good online regex testers out there, with which you can easily edit and test your regex in realtime :-)

          – Falco
          Mar 18 at 9:49





          You can just add $ to the end (or [$&] if you also want to catch the case of possible additional search parameters). There are some really good online regex testers out there, with which you can easily edit and test your regex in realtime :-)

          – Falco
          Mar 18 at 9:49










          ua741 is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          ua741 is a new contributor. Be nice, and check out our Code of Conduct.












          ua741 is a new contributor. Be nice, and check out our Code of Conduct.











          ua741 is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1414946%2fhow-can-i-create-url-shortcuts-redirects-for-task-diff-ids-in-phabricator%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          He _____ here since 1970 . Answer needed [closed]What does “since he was so high” mean?Meaning of “catch birds for”?How do I ensure “since” takes the meaning I want?“Who cares here” meaningWhat does “right round toward” mean?the time tense (had now been detected)What does the phrase “ring around the roses” mean here?Correct usage of “visited upon”Meaning of “foiled rail sabotage bid”It was the third time I had gone to Rome or It is the third time I had been to Rome

          Bunad

          Færeyskur hestur Heimild | Tengill | Tilvísanir | LeiðsagnarvalRossið - síða um færeyska hrossið á færeyskuGott ár hjá færeyska hestinum