jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/378024 )
Change subject: Update formatterUrlProperty/canonicalUriProperty docs ...................................................................... Update formatterUrlProperty/canonicalUriProperty docs This fixes the confusion I had when I did a post-merge review of Ie2831ce, see the dicsussion there. Bug: T121274 Change-Id: Ie135f8a6287a93120acd16806c522795aa59d04e --- M docs/options.wiki 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Ladsgroup: Looks good to me, approved jenkins-bot: Verified diff --git a/docs/options.wiki b/docs/options.wiki index fb35a24..f0b1752 100644 --- a/docs/options.wiki +++ b/docs/options.wiki @@ -52,8 +52,8 @@ :;length: the maximum length of the string, in characters. :Default: <code>array( 'length' => 250 )</code>. ;urlSchemes: Which URL schemes should be allowed in URL data values. The default is <code>array( 'bzr', 'cvs', 'ftp', 'git', 'http', 'https', 'irc', 'mailto', 'ssh', 'svn' )</code>. Other supported schemes are <code>ftps</code>, <code>ircs</code>, <code>mms</code>, <code>nntp</code>, <code>redis</code>, <code>sftp</code>, <code>telnet</code>, <code>worldwind</code> and <code>gopher</code>. Schemes (protocols) added here will only have any effect if validation is supported for that protocol; that is, adding <code>ftps</code> will work, while adding <code>dummy</code> will do nothing. -;formatterUrlProperty: Property to be used on properties that defines a formatter URL which is used to link identifiers. The placeholder <code>$1</code> will be replaced by the identifier. Example: <code>https://www.wikidata.org/entity/$1</code> -;canonicalUriProperty: Property to be used on properties that defines a URI pattern which is used to link identifiers in JSON and RDF. The placeholder <code>$1</code> will be replaced by the identifier. Example: <code>https://www.wikidata.org/entity/$1</code> +;formatterUrlProperty: Property to be used on properties that defines a formatter URL which is used to link external identifiers. The placeholder <code>$1</code> will be replaced by the identifier. Example: On wikidata.org, this is set to <code>P1630</code>, a string property named "formatter URL". When formatting identifiers, each identifiers property page is checked for it's formatter URL (e.g. <code>http://d-nb.info/gnd/$1</code>) specified by the property from this setting. +;canonicalUriProperty: Property to be used on properties that defines a URI pattern which is used to link external identifiers in RDF and other exports. The placeholder <code>$1</code> will be replaced by the identifier. Example: On wikidata.org, this is set to <code>P1921</code>, a string property named "URI used in RDF". When exporting identifiers to RDF or other formats, each identifiers property page is checked for it's URI pattern (e.g. <code>http://d-nb.info/gnd/$1/about/rdf</code>) specified by the property from this setting. ;transformLegacyFormatOnExport: Whether entity revisions stored in a legacy format should be converted on the fly while exporting. Enabled per default. ;allowEntityImport: Allow importing entities via Special:Import and importDump.php. Per default, imports are forbidden, since entities defined in another wiki would have or use IDs that conflict with entities defined locally. ;pagePropertiesRdf: Array that maps between page properties and Wikibase predicates for RDF dumps. Maps from database property name to an array that contains a key <code>'name'</code> (RDF property name, which will be prefixed by <code>wikibase:</code>) and an optional key <code>'type'</code>. -- To view, visit https://gerrit.wikimedia.org/r/378024 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie135f8a6287a93120acd16806c522795aa59d04e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]> Gerrit-Reviewer: Daniel Kinzler <[email protected]> Gerrit-Reviewer: Ladsgroup <[email protected]> Gerrit-Reviewer: WMDE-leszek <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
