Verified Commit bab74dd3 authored by Kristian Klausen's avatar Kristian Klausen 🎉 Committed by Eli Schwartz
Browse files

Update wiki links to the new short URL

Done with: find -type f -exec sed -Ee ':wiki.archlinux.org: s:(wiki.archlinux.org)/index.php/:\1/title/:g' -i {} \;

Fixes #16

[1] archlinux/infrastructure!335

Signed-off-by: Eli Schwartz's avatarEli Schwartz <eschwartz@archlinux.org>
parent 8ec170b3
......@@ -22,7 +22,7 @@ you may customize [options] aur_location and [sso] openid_configuration in
You may then start `keycloak.service` through systemd.
See also ArchWiki <https://wiki.archlinux.org/index.php/Keycloak>.
See also ArchWiki <https://wiki.archlinux.org/title/Keycloak>.
Configuring a realm
-------------------
......
......@@ -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>'
);
?>
......
......@@ -7,7 +7,7 @@
<a href="<?= $log_uri ?>"><?= __('View Changes') ?></a>
</li>
<li><a href="<?= $snapshot_uri ?>"><?= __('Download snapshot') ?></a>
<li><a href="https://wiki.archlinux.org/index.php/Special:Search?search=<?= urlencode($row['Name']) ?>"><?= __('Search wiki') ?></a></li>
<li><a href="https://wiki.archlinux.org/title/Special:Search?search=<?= urlencode($row['Name']) ?>"><?= __('Search wiki') ?></a></li>
<li><span class="flagged"><?= $row["OutOfDateTS"] !== NULL ? html_action_link($base_uri . 'flag-comment/', __('Flagged out-of-date (%s)', "$out_of_date_time")) : "" ?></span></li>
<?php if ($row["OutOfDateTS"] === NULL): ?>
<li><?= html_action_link($base_uri . 'flag/', __('Flag package out-of-date')) ?></li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment