r105247 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105246‎ | r105247 | r105248 >
Date:23:35, 5 December 2011
Author:yaron
Status:ok
Tags:
Comment:
Messages for property creation now come from Semantic MediaWiki, not from Page Schemas
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_PageSchemas.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_PageSchemas.php
@@ -196,9 +196,9 @@
197197 $propLabels = $smwgContLang->getPropertyLabels();
198198 $hasTypeLabel = $propLabels['_TYPE'];
199199 $typeTag = "[[$hasTypeLabel::$propertyType]]";
200 - $text = wfMsgForContent( 'ps-property-isproperty', $typeTag );
 200+ $text = wfMsgForContent( 'smw-createproperty-isproperty', $typeTag );
201201 if ( $allowedValues != null) {
202 - $text .= "\n\n" . wfMsgExt( 'ps-property-allowedvals', array( 'parsemag', 'content' ), count( $allowedValues ) );
 202+ $text .= "\n\n" . wfMsgExt( 'smw-createproperty-allowedvals', array( 'parsemag', 'content' ), count( $allowedValues ) );
203203 foreach ( $allowedValues as $i => $value ) {
204204 if ( method_exists( $smwgContLang, 'getPropertyLabels' ) ) {
205205 $prop_labels = $smwgContLang->getPropertyLabels();

Status & tagging log