Hello and nice to meet you!
I have a (hopefully) simple question ... In my MediaWiki / Wikibase instance [1] I have a set of Properties whose data type is String, which are used to store the translations of the text of epigraphs, see eg. [2]. These fields appear to have a length limit of 400 characters. Is there any way to increase that limit?
Thank you very much!
Claudio
[1] https://wiki.eagle-network.eu/ [2] https://wiki.eagle-network.eu/wiki/Item:Q9529
Hi!
Similarly to your question to wikimedia-l about labels you want to change a setting from the "string-limits" section the Wikibase options [1]. However, this time you want to tweak the "VT:string" setting.
Hope that helps! Cheers, Tom
[1] https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_options.html#au...
On Thu, 15 Apr 2021 at 10:55, Claudio Prandoni prandoni@aedeka.com wrote:
Hello and nice to meet you!
I have a (hopefully) simple question ... In my MediaWiki / Wikibase instance [1] I have a set of Properties whose data type is String, which are used to store the translations of the text of epigraphs, see eg. [2]. These fields appear to have a length limit of 400 characters. Is there any way to increase that limit?
Thank you very much!
Claudio
[1] https://wiki.eagle-network.eu/ [2] https://wiki.eagle-network.eu/wiki/Item:Q9529
-- Questa email è stata esaminata alla ricerca di virus da AVG. http://www.avg.com
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Hi Tom,
Indeed I asked the same question before in wikimedia-l and was advised to post it here too for safety :-)
If I understand you correctly, I need to add the following line in my LocalSettings.php file (let's say I want to put 4000 characters as the new limit):
$wgWBRepoSettings['string-limits'] = [ 'VT:string' => [ 'length' => 4000, ], ];
Is this correct?
Thank you very much!
Claudio
Il 15/04/2021 12:15, Thomas Arrow ha scritto:
Hi!
Similarly to your question to wikimedia-l about labels you want to change a setting from the "string-limits" section the Wikibase options [1]. However, this time you want to tweak the "VT:string" setting.
Hope that helps! Cheers, Tom
[1] https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_options.html#au...
On Thu, 15 Apr 2021 at 10:55, Claudio Prandoni prandoni@aedeka.com wrote:
Hello and nice to meet you!
I have a (hopefully) simple question ... In my MediaWiki / Wikibase instance [1] I have a set of Properties whose data type is String, which are used to store the translations of the text of epigraphs, see eg. [2]. These fields appear to have a length limit of 400 characters. Is there any way to increase that limit?
Thank you very much!
Claudio
[1] https://wiki.eagle-network.eu/ [2] https://wiki.eagle-network.eu/wiki/Item:Q9529
-- Questa email è stata esaminata alla ricerca di virus da AVG. http://www.avg.com
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Hi all,
I tried to configure the "VT: string" setting to increase the character length of a String Property field, but if I add the code that I reported in my previous message to my LocalSettings.php I get the following error:
Exception caught: $ maxLength must be a positive integer.
Actually 4000 is a positive integer ... Any idea what I'm doing wrong?
Thank you very much!
Claudio
Il 15/04/2021 12:34, Claudio Prandoni ha scritto:
Hi Tom,
Indeed I asked the same question before in wikimedia-l and was advised to post it here too for safety :-)
If I understand you correctly, I need to add the following line in my LocalSettings.php file (let's say I want to put 4000 characters as the new limit):
$wgWBRepoSettings['string-limits'] = [ 'VT:string' => [ 'length' => 4000, ], ];
Is this correct?
Thank you very much!
Claudio
Il 15/04/2021 12:15, Thomas Arrow ha scritto:
Hi!
Similarly to your question to wikimedia-l about labels you want to change a setting from the "string-limits" section the Wikibase options [1]. However, this time you want to tweak the "VT:string" setting.
Hope that helps! Cheers, Tom
[1] https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_options.html#au...
On Thu, 15 Apr 2021 at 10:55, Claudio Prandoni prandoni@aedeka.com wrote:
Hello and nice to meet you!
I have a (hopefully) simple question ... In my MediaWiki / Wikibase instance [1] I have a set of Properties whose data type is String, which are used to store the translations of the text of epigraphs, see eg. [2]. These fields appear to have a length limit of 400 characters. Is there any way to increase that limit?
Thank you very much!
Claudio
[1] https://wiki.eagle-network.eu/ [2] https://wiki.eagle-network.eu/wiki/Item:Q9529
-- Questa email è stata esaminata alla ricerca di virus da AVG. http://www.avg.com
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Hi all,
We finally got it to work. We have redefined the whole array by setting the limit of 4000 for "VT: string" and leaving the rest unchanged and it works.
Thanks everyone for your support!
Claudio
Il 19/04/2021 21:32, Claudio Prandoni ha scritto:
Hi all,
I tried to configure the "VT: string" setting to increase the character length of a String Property field, but if I add the code that I reported in my previous message to my LocalSettings.php I get the following error:
Exception caught: $ maxLength must be a positive integer.
Actually 4000 is a positive integer ... Any idea what I'm doing wrong?
Thank you very much!
Claudio
Il 15/04/2021 12:34, Claudio Prandoni ha scritto:
Hi Tom,
Indeed I asked the same question before in wikimedia-l and was advised to post it here too for safety :-)
If I understand you correctly, I need to add the following line in my LocalSettings.php file (let's say I want to put 4000 characters as the new limit):
$wgWBRepoSettings['string-limits'] = [ 'VT:string' => [ 'length' => 4000, ], ];
Is this correct?
Thank you very much!
Claudio
Il 15/04/2021 12:15, Thomas Arrow ha scritto:
Hi!
Similarly to your question to wikimedia-l about labels you want to change a setting from the "string-limits" section the Wikibase options [1]. However, this time you want to tweak the "VT:string" setting.
Hope that helps! Cheers, Tom
[1] https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_options.html#au...
On Thu, 15 Apr 2021 at 10:55, Claudio Prandoni prandoni@aedeka.com wrote:
Hello and nice to meet you!
I have a (hopefully) simple question ... In my MediaWiki / Wikibase instance [1] I have a set of Properties whose data type is String, which are used to store the translations of the text of epigraphs, see eg. [2]. These fields appear to have a length limit of 400 characters. Is there any way to increase that limit?
Thank you very much!
Claudio
[1] https://wiki.eagle-network.eu/ [2] https://wiki.eagle-network.eu/wiki/Item:Q9529
-- Questa email è stata esaminata alla ricerca di virus da AVG. http://www.avg.com
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
wikidata-tech@lists.wikimedia.org