1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 02:50:12 +01:00

Use individual antifeature template on wiki

This commit is contained in:
Ciaran Gultnieks 2013-11-17 12:05:02 +00:00
parent b1ae08e850
commit a5fafe6c05

View File

@ -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'],