Skip to content

Commit 78a7168

Browse files
klausenbuskjelly
authored andcommitted
Update wiki links to the new short URL[1]
Done with: find -type f -exec sed -Ee ':wiki.archlinux.org: s:(wiki.archlinux.org)/index.php/:\1/title/:g' -i {} \; Fix #343 [1] https://gitlab.archlinux.org/archlinux/infrastructure/-/merge_requests/335
1 parent 48b9c6a commit 78a7168

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

main/templatetags/details_link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def bug_report(package):
4848

4949
@register.simple_tag
5050
def wiki_link(package):
51-
url = "https://wiki.archlinux.org/index.php/Special:Search"
51+
url = "https://wiki.archlinux.org/title/Special:Search"
5252
data = {
5353
'search': package.pkgname,
5454
}

templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{% if user.is_authenticated %}
3636
<ul>
3737
<li><a href="{% url 'devel-index' %}" title="Developer Dashboard">Dashboard</a></li>
38-
<li><a href="https://wiki.archlinux.org/index.php/DeveloperWiki"
38+
<li><a href="https://wiki.archlinux.org/title/DeveloperWiki"
3939
title="Developer Wiki">DevWiki</a></li>
4040
<li><a href="{% url 'news-list' as newsl %}{{ newsl }}" title="Manage news articles">News</a></li>
4141
<li><a href="/packages/signoffs/" title="Package signoffs">Signoffs</a></li>
@@ -79,7 +79,7 @@
7979
<a href="mailto:[email protected]" title="Contact Levente Polyák">Levente Polyák</a>.</p>
8080

8181
<p>The Arch Linux name and logo are recognized
82-
<a href="https://wiki.archlinux.org/index.php/DeveloperWiki:TrademarkPolicy"
82+
<a href="https://wiki.archlinux.org/title/DeveloperWiki:TrademarkPolicy"
8383
title="Arch Linux Trademark Policy">trademarks</a>. Some rights reserved.</p>
8484

8585
<p>The registered trademark Linux® is used pursuant to a sublicense from LMI,

templates/mirrors/mirrorlist_generate.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h3>Mirrorlist with all available mirrors</h3>
2828
<h3>Customized by country mirrorlist</h3>
2929

3030
<p>The following form can generate a custom up-to-date
31-
<a href="https://wiki.archlinux.org/index.php/Pacman"
31+
<a href="https://wiki.archlinux.org/title/Pacman"
3232
title="ArchWiki: Pacman">pacman</a> mirrorlist based on geography and
3333
desired protocol(s). Simply replace the contents of
3434
<code>/etc/pacman.d/mirrorlist</code> with your generated list.

templates/public/art.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h2>Arch Linux Logos and Artwork</h2>
1111
<h3>Logos for Press Usage</h3>
1212

1313
<p>The following Arch Linux logos are available for press and other use, subject to
14-
the restrictions of our <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:TrademarkPolicy"
14+
the restrictions of our <a href="https://wiki.archlinux.org/title/DeveloperWiki:TrademarkPolicy"
1515
title="Arch Linux Trademark Policy">trademark policy</a>.</p>
1616

1717
<p><strong>Two-color standard version</strong><br />

templates/public/download.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h3>Release Info</h3>
2929
{% if release.version %}<li><strong>Current Release:</strong> {{ release.version }}</li>{% endif %}
3030
{% if release.kernel_version %}<li><strong>Included Kernel:</strong> {{ release.kernel_version }}</li>{% endif %}
3131
{% if release.torrent_data %}<li><strong>ISO Size:</strong> {{ release.torrent.file_length|filesizeformat }}</li>{% endif %}
32-
<li><a href="https://wiki.archlinux.org/index.php/Installation_guide">Installation Guide</a></li>
32+
<li><a href="https://wiki.archlinux.org/title/Installation_guide">Installation Guide</a></li>
3333
<li><strong>Resources:</strong>
3434
<ul>
3535
<li><a href="https://bugs.archlinux.org/index.php?project=6"
@@ -125,7 +125,7 @@ <h4>Checksums</h4>
125125
{% endcache %}
126126

