Skip to content

Version 3.0 throws error with MediaWiki ver 1.39.2 - getParentRevisionId () depreciated  #82

@CSSSchaffer

Description

@CSSSchaffer

I am wondering if it was known that using Scripto 3.0 with the newest version of MediaWiki ver 1.39.2 throws an error when a saves a page when transcribing an object. The error pointed to not being able to retrieve getParentRevisionID() as it seems to have been depreciated. However, we noticed that Scripto is working fine with one version back, at 1.39.1.

Here's the detailed error we saw when we were using MediaWiki 1.39.2 with Scripto 3.0

[221ad65df4c74c007e0c923a] /index.php?title=15:7421:7758&action=submit Error: Class "MediaWiki\Content\ValidationParams" not found
Backtrace:
from /home/schaffer/wiki.schafferlibrarycollections.org/includes/Storage/PageUpdater.php(1223)
#0 /home/schaffer/wiki.schafferlibrarycollections.org/includes/Storage/PageUpdater.php(1333): MediaWiki\Storage\PageUpdater->makeNewRevision(CommentStoreComment, Status)
#1 /home/schaffer/wiki.schafferlibrarycollections.org/includes/Storage/PageUpdater.php(940): MediaWiki\Storage\PageUpdater->doModify(CommentStoreComment)
#2 /home/schaffer/wiki.schafferlibrarycollections.org/includes/EditPage.php(2596): MediaWiki\Storage\PageUpdater->saveRevision(CommentStoreComment, integer)
#3 /home/schaffer/wiki.schafferlibrarycollections.org/includes/EditPage.php(1904): EditPage->internalAttemptSave(array, boolean, boolean)
#4 /home/schaffer/wiki.schafferlibrarycollections.org/includes/EditPage.php(721): EditPage->attemptSave(array)
#5 /home/schaffer/wiki.schafferlibrarycollections.org/includes/actions/EditAction.php(73): EditPage->edit()
#6 /home/schaffer/wiki.schafferlibrarycollections.org/includes/actions/SubmitAction.php(38): EditAction->show()
#7 /home/schaffer/wiki.schafferlibrarycollections.org/includes/MediaWiki.php(542): SubmitAction->show()
#8 /home/schaffer/wiki.schafferlibrarycollections.org/includes/MediaWiki.php(322): MediaWiki->performAction(Article, Title)
#9 /home/schaffer/wiki.schafferlibrarycollections.org/includes/MediaWiki.php(904): MediaWiki->performRequest()
#10 /home/schaffer/wiki.schafferlibrarycollections.org/includes/MediaWiki.php(562): MediaWiki->main()
#11 /home/schaffer/wiki.schafferlibrarycollections.org/index.php(50): MediaWiki->run()
#12 /home/schaffer/wiki.schafferlibrarycollections.org/index.php(46): wfIndexMain()
#13 {main}

MediaWiki\Content\ValidationParams::getParentRevisionId ()
depreciated since 1.38.
https://doc.wikimedia.org/mediawiki-core/master/php/classMediaWiki_1_1Content_1_1ValidationParams.html#a4b5b3fc93fbb42013421d55dc245c725

We aren't able to upgrade to Scripto 4.0 yet, as we don't have Omeka 4.0 installed, but I'm wondering if this issue would be resolved in Scripto 4.0?

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