Commit Graph

32 Commits

Author SHA1 Message Date
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
2016-03-09 17:24:00 +01:00
16a774fae5 Merge branch 'CountryList-Entry-Title-SortKeyName' into test-v6 2016-02-25 17:52:10 +01:00
038dd6e36a SortKeyName should be used for Interpret not for Title 2016-02-25 17:48:46 +01:00
e468260f7f Merge branch 'unittest-countrylist' into test-v6
Conflicts:
	countrylist.py
2016-02-25 17:08:28 +01:00
b96c5d4a33 Handle SortKeyName and SortKey Template in Title 2016-02-25 17:05:04 +01:00
9a24a988f4 Remove possible ref-tags from raw param values in CountryListEntrys
Explicit conversion to str for better readability
2016-01-04 12:59:31 +01:00
297adc62ec Raise CountryListError if Page exists but no valid Single-Section exists 2016-01-04 12:30:24 +01:00
b6c7a74519 Raise Exception instead of returning False in CountryList.__init__()
since returning False is no valid python construct
2016-01-04 12:28:40 +01:00
e409c7a02b CountryList-module: Also search for Links in Titel 2015-12-11 00:03:53 +01:00
9d9207c175 CountryList-module: Put linksearching algorithm in separate function for simple reuse for Titel value 2015-12-10 23:13:45 +01:00
4de2116717 Add possibility to manually check against any page in dewiki 2015-11-28 18:17:19 +01:00
3349c9f3d3 Add __str__-method to CountryList-class 2015-11-28 18:16:04 +01:00
a250074caa CountryList-module: Search current year via regex to also make parsing older lists possible 2015-11-28 17:26:27 +01:00
581e043255 Add unitest to CountryList-Modul 2015-11-28 13:42:32 +01:00
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
2015-11-23 19:36:19 +01:00
f819193790 pep8-compat: clean up CountryList-Modul 2015-11-23 19:11:21 +01:00
4a856b1dae pep8-compat: Replace undefined Error by Message in CountryList-Module 2015-11-23 19:04:27 +01:00
e854244f0b Merge branches 'countrylist-module' and 'summarypage-module' 2015-11-21 11:33:35 +01:00
f1e0157643 CountryList-Module: Rename method parsing_needed to is_parsing_needed to make boolean character more clear 2015-11-21 11:32:00 +01:00
03857c0236 Merge branch 'countrylist-module' 2015-11-20 14:45:08 +01:00
3864c9013c CountryList-Module: Since we have multiple categories in some countrys we need to select the first wrapping template 2015-11-20 14:44:26 +01:00
df67d7ca8a Merge changes from branch 'countrylist-module'
+ Fixed syntax error
2015-11-13 13:26:55 +01:00
eca0142f71 CountryList-Module: Add Exception-Handling classes 2015-11-13 12:22:17 +01:00
2e8b4273e7 CountryList-Module: Implement parse-method which handles the parsing sequence 2015-11-13 10:18:09 +01:00
41d3ca95ef CountryList-Module: Implement methods for handling Interpret-Parameter
Including searching for missing links
2015-11-13 10:17:44 +01:00
87aee8c42a CountryList-Module: Implment methods for handling Titel-Parameter 2015-11-13 10:17:32 +01:00
d4ea57dae8 CountryList-Module: Implement methods for handling Chartein-Date 2015-11-13 10:17:25 +01:00
8858e81ee6 CountryList-Module: Implement methods to get the latest entry of list 2015-11-13 10:17:12 +01:00
4a790912fc CountryList-Module: Implement method for detecting year related to list 2015-11-13 10:17:07 +01:00
abc30707b5 CountryList-Module: Implement method for checking if parsing is needed 2015-11-13 10:16:56 +01:00
6ae8f4c6ad CountryList-Module: Implement basic init method 2015-11-13 10:16:49 +01:00
11bfb6807c CountryList-Module: Create new class CountryList to move code for handling country list in separate class 2015-11-13 10:16:17 +01:00