Last modified: 2014-06-12 15:57:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68445, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66445 - Change in action=expandtemplates
Change in action=expandtemplates
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: xqt
http://lists.wikimedia.org/pipermail/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-10 19:04 UTC by Maarten Dammers
Modified: 2014-06-12 15:57 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Maarten Dammers 2014-06-10 19:04:35 UTC
"With Gerrit change #136799 <https://gerrit.wikimedia.org/r/#/c/136799/>, the
old output format for action=expandtemplates and the generatexml parameter
are deprecated, but will continue to be used for existing queries.

Clients should begin using the new 'prop' parameter to
action=expandtemplates, to be ready for some future date when the
deprecated format and parameter are removed. There is no timeline on this
removal, but it will be announced well in advance to this list.

This change will be deployed to WMF wikis with 1.24wmf8, see
https://www.mediawiki.org/wiki/MediaWiki_1.24/Roadmap for the schedule.

This is not considered a breaking change, since the old queries will
continue to work with a deprecation warning.
"

Has been deployed.

I'm getting a nice:

"WARNING: API warning (expandtemplates): Because no values have been specified for the prop parameter, a legacy format has been used for the output. This format is deprecated, and in the future, a default value will be set for the prop parameter, causing the new format to always be used."

We should update pywikibot to use the new format
Comment 1 Gerrit Notification Bot 2014-06-12 12:15:44 UTC
Change 139099 had a related patch set uploaded by Xqt:
(bug 66445) New "prop" parameter with action=expandtemplates

https://gerrit.wikimedia.org/r/139099
Comment 2 xqt 2014-06-12 13:38:13 UTC
Remarks: with https://gerrit.wikimedia.org/r/#/c/139102/ the mw version is retrieved from live wiki and this this patch will become working immediately and is independent from updating of the family file in that case.
Comment 3 Gerrit Notification Bot 2014-06-12 15:55:00 UTC
Change 139099 merged by jenkins-bot:
(bug 66445) New "prop" parameter with action=expandtemplates

https://gerrit.wikimedia.org/r/139099

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links