Re: [MediaWiki-l] [EXTERNAL] Re: using the "PageUpdater::saveRevision" method

2019-06-20 Thread Robert Vogel
Hi! I'd suggest to create a patch for Extension:ApprovedRevs that runs  $updates = $wikipage->getContent()->getSecondaryDataUpdates( $title );  DataUpdate::runUpdates( $updates ); within `ApprovedRevs::setApprovedRevID` [1]. Actually something similar seems to be done already [2]. The ApprovedR

Re: [MediaWiki-l] [EXTERNAL] Re: using the "PageUpdater::saveRevision" method

2019-06-19 Thread Evans, Richard K. (GRC-H000) via MediaWiki-l
Job queue is always clear. Semantic Properties for AR via SESP only update *after* an edit. Simply approving a revision does not update the SESP AR properties in SMW. I’m actually looking to copy what has been done in “SemanticDependencyUpdater” at: https://github.com/gesinn-it/SemanticDepende

Re: [MediaWiki-l] [EXTERNAL] Re: using the "PageUpdater::saveRevision" method

2019-06-19 Thread John
Two suggestions, 1) check your job queue 2) look at the API’s purge module, it has a method to force link updates too. On Wed, Jun 19, 2019 at 8:49 PM Evans, Richard K. (GRC-H000) < richard.k.ev...@nasa.gov> wrote: > Hi John, > > > > I'm troubleshooting a problem in the combined use of SMW, SESP

Re: [MediaWiki-l] [EXTERNAL] Re: using the "PageUpdater::saveRevision" method

2019-06-19 Thread Evans, Richard K. (GRC-H000) via MediaWiki-l
Hi John, I'm troubleshooting a problem in the combined use of SMW, SESP, and ApprovedRevs. The desired behavior is to have the "approval status" of the page available to the wiki as a semantic property of the page via SESP. Everything works well except that the SESP AR values don't update unti