mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-29 16:08:22 +01:00
Unify links to www.phabricator.com and phabricator.com
Test Plan: scripts/sql/upgrade_schema.php Verify links at /directory/2/. Reviewers: epriestley Reviewed By: epriestley CC: aran Maniphest Tasks: T1096 Differential Revision: https://secure.phabricator.com/D2172
This commit is contained in:
parent
a5903d2a53
commit
32d2395a45
6 changed files with 10 additions and 7 deletions
3
resources/sql/patches/128.phabricatorcom.sql
Normal file
3
resources/sql/patches/128.phabricatorcom.sql
Normal file
|
@ -0,0 +1,3 @@
|
|||
UPDATE phabricator_directory.directory_item SET
|
||||
href = REPLACE(href, 'http://phabricator.com/', 'http://www.phabricator.com/')
|
||||
WHERE href LIKE 'http://phabricator.com/%';
|
|
@ -139,4 +139,4 @@ echo
|
|||
echo
|
||||
echo "Install probably worked mostly correctly. Continue with the 'Configuration Guide':";
|
||||
echo
|
||||
echo " http://phabricator.com/docs/phabricator/article/Configuration_Guide.html";
|
||||
echo " http://www.phabricator.com/docs/phabricator/article/Configuration_Guide.html";
|
|
@ -84,6 +84,6 @@ echo
|
|||
echo
|
||||
echo "Install probably worked mostly correctly. Continue with the 'Configuration Guide':";
|
||||
echo
|
||||
echo " http://phabricator.com/docs/phabricator/article/Configuration_Guide.html";
|
||||
echo " http://www.phabricator.com/docs/phabricator/article/Configuration_Guide.html";
|
||||
echo
|
||||
echo "You can delete any php5-* stuff that's left over in this directory if you want.";
|
||||
|
|
|
@ -31,8 +31,8 @@ If you are installing on Ubuntu or an RedHat derivative, there are install
|
|||
scripts available which should handle most of the things discussed in this
|
||||
document for you:
|
||||
|
||||
- **RedHat Derivatives**: <http://phabricator.com/rsrc/install/install_rhel-derivs.sh>
|
||||
- **Ubuntu**: <http://phabricator.com/rsrc/install/install_ubuntu.sh>
|
||||
- **RedHat Derivatives**: <http://www.phabricator.com/rsrc/install/install_rhel-derivs.sh>
|
||||
- **Ubuntu**: <http://www.phabricator.com/rsrc/install/install_ubuntu.sh>
|
||||
|
||||
If those work for you, you can skip directly to the
|
||||
@{article:Configuration Guide}. These scripts are also available in the
|
||||
|
@ -121,7 +121,7 @@ See <https://bugs.php.net/bug.php?id=59747> for more information.
|
|||
Since Phabricator is under active development, you should update frequently.
|
||||
You can use a script similar to this one to automate the process:
|
||||
|
||||
http://phabricator.com/rsrc/install/update_phabricator.sh
|
||||
http://www.phabricator.com/rsrc/install/update_phabricator.sh
|
||||
|
||||
= Next Steps =
|
||||
|
||||
|
|
2
src/infrastructure/env/PhabricatorEnv.php
vendored
2
src/infrastructure/env/PhabricatorEnv.php
vendored
|
@ -100,7 +100,7 @@ final class PhabricatorEnv {
|
|||
}
|
||||
|
||||
public static function getDoclink($resource) {
|
||||
return 'http://phabricator.com/docs/phabricator/'.$resource;
|
||||
return 'http://www.phabricator.com/docs/phabricator/'.$resource;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -828,7 +828,7 @@ final class PhabricatorSetup {
|
|||
public static function writeDoc($doc) {
|
||||
self::write(
|
||||
"\n".
|
||||
' http://phabricator.com/docs/phabricator/'.$doc.
|
||||
' http://www.phabricator.com/docs/phabricator/'.$doc.
|
||||
"\n\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue