Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
79fcdfbf29
|
|||
| 39e98df7cd | |||
| a35546e53d | |||
| e6ffd7d14a | |||
| 1b82de1eab |
@@ -19,6 +19,15 @@ Those can be installed using pip and the _requirements.txt_ file provided with t
|
||||
|
||||
Versions
|
||||
--------
|
||||
* v1.2.3
|
||||
- Fix errors resulting from pywikibot.exception.NoMoveTarget renamed to NoMoveTargetError
|
||||
|
||||
* v1.2.2
|
||||
- Fix removed pywikibot config property db_hostname
|
||||
|
||||
* v1.2.1
|
||||
- Fix [#72](https://git.golderweb.de/wiki/jogobot-red/issues/72)
|
||||
|
||||
* v1.2
|
||||
- Create a list of redfams/articles missing reddisc notice
|
||||
|
||||
|
||||
@@ -293,7 +293,7 @@ class MarkPagesBot( CurrentPageBot ): # sets 'current_page' on each treat()
|
||||
# Iterate over Templates with same name (if any) to search equal
|
||||
# Link to decide if they are the same
|
||||
for present_notice in self.current_wikicode.ifilter_templates(
|
||||
matches=self.disc_notice.name ):
|
||||
matches=str(self.disc_notice.name) ):
|
||||
|
||||
# Get reddisc page.title of notice to add
|
||||
add_notice_link_tile = self.disc_notice.get(
|
||||
|
||||
@@ -49,7 +49,7 @@ Base = declarative_base()
|
||||
url = URL( "mysql+pymysql",
|
||||
username=config.db_username,
|
||||
password=config.db_password,
|
||||
host=config.db_hostname,
|
||||
host=config.db_hostname_format.format('tools'),
|
||||
port=config.db_port,
|
||||
database=( config.db_username +
|
||||
jogobot.config['redundances']['db_suffix'] ),
|
||||
|
||||
@@ -606,7 +606,7 @@ class RedFamWorker( RedFam ):
|
||||
if not page.exists():
|
||||
continue
|
||||
|
||||
except pywikibot.exceptions.NoMoveTarget:
|
||||
except pywikibot.exceptions.NoMoveTargetError:
|
||||
pass
|
||||
|
||||
# Exclude Users & User Talkpage
|
||||
|
||||
Reference in New Issue
Block a user