https://bugzilla.wikimedia.org/show_bug.cgi?id=45608
Web browser: ---
Bug ID: 45608
Summary: Forceshow parameter of Semantic Maps no longer works
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Semantic MediaWiki
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
SMW 1.9 alpha, SM 3.0 alpha.
Example: http://localhost/phase3/index.php/Forecshow
Report by Andy Chow:
The forceshow parameter in Semantic Maps doesn't work, so which means that if
the query has zero result, the map doesn't show. It is a problem because I want
a map whether there's a query result or not. So far I don't have a good
workaround. The default parameter (to show a map with display_point) seemed to
work when there's no query, but a map won't show if there's a query. The next
best thing I can think of is to use #if parser functions, which would mean
running the query twice (first is to test whether it is valid) and then run
again to show the query. I think this is rather an inefficient way to do it.
-- end report --
Code in SM looks to be correct though is never executed when there are no
results. Caused by changes in SMW result printer. Probably in 1.8. Method
buildResult no longer calls getResultText when there are no results, thus
preventing any "forceshow" functionality.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l