Hi everyone,
First of all, thank you to Lydia and Magnus for your help, I finally
installed Mediawiki and Wikibase master versions. Everything works fine
with two exceptions:
1. *Notice*: Constant WB_NS_PROPERTY_TALK already defined in
.../LocalSettings.php
I have defined the namespaces "Elemento" and "Propiedad" with its
respective talk namespaces. This is the code that I have used for that:
$baseNs = 120;
// Espacios de nombre para Wikibase
define( 'WB_NS_ITEM', $baseNs );
define( 'WB_NS_ITEM_TALK', $baseNs + 1);
define( 'WB_NS_PROPERTY', $baseNs + 2);
define( 'WB_NS_PROPERTY_TALK', $baseNs + 3);
$wgExtraNamespaces[WB_NS_ITEM] = 'Elemento';
$wgExtraNamespaces[WB_NS_ITEM_TALK] = 'Elemento_discusión';
$wgExtraNamespaces[WB_NS_PROPERTY] = 'Propiedad';
$wgExtraNamespaces[WB_NS_PROPERTY_TALK] = 'Propiedad_discusión';
$wgWBRepoSettings['entityNamespaces']['item'] = WB_NS_ITEM;
$wgWBRepoSettings['entityNamespaces']['property'] = WB_NS_PROPERTY;
$wgNamespacesToBeSearchedDefault[WB_NS_ITEM] = true;
$wgNamespacesToBeSearchedDefault[WB_NS_PROPERTY] = true;
Mainly, as it is shown in the manual of Wikibase Repository
<https://www.mediawiki.org/wiki/Extension:Wikibase_Repository/es#Setting_up_items_in_the_main_namespace>.
How can I solved it?
2. I created a test item but I check that I wrote a wrong namespace in
the LocalSettings so I fix it in the file and try to search the item
created to check if it was updated to the new namespace. I imagine
that it doesn't happens magically, so I have searching an script to
delete all items or to purge the old namespace, because the item
that I created give me the next error:
Fatal Exception type "RuntimeException"
Anyone could help me with that? I am new using Wikibase so I need to
know how to solve that kind of errors for the next times, because I am
interested in the use of Wikibase in different project that I have in
mind and in progress.
Otherwise, could you give me some information about the creation of
properties in Wikibase? In that moment I am reading Help:Properties
<https://www.wikidata.org/wiki/Help:Properties> and its related pages to
know more about them. Any advice?
Regards, Iván
On 30/03/17 08:25, Jan Dittrich wrote:
If you are using Wikibase master then you
for now also need MediaWiki master.
Are we clear on that in the documentation? I briefly scrolled over
https://www.mediawiki.org/wiki/Wikibase/Installation
<https://www.mediawiki.org/wiki/Wikibase/Installation> and it was not
obvious to me (I knew I need the matching version, but maybe just
because some watercooler installing stuff chat warned me of that)
Jan
2017-03-24 15:26 GMT+01:00 Lydia Pintscher
<lydia.pintscher(a)wikimedia.de <mailto:lydia.pintscher@wikimedia.de>>:
On Fri, Mar 24, 2017 at 3:04 PM, Iván Hernández Cazorla
<ivanhercaz(a)gmail.com <mailto:ivanhercaz@gmail.com>> wrote:
Hi Lydia!
I haven't got access to my computer in that moment, but I think
that I
install the last version.
Thank you for your response.
Ok that might be the issue. If you are using Wikibase master then you
for now also need MediaWiki master.
Cheers
Lydia
--
Lydia Pintscher -
http://about.me/lydia.pintscher
<http://about.me/lydia.pintscher>
Product Manager for Wikidata
Wikimedia Deutschland e.V.
Tempelhofer Ufer 23-24
10963 Berlin
www.wikimedia.de <http://www.wikimedia.de>
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens
e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das
Finanzamt für Körperschaften I Berlin, Steuernummer 27/029/42207
<tel:27%2F029%2F42207>.
_______________________________________________
Wikidata mailing list
Wikidata(a)lists.wikimedia.org <mailto:Wikidata@lists.wikimedia.org>
https://lists.wikimedia.org/mailman/listinfo/wikidata
<https://lists.wikimedia.org/mailman/listinfo/wikidata>
--
Jan Dittrich
UX Design/ User Research
Wikimedia Deutschland e.V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
http://wikimedia.de
Imagine a world, in which every single human being can freely share in
the sum of all knowledge. That‘s our commitment.
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.
V. Eingetragen im Vereinsregister des Amtsgerichts
Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig
anerkannt durch das Finanzamt für Körperschaften I Berlin,
Steuernummer 27/029/42207.
_______________________________________________
Wikidata mailing list
Wikidata(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata
--
Iván Hernández Cazorla.
Estudiante del Grado de Historia en la *Universidad de Las Palmas de
Gran Canaria*.
Socio de *Wikimedia España*.
Sitio web personal <http://distriker.com>.