mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-03-29 12:21:44 -04:00
Use individual antifeature template on wiki
This commit is contained in:
@@ -53,8 +53,8 @@ def update_wiki(apps, apks):
|
|||||||
wikidata = ''
|
wikidata = ''
|
||||||
if app['Disabled']:
|
if app['Disabled']:
|
||||||
wikidata += '{{Disabled|' + app['Disabled'] + '}}\n'
|
wikidata += '{{Disabled|' + app['Disabled'] + '}}\n'
|
||||||
if app['AntiFeatures']:
|
for af in app.get('AntiFeatures', []).split(','):
|
||||||
wikidata += '{{AntiFeatures|' + app['AntiFeatures'] + '}}\n'
|
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'%(
|
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['id'],
|
||||||
app['Name'],
|
app['Name'],
|
||||||
|
|||||||
Reference in New Issue
Block a user