From: Ciaran Gultnieks Date: Sun, 17 Nov 2013 12:05:02 +0000 (+0000) Subject: Use individual antifeature template on wiki X-Git-Tag: 0.1~175 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a5fafe6c057fdc06d7327634fff3219af11ef078;p=fdroidserver.git Use individual antifeature template on wiki --- diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 30c77c4a..41a1a299 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -53,8 +53,8 @@ def update_wiki(apps, apks): wikidata = '' if app['Disabled']: wikidata += '{{Disabled|' + app['Disabled'] + '}}\n' - if app['AntiFeatures']: - wikidata += '{{AntiFeatures|' + app['AntiFeatures'] + '}}\n' + for af in app.get('AntiFeatures', []).split(','): + wikidata += '{{AntiFeature|' + af + '}}\n' wikidata += '{{App|id=%s|name=%s|added=%s|lastupdated=%s|source=%s|tracker=%s|web=%s|donate=%s|flattr=%s|bitcoin=%s|litecoin=%s|license=%s|root=%s}}\n'%( app['id'], app['Name'],