@@ -74,6 +74,9 @@ |
||
| 74 | 74 | * @param Parser $parser |
| 75 | 75 | * @param string &$query |
| 76 | 76 | * @param &$widthOption |
| 77 | + * @param string $time |
|
| 78 | + * @param string $query |
|
| 79 | + * @param string $widthOption |
|
| 77 | 80 | * |
| 78 | 81 | * @return bool |
| 79 | 82 | */ |
@@ -155,6 +155,10 @@ discard block |
||
| 155 | 155 | return $text; |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | + /** |
|
| 159 | + * @param DIWikiPage $subject |
|
| 160 | + * @param string $languageCode |
|
| 161 | + */ |
|
| 158 | 162 | private function fetchTextByLanguageCode( $subject, $property, $languageCode ) { |
| 159 | 163 | |
| 160 | 164 | try { |
@@ -186,6 +190,9 @@ discard block |
||
| 186 | 190 | return $dv->getShortWikiText(); |
| 187 | 191 | } |
| 188 | 192 | |
| 193 | + /** |
|
| 194 | + * @param string $key |
|
| 195 | + */ |
|
| 189 | 196 | private function get( $key, $default ) { |
| 190 | 197 | |
| 191 | 198 | if ( $this->rule->has( "then.$key" ) ) { |
@@ -6,13 +6,11 @@ |
||
| 6 | 6 | use SMW\DIWikiPage; |
| 7 | 7 | use SMW\DIProperty; |
| 8 | 8 | use SMW\DataValues\MonolingualTextValue; |
| 9 | -use SMW\DataValueFactory; |
|
| 10 | 9 | use SMWDIBlob as DIBlob; |
| 11 | 10 | use SMW\Utils\Normalizer; |
| 12 | 11 | use SMW\RequestOptions; |
| 13 | 12 | use Title; |
| 14 | 13 | use File; |
| 15 | -use Html; |
|
| 16 | 14 | |
| 17 | 15 | /** |
| 18 | 16 | * @license GNU GPL v2+ |