diff options
author | Kristian Klausen <kristian@klausen.dk> | 2021-05-09 23:51:06 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-05-10 00:06:32 +0200 |
commit | bab74dd307f160813c1bd78cf14d3a9a092e071c (patch) | |
tree | 78d7cd05f91c75d4e80efcbef60670ed9923b761 /web/html | |
parent | 8ec170b3e0ba386eb135c9a2957d983ca937c302 (diff) | |
download | aur-bab74dd307f160813c1bd78cf14d3a9a092e071c.tar.gz aur-bab74dd307f160813c1bd78cf14d3a9a092e071c.tar.xz |
Update wiki links to the new short URLorigin/master
Done with: find -type f -exec sed -Ee ':wiki.archlinux.org: s:(wiki.archlinux.org)/index.php/:\1/title/:g' -i {} \;
Fixes #16
[1] https://gitlab.archlinux.org/archlinux/infrastructure/-/merge_requests/335
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/home.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web/html/home.php b/web/html/home.php index 8fb05246..be37e970 100644 --- a/web/html/home.php +++ b/web/html/home.php @@ -74,9 +74,9 @@ if (isset($_COOKIE["AURSID"])) { <?php echo __( 'Welcome to the AUR! Please read the %sAUR User Guidelines%s and %sAUR TU Guidelines%s for more information.', - '<a href="https://wiki.archlinux.org/index.php/AUR_User_Guidelines">', + '<a href="https://wiki.archlinux.org/title/AUR_User_Guidelines">', '</a>', - '<a href="https://wiki.archlinux.org/index.php/AUR_Trusted_User_Guidelines">', + '<a href="https://wiki.archlinux.org/title/AUR_Trusted_User_Guidelines">', '</a>' ); ?> @@ -84,7 +84,7 @@ if (isset($_COOKIE["AURSID"])) { echo __( 'Contributed PKGBUILDs %smust%s conform to the %sArch Packaging Standards%s otherwise they will be deleted!', '<strong>', '</strong>', - '<a href="https://wiki.archlinux.org/index.php/Arch_Packaging_Standards">', + '<a href="https://wiki.archlinux.org/title/Arch_Packaging_Standards">', '</a>' ); ?> @@ -95,7 +95,7 @@ if (isset($_COOKIE["AURSID"])) { <?= __('DISCLAIMER') ?>: <?= __('AUR packages are user produced content. Any use of the provided files is at your own risk.'); ?> </p> - <p class="readmore"><a href="https://wiki.archlinux.org/index.php/AUR"><?= __('Learn more...') ?></a></p> + <p class="readmore"><a href="https://wiki.archlinux.org/title/AUR"><?= __('Learn more...') ?></a></p> </div> <div id="news"> <h3><a><?= __('Support') ?></a><span class="arrow"></span></h3> @@ -131,7 +131,7 @@ if (isset($_COOKIE["AURSID"])) { <?php echo __( 'Git over SSH is now used to submit packages to the AUR. See the %sSubmitting packages%s section of the Arch User Repository ArchWiki page for more details.', - '<a href="https://wiki.archlinux.org/index.php/Arch_User_Repository#Submitting_packages">', + '<a href="https://wiki.archlinux.org/title/Arch_User_Repository#Submitting_packages">', '</a>' ); ?> |