r92357 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92356‎ | r92357 | r92358 >
Date:14:44, 16 July 2011
Author:jeroendedauw
Status:deferred
Tags:lamecommitsummary 
Comment:
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/parserhooks/SMW_SMWDoc.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/parserhooks/SMW_SMWDoc.php
@@ -119,7 +119,7 @@
120120
121121 $table = implode( "\n|-\n", $tableRows );
122122
123 - $table = "$h3\n\n" .
 123+ $table =
124124 '{| class="wikitable sortable"' . "\n" .
125125 $table .
126126 "\n|}";
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php
@@ -89,6 +89,8 @@
9090 'smw-paramdesc-csv-sep' => 'The separator to use',
9191 'smw-paramdesc-dsv-separator' => 'The separator to use',
9292 'smw-paramdesc-dsv-filename' => 'The name for the DSV file',
 93+ 'smw-smwdoc-description' => 'Shows a table of all parameters that can be used for the specified result format together with default values and descriptions.',
 94+ 'smw-smwdoc-par-format' => 'The result format to display parameter documentation for.',
9395
9496 // Messages and strings for inline queries
9597 'smw_iq_disabled' => "Semantic queries have been disabled for this wiki.",

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r92356added smwdoc parser hook to auto generate parameter documentation tables for ...jeroendedauw14:24, 16 July 2011

Status & tagging log