r37125 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37124‎ | r37125 | r37126 >
Date:18:46, 5 July 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
removed "show results" message for concept preview, now that preview is immediate
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php
@@ -321,7 +321,6 @@
322322 $params = func_get_args();
323323 array_shift( $params ); // we already know the $parser ...
324324 $concept_input = array_shift( $params ); // use first parameter as concept (query) string
325 -// $query = SMWQueryProcessor::createQuery($concept_input, array('limit' => -1), SMWQueryProcessor::CONCEPT_DESC);
326325 $query = SMWQueryProcessor::createQuery($concept_input, array('limit' => 20, 'format' => 'list'), SMWQueryProcessor::CONCEPT_DESC);
327326 $concept_text = $query->getDescription()->getQueryString();
328327 $concept_docu = array_shift( $params ); // second parameter, if any, might be a description
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php
@@ -20,7 +20,6 @@
2121 'smw_isaliastype' => 'This type is an alias for the datatype “$1”.',
2222 'smw_isnotype' => 'This type “$1” is not a standard datatype in the wiki, and has not been given a user definition either.',
2323 'smw_concept_description' => 'Description of concept "$1"', // used in the namespace "Concept:"
24 - 'smw_concept_preview' => '[show results]',
2524 'smw_no_concept_namespace'=> 'Concepts can only be defined on pages in the Concept: namespace.',
2625 'smw_multiple_concepts' => 'Each concept page can have only one concept definition.',
2726
@@ -597,7 +596,6 @@
598597 'smw_isaliastype' => 'Dieser Datentyp ist ein Alias für den Typ “$1”.',
599598 'smw_isnotype' => 'Der Datentyp “$1” ist kein Standardtyp in diesem Wiki, und hat auch keine ausreichende Definition auf seiner Seite.',
600599 'smw_concept_description' => 'Beschreibung des Konzepts „$1“', // used in the namespace "Concept:"
601 - 'smw_concept_preview' => '[Ergebnisse anzeigen]',
602600 'smw_baduri' => 'URIs der Form „$1“ sind nicht zulässig.',
603601 'smw_icalendar_link' => 'iCalendar',
604602 'smw_iq_disabled' => 'Semantische Anfragen sind in diesem Wiki zur Zeit nicht möglich.',

Status & tagging log