When I comment require_once "$IP/extensions/Wikibase/repo/Wikibase.php";require_once "$IP/extensions/Wikibase/repo/ExampleSettings.php";
and set $wgEnableWikibaseRepo
to false. My wiki tell me: "Unable to connect to the database". How can I properly uninstall Wikibase Repository?
Topic on Talk:Wikibase
Update problem description: I can access special page, however other pages show "Unable to connect to the database". If I disable Repository and Client at the same time, the page returns to normal.
That starts making more sense. When there is no repo, the client can not connect anywhere. Why do you want such a setup? Note that even if we are working on such a feature (it's called "federation", documentation is in the "docs" folder), we are currently only supporting setups where the repo database is on the same machine as the client.
I see installation guide wrote "Enable Wikibase Client only". I thought I can only enable Client.
You can, but only if you have a second Wikibase repository wiki running on the same database. We hope to rewrite the installation instructions soon, and will try to do so during the upcoming hackathon.
I tried this locally, and it works as expected. If your system is not able to connect to the database, the error can't be in the three lines you touched, as they don't even attempt to establish such a connection. Can you reproduce the error when all you do is reenabling/disabling these lines?
If I reenable these lines, my wiki work well. Errors reappear when I disable these lines again.
I have no idea then, sorry. Did you edited any of these .php files?
No.