summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html8
-rw-r--r--templates/mirrors/mirrorlist_generate.html5
-rw-r--r--templates/public/art.html2
-rw-r--r--templates/public/download.html7
-rw-r--r--templates/public/feeds.html10
-rw-r--r--templates/public/index.html19
-rw-r--r--templates/public/svn.html4
-rw-r--r--templates/releng/results.html3
8 files changed, 31 insertions, 27 deletions
diff --git a/templates/base.html b/templates/base.html
index 3eb67c92..2b3aed66 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,4 +1,4 @@
-{% load url from future %}{% load static from staticfiles %}<!DOCTYPE html>
+{% load url from future %}{% load static from staticfiles %}{% load wiki %}<!DOCTYPE html>
<html lang="en">
<head>
<title>{% block title %}{{ BRANDING_DISTRONAME }}{% endblock %}</title>
@@ -21,7 +21,7 @@
<li id="anb-home"><a href="/" title="{{ BRANDING_SHORTNAME }} news, packages, projects and more">Home</a></li>
<li id="anb-packages"><a href="/packages/" title="{{ BRANDING_SHORTNAME }} Package Database">Packages</a></li>
<li id="anb-forums"><a href="https://bbs.archlinux.org/" title="Community forums">Forums</a></li>
- <li id="anb-wiki"><a href="https://wiki.archlinux.org/" title="Community documentation">Wiki</a></li>
+ <li id="anb-wiki"><a href="{% wiki_url %}" title="Community documentation">Wiki</a></li>
<li id="anb-bugs"><a href="https://bugs.archlinux.org/" title="Report and track bugs">Bugs</a></li>
<li id="anb-aur"><a href="https://aur.archlinux.org/" title="Arch Linux User Repository">AUR</a></li>
<li id="anb-download"><a href="{% url 'page-download' as pdl %}{{ pdl }}" title="Get {{ BRANDING_DISTRONAME }}">Download</a></li>
@@ -33,7 +33,7 @@
{% if user.is_authenticated %}
<ul>
<li><a href="{% url 'devel-index' %}" title="Developer Dashboard">Dashboard</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/DeveloperWiki"
+ <li><a href="{% wiki_url 'DeveloperWiki' %}"
title="Developer Wiki">DevWiki</a></li>
<li><a href="{% url 'news-list' as newsl %}{{ newsl }}" title="Manage news articles">News</a></li>
<li><a href="/packages/signoffs/" title="Package signoffs">Signoffs</a></li>
@@ -75,7 +75,7 @@
title="Contact Aaron Griffin">Aaron Griffin</a>.</p>
<p>The Arch Linux name and logo are recognized
- <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:TrademarkPolicy"
+ <a href="{% wiki_url 'DeveloperWiki:TrademarkPolicy' %}"
title="Arch Linux Trademark Policy">trademarks</a>. Some rights reserved.</p>
<p>The registered trademark Linux® is used pursuant to a sublicense from LMI,
diff --git a/templates/mirrors/mirrorlist_generate.html b/templates/mirrors/mirrorlist_generate.html
index c68cad6c..2025eec2 100644
--- a/templates/mirrors/mirrorlist_generate.html
+++ b/templates/mirrors/mirrorlist_generate.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load package_extras %}
+{% load wiki %}
{% block title %}{{ BRANDING_DISTRONAME }} - Pacman Mirrorlist Generator{% endblock %}
{% block content %}
@@ -28,8 +29,8 @@
<h3>Customized by country mirrorlist</h3>
<p>The following form can generate a custom up-to-date
- <a href="https://wiki.archlinux.org/index.php/Pacman"
- title="ArchWiki: Pacman">pacman</a> mirrorlist based on geography and
+ <a href="{% wiki_url 'Pacman' %}"
+ title="{{BRANDING_WIKINAME}}: Pacman">pacman</a> mirrorlist based on geography and
desired protocol(s). Simply replace the contents of
<code>/etc/pacman.d/mirrorlist</code> with your generated list.
Additionally, the mirror status data can be incorporated into the generated
diff --git a/templates/public/art.html b/templates/public/art.html
index f013a040..89f1f81e 100644
--- a/templates/public/art.html
+++ b/templates/public/art.html
@@ -11,7 +11,7 @@
<h3>Logos for Press Usage</h3>
<p>The following {{BRANDING_DISTRONAME}} logos are available for press and other use, subject to
- the restrictions of our <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:TrademarkPolicy"
+ the restrictions of our <a href="{% wiki_url 'DeveloperWiki:TrademarkPolicy' %}"
title="{{BRANDING_DISTRONAME}} Trademark Policy">trademark policy</a>.</p>
<p><strong>Two-color standard version</strong><br />
diff --git a/templates/public/download.html b/templates/public/download.html
index fdfe8e57..72d21736 100644
--- a/templates/public/download.html
+++ b/templates/public/download.html
@@ -2,6 +2,7 @@
{% load cache %}
{% load url from future %}
{% load static from staticfiles %}
+{% load wiki %}
{% block title %}{{ BRANDING_DISTRONAME }} - Downloads{% endblock %}
{% block navbarclass %}anb-download{% endblock %}
@@ -20,7 +21,7 @@
can always be updated with `pacman -Syu`.</p>
<ul>
- <li><strong>Current Release:</strong> <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:{{ version }}">{{ version }}</a></li>
+ <li><strong>Current Release:</strong> <a href="{% wiki_url 'DeveloperWiki:' %}{{ version }}">{{ version }}</a></li>
<li><strong>Included Kernel:</strong> 3.0.3</li>
<li><strong>Resources:</strong>
<ul>
@@ -37,7 +38,7 @@
<ul id="download-help">
<li><a href="https://www.archlinux.org/iso/{{ version }}/README"
title="Official download instructions">Readme and Instructions</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide"
+ <li><a href="{% wiki_url 'Install_Guide' %}"
title="Official Installation Guide">{{BRANDING_DISTRONAME}} Install Guide</a></li>
</ul>
@@ -167,7 +168,7 @@
{% endwith %}
<p>If you want to become an Official Arch Linux Mirror please follow the
- instructions listed <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:NewMirrors">here</a>.</p>
+ instructions listed <a href="{% wiki_url 'DeveloperWiki:NewMirrors' %}">here</a>.</p>
</div>
{% endblock %}
diff --git a/templates/public/feeds.html b/templates/public/feeds.html
index 764ebd90..f298de7f 100644
--- a/templates/public/feeds.html
+++ b/templates/public/feeds.html
@@ -1,4 +1,4 @@
-{% extends "base.html" %}
+{% extends "base.html" %}{% load wiki %}
{% block title %}{{ BRANDING_DISTRONAME }} - RSS Feeds{% endblock %}
{% block content %}
@@ -15,10 +15,10 @@
<p>Grab the <a href="/feeds/news/" class="rss" title="{{ BRANDING_DISTRONAME }} News feed">news item feed</a>
to keep up-to-date with the latest news from the {{ BRANDING_DISTRONAME }} development staff.</p>
- <p>The <a href="https://wiki.archlinux.org/index.php?title=Special:RecentChanges&amp;feed=rss"
- title="ArchWiki Recent Changes feed" class="rss">Arch Wiki: Recent changes feed</a>
- is also available to track document changes from the <a href="https://wiki.archlinux.org/"
- title="Arch Wiki community documentation">Arch Wiki</a>.</p>
+ <p>The <a href="{% wiki_url 'Special:RecentChanges?feed=rss' %}"
+ title="{{ BRANDING_WIKINAME }} Recent Changes feed" class="rss">{{ BRANDING_WIKINAME }}: Recent changes feed</a>
+ is also available to track document changes from the <a href="{% wiki_url %}"
+ title="{{ BRANDING_WIKINAME }} community documentation">{{ BRANDING_WIKINAME }}</a>.</p>
<h3>Package Feeds</h3>
diff --git a/templates/public/index.html b/templates/public/index.html
index de8a5fe8..7c22c251 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -2,6 +2,7 @@
{% load markup cache %}
{% load url from future %}
{% load static from staticfiles %}
+{% load wiki %}
{% block head %}
<link rel="alternate" type="application/rss+xml" title="{{ BRANDING_DISRONAME }} News Updates" href="/feeds/news/" />
@@ -28,8 +29,8 @@
check out our <a href="https://bbs.archlinux.org/" title="Arch Forums">forums</a>
and <a href="https://mailman.archlinux.org/mailman/listinfo/"
title="Arch Mailing Lists">mailing lists</a>
- to get your feet wet. Also glance through our <a href="https://wiki.archlinux.org/"
- title="Arch Wiki">wiki</a>
+ to get your feet wet. Also glance through our <a href="{% wiki_url %}"
+ title="{{BRANDING_WIKINAME}}">wiki</a>
if you want to learn more about Arch.</p>
<p class="readmore"><a href="{% url 'page-about' %}"
@@ -115,11 +116,11 @@
<h4>Documentation</h4>
<ul>
- <li><a href="https://wiki.archlinux.org/"
+ <li><a href="{% wiki_url %}"
title="Community documentation">Wiki</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/Official_Arch_Linux_Install_Guide"
+ <li><a href="{% wiki_url 'Installation Guide' %}"
title="Official installation guide">Official Installation Guide</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/Beginners'_Guide"
+ <li><a href="%{ wiki_url "Beginners'_Guide" %}"
title="A good place to start for beginners">Unofficial Beginners' Guide</a></li>
</ul>
@@ -128,11 +129,11 @@
<ul>
<li><a href="https://mailman.archlinux.org/mailman/listinfo/"
title="Community and developer mailing lists">Mailing Lists</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/IRC_Channels"
+ <li><a href="{% wiki_url 'IRC_Channels' %}"
title="Official and regional IRC communities">IRC Channels</a></li>
<li><a href="https://planet.archlinux.org/"
title="Arch in the blogosphere">Planet Arch</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/International_Communities"
+ <li><a href="{% wiki_url 'International_Communities' %}"
title="{{DISTRO_SHORTNAME}} communities in your native language">International Communities</a></li>
</ul>
@@ -168,7 +169,7 @@
title="Official Arch projects (git)">Projects in Git</a></li>
<li><a href="{% url 'page-svn' %}"
title="View SVN entries for packages">SVN Repositories</a></li>
- <li><a href="https://wiki.archlinux.org/index.php/DeveloperWiki"
+ <li><a href="{% wiki_url 'DeveloperWiki' %}"
title="Developer Wiki articles">Developer Wiki</a></li>
<li><a href="/groups/"
title="View the available package groups">Package Groups</a></li>
@@ -187,7 +188,7 @@
<li><a href="{% url 'page-keys' %}"
title="Package/Database signing master keys">Signing Master Keys</a>
<img width="16" height="16" src="{% static "new.png" %}" alt="New"/></li>
- <li><a href="https://wiki.archlinux.org/index.php/Arch_Linux_Press_Review"
+ <li><a href="{% wiki_url 'Arch_Linux_Press_Review' %}"
title="Arch Linux in the media">Press Coverage</a></li>
<li><a href="{% url 'page-art' %}" title="{{ BRANDING_SHORTNAME }} logos and other artwork for promotional use">Logos &amp; Artwork</a></li>
<li><a href="{% url 'news-list' %}" title="News Archives">News Archives</a></li>
diff --git a/templates/public/svn.html b/templates/public/svn.html
index 38e20ec9..88c6df93 100644
--- a/templates/public/svn.html
+++ b/templates/public/svn.html
@@ -5,7 +5,7 @@
<h2 class="title">SVN Repositories</h2>
<p>
The PKGBUILD files can be fetched via the ABS utility. To learn more
- about ABS, see <a href="https://wiki.archlinux.org/index.php/ABS">the ABS wiki page</a>.
+ about ABS, see <a href="{% wiki_url 'ABS' %}">the ABS wiki page</a>.
</p>
<p>The SVN repositories have been cloned into git repositories and can be
viewed via the cgit interface.
@@ -31,7 +31,7 @@ cd community
svn update &lt;your-package-name&gt;</pre>
<p>
- Visit <a href="https://wiki.archlinux.org/index.php?title=Getting_PKGBUILDS_From_SVN">the wiki</a>
+ Visit <a href="{% wiki_url 'Getting_PKGBUILDS_From_SVN' %}">the wiki</a>
for more tips on checking out and updating svn PKGBUILDs.
</p>
diff --git a/templates/releng/results.html b/templates/releng/results.html
index 82073ffe..df98d1ac 100644
--- a/templates/releng/results.html
+++ b/templates/releng/results.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load url from future %}
+{% load wiki %}
{% block title %}{{ BRANDING_DISTRONAME }} - Release Engineering Testbuild Results{% endblock %}
@@ -18,7 +19,7 @@
the <a href="{% url 'releng-iso-overview' %}">overview</a>.</p>
<p>For more information, see the <a
- href="https://wiki.archlinux.org/index.php/DeveloperWiki:releng_testimages_feedback">documentation
+ href="{% wiki_url 'DeveloperWiki:releng_testimages_feedback' %}">documentation
on the wiki</a>.</p>
<p>All ISOs referenced on this page are available from