Issue/1344 (MonolingualTextValue)

De Semantic MediaWiki - Sandbox

< Semantic MediaWiki issue

Révision datée du 3 janvier 2016 à 03:50 par Mwjames (discussion | contributions) (Created page with "https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1344 In case where <code><nowiki>Has type::Monolingual text</nowiki></code> is being used, <code>php update.ph...")
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/1344

In case where [[Has type::Monolingual text]] is being used, php update.php is required to run first as elements of MonolingualTextValue are stored in separate tables.

Valid annotations

La propriété « Translation » a une zone d’application restreinte et ne peut pas être utilisée comme propriété d’annotation par un utilisateur.La propriété « Translation » a une zone d’application restreinte et ne peut pas être utilisée comme propriété d’annotation par un utilisateur.

text (fr) abc@example.com wrote an email to (en)

Invalid annotations

Pour l’annotation « Has text with language », l’analyseur n’a pas pu déterminer un code de langue (par ex. « foo@en »).

« example.com » n’a pas été reconnu comme un code de langue pris en charge.

Query examples

{{#ask: [[Has text with language::text]]
 |?Has text with language
}}
 Has text with language
Issue/1344 (MonolingualTextValue)text (fr)
abc@example.com wrote an email to (en)
{{#ask: [[Has text with language::?@en]] OR [[Has text with language::~例の*]]
 |?Has text with language
}}
 Has text with language
Issue/1344 (MonolingualTextValue)text (fr)
abc@example.com wrote an email to (en)
Issue/1344 (MonolingualTextValue)例の一 (ja)
{{#ask: [[-Has text with language::{{PAGENAME}}]]
 |?Language code
 |?Language dependent text
}}
 Language code« Language code » est une propriété prédéfinie qui représente un code de langue au format BCP47 et est fournie par MediaWiki Sémantique.Language dependent text
Issue/1344 (MonolingualTextValue)en
Issue/1344 (MonolingualTextValue)fr
{{#ask: [[Language code::ja]]
 |?Language dependent text
 |?-Has text with language
}}
 Language dependent text-Has text with language
CXuesong/Sandbox2
Example/S0016/1
Has GND
Has URL
Has population
Intel 8 16 LAN Adapter.jpg
Issue/1344 (MonolingualTextValue)Issue/1344_(MonolingualTextValue)
NDL ID
P106
P106
P136
P136
P1449
P1449
P19
P19
P569
P569
P570
P570
Rashômon (羅生門)
Test one
Triacylglycerol lipase
dwc:kingdom
{{#ask: [[Has text with language::?@~zh*]]
 |?Has text with language=Text |+index=1
 |?Has text with language=Code |+index=2
}}
 TextCode
Issue/1344 (MonolingualTextValue)zh-Hans
Issue/1344 (MonolingualTextValue)zh-Hant
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.