Skip to content

MediaWiki's rv* parameters are deprecated #27

Description

@jimsafley

See https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2017-June/000134.html

While rvdifftotext, rvdiffto, rvexpandtemplates,and rvgeneratexml are present in the MediaWiki service class, we only use rvdiffto (to get the difference between two revisions). Remove them all from the $_actions list. Instead of revids/rvdiffto in getRevisionDiff(), use action=compare. (Note that the compare action was not added until 1.18 and the fromid/toid properties were not added until 1.20.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions