Hey Yaron, thanks for a lightning speed response :)

Yep, page is displaying correctly (blank), but i am able to find it by 
searching its contents via search (huh?).

I made some quick debug and figured out that

ApprovedRevsHooks::updateLinksAfterEdit

properly sends empty $text to LinksUpdate, however in

ApprovedRevsHooks::setSearchText

it retrieves actual article text by hitting

$revisionID != $article->getLatest()

condition. I guess it is happening because above $revisionID returned by 
ApprovedRevs::getApprovedRevID( $title ) is false instead of null. I am 
investigating it further .. :)

29.04.2016 23:53, Yaron Koren пишет:
> That's certainly not intended behavior. Is the page displaying
> correctly, i.e. blank? And can you find by searching on its contents
> from Special:Search? (Hopefully not.)
>
> Also, I'd recommend upgrading to the latest Approved Revs version, 0.7.1
> - who knows, that might be a bug that got fixed.
>
> On Fri, Apr 29, 2016 at 4:33 PM, Vedmaka
> <god.vedm...@gmail.com
> <mailto:god.vedm...@gmail.com>> wrote:
>
>     Hi, Guys!
>
>     I did not touch ApprovedRevs for long time, so, maybe, I forgot some
>     details, but recently i was surprised a bit:
>
>     I am using MW 1.25.1 + SMW 2.3.1 + ApprovedRevs 0.7 (REL1_25 branch)
>     ApprovedRevs configured with $egApprovedRevsBlankIfUnapproved = true;
>
>     Once i create or edit page (as normal user, without auto-approve rights)
>     with some semantic property inside and go to Special:Browse - i see all
>     my changes there in factbox. It seems like ApprovedRevs did not affect
>     SMW anyhow - all changes get passed to SMW, so my edit reflects in all
>     ask-queries.
>
>     This seems very strange for me, can someone confirm - is it a bug or
>     intended behavior?
>
>
>     
> ------------------------------------------------------------------------------
>     Find and fix application performance issues faster with Applications
>     Manager
>     Applications Manager provides deep performance insights into
>     multiple tiers of
>     your business applications. It resolves application problems quickly and
>     reduces your MTTR. Get your free trial!
>     https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>     _______________________________________________
>     Semediawiki-devel mailing list
>     Semediawiki-devel@lists.sourceforge.net
>     <mailto:Semediawiki-devel@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>
>
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>
>
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>
>
>
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>



------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to