Great - it works fine now, thank you!

          Sergey

On Wed, Jul 9, 2008 at 1:41 PM, Markus Krötzsch <markus@semantic-mediawiki.org> wrote:
Thanks for the report. Fixed in SVN.

On Mittwoch, 9. Juli 2008, Yaron Koren wrote:
> There's an easy fix for this - change line 137 from
>
>                                         $searchlink =
> SMWInfolink::newInversePropertySearchLink('&hellip;',
> $this->articles[$index]->getPrefixedText(), $this->mTitle->getText());
>
> to:
>
>                                         $searchlink =
> SMWInfolink::newInversePropertySearchLink('&hellip;',
> $this->articles[$index]->getTitle()->getPrefixedText(),
> $this->mTitle->getText());

I have an even simpler fix:

instead of $this->articles[$index]->getTitle()->getPrefixedText() use
$this->articles[$index]->getWikiValue().

(This may be relevant to other extensions adjusting to SMW 1.2 too)

-- Markus

>
> ...although maybe there's a nicer way to accomplish the same thing.
>
> -Yaron
>
>
> On Wed, Jul 9, 2008 at 11:30 AM, Sergey Chernyshev <
>
> semediawiki-devel@antispam.sergeychernyshev.com> wrote:
> > I'm getting an errror on property pages (browser gets blank page):
> > PHP Fatal error:  Call to undefined method
> > SMWWikiPageValue::getPrefixedText() in
> > /pathtomediawiki/extensions/SemanticMediaWiki/includes/articlepages/SMW_P
> >ropertyPage.php on line 137
> >
> > on http://www.techpresentations.org/Property:Topic
> >
> > It happened with two-day old SVN version and with latest SVN version.
> >
> >        Sergey
> >
> >
> > --
> > Sergey Chernyshev
> > http://www.sergeychernyshev.com/
> > -------------------------------------------------------------------------
> > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> > Studies have shown that voting for your favorite open source project,
> > along with a healthy diet, reduces your potential for chronic lameness
> > and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> > _______________________________________________
> > Semediawiki-devel mailing list
> > Semediawiki-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel



--
Markus Krötzsch
Semantic MediaWiki    http://semantic-mediawiki.org
http://korrekt.org    markus@semantic-mediawiki.org

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel




--
Sergey Chernyshev
http://www.sergeychernyshev.com/