Last modified: 2011-05-14 15:35:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30879, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28879 - Error when saving / editing the page with the following #show parser function
Error when saving / editing the page with the following #show parser function
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-08 06:37 UTC by Dmitriy Sintsov
Modified: 2011-05-14 15:35 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dmitriy Sintsov 2011-05-08 06:37:09 UTC
MediaWiki 1.17 r87675, Semantic MediaWiki 1.5.6
<noinclude>{{#show:{{PAGENAME}}|?Задание}}</noinclude>
Where Задание means task in Russian.

Produces a blank page and the following error in the log file:

[Sat May 07 22:19:34 2011] [error] [client 213.187.118.145] PHP Fatal error:  Call to a member function getSortkey() on a non-object in /var/www/wiki/farm117/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_Category.php on line 70

Maybe the function is incorrect (I don't know), however that should not produce PHP error anyway.
Comment 1 Jeroen De Dauw 2011-05-08 13:03:20 UTC
Try replacing line 70 in that file by this one:
$sortkey = $res->getStore()->getWikiPageSortKey( $content[0] );

This is what's currently on svn trunk.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links