-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
138 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,24 @@ | ||
# -*- coding: utf-8 -*- | ||
replacementsPage=u'ויקיפדיה:בוט/בוט החלפות/רשימת החלפות נוכחית' | ||
defaultSummary=u'בוט החלפות: ' | ||
safeTemplates=[u'ציטוט',u'ציטוטון',u'חלונית',u'מסגרת',u'הדגשה',u'קמץ קטן'] | ||
safeTemplatesCategories=[u'תבניות קישורים חיצוניים', u'תבניות ציטוט'] | ||
nobotRgx=u"\{\{ללא בוט\|([0-9]+)\}\}" | ||
fileUsageRgx=u'\[\[(File|Image|תמונה|קובץ)\s*:\s*.*?[\|\]]' | ||
redirectRgx=u'#\s*(הפניה|REDIRECT)\s*\[\[' | ||
namespaces=[0,10,14,100] | ||
from __future__ import unicode_literals | ||
|
||
""" | ||
Configuration file for hewikiReplaceBot | ||
-replacementsPage list of replacements maintained by the community | ||
-defaultSummary prefix for summary. | ||
-safeTemplates templates that the bot most ignore | ||
-safeTemplatesCategories list of categories of templates the bot most ignore | ||
-nobotRgx regex for extracting replacements ids the bot shouldn't execute in the specific page | ||
-fileUsageRgx Regex for file usage | ||
-redirectRgx Regex to identify redirects | ||
-namespaces List of namespace the bot is allowed to work on | ||
-whitelist_editors List of editors allowed to edit the replacementsPage | ||
""" | ||
replacementsPage = 'ויקיפדיה:בוט/בוט החלפות/רשימת החלפות נוכחית' | ||
defaultSummary = '[[וק:הח|בוט החלפות]]: ' | ||
safeTemplates = ['ציטוט', 'ציטוטון', 'חלונית', 'מסגרת', 'הדגשה', 'קמץ קטן'] | ||
safeTemplatesCategories = ['תבניות קישורים חיצוניים', 'תבניות ציטוט'] | ||
nobotRgx = "\{\{ללא בוט\|([0-9]+)\}\}" | ||
fileUsageRgx = '\[\[(File|Image|תמונה|קובץ)\s*:\s*.*?[\|\]]' | ||
redirectRgx = '#\s*(הפניה|REDIRECT)\s*\[\[' | ||
namespaces = [0, 10, 14, 100] | ||
whitelist_editors = ['ערן', 'Matanya'] |