294 Commits (a35546e53d7b494f306ac50118271a20610eed6e)
 

Author SHA1 Message Date
Jonathan Golder c78480a75d Use mysql config from pywikibot user-config.py 9 years ago
Jonathan Golder 6e0d3200c2 Change visibility of attributes changed and parsed in RED_PAGE to protected 9 years ago
Jonathan Golder f50f4b664f Add additional possibilities to detect wether a red_page is an archive or not 9 years ago
Jonathan Golder e70655f679 Catch sections with more then 8 articles 9 years ago
Jonathan Golder 14e865c6e6 We need to save the red_fam section heading in database for generating section links since format is not consistent 9 years ago
Jonathan Golder a97e2cea5a Since some timestamps are broken we need to reconstruct them by regex match groups 9 years ago
Jonathan Golder 6e64d8448e Prevent RED_PAGE from resetting status if parser is not fired 9 years ago
Jonathan Golder deaa1d855b Fix bug which prevents detecting of red_fam sectionheading when there is whitespace after closing heading tags (===) 9 years ago
Jonathan Golder 90da231712 Move the code for instanciating of RED_FAM_PARSER to the end of loop 9 years ago
Jonathan Golder 529ed09702 Use pywikibot.output instead of print 9 years ago
Jonathan Golder 1892c6d015 Fix wrong intendet line (RED_FAM_PARSER only was instantiated when ending-datetime workaround fired) 9 years ago
Jonathan Golder 99f050acd3 Add workaround to detect ending datetime if there is no done notice 9 years ago
Jonathan Golder 8b7dc5dbf2 Improve sectionheading regex to reduce false positives, require at least two links 9 years ago
Jonathan Golder 5e39ea0b06 Correct use of pywikibot page.title() 9 years ago
Jonathan Golder f8dacb53e1 Add param to RED_PAGE for predefining page status archived when using cat of archives 9 years ago
Jonathan Golder ebf7a8fe0b Add alternative syntax for done_notice 9 years ago
Jonathan Golder 47238f0f96 On archived red_fams do not delete possibly existing ending 9 years ago
Jonathan Golder 907ccad63a Detect if red_fam is archived but has no detectable ending, set status 2 anyway 9 years ago
Jonathan Golder 31ea512c41 Prevent overwriting of ending with None by only calling RED_FAM_PARSER if there was no ending before 9 years ago
Jonathan Golder 4f7cfc65cc Catch ValueErrors caused by missing points after month abreviation in RED_PAGE_PARSER.__timestamp 9 years ago
Jonathan Golder a26b92082b Implement parsing process in RED_PAGE.parse() 9 years ago
Jonathan Golder 984c269aa4 Implement classmethods for detecting sectionheading, beginning and ending in class RED_FAM_PARSER 9 years ago
Jonathan Golder 0f4ce7c4c9 Add workaround to get mysql.data dictionary while adding new pages/fams 9 years ago
Jonathan Golder 7535172d30 Update mysql db if anything of re_fam changes 9 years ago
Jonathan Golder 9e865e1c2f Some clean ups 9 years ago
Jonathan Golder 79e232d52b Add gitignore file 9 years ago
Jonathan Golder ea92415b37 Add dummy -method for parsing to RED_PAGE 9 years ago
Jonathan Golder 30e1672557 Implement methods for parsing red_fams 9 years ago
Jonathan Golder 6d1ed33699 Add methods for MySQL actions while parsing RED_FAMs 9 years ago
Jonathan Golder 45df354315 Prevent descendant classes of MYSQL_RED from deleting connection to db 9 years ago
Jonathan Golder 73b5d87e8d Implemment handling of changed page meta data (rev_id, page_title, status) 9 years ago
Jonathan Golder cef90e4fac Handle building of MYSQL_RED_PAGE objects 9 years ago
Jonathan Golder c800a13f0c Change behavior of MYSQL_RED(_PAGE), handle save requested data in object for simple update handling 9 years ago
Jonathan Golder 0beb97d67d Use qmark parametrization style for mysql query 9 years ago
Jonathan Golder 773557a591 Use DictCursor ouf oursql to get better readability in MYSQL_RED_PAGE 9 years ago
Jonathan Golder d2dfa15ddf Implement a class RED_PAGE for handling redundance pages 9 years ago
Jonathan Golder 28d9a26cf1 Always handle beginning and ending definitions via setter functions 9 years ago
Jonathan Golder 122cc8b309 Set date attributes to none if nothing given, rather than don't set the attributes 9 years ago
Jonathan Golder 72410d17b4 Expand __init__ Method of RED_FAM to catch beginning, end and status 9 years ago
Jonathan Golder 10cfa79ee0 Implement a class/modul RED_FAM for handling redundance families 9 years ago
Jonathan Golder 49def6f0f0 Implement a class MYSQL_RED_FAM as desecendant of MYSQL_RED for handling querys about red_families 9 years ago
Jonathan Golder f5ac6a06d3 Implement a class MYSQL_RED_PAGE as desecendant of MYSQL_RED for handling querys about red_pages 9 years ago
Jonathan Golder 597df69275 Save mysqldb-connection as class atribute to make it usable for all decandant classes of MYSQL_RED 9 years ago
Jonathan Golder 71b9d3301d Initial structure of MySQL-Module 9 years ago