Mailing List Archive

using the "PageUpdater::saveRevision" method
I'm trying to update an extension so that it performs a "null-edit" on the page it is already operating on.

I've discovered the "PageUpdater::saveRevision" documentation and am hoping someone can help me with an example of how this method could be called within the typical framework of an extension? .. assuming the extension has a specific page defined as "$article" how would I write a line of code in the extension that performs a "null-edit" of "$article" using the "PageUpdater::saveRevision" method?

- Rich


_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: using the "PageUpdater::saveRevision" method [ In reply to ]
What are you trying to achieve with your null edit?

On Wed, Jun 19, 2019 at 5:02 PM Evans, Richard K. (GRC-H000) via
MediaWiki-l <mediawiki-l@lists.wikimedia.org> wrote:

> I'm trying to update an extension so that it performs a "null-edit" on the
> page it is already operating on.
>
> I've discovered the "PageUpdater::saveRevision" documentation and am
> hoping someone can help me with an example of how this method could be
> called within the typical framework of an extension? .. assuming the
> extension has a specific page defined as "$article" how would I write a
> line of code in the extension that performs a "null-edit" of "$article"
> using the "PageUpdater::saveRevision" method?
>
> - Rich
>
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l