From fe720343c2f6cff11fe6d7def2ce1c3403ab5ce2 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Wed, 23 Oct 2013 13:19:33 +0100 Subject: [PATCH] Add wiki category for disabled apps (issue #163) --- fdroidserver/update.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 33c4e68d..53269a53 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -152,7 +152,9 @@ def update_wiki(apps, apks, verbose=False): wikidata += "\n[[Category:Apps with failing builds]]\n" elif not gotcurrentver and not app['Disabled']: wikidata += '\n[[Category:Apps to Update]]\n' - if app['Update Check Mode'] == 'None': + if app['Disabled']: + wikidata += '\n[[Category:Apps that are disabled]]\n' + if app['Update Check Mode'] == 'None' and not app['Disabled']: wikidata += '\n[[Category:Apps with no update check]]\n' # We can't have underscores in the page name, even if they're in