Hi everyone!
I am trying to configure Wikibase in a wiki that I have installed. I want to use both, repository and client. I have followed installation instructions https://www.mediawiki.org/wiki/Wikibase/Installation, but I think that I made something wrong because now I have several errors in my wiki.
If I access to any page of the site I see "Internal error", the error and the backtrace. For example, in the mainpage:
[e837b2d7a6fcc7e1edaead2a] /Portada Error from line 240 of /[PATH]/extensions/Wikibase/client/includes/Store/Sql/DirectSqlStore.php: Class 'Wikimedia\Rdbms\SessionConsistentConnectionManager' not found
It also happens when I try to edit any page in main namespace. Then, another error is when I visit the page Special:CreateItem:
[1d904eb6d5d155e0d0c710ae] /Especial:CreateItem TypeError from line 32 of /[PATH]/extensions/Wikibase/repo/includes/Store/Sql/SqlIdGenerator.php: Argument 1 passed to Wikibase\SqlIdGenerator::__construct() must be an instance of Wikimedia\Rdbms\LoadBalancer, instance of LoadBalancer given, called in/[PATH]/extensions/Wikibase/repo/includes/Store/Sql/SqlStore.php on line 298
You can check my settings for Wikibase in that gist https://gist.github.com/distriker/6a387d967a7b48e36f41055f00c3c366. But I have made is config both extensions in the same file and the namespaces like as explain the advanced configuration https://www.mediawiki.org/wiki/Extension:Wikibase_Repository#Advanced_Configuration. I have configurated PHP 7.
Any idea? Thanks in advance!
Regards, Iván
On Wed, Mar 22, 2017 at 6:39 PM, Iván Hernández Cazorla ivanhercaz@gmail.com wrote:
Hi everyone!
I am trying to configure Wikibase in a wiki that I have installed. I want to use both, repository and client. I have followed installation instructions, but I think that I made something wrong because now I have several errors in my wiki.
If I access to any page of the site I see "Internal error", the error and the backtrace. For example, in the mainpage:
[e837b2d7a6fcc7e1edaead2a] /Portada Error from line 240 of
/[PATH]/extensions/Wikibase/client/includes/Store/Sql/DirectSqlStore.php: Class 'Wikimedia\Rdbms\SessionConsistentConnectionManager' not found
It also happens when I try to edit any page in main namespace. Then, another error is when I visit the page Special:CreateItem:
[1d904eb6d5d155e0d0c710ae] /Especial:CreateItem TypeError from line 32
of /[PATH]/extensions/Wikibase/repo/includes/Store/Sql/SqlIdGenerator.php: Argument 1 passed to Wikibase\SqlIdGenerator::__construct() must be an instance of Wikimedia\Rdbms\LoadBalancer, instance of LoadBalancer given, called in/[PATH]/extensions/Wikibase/repo/includes/Store/Sql/SqlStore.php on line 298
You can check my settings for Wikibase in that gist. But I have made is config both extensions in the same file and the namespaces like as explain the advanced configuration. I have configurated PHP 7.
Any idea? Thanks in advance!
Regards, Iván
Hi Iván,
Which version of MediaWiki are you using?
Cheers Lydia
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.
Regards, Iván
El 24/3/2017 13:48, "Lydia Pintscher" lydia.pintscher@wikimedia.de escribió:
On Wed, Mar 22, 2017 at 6:39 PM, Iván Hernández Cazorla ivanhercaz@gmail.com wrote:
Hi everyone!
I am trying to configure Wikibase in a wiki that I have installed. I
want to
use both, repository and client. I have followed installation
instructions,
but I think that I made something wrong because now I have several
errors in
my wiki.
If I access to any page of the site I see "Internal error", the error and the backtrace. For example, in the mainpage:
[e837b2d7a6fcc7e1edaead2a] /Portada Error from line 240 of
/[PATH]/extensions/Wikibase/client/includes/Store/Sql/
DirectSqlStore.php:
Class 'Wikimedia\Rdbms\SessionConsistentConnectionManager' not found
It also happens when I try to edit any page in main namespace. Then,
another
error is when I visit the page Special:CreateItem:
[1d904eb6d5d155e0d0c710ae] /Especial:CreateItem TypeError from line
32
of /[PATH]/extensions/Wikibase/repo/includes/Store/Sql/
SqlIdGenerator.php:
Argument 1 passed to Wikibase\SqlIdGenerator::__construct() must be an instance of Wikimedia\Rdbms\LoadBalancer, instance of LoadBalancer given, called in/[PATH]/extensions/Wikibase/repo/includes/Store/Sql/SqlStore.php
on
line 298
You can check my settings for Wikibase in that gist. But I have made is config both extensions in the same file and the namespaces like as
explain
the advanced configuration. I have configurated PHP 7.
Any idea? Thanks in advance!
Regards, Iván
Hi Iván,
Which version of MediaWiki are you using?
Cheers Lydia
-- Lydia Pintscher - http://about.me/lydia.pintscher Product Manager for Wikidata
Wikimedia Deutschland e.V. Tempelhofer Ufer 23-24 10963 Berlin 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.
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
On Fri, Mar 24, 2017 at 3:04 PM, Iván Hernández Cazorla 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
I literally had that problem yesterday myself. You do need "matching" versions of MediaWiki and Wikibase. Stable/master does NOT work, but master/master will work fine (but is a bit more fiddly to set up).
On Fri, Mar 24, 2017 at 2:27 PM Lydia Pintscher < lydia.pintscher@wikimedia.de> wrote:
On Fri, Mar 24, 2017 at 3:04 PM, Iván Hernández Cazorla 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 Product Manager for Wikidata
Wikimedia Deutschland e.V. Tempelhofer Ufer 23-24 10963 Berlin 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.
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Thank you for your answers, Lydia and Magnus. I haven't many time to work in this in that moment, but when I have a bit of time to work in this project, I will notify you if it works using the master/master or stable/stable versions.
Regards, Iván
On 25/03/17 12:31, Magnus Manske wrote:
I literally had that problem yesterday myself. You do need "matching" versions of MediaWiki and Wikibase. Stable/master does NOT work, but master/master will work fine (but is a bit more fiddly to set up).
On Fri, Mar 24, 2017 at 2:27 PM Lydia Pintscher <lydia.pintscher@wikimedia.de mailto:lydia.pintscher@wikimedia.de> wrote:
On Fri, Mar 24, 2017 at 3:04 PM, Iván Hernández Cazorla <ivanhercaz@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 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. _______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org <mailto:Wikidata@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/wikidata
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
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 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@wikimedia.de:
On Fri, Mar 24, 2017 at 3:04 PM, Iván Hernández Cazorla 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 Product Manager for Wikidata
Wikimedia Deutschland e.V. Tempelhofer Ufer 23-24 10963 Berlin 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.
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
I am agree with you, Jan. I think Wikibase has an improvable documentation.
Today, maybe I will try to install both again.
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@wikimedia.de mailto:lydia.pintscher@wikimedia.de>:
On Fri, Mar 24, 2017 at 3:04 PM, Iván Hernández Cazorla <ivanhercaz@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@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
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@wikimedia.de mailto:lydia.pintscher@wikimedia.de>:
On Fri, Mar 24, 2017 at 3:04 PM, Iván Hernández Cazorla <ivanhercaz@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@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Excuse me, I have discovered another issue: I can't add statements to an item or a property...
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@wikimedia.de mailto:lydia.pintscher@wikimedia.de>:
On Fri, Mar 24, 2017 at 3:04 PM, Iván Hernández Cazorla <ivanhercaz@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@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Hi everyone,
Excuse me if my insistence is annoying, but I want to work in my project with MediaWiki and Wikibase and without the solutions for the issues that I have report to you in that list, I can't work.
The reason to insist in that is because the last message was the April 3th. Here is my first report https://lists.wikimedia.org/pipermail/wikidata/2017-April/010513.html with two problems and here the second https://lists.wikimedia.org/pipermail/wikidata/2017-April/010514.html.
Lydia, Magnus, Jan or anyone with knowledge in Wikibase, do you know how can I solve the problems that I have?
Regards, Iván
On 03/04/17 01:28, Iván Hernández Cazorla wrote:
Excuse me, I have discovered another issue: I can't add statements to an item or a property...
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@wikimedia.de mailto:lydia.pintscher@wikimedia.de>:
On Fri, Mar 24, 2017 at 3:04 PM, Iván Hernández Cazorla <ivanhercaz@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@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@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.
I'm very sorry you feel that way.
Unfortunately "I can't add statements to an item or a property" is not a description of an issue anybody can help you with. https://www.mediawiki.org/wiki/How_to_report_a_bug might give guidance how to ask for help.
The other issue you mentioned contains an actual PHP error message saying "Constant WB_NS_PROPERTY_TALK already defined in LocalSettings.php". You should check where this constant is defined a second time. Usually you do not need the "define( … )" lines and can rely on the defaults that come with the Wikibase extension, so it might help to simply remove these lines from your LocalSettings.php.
I hope that helps at least a little bit.
Best Thiemo
Hi Thiemo!
Thank you for your fast answer. First of all, excuse me because I gave just a bit of information about the error of statements. I know that I have to be the most exactly, but in that moment I didn't remember to detail the problem because I didn't have so much time to expend in that task.
About the inability to add statements to a property, what I wanted to say was that I don't see the buttons to add an statement (or a description) in the page of an item. I have open the web console, where I have check there is a SyntaxError:
SyntaxError: expected expression, got '<'
I attach to this mail a screenshot with what I see, but anyone can access to the wiki http://cultport.ivanhercaz.com/index.php/Elemento:Q3 in which I am working.
About the PHP error, I will try to solve with your advice. Do you have any idea about the second point https://lists.wikimedia.org/pipermail/wikidata/2017-April/010513.html that I commented?
Thank you very much Thiemo.
Regards, Iván
On 10/05/17 17:32, Thiemo Mättig wrote:
I'm very sorry you feel that way.
Unfortunately "I can't add statements to an item or a property" is not a description of an issue anybody can help you with. https://www.mediawiki.org/wiki/How_to_report_a_bug might give guidance how to ask for help.
The other issue you mentioned contains an actual PHP error message saying "Constant WB_NS_PROPERTY_TALK already defined in LocalSettings.php". You should check where this constant is defined a second time. Usually you do not need the "define( … )" lines and can rely on the defaults that come with the Wikibase extension, so it might help to simply remove these lines from your LocalSettings.php.
I hope that helps at least a little bit.
Best Thiemo
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Hey,
The "add" buttons don't appear because the JavaScript fails to load, and this is because of the same error with the already defined constant. Once you fix this these errors should all disappear.
As said, please try to simply delete the "define( … )" lines from your LocalSettings.php you added there before.
Best Thiemo
Hi Thiemo,
Thank you very much! Problems solved.
I am going to continue working and learning more. I will send more doubts soon, possibly tonight.
Regards, Iván
On 10/05/17 18:27, Thiemo Mättig wrote:
Hey,
The "add" buttons don't appear because the JavaScript fails to load, and this is because of the same error with the already defined constant. Once you fix this these errors should all disappear.
As said, please try to simply delete the "define( … )" lines from your LocalSettings.php you added there before.
Best Thiemo
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata