https://bugzilla.wikimedia.org/show_bug.cgi?id=63367

            Bug ID: 63367
           Summary: Wikibase repository extension breaks MediaWiki
                    installer
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: sebastian.brueck...@student.hpi.uni-potsdam.de
                CC: wikidata-b...@lists.wikimedia.org
       Web browser: ---
   Mobile Platform: ---

After installing the Wikibase extensions via composer (require
wikibase/wikibase: *), the MediaWiki installer is broken. Apparently, the
Wikibase classes expect the local config to exist even during the installer
(where it might not exist yet - as it does in my case).
This is the backtrace:

[dabefbdf] /repo/mw-config/index.php?page=Language Exception from line 93 of
/var/www/repo/extensions/Wikibase/repo/Wikibase.hooks.php: Wikibase: Incomplete
configuration: $wgWBRepoSettings["entityNamespaces"] has to be set to an array
mapping content model IDs to namespace IDs. See ExampleSettings.php for details
and examples.

Backtrace:

#0 [internal function]: Wikibase\RepoHooks::onSetupAfterCache()
#1 /var/www/repo/includes/Hooks.php(206): call_user_func_array(string, array)
#2 /var/www/repo/includes/GlobalFunctions.php(4009): Hooks::run(string, array,
NULL)
#3 /var/www/repo/includes/Setup.php(527): wfRunHooks(string)
#4 /var/www/repo/includes/WebStart.php(156): require_once(string)
#5 /var/www/repo/mw-config/index.php(29): require(string)
#6 {main}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to