User:Shaunak Chakraborty/sandbox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
prefix = GnNews | prefix = GnNews | ||
</inputbox> | </inputbox> | ||
. | |||
$wgUseInstantCommons = true; | $wgUseInstantCommons = true; | ||
$wgForeignFileRepos[] = [ | $wgForeignFileRepos[] = [ | ||
Revision as of 08:00, 29 October 2025
. $wgUseInstantCommons = true; $wgForeignFileRepos[] = [
'class' => 'ForeignAPIRepo', 'name' => 'fandomwiki', 'apibase' => 'https://WIKI-NAME.fandom.com/api.php', 'fetchDescription' => true, 'descriptionCacheExpiry' => 43200,
]; ```
Replace `WIKI-NAME` with the actual Fandom wiki name.
- 2. **Direct Hotlinking**
You can embed images using their direct URLs in your wiki pages: ``` File:Https://static.wikia.nocookie.net/WIKI/images/...