Jonathan Golder
50b0e142ec
Merge branch 'i#71-moved-page-exists' into develop
6 years ago
Jonathan Golder
14db996a43
redfam: Check if moved page exists
To prevent creation of orphaned diskpages in case of special movement
constructs
Issue #71 (https://git.golderweb.de/wiki/jogobot-red/issues/71 )
6 years ago
Jonathan Golder
110589cb5b
Merge branch 'release-1.1' back into develop
6 years ago
Jonathan Golder
a466ab4e74
Prepare release-1.1
6 years ago
Jonathan Golder
860a285ab0
Merge branch 'i#68-exclude-users' into develop
6 years ago
Jonathan Golder
2c105336b0
RedFamWorker: Exclude users and user talkpages
Users can't be part of valid redundances
Issue #68 (https://git.golderweb.de/wiki/jogobot-red/issues/68 )
6 years ago
Jonathan Golder
ea85ca731f
Merge branch 'i#69-already-talkpage' into develop
6 years ago
Jonathan Golder
6e119ea98f
RedFamWorker: Improve talkpagetoggling
Do not toggle to main page if we have already a talkpage and vice versa
Issue #69 (https://git.golderweb.de/wiki/jogobot-red/issues/69 )
6 years ago
Jonathan Golder
67aaf3cbbe
Merge branch 'i#70-follow-moved-pages' into develop
6 years ago
Jonathan Golder
fa13e2a5cf
Follow moved pages
Keep notice together with content
https://de.wikipedia.org/w/index.php?title=Benutzer_Diskussion:Jogo.obb&oldid=176464377#Redundanzhinweis_zu_zwischenzeitlich_verschobenen_Artikeln
Issue #70 (https://git.golderweb.de/wiki/jogobot-red/issues/70 )
6 years ago
Jonathan Golder
562e689418
Merge branch 'release-1.0' back into develop
7 years ago
Jonathan Golder
93447d8dc6
Prepare release v1.0
Update Copyright Notices
Version information
7 years ago
Jonathan Golder
1b6faf9e53
Use own db for red-task
Since we have several tables and sometimes need to create a copy on
replication servers.
7 years ago
Jonathan Golder
b4c193eedc
Disable echoing of SQLAlchemy Egine
We don't need this extensive output for production
7 years ago
Jonathan Golder
788a3df0cd
Update jogobot-submodule to v0.1
7 years ago
Jonathan Golder
04f591b466
Merge branch 'fs#161-add-article-titles' into develop
7 years ago
Jonathan Golder
9640467f69
markpages: Use redarticle attribute of Page
Instead of trying to reconstruct our db article title, use the one added
to Page-object by redfam.article_generator
Related Task: [FS#161](https://fs.golderweb.de/index.php?do=details&task_id=161 )
7 years ago
Jonathan Golder
bfec2abf98
markpages: Get rid of PageWithTalkPageGenerator
Since redfam.article_generator can yield talkpage with additional
information about redfam and current article from db, we do not need it
anymore.
Related Task: [FS#161](https://fs.golderweb.de/index.php?do=details&task_id=161 )
7 years ago
Jonathan Golder
20103d589d
redfam: article_generator add redfam info to page
Add reference to redfam object and article title from db to Page object
since Page.title() may differe (short Namespaces, anchors, special chars)
Related Task: [FS#161](https://fs.golderweb.de/index.php?do=details&task_id=161 )
7 years ago
Jonathan Golder
e18aa96a84
redfam: article_generator can return talkpage
To make pywikibot.pagegenerators.PageWithTalkPageGenerators unneccessary
so we can manipulate talkpage object directly
Related Task: [FS#161](https://fs.golderweb.de/index.php?do=details&task_id=161 )
7 years ago
Jonathan Golder
1dd4c7f87e
Merge branch 'test-v7' back into develop
7 years ago
Jonathan Golder
33b2e47312
Describe version test-v7
7 years ago
Jonathan Golder
3bd17ce692
Merge branch 'fs#160-urlencoded-chars' into develop
7 years ago
Jonathan Golder
5f4640d5ff
Replace urlencoded chars with unicode equivalent
Otherwise we get value errors while marking since pwb replaces those
Related Task: [FS#160](https://fs.golderweb.de/index.php?do=details&task_id=160 )
7 years ago
Jonathan Golder
7e0456ae4f
Merge branch 'test-v6' back into develop
7 years ago
Jonathan Golder
108b7aa331
Describe version test-v6
7 years ago
Jonathan Golder
a3adf31b89
Merge branch 'fs#86-activate-status-api' into develop
7 years ago
Jonathan Golder
614f288bb9
Activate jogobot status api for onwiki disabling
Related Task: [FS#86](https://fs.golderweb.de/index.php?do=details&task_id=86 )
7 years ago
Jonathan Golder
c450a045bf
Merge branch 'fs#159-space-before-anchor' into develop
7 years ago
Jonathan Golder
84802cf521
Remove leading or trailing spaces in articles
Some articles contain spaces between title and anchor part which will
be stripped now
Related Task: [FS#159](https://fs.golderweb.de/index.php?do=details&task_id=159 )
7 years ago
Jonathan Golder
5f6c443ba8
Merge branch 'test-v5' back into develop
7 years ago
Jonathan Golder
0c135ef1bb
Describe version test-v5
7 years ago
Jonathan Golder
8b8221cfcd
Merge branch 'fs#152-respect-always-flag' into develop
7 years ago
Jonathan Golder
bdccc8417c
Set always in Pywikibot.Basebot
If cmdline param -always is set, set the related option in
Pywikibot.Basebot Object for automatic edits with out further requests
Related Task: [FS#152](https://fs.golderweb.de/index.php?do=details&task_id=152 )
7 years ago
Jonathan Golder
a70835c58a
Merge back branch 'test-v4' into develop
7 years ago
Jonathan Golder
ec2b84df2a
Add requirements
To make setup of environment for this module easier
7 years ago
Jonathan Golder
88848cb084
Prepare Version test-v4 for release
Add a README.md file for this project
7 years ago
Jonathan Golder
5057aed0d3
Merge branch 'fs#157-lowercase-title' into develop
7 years ago
Jonathan Golder
02e53475f1
Prevent lowercase article titles in Parser
Since real lowercase article titles are not allowed, make sure to
convert all first letters of article titles to uppercase. This is
neccessary since pywikibot will return article titles like this.
Related Task: [FS#157](https://fs.golderweb.de/index.php?do=details&task_id=157 )
7 years ago
Jonathan Golder
d6f9b460c9
Merge branch 'fs#156-dbapi-charset' into develop
7 years ago
Jonathan Golder
ff03ca8f13
Explicitly set charset for PyMySQL-Connection
Since PyMySQL-Connection otherwise uses charset 'latin-1', explicitly
set connection charset to 'utf8'
http://docs.sqlalchemy.org/en/rel_1_0/dialects/mysql.html#charset-selection
http://docs.sqlalchemy.org/en/rel_1_0/core/engines.html?highlight=url#sqlalchemy.engine.url.URL
Related Task: [FS#156](https://fs.golderweb.de/index.php?do=details&task_id=156 )
7 years ago
Jonathan Golder
88692ca678
Merge branch 'fs#155-article-surouding-space' into develop
7 years ago
Jonathan Golder
d9b4fcc0bd
Strip spaces before adding articles to redfam
Some article links have surounding spaces in their linktext. Remove them
before adding article to RedFam to have a cannonical title
Related Task: [FS#155](https://fs.golderweb.de/index.php?do=details&task_id=155 )
7 years ago
Jonathan Golder
22ff78ea98
Merge branch 'fs#154-categorie-colons-missing' into develop
7 years ago
Jonathan Golder
b3cfcdc259
Improve title detection to get correct behaviour
Make sure that categorie links are starting with colon and non article
pages are returned with namespace.
Related Task: [FS#154](https://fs.golderweb.de/index.php?do=details&task_id=154 )
7 years ago
Jonathan Golder
b3e0ace2f4
Merge branch 'fs#153-nested-templates' into develop
7 years ago
Jonathan Golder
f8002c85da
Do not search for templates recursivly
Since nested templates did not get an index in global wikicode object
searching for index of an nested template results in ValueError
Related Task: [FS#153](https://fs.golderweb.de/index.php?do=details&task_id=153 )
7 years ago
Jonathan Golder
49bc05d29b
Merge branch 'fs#151-normalize-article-titles-anchor' into develop
7 years ago
Jonathan Golder
8a26b6d92a
Normalize article titles with anchors
In our db article titles with anchors are stored with underscores in
anchor string. Therefore we need to replace spaces in anchor string
given by pywikibot.Page.title().
Related Task: [FS#151](https://fs.golderweb.de/index.php?do=details&task_id=151 )
7 years ago
Jonathan Golder
49a8230d76
Merge branch 'fs#141-place-notice-after-comment' into develop
7 years ago