775cce38c446 — Marcin Cieślak 6 years ago
Bots should not fight
1 files changed, 3 insertions(+), 4 deletions(-)

M plwiki/chemia/comp.py
M plwiki/chemia/comp.py +3 -4
@@ 124,7 124,7 @@ def extractwiki(site, reallybadfile, com
 def formatter(elements):
 	out = ["__NOEDITSECTION__", u"{{Spis treści}}"]
 	for (ch, ac) in elements.allarticles():
-		out.append(u"===%s===" % unicode(ch.wikilink))
+		out.append(u"==%s==" % unicode(ch.wikilink))
 		ac.sort()
 		group = []
 		cntcur = 0

          
@@ 137,14 137,13 @@ def formatter(elements):
 				cntcursiz = 0
 				cntcur = cnt
 				if groupopen:
-					out.append(u"\n")
 					groupopen = False
 
 			if cntcursiz > 5 and not groupopen:
-				out.append(u"====%s<sub>%d</sub>====" % (ch.symbol, cnt))
+				out.append(u"===%s<sub>%d</sub>===" % (ch.symbol, cnt))
 				groupopen = True
 
-			group.append(u"<small>%s</small>" % a.wikilink())
+			group.append(u"%s" % a.wikilink())
 			cntcursiz += 1
 		out.append("\n".join(group))