127127
<p>If you want to become an Official Arch Linux Mirror please follow the
128-
instructions listed <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:NewMirrors">here</a>.</p>
128+
instructions listed <a href="https://wiki.archlinux.org/title/DeveloperWiki:NewMirrors">here</a>.</p>
129129

130130
</div>
131131
{% endblock %}

templates/public/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,19 +114,19 @@ <h4>Documentation</h4>
114114
title="Community documentation">Wiki</a></li>
115115
<li><a href="https://man.archlinux.org/"
116116
title="All manpages from Arch packages">Manual Pages</a></li>
117-
<li><a href="https://wiki.archlinux.org/index.php/Installation_guide"
117+
<li><a href="https://wiki.archlinux.org/title/Installation_guide"
118118
title="Installation guide">Installation Guide</a></li>
119119
</ul>
120120

121121
<h4>Community</h4>
122122
<ul>
123123
<li><a href="https://mailman.archlinux.org/mailman/listinfo/"
124124
title="Community and developer mailing lists">Mailing Lists</a></li>
125-
<li><a href="https://wiki.archlinux.org/index.php/IRC_channels"
125+
<li><a href="https://wiki.archlinux.org/title/IRC_channels"
126126
title="Official and regional IRC communities">IRC Channels</a></li>
127127
<li><a href="https://planet.archlinux.org/"
128128
title="Arch in the blogosphere">Planet Arch</a></li>
129-
<li><a href="https://wiki.archlinux.org/index.php/International_communities"
129+
<li><a href="https://wiki.archlinux.org/title/International_communities"
130130
title="Arch communities in your native language">International Communities</a></li>
131131
</ul>
132132

@@ -155,13 +155,13 @@ <h4>Tools</h4>
155155

156156
<h4>Development</h4>
157157
<ul>
158-
<li><a href="https://wiki.archlinux.org/index.php/Getting_involved"
158+
<li><a href="https://wiki.archlinux.org/title/Getting_involved"
159159
title="Getting involved">Getting involved</a></li>
160160
<li><a href="https://projects.archlinux.org/"
161161
title="Official Arch projects (git)">Projects in Git</a></li>
162162
<li><a href="{% url 'page-svn' %}"
163163
title="View SVN entries for packages">SVN Repositories</a></li>
164-
<li><a href="https://wiki.archlinux.org/index.php/DeveloperWiki"
164+
<li><a href="https://wiki.archlinux.org/title/DeveloperWiki"
165165
title="Developer Wiki articles">Developer Wiki</a></li>
166166
<li><a href="/groups/"
167167
title="View the available package groups">Package Groups</a></li>
@@ -186,7 +186,7 @@ <h4>People</h4>
186186

187187
<h4>More Resources</h4>
188188
<ul>
189-
<li><a href="https://wiki.archlinux.org/index.php/Arch_Linux_press_coverage"
189+
<li><a href="https://wiki.archlinux.org/title/Arch_Linux_press_coverage"
190190
title="Arch Linux in the media">Press Coverage</a></li>
191191
<li><a href="{% url 'page-art' %}" title="Arch logos and other artwork for promotional use">Logos &amp; Artwork</a></li>
192192
<li><a href="{% url 'news-list' %}" title="News Archives">News Archives</a></li>

templates/public/svn.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h2 class="title">SVN Repositories</h2>
66
<p>
77
The PKGBUILD files can be fetched via the ABS utility. To learn more
8-
about ABS, see <a href="https://wiki.archlinux.org/index.php/ABS">the ABS wiki page</a>.
8+
about ABS, see <a href="https://wiki.archlinux.org/title/ABS">the ABS wiki page</a>.
99
</p>
1010
<p>The SVN repositories have been cloned into git repositories and can be
1111
viewed via the cgit interface.

templates/releng/netboot.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ <h4>UEFI</h4>
6161

6262
<h3>More information</h3>
6363

64-
<p>For detailed usage instructions, check out the <a href="https://wiki.archlinux.org/index.php/Netboot">netboot wiki page</a>.
64+
<p>For detailed usage instructions, check out the <a href="https://wiki.archlinux.org/title/Netboot">netboot wiki page</a>.
6565

6666
</div>
6767
{% endblock %}

0 commit comments

Comments
 (0)