Permalink
Browse files

fix file useage - also [[:File:...]] with hyperlink

  • Loading branch information...
eranroz committed Nov 20, 2016
1 parent 5922972 commit fb131a506f9e23b58eac3463e39a9bddf1a108b7
Showing with 2 additions and 2 deletions.
  1. +2 −2 replaceConfig.py
@@ -18,7 +18,7 @@
safeTemplates = ['ציטוט', 'ציטוטון', 'חלונית', 'מסגרת', 'הדגשה', 'קמץ קטן']
safeTemplatesCategories = ['תבניות קישורים חיצוניים', 'תבניות ציטוט']
nobotRgx = "\{\{ללא בוט\|([0-9]+)\}\}"
fileUsageRgx = '\[\[(File|Image|תמונה|קובץ)\s*:\s*.*?[\|\]]'
fileUsageRgx = '\[\[:?(File|Image|תמונה|קובץ)\s*:\s*.*?[\|\]]'
redirectRgx = '#\s*(הפניה|REDIRECT)\s*\[\['
namespaces = [0, 10, 14, 100]
whitelist_editors = ['ערן', 'Matanya']
whitelist_editors = ['ערן', 'Matanya']

0 comments on commit fb131a5

Please sign in to comment.