I am using media wiki to build a web application.
Media wiki is a web framework from wikipedia which is used to build websites.
Link to media wiki : https://www.mediawiki.org/wiki/MediaWiki I am building a site called vanisource.org
I would like to built a donation interface page for my website.
While searching through google, I found that media wiki provides a plug in, which can be used for donations. The link to the plugin is www.mediawiki.org/wiki/Extension:DonationInterface
They provide an example on how this plugin will look like at
donate.wikimedia.org/w/index.php?title=Special:FundraiserLandingPage&country=IN&uselang=en-gb&utm_medium=spontaneous&utm_source=fr-redir&utm_campaign=spontaneous
I tried to work with this extension as per the docs provided by media wiki.
I had worked accordingly, and changed the localsetting.php as what is told in the documentation.
I would like to put this donation plug in a page like it is shown at
donate.wikimedia.org/w/index.php?title=Special:FundraiserLandingPage&country=IN&uselang=en-gb&utm_medium=spontaneous&utm_source=fr-redir&utm_campaign=spontaneous
but it appears to be confusing to me since changing localsettings.php will not put a form in my website. I am missing something. I would like to know how should I proceed so that I could get the same donation form as in
donate.wikimedia.org/w/index.php?title=Special:FundraiserLandingPage&country=IN&uselang=en-gb&utm_medium=spontaneous&utm_source=fr-redir&utm_campaign=spontaneous
答案 0 :(得分:0)
那么,您是否真的下载了扩展程序包并将其放在扩展名文件夹下的服务器上?我看到你已经编辑了你的localsettings.php,但我不知道你还做了什么来使用这个扩展。
您必须按照侧边栏中的说明下载扩展程序 https://www.mediawiki.org/wiki/Extension:DonationInterface 在 https://www.mediawiki.org/wiki/Special:ExtensionDistributor/DonationInterface
然后按照localsettings.php
代码部分的说明进行操作 require_once( "$IP/extensions/DonationInterface/DonationInterface.php" );
包括配置您要允许的支付网关和其他配置。
您还必须自己创建页面,它不会因为您将其放在localsettings.php中而自动填充页面