[Systems] Missing wiki directories?
Frederick Grose
fgrose at sugarlabs.org
Sat Jan 18 12:59:16 EST 2014
On Thu, Jan 16, 2014 at 2:06 PM, Bernie Innocenti <bernie at codewiz.org> wrote:
>
> On 11/22/2013 12:54 PM, Frederick Grose wrote:
> > On Fri, Nov 22, 2013 at 12:49 AM, Bernie Innocenti <bernie at codewiz.org
> > <mailto:bernie at codewiz.org>>wrote:
> >
> > On 11/21/2013 11:14 PM, Frederick Grose wrote:
> > > 1.)
> > > See the red text error messages on this page,
> > > http://wiki.sugarlabs.org/go/Sugar_Labs/Donate
> > >
> > > http://www.mediawiki.org/wiki/Extension:HTMLets
> > > explains that there should be a $IP/htmlets directory for the
> > .html files.
> > > I couldn't find that directory in /srv/www-sugarlabs/wiki/ .
> > >
> > > 2.)
> > > The widget namespace on the wiki seems to be missing.
> >
> > The directory probably existed in the old SVN checkout of MediaWiki,
> > which was replaced by the git tree about one year ago. Too long for our
> > backups. Do you still have the files paypal.html and
> > googlecheckout.html?
> >
> >
> > No.
>
> The FSF determined that they also don't have a copy of the files in
> their tape backups. But one of the FSF sysadmins got the idea to check
> the Internet Archive's magical Wayback Machine, and... voilà!
>
>
> https://web.archive.org/web/20120920032822/http://wiki.sugarlabs.org/go/Donate
>
> These should be the relevant HTML snippets:
>
> == PayPal ==
> <form
> action="https://www.paypal.com/cgi-bin/webscr"
> method="post">
> <input type="hidden" name="cmd" value="_s-xclick">
> <input type="hidden" name="hosted_button_id" value="1577546">
> <input type="image"
> src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif"
> border="0" name="submit" alt="">
> <img alt="" border="0"
> src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1"
> height="1">
> </form>
>
>
> == Google Checkout ==
> <script type="text/javascript">
> function validateAmount(amount){
> if(amount.value.match( /^[0-9]+(\.([0-9]+))?$/)){
> return true;
> }else{
> alert('You must enter a valid donation.');
> amount.focus();
> return false;
> }
> }
> </script>
> <form
> action="https://checkout.google.com/cws/v2/Donations/622836985124940/checkoutForm"
> id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm"
> onSubmit="return validateAmount(this.item_price_1)">
> <input name="item_name_1" type="hidden" value="Sugar Labs -
> directed donation via Software Freedom Conservancy, Inc."/>
> <input name="item_description_1" type="hidden" value="A directed,
> earmarked donation for Sugar Labs, via the Software Freedom
> Conservancy, Inc."/>
> <input name="item_quantity_1" type="hidden" value="1"/>
> <input name="item_currency_1" type="hidden" value="USD"/>
> <input name="item_is_modifiable_1" type="hidden" value="true"/>
> <input name="item_min_price_1" type="hidden" value="5.0"/>
> <input name="item_max_price_1" type="hidden" value="25000.0"/>
> <input name="_charset_" type="hidden" value="utf-8"/>
> <table cellpadding="5" cellspacing="0" width="1%">
> <tr>
> <td align="right" nowrap="nowrap"
> width="1%">$ <input
> id="item_price_1" name="item_price_1"
> onfocus="this.style.color='black';
> this.value='';" size="11"
> style="color:grey;" type="text"
> value="Enter Amount"/>
> </td>
> <td align="left" width="1%">
> <input alt="Donate"
>
> src="https://checkout.google.com/buttons/donateNow.gif?merchant_id=6»
> type="image"/>
> </td>
> </tr>
> </table>
> </form>
>
> --
> _ // Bernie Innocenti
> \X/ http://codewiz.org
/srv/www-sugarlabs/wiki/htmlets/paypal.html restored.
Google Checkout is retired,
https://support.google.com/checkout/sell/answer/3080449
Perhaps our Software Freedom Conservancy support can open a Google
Wallet account,
https://developers.google.com/wallet/digital/
--Fred
More information about the Systems
mailing list