https://bugzilla.wikimedia.org/show_bug.cgi?id=18884
Summary: Special:Properties doesn't always display page count
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: Normal
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
In SMW 1.4.2, Special:Properties doesn't always show the page count; for some
properties it displays the sort name instead.
The fix should be quite simple: the order of result fields in the SQL select
subquery on line 940 of SMW_SQLStore2.php (function getPropertiesSpecial) is
inconsistent with subsequent subqueries in the union:
$res = $db->query('(SELECT smw_id, smw_title, smw_sortkey, COUNT(*) as
count FROM ' .
This line should read:
$res = $db->query('(SELECT smw_id, smw_title, COUNT(*) as count,
smw_sortkey FROM ' .
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l