2
0
mirror of https://github.com/WikiTeam/wikiteam synced 2024-11-10 13:10:27 +00:00
Commit Graph

384 Commits

Author SHA1 Message Date
nemobis
57e226c049 Use urllib2 and set user agent in some more places; some webhosts block urllib.
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@842 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-10-14 09:27:30 +00:00
Hydriz
414fb1988f Add a little more singular/plural support.
Along with this commit:
* Changed original %s to %d for number of edits, since it is recognised as an integer.
* Directly defined the number of edits to be 1 when the if condition is true, to optimise performance.


git-svn-id: https://wikiteam.googlecode.com/svn/trunk@841 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-10-13 09:35:48 +00:00
nemobis
13ebee4c28 Issue 60: Add authentication cookie support, patch by Fredrik Roubert
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@840 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-10-09 20:11:01 +00:00
nemobis
b34f01646a Use getUserAgent in one more place, urllib is blocked by some
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@839 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-10-09 19:48:02 +00:00
nemobis
1a8e393c11 Google, not Gmail account
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@838 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-09-19 10:11:43 +00:00
nemobis
0150b93dcd Issue #64: Improve speed by some orders of magnitude
Patch by Betacommand, many thanks.

git-svn-id: https://wikiteam.googlecode.com/svn/trunk@837 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-09-09 17:27:50 +00:00
Hydriz
8b4480be64 Adding plural support for number of edits saved for a page
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@831 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-08-24 06:10:04 +00:00
nemobis
5e826c272d Use recursive option for zip
The * does not scale, I get errors from sh that the arguments list is too long.

git-svn-id: https://wikiteam.googlecode.com/svn/trunk@830 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-08-22 20:53:46 +00:00
nemobis
ed8d174d5a Issue #61: some skins hide that stuff, use meta tag generator
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@829 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-08-17 07:34:11 +00:00
emijrp
5648586e31 git-svn-id: https://wikiteam.googlecode.com/svn/trunk@826 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95 2013-08-06 15:15:48 +00:00
nemobis
9a5f904261 Issue #45, workaround: ignore OSError in the size check
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@825 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-08-04 16:20:59 +00:00
nemobis
75746af1c9 Update to current list of about 340k wikis
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@823 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-05-04 10:05:29 +00:00
emijrp
f1874656ed comments
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@818 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-03-27 22:11:51 +00:00
emijrp
af81adebeb comments
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@817 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-03-27 21:50:23 +00:00
emijrp
424588a55c comments
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@816 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-03-27 21:30:52 +00:00
emijrp
360d1c1fa1 fixing createnewdump() and resumepreviousdump()
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@815 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-03-27 21:26:20 +00:00
emijrp
8295990df0 moving code to functions; tiny changes in comments
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@814 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-03-27 21:19:46 +00:00
emijrp
79a310c470 tiny changes in comments, some clarifications
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@813 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-03-27 20:58:55 +00:00
emijrp
0d7d73d420 ignore case
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@812 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-03-27 20:58:15 +00:00
emijrp
5dddc9c502 tiny changes in comments, some clarifications
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@811 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-03-27 20:57:30 +00:00
emijrp
73bdc5a5dc caps
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@810 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-03-27 20:36:03 +00:00
emijrp
5f4d10dd5a 2013
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@809 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2013-03-27 20:33:06 +00:00
nemobis
810c94723e update to current list of 300k wikis, got from API, without http:// protocol
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@807 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-11-18 19:12:37 +00:00
emijrp
a78f390557 fixing issue 56
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@806 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-11-09 18:55:39 +00:00
nemobis
0080197b8f WARNING: API support is experimental (faster but broken).
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@805 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-11-09 11:55:06 +00:00
Hydriz
240b9f9dac Add support for Wikidata and Wikivoyage.
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@804 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-11-07 13:36:33 +00:00
emijrp
a850194829 rewriting the inline help a bit
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@798 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-09-08 17:18:25 +00:00
emijrp
a57a490513 fixing file description bug
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@796 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-14 19:09:34 +00:00
emijrp
36ea489313 fixing file description bug
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@795 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-14 19:08:50 +00:00
emijrp
51d775c214 light improvements of checkalive.py script
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@794 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-14 18:11:37 +00:00
emijrp
866334aab7 renaming lists directory to taskforce
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@793 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-14 17:27:00 +00:00
nemobis
06fb988438 Upload my logs.
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@787 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-12 16:21:23 +00:00
abuie
29ce623af7 api url typo
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@783 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-10 02:22:13 +00:00
abuie
ccf6ecf5ed Extra large indentation (oops)
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@779 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-08 22:38:54 +00:00
nemobis
1990ef0d6a Fix bug introduced in r676.
Traceback (most recent call last):
  File "launcher.py", line 98, in <module>
    os.system('7z a -ms=off ../%s-history.xml.7z %s-history.xml %s-titles.txt index.html Special:Version.html errors.log' % (prefix, prefix, prefix, prefix))
TypeError: not all arguments converted during string formatting

git-svn-id: https://wikiteam.googlecode.com/svn/trunk@778 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-08 22:31:09 +00:00
nemobis
cb77d8738d TODO: bug - translate relative copyright URLs as in http://archive.org/details/wiki-wikipovrayorg now linking http://archive.org/content/POV-Wiki:Copyrights
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@776 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-08 17:27:40 +00:00
emijrp
f80bd3e0b6 git-svn-id: https://wikiteam.googlecode.com/svn/trunk@772 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95 2012-08-08 08:46:42 +00:00
emijrp
4325d60b4b fixing wikipediadownloader.py, dumps url
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@759 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-07 08:27:45 +00:00
emijrp
e40eb9b826 disable check integrity function by now
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@758 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-07 08:03:14 +00:00
nemobis
7bbc0aa387 maybe it's something else
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@752 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-07 06:41:53 +00:00
nemobis
22a163c183 more todos
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@751 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-07 05:47:16 +00:00
nemobis
953cfbfc8a Added some todos.
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@750 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-06 22:24:50 +00:00
emijrp
10a9ed4df7 uploader: lang parameter
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@746 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-06 18:39:27 +00:00
emijrp
d5ae56bd24 uploader
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@745 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-06 15:57:11 +00:00
emijrp
f62e2686de uploader
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@744 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-06 15:41:50 +00:00
emijrp
c8ca525ff7 just adding documentation and comments
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@743 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-06 14:54:31 +00:00
emijrp
d616bcc2e6 just adding documentation and comments
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@742 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-06 14:48:30 +00:00
emijrp
277d9a9ec9 uploader
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@740 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-06 14:07:46 +00:00
emijrp
8c2cfa80e9 uploader
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@739 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-06 14:05:45 +00:00
emijrp
6bdd1a492c uploader
git-svn-id: https://wikiteam.googlecode.com/svn/trunk@738 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
2012-08-06 13:33:04 +00:00