2
0
mirror of https://github.com/WikiTeam/wikiteam synced 2024-11-04 12:00:28 +00:00

suballpages

git-svn-id: https://wikiteam.googlecode.com/svn/trunk@5 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
This commit is contained in:
emijrp 2011-04-05 22:09:15 +00:00
parent cc9f064e51
commit 13cd1f25c0

View File

@ -117,8 +117,6 @@ def getXML(domain='', title='', curonly=False):
#http://www.mediawiki.org/wiki/Manual_talk:Parameters_to_Special:Export#Parameters_no_longer_in_use.3F
limit = 1
title_ = re.sub(' ', '_', title)
tempfilename = 'tempxmlfile.xml'
tempfilename2 = 'tempxmlfile2.xml'
headers = {'User-Agent': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4'}
params = {'title': 'Special:Export', 'pages': title, 'action': 'submit', }
if curonly: