Jonathan Golder
5267966fa8
Update version info and copyright notices
7 years ago
Jonathan Golder
af44323930
Cut Titel and Interpret on first linebreak
For some asian countries there is the original name following after a
linebreak. This is not needed in overview, so cat it of.
Related Task: [https://fs.golderweb.de/index.php?do=details&task_id=118 FS#118]
8 years ago
Jonathan Golder
31d06224b0
Update file headers
8 years ago
Jonathan Golder
8948fcc78d
Output log each parsed page and revision
To improve quality of log
[https://fs.golderweb.de/index.php?do=details&task_id=67 |FS#67]
9 years ago
Jonathan Golder
9d471bee20
Bug in function to detect the year from Pagetitle, returning whole title
Missing param added
Explicit int casting will throw errors in future if regex fails
9 years ago
Jonathan Golder
038dd6e36a
SortKeyName should be used for Interpret not for Title
9 years ago
Jonathan Golder
b96c5d4a33
Handle SortKeyName and SortKey Template in Title
9 years ago
Jonathan Golder
9a24a988f4
Remove possible ref-tags from raw param values in CountryListEntrys
Explicit conversion to str for better readability
9 years ago
Jonathan Golder
297adc62ec
Raise CountryListError if Page exists but no valid Single-Section exists
9 years ago
Jonathan Golder
b6c7a74519
Raise Exception instead of returning False in CountryList.__init__()
since returning False is no valid python construct
9 years ago
Jonathan Golder
e409c7a02b
CountryList-module: Also search for Links in Titel
9 years ago
Jonathan Golder
9d9207c175
CountryList-module: Put linksearching algorithm in separate function for simple reuse for Titel value
9 years ago
Jonathan Golder
4de2116717
Add possibility to manually check against any page in dewiki
9 years ago
Jonathan Golder
3349c9f3d3
Add __str__-method to CountryList-class
9 years ago
Jonathan Golder
a250074caa
CountryList-module: Search current year via regex to also make parsing older lists possible
9 years ago
Jonathan Golder
581e043255
Add unitest to CountryList-Modul
9 years ago
Jonathan Golder
5b084f6fde
Fix Bug: Writing is requested even when only rev_ids have changed
Introduce new attr to CountryList for simple get information wether page was parsed
The SummaryPageEntryTemplate comparation to non-equal fails when unparsed Entrys occur
--> and it with information wether CountryList was parsed
9 years ago
Jonathan Golder
f819193790
pep8-compat: clean up CountryList-Modul
9 years ago
Jonathan Golder
4a856b1dae
pep8-compat: Replace undefined Error by Message in CountryList-Module
9 years ago
Jonathan Golder
f1e0157643
CountryList-Module: Rename method parsing_needed to is_parsing_needed to make boolean character more clear
9 years ago
Jonathan Golder
3864c9013c
CountryList-Module: Since we have multiple categories in some countrys we need to select the first wrapping template
9 years ago
Jonathan Golder
eca0142f71
CountryList-Module: Add Exception-Handling classes
9 years ago
Jonathan Golder
2e8b4273e7
CountryList-Module: Implement parse-method which handles the parsing sequence
9 years ago
Jonathan Golder
41d3ca95ef
CountryList-Module: Implement methods for handling Interpret-Parameter
Including searching for missing links
9 years ago
Jonathan Golder
87aee8c42a
CountryList-Module: Implment methods for handling Titel-Parameter
9 years ago
Jonathan Golder
d4ea57dae8
CountryList-Module: Implement methods for handling Chartein-Date
9 years ago
Jonathan Golder
8858e81ee6
CountryList-Module: Implement methods to get the latest entry of list
9 years ago
Jonathan Golder
4a790912fc
CountryList-Module: Implement method for detecting year related to list
9 years ago
Jonathan Golder
abc30707b5
CountryList-Module: Implement method for checking if parsing is needed
9 years ago
Jonathan Golder
6ae8f4c6ad
CountryList-Module: Implement basic init method
9 years ago
Jonathan Golder
11bfb6807c
CountryList-Module: Create new class CountryList to move code for handling country list in separate class
9 years ago
Jonathan Golder
345bbe44e3
Setup repo for charts-bot
9 years ago