Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P8779
Wikibase - Client configuration [testing new store on clients]
Active
Public
Actions
Authored by
•
alaa_wmde
on Jul 20 2019, 6:54 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F29820662: raw.txt
Jul 20 2019, 6:54 AM
2019-07-20 06:54:19 (UTC+0)
Subscribers
•
alaa_wmde
hoo
Ladsgroup
Lucas_Werkmeister_WMDE
<?php
require_once
__DIR__
.
'/.docker/LocalSettings.php'
;
wfLoadExtension
(
'UniversalLanguageSelector'
);
wfLoadExtension
(
'Interwiki'
);
$wgGroupPermissions
[
'sysop'
][
'interwiki'
]
=
true
;
wfLoadExtension
(
'Scribunto'
);
$wgScribuntoDefaultEngine
=
'luastandalone'
;
wfLoadExtension
(
'WikiEditor'
);
wfLoadExtension
(
'SyntaxHighlight_GeSHi'
);
wfLoadExtension
(
'CodeEditor'
);
$wgDefaultUserOptions
[
'usebetatoolbar'
]
=
1
;
$wgScribuntoUseGeSHi
=
true
;
wfLoadSkin
(
'Vector'
);
wfLoadExtension
(
'Elastica'
);
wfLoadExtension
(
'CirrusSearch'
);
$wgSearchType
=
'CirrusSearch'
;
// $wgEnableWikibaseRepo = true;
// $wgEnableWikibaseClient = true;
require_once
"$IP/extensions/Wikibase/repo/Wikibase.php"
;
require_once
"$IP/extensions/Wikibase/repo/ExampleSettings.php"
;
require_once
"$IP/extensions/Wikibase/client/WikibaseClient.php"
;
require_once
"$IP/extensions/Wikibase/client/ExampleSettings.php"
;
wfLoadExtension
(
'WikibaseCirrusSearch'
);
wfLoadExtension
(
'WikibaseMediaInfo'
);
$wgMediaInfoEnableFilePageDepicts
=
true
;
$wgMediaInfoProperties
=
[
'depicts'
=>
'P1'
,
'inherits'
=>
'P2'
];
$wgDepictsQualifierProperties
=
[
'features'
=>
'P3'
];
$wgWBRepoSettings
[
'entityNamespaces'
]
=
[];
$wgWBRepoSettings
[
'foreignRepositories'
]
=
[
'd'
=>
[
'repoDatabase'
=>
'repo'
,
'baseUri'
=>
'http://repo.web.mw.localhost:80/'
,
'supportedEntityTypes'
=>
[
'item'
,
'property'
],
'prefixMapping'
=>
[],
'entityNamespaces'
=>
[
'item'
=>
0
,
'property'
=>
120
]
],
];
$wgWBClientSettings
[
'repoUrl'
]
=
"http://default.web.mw.localhost:8098"
;
$wgWBClientSettings
[
'repoDatabase'
]
=
"repo"
;
$wgWBClientSettings
[
'repoArticlePath'
]
=
"/mediawiki/index.php/$1"
;
$wgWBClientSettings
[
'entityNamespaces'
]
=
[
'item'
=>
0
,
'property'
=>
120
,
];
$wgWBClientSettings
[
'repositories'
]
=
[
''
=>
[
'repoDatabase'
=>
'repo'
,
'entityNamespaces'
=>
[
'item'
=>
0
,
'property'
=>
120
,
'lexeme'
=>
146
,
],
'baseUri'
=>
'http://default.web.mw.localhost:8098/mediawiki'
,
'prefixMapping'
=>
[
''
=>
''
],
],
'commons'
=>
[
'repoDatabase'
=>
'default'
,
'entityNamespaces'
=>
[
'mediainfo'
=>
'6/mediainfo'
],
'baseUri'
=>
'http://default.web.mw.localhost:8099/mediawiki'
,
'prefixMapping'
=>
[],
],
];
$wgEnableUploads
=
true
;
$wgHashedUploadDirectory
=
true
;
$wgUploadDirectory
=
'images/'
;
$wgUploadPath
=
'images/'
;
Event Timeline
•
alaa_wmde
created this paste.
Jul 20 2019, 6:54 AM
2019-07-20 06:54:19 (UTC+0)
•
alaa_wmde
mentioned this in
T226008: Lookup obtained via SingleEntitySourceServices::getPrefetchingTermLookup must obey EntitySource
.
Log In to Comment