5,879
edits
m (Text replacement - "https://your-wiki.url/index.php?title=User:Foo/pikan-website.js&action=raw&ctype=text/javascript" to "https://your.wiki.url/index.php?title=MediaWiki:Pikan-website.js&action=raw&ctype=text/javascript") |
m (Text replacement - "pikan-pikipedia.js" to "Pikan-pikipedia.js") |
||
Line 129: | Line 129: | ||
I also made Pikan with flexibility in mind. If you want to add the script to your wiki, follow these steps: | I also made Pikan with flexibility in mind. If you want to add the script to your wiki, follow these steps: | ||
* Create your own copy of [[MediaWiki:Pikan-pikipedia.js| | * Create your own copy of [[MediaWiki:Pikan-pikipedia.js|Pikan-pikipedia.js]] (naming it whatever you want). | ||
* Change the first few parameters to match your wiki (e.g. wiki_url, module_name, etc.). | * Change the first few parameters to match your wiki (e.g. wiki_url, module_name, etc.). | ||
* Edit pikan.find_problems to your suiting. | * Edit pikan.find_problems to your suiting. | ||
Line 146: | Line 146: | ||
); | ); | ||
}</pre> | }</pre> | ||
* Update the second URL to point to the raw source of your own version of | * Update the second URL to point to the raw source of your own version of Pikan-pikipedia.js (again, named whatever it is you wanted). | ||
==FAQ== | ==FAQ== |