Mpaa created this task.
Mpaa added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**Steps to replicate the issue** (include links if applicable):
import pywikibot
import pywikibot.proofreadpage as pp
site = pywikibot.Site('en', 'wikisource')
page = pp.ProofreadPage(site, 'Page:Complete Works of Count Tolstoy -
13.djvu/201')
p = list(site.preloadpages([page], content=True))[0]
p.text
WARNING: API warning (main): Subscribe to the mediawiki-api-announce
mailing list at
<https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/>
for notice of API deprecations and breaking changes. Use
[[Special:ApiFeatureUsage]] to see usage of deprecated features by your
application.
Out[9]: '<noinclude><pagequality level="1" user="MpaaBot" /> ...
- see
https://en.wikisource.org//w/api.php?titles=Page:Complete+Works+of+Count+Tolstoy+-+13.djvu/201&inprop=protection|preload&prop=info|proofread&action=query&indexpageids=&continue=&meta=userinfo&uiprop=blockinfo|hasmsg&maxlag=5&format=json
**What happens?**:
See API warning:
'The value "preload" to parameter "inprop" has been deprecated.'
**What should have happened instead?**:
Nothing.
See https://en.wikisource.org/w/api.php?action=help&modules=query%2Binfo
preload
Deprecated. Gives the text returned by EditFormPreloadText. Use
preloadcontent instead, which supports other kinds of preloaded text too.
**Software version** (skip for WMF-hosted wikis like Wikipedia):
Release version: 8.5.0.dev0
**Other information** (browser name/version, screenshots, etc.):
TASK DETAIL
https://phabricator.wikimedia.org/T348910
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa
Cc: Aklapper, pywikibot-bugs-list, Mpaa, PotsdamLamb, Jyoo1011, JohnsonLee01,
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont,
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti,
Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]