Index: trunk/extensions/SemanticMediaWiki/includes/SMW_PropertyChanges.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | * |
26 | 26 | * @var string |
27 | 27 | */ |
28 | | - static protected $mPropertyPrefix = ''; |
| 28 | + static protected $propertyPrefix = ''; |
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Array mapping property keys (string) to arrays of SMWPropertyChange. |
— | — | @@ -117,15 +117,15 @@ |
118 | 118 | public function addPropertyChange( $propertyName, SMWPropertyChange $change ) { |
119 | 119 | $propertyKey = smwfNormalTitleDBKey( $propertyName ); |
120 | 120 | |
121 | | - if ( array_key_exists( $propertyKey, $this->mProperties ) ) { |
122 | | - $property = $this->mProperties[$propertyKey]; |
| 121 | + if ( array_key_exists( $propertyKey, $this->properties ) ) { |
| 122 | + $property = $this->properties[$propertyKey]; |
123 | 123 | } else { |
124 | | - if ( self::$mPropertyPrefix == '' ) { |
| 124 | + if ( self::$propertyPrefix == '' ) { |
125 | 125 | global $wgContLang; |
126 | | - self::$mPropertyPrefix = $wgContLang->getNsText( SMW_NS_PROPERTY ) . ':'; |
| 126 | + self::$propertyPrefix = $wgContLang->getNsText( SMW_NS_PROPERTY ) . ':'; |
127 | 127 | } // explicitly use prefix to cope with things like [[Property:User:Stupid::somevalue]] |
128 | 128 | |
129 | | - $propertyDV = SMWPropertyValue::makeUserProperty( self::$mPropertyPrefix . $propertyName ); |
| 129 | + $propertyDV = SMWPropertyValue::makeUserProperty( self::$propertyPrefix . $propertyName ); |
130 | 130 | |
131 | 131 | if ( !$propertyDV->isValid() ) { // error, maybe illegal title text |
132 | 132 | return; |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_ChangeSet.php |
— | — | @@ -212,7 +212,7 @@ |
213 | 213 | * @return array of SMWPropertyChange |
214 | 214 | */ |
215 | 215 | public function getAllChanges() { |
216 | | - return array(); // TODO: implement |
| 216 | + return array(); |
217 | 217 | } |
218 | 218 | |
219 | 219 | /** |