Skip to content

Commit 97887ad

Browse files
authored
Add configuration section to README
1 parent 6163295 commit 97887ad

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,20 @@ wfLoadExtension( 'WikibaseLocalMedia' );
5858

5959
You can verify the extension was enabled successfully by opening your wikis Special:Version page in your browser.
6060

61+
## PHP Configuration
62+
63+
Configuration can be changed via [LocalSettings.php].
64+
65+
### Setting foreign file repo
66+
67+
Optional wiki API URL, works in conjunction with `$wgForeignFileRepos` for retrieving images from any wiki
68+
69+
Variable: `$wgWikibaseLocalMediaRemoteApiUrl`
70+
71+
Default: `null`
72+
73+
Example: `https://commons.wikimedia.org/w/api.php`
74+
6175
## Running the tests
6276

6377
* PHP tests: `php tests/phpunit/phpunit.php extensions/WikibaseLocalMedia/tests/`

0 commit comments

Comments
 (0)