From 61fe97b646b048299f17d11351cb0cf45a9cae19 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 5 Oct 2017 19:28:31 -0700 Subject: [PATCH] docs/modelists: drop :data suffix from extbans lists [skip ci] --- docs/modelists/extbans.html | 68 ++++++++++++++--------------- docs/modelists/modelists-genhtml.py | 5 --- 2 files changed, 34 insertions(+), 39 deletions(-) diff --git a/docs/modelists/extbans.html b/docs/modelists/extbans.html index 5fa4c71..cb48d1d 100644 --- a/docs/modelists/extbans.html +++ b/docs/modelists/extbans.html @@ -80,106 +80,106 @@ td:first-child, th[scope="row"] { ban_account -$a:dataR:data~a:data~a:data +$a:R:~a:~a: ban_account_legacy -n/an/a~R:datan/a +n/an/a~R:n/a ban_all_opers -$on/an/an/a +$on/an/an/a ban_all_registered -$an/an/an/a +$an/an/an/a ban_all_ssl -$zn/an/an/a +$zn/an/an/a ban_banshare -$j:datan/an/a~j:data +$j:n/an/a~j: ban_blockcaps -n/aB:datan/an/a +n/aB:n/an/a ban_blockcolor -n/ac:datan/an/a +n/ac:n/an/a ban_certfp -n/az:data~S:datan/a +n/az:~S:n/a ban_extgecos -$x:datan/an/an/a +$x:n/an/an/a ban_inchannel -$c:dataj:data~c:data~c:data +$c:j:~c:~c: ban_invites -n/aA:datan/an/a +n/aA:n/an/a ban_mark -n/an/an/a~m:data +n/an/an/a~m: ban_noctcp -n/aC:datan/an/a +n/aC:n/an/a ban_nojoins -n/an/a~j:datan/a +n/an/a~j:n/a ban_nokicks -n/aQ:datan/an/a +n/aQ:n/an/a ban_nonick -n/aN:data~n:data~n:data +n/aN:~n:~n: ban_nonotice -n/aT:datan/an/a +n/aT:n/an/a ban_not_account -$~a:datan/an/an/a +$~a:n/an/an/a ban_not_banshare -$~j:datan/an/an/a +$~j:n/an/an/a ban_not_extgecos -$~x:datan/an/an/a +$~x:n/an/an/a ban_not_inchannel -$~c:datan/an/an/a +$~c:n/an/an/a ban_not_opers -$~on/an/an/a +$~on/an/an/a ban_not_realname -$~r:datan/an/an/a +$~r:n/an/an/a ban_not_server -$~s:datan/an/an/a +$~s:n/an/an/a ban_not_ssl -$~zn/an/an/a +$~zn/an/an/a ban_opertype -n/aO:data~O:datan/a +n/aO:~O:n/a ban_partmsgs -n/ap:datan/an/a +n/ap:n/an/a ban_realname -$r:datar:data~r:data~r:data +$r:r:~r:~r: ban_server -$s:datas:datan/an/a +$s:s:n/an/a ban_stripcolor -n/aS:datan/an/a +n/aS:n/an/a ban_unregistered_mark -n/an/an/a~M:data +n/an/an/a~M: ban_unregistered_matching -n/aU:datan/an/a +n/aU:n/an/a quiet -+q
(cmode)m:data~q:data~q:data ++q
(cmode)m:~q:~q: diff --git a/docs/modelists/modelists-genhtml.py b/docs/modelists/modelists-genhtml.py index 835a2e8..57b9be2 100755 --- a/docs/modelists/modelists-genhtml.py +++ b/docs/modelists/modelists-genhtml.py @@ -29,11 +29,6 @@ def _format(articlename, text): except ValueError: if text.endswith('*'): text = '%s' % text - elif 'extbans' in articlename: - if text.endswith(':'): - text = '%sdata' % text - else: # Arg-less extban - text = '%s' % text else: text = '%s' % text else: