User:Shaunak Chakraborty/sandbox: Difference between revisions
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
| (19 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<inputbox> | <inputbox> | ||
type= | type=create | ||
preload=[[Category:Talk]] | |||
width= | width = 30 | ||
</inputbox> | </inputbox> | ||
<inputbox> | <inputbox> | ||
type=create | type = create | ||
buttonlabel=Create | buttonlabel = Create! | ||
placeholder = Report | |||
prefix = GnNews | |||
</inputbox> | </inputbox> | ||
$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/...]] | |||