Jump to content

User:Shaunak Chakraborty/sandbox: Difference between revisions

From Gyaanipedia
No edit summary
No edit summary
Tags: Mobile edit Mobile web edit
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="margin-top: .5em; font-size: 90%;">
<inputbox>
<inputbox>
type=search2
type=create
buttonlabel=Search
preload=[[Category:Talk]]
width=22
width = 30
id=MP
</inputbox>
</inputbox>
</div>


<div style="margin-top: .5em; font-size: 90%;">
<inputbox>
<inputbox>
type=create
type = create
buttonlabel=Create
buttonlabel = Create!
width=22
placeholder = Report
id=MP
prefix = GnNews
</inputbox>
</inputbox>  
</div>
 
$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/...]]

Latest revision as of 13:06, 6 December 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.

    1. 2. **Direct Hotlinking**

You can embed images using their direct URLs in your wiki pages: ``` File:Https://static.wikia.nocookie.net/WIKI/images/...