https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113069
Revision: 113069
Author: foxtrott
Date: 2012-03-05 19:37:37 +0000 (Mon, 05 Mar 2012)
Log Message:
-----------
add 'filtered' format to extensions doc files
Modified Paths:
--------------
trunk/extensions/SemanticResultFormats/INSTALL
trunk/extensions/SemanticResultFormats/README
trunk/extensions/SemanticResultFormats/RELEASE-NOTES
trunk/extensions/SemanticResultFormats/SRF_Settings.php
Modified: trunk/extensions/SemanticResultFormats/INSTALL
===================================================================
--- trunk/extensions/SemanticResultFormats/INSTALL 2012-03-05 19:35:45 UTC
(rev 113068)
+++ trunk/extensions/SemanticResultFormats/INSTALL 2012-03-05 19:37:37 UTC
(rev 113069)
@@ -34,8 +34,13 @@
Currently, these default formats thus are:
'vcard', 'icalendar', 'calendar', 'timeline', 'eventline', 'bibtex', 'outline',
-'gallery', 'jqplotbar', 'jqplotpie', 'sum', 'average', 'min', 'max',
'tagcloud'.
+'gallery', 'jqplotbar', 'jqplotpie', 'sum', 'average', 'min', 'max',
'tagcloud',
+'median', 'product', 'valuerank', 'array', 'tree', 'ultree', 'oltree',
+'D3Line'¹, 'D3Bar'¹, 'D3Treemap'¹, 'filtered'¹, 'hash'².
+¹ from MediaWiki 1.17 onwards
+² with HashTables extension installed
+
To add more formats to this list, you can add lines like:
$srfgFormats[] = 'googlebar';
Modified: trunk/extensions/SemanticResultFormats/README
===================================================================
--- trunk/extensions/SemanticResultFormats/README 2012-03-05 19:35:45 UTC
(rev 113068)
+++ trunk/extensions/SemanticResultFormats/README 2012-03-05 19:37:37 UTC
(rev 113069)
@@ -112,6 +112,11 @@
nested HTML list. ultree is an alias of tree. oltree produces an ordered
(numbered) list instead of an unordered list.
+=== filtered ===
+
+Displays results in switchable views and offers client-side (JavaScript based)
+filtering. (unfinished, e.g. no switching between views yet)
+
== Contact ==
If you have remarks, questions, or suggestions, please send them to
Modified: trunk/extensions/SemanticResultFormats/RELEASE-NOTES
===================================================================
--- trunk/extensions/SemanticResultFormats/RELEASE-NOTES 2012-03-05
19:35:45 UTC (rev 113068)
+++ trunk/extensions/SemanticResultFormats/RELEASE-NOTES 2012-03-05
19:37:37 UTC (rev 113069)
@@ -13,8 +13,9 @@
* Added 'default' parameter to math formats (bug 34983).
New formats in this version are:
-* JitGraph, still in alpha, disabled by default (written by Alex Shapovalov)
(bug 32877)
+* JitGraph (still in alpha, disabled by default (written by Alex Shapovalov)
(bug 32877))
* tree, ultree, oltree
+* filtered (unfinished)
== SRF 1.7 ==
Modified: trunk/extensions/SemanticResultFormats/SRF_Settings.php
===================================================================
--- trunk/extensions/SemanticResultFormats/SRF_Settings.php 2012-03-05
19:35:45 UTC (rev 113068)
+++ trunk/extensions/SemanticResultFormats/SRF_Settings.php 2012-03-05
19:37:37 UTC (rev 113069)
@@ -57,6 +57,7 @@
}
# load hash format only if HashTables extension is initialised, otherwise
'Array' format is enough
+// FIXME: According to the INSTALL file only formats should be enabled, that
"do not require further software to be installed (besides SMW)"
if( array_key_exists( 'ExtHashTables', $wgAutoloadClasses ) && defined(
'ExtHashTables::VERSION' )
&& version_compare( ExtHashTables::VERSION, '0.999', '>=' )
|| isset( $wgHashTables ) // Version < 1.0 alpha
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs