summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/templatetags/package_extras.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py
index 7bc868d..e4c7a01 100644
--- a/packages/templatetags/package_extras.py
+++ b/packages/templatetags/package_extras.py
@@ -73,6 +73,14 @@ def svn_trunk(package):
return svn_link(package, "trunk")
@register.simple_tag
+def get_wiki_link(package):
+ data = {
+ 'search': package.pkgname,
+ }
+ return "https://wiki.archlinux.org/index.php/Special:Search?%s" % \
+ urlencode(data)
+
+@register.simple_tag
def bugs_list(package):
data = {
'project': package.repo.bugs_project,