summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorKristian Klausen <kristian@klausen.dk>2021-05-09 23:51:06 +0200
committerEli Schwartz <eschwartz@archlinux.org>2021-05-10 00:06:32 +0200
commitbab74dd307f160813c1bd78cf14d3a9a092e071c (patch)
tree78d7cd05f91c75d4e80efcbef60670ed9923b761 /web/template
parent8ec170b3e0ba386eb135c9a2957d983ca937c302 (diff)
downloadaur-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/template')
-rw-r--r--web/template/pkgbase_actions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkgbase_actions.php b/web/template/pkgbase_actions.php
index 5eee5478..3d208328 100644
--- a/web/template/pkgbase_actions.php
+++ b/web/template/pkgbase_actions.php
@@ -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>