From: Wikimedia Espana Date: Thu, 16 Aug 2012 12:14:35 +0000 (+0200) Subject: Copy with the extension the button which used to be at X-Git-Url: http://gitweb.wikimedia.es/?a=commitdiff_plain;h=a38b4cfa3541c332f36081dca56e8c0c0ebc4ae1;p=mediawiki%2Fextensions%2FPaypal-wmes Copy with the extension the button which used to be at http://www.wikimedia.org.es/wp-content/uploads/2011/06/btn_donateCC_LG.gif (now no longer accessible) --- diff --git a/PayPal_button.gif b/PayPal_button.gif new file mode 100755 index 0000000..97f81f4 Binary files /dev/null and b/PayPal_button.gif differ diff --git a/Paypal-wmes.php b/Paypal-wmes.php index f707acf..38e4f6d 100755 --- a/Paypal-wmes.php +++ b/Paypal-wmes.php @@ -8,11 +8,12 @@ function efSetupPaypalWMES(&$parser) { } function efHookPaypalWMES( $input, array $args, Parser $parser, PPFrame $frame ) { + global $wgExtensionAssetsPath; return '
+src="' . htmlspecialchars( "$wgExtensionAssetsPath/Paypal-wmes/PayPal_button.gif" ) . '" type="image" />
'; }