Python client library to interface with the MediaWiki API
end
argument to PageList (@AdamWill: #114)CREDITS.md
(@waldyrious: ebab0e0)reqs
requests_args
argument to Site.__init__
(@tosher: #105, #119)prop
from Site.allimages()
(524d751)prop
for Site.blocks()
(a148d30)assert=user
when force_login=True
, raise AssertUserFailedError
(subclass of LoginError
) when assert fails (#125).ask()
method to handle continuation (@cariaso: #132)Page.get_expanded()
(#130)Site.parse
(8e729fd)Upgrade notices / breaking changes:
section
parameter explicitly to the Page.save()
method. The section number is no longer part of the Page
state, so Page.save()
no longer makes use of a section parameter earlier passed into Page.text()
. A deprecation warning was added in 0.7.2.Changes:
Image.download()
method (038b222)Page.section
attribute (which was deprecated in 0.7.2) when saving (@AdamWill: #81)Site.revisions()
method and support diffto
(@rdhyee: #84)continue
parameter to all queries (@c-martinez: #73)toponly
parameter for recentchanges (@itkach: #78)pageid
, contentmodel
, pagelanguage
, restrictiontypes
as attributes of Page
(@PierreSelim: #89)hasmsg
) (@Pathoschild: #90)Page.section
when saving, to prepare for the merge of #81 (4d8abc4)Upgrade notices:
Page.edit()
method has been renamed to Page.text()
. While Page.edit()
is deprecated, it will be available for a long time. The old Page.text attribute, that used to store a copy of the wikitext from the last Page.edit()
call, has been removed entirely. The readonly argument has also been removed (it was never really implemented, so it acted only as a dummy argument before the removal).Page.get_expanded()
method has been deprecated in favour of calling Page.text(expandtemplates=True)
Detailed changelog:Changes:
Site.allimages()
(@jimt: #62)