Re: [SMW-devel] ApprovedRevs + SMW

2016-04-29 Thread Vedmaka
Ok, so, here are my results: I am not sure why this is happening, but it is definitely happening: 1. In ApprovedRevsHooks::setSearchText there is ApprovedRevs::getApprovedRevID called 2. in ApprovedRevs::getApprovedRevID $dbr->selectField( .. ) called ( only first time, then cached in self::$mA

Re: [SMW-devel] ApprovedRevs + SMW

2016-04-29 Thread Vedmaka
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, h

Re: [SMW-devel] ApprovedRevs + SMW

2016-04-29 Thread 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 Fr

[SMW-devel] ApprovedRevs + SMW

2016-04-29 Thread Vedmaka
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 n