Topic on Talk:Wikibase

How can I uninstall Wikibase Repository and retain Client?

9
星耀晨曦 (talkcontribs)

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?

星耀晨曦 (talkcontribs)

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.

Thiemo Kreuz (WMDE) (talkcontribs)

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.

星耀晨曦 (talkcontribs)

I see installation guide wrote "Enable Wikibase Client only". I thought I can only enable Client.

Thiemo Kreuz (WMDE) (talkcontribs)

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.

Thiemo Kreuz (WMDE) (talkcontribs)

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?

星耀晨曦 (talkcontribs)

If I reenable these lines, my wiki work well. Errors reappear when I disable these lines again.

Thiemo Kreuz (WMDE) (talkcontribs)

I have no idea then, sorry. Did you edited any of these .php files?

星耀晨曦 (talkcontribs)

No.

Reply to "How can I uninstall Wikibase Repository and retain Client?"