Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ball <cjb@laptop.org>2008-05-25 16:23:26 (GMT)
committer Chris Ball <cjb@laptop.org>2008-05-25 16:23:26 (GMT)
commit341a7dc9682663910fa7c0d31154f651dbb33efc (patch)
tree11d82b141bef2ecded5d2258a9c90d25d41a8ec3
parente1193acb3e51eaa10f758360087323a8b0fa57ed (diff)
Fix template blacklist (#7077) and update it.
-rw-r--r--es_PE/template_blacklist3
-rwxr-xr-xmwlib/expander.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/es_PE/template_blacklist b/es_PE/template_blacklist
index 0c09a93..f946f5b 100644
--- a/es_PE/template_blacklist
+++ b/es_PE/template_blacklist
@@ -1,3 +1,4 @@
+Plantilla:Añadir referencias
Plantilla:Semiprotegida
Plantilla:Semiprotegida2
Plantilla:Semiprotegido
@@ -5,6 +6,7 @@ Plantilla:Protegido
Plantilla:Protegida
Plantilla:Pp-template
Plantilla:Pp-semi-template
+Plantilla:Bueno
Plantilla:Artículo bueno
Plantilla:Artículo destacado
Plantilla:Largo
@@ -19,6 +21,7 @@ Plantilla:Endesarrollo
Plantilla:Wikiquote
Plantilla:Wikinews
Plantilla:Wiktionary
+Plantilla:Wikiversidad
Plantilla:Destacado
Plantilla:Portal
Plantilla:Commons
diff --git a/mwlib/expander.py b/mwlib/expander.py
index c45a4ea..b0bdc38 100755
--- a/mwlib/expander.py
+++ b/mwlib/expander.py
@@ -389,7 +389,7 @@ class Expander(object):
self.blacklist = set()
with open("es_PE/template_blacklist", 'r') as f:
for line in f.readlines():
- self.blacklist.add(line.rstrip())
+ self.blacklist.add(line.rstrip().decode('utf8'))
def getParsedTemplate(self, name):
if name.startswith("[["):