Paladox has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/218152

Change subject: Add license to Main php file
......................................................................

Add license to Main php file

* Also add namemsg because the text is in en.json with the name.

* Update license to include MIT name above file.

Change-Id: Ice7dbe30dfdabf18329927f513e1d548653d4fd2
---
M GoogleAdSense.php
M LICENSE
M i18n/qqq.json
3 files changed, 22 insertions(+), 21 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GoogleAdSense 
refs/changes/52/218152/1

diff --git a/GoogleAdSense.php b/GoogleAdSense.php
index 0541142..8ceace0 100644
--- a/GoogleAdSense.php
+++ b/GoogleAdSense.php
@@ -41,10 +41,12 @@
 $wgExtensionCredits['other'][] = array(
        'path'           => __FILE__,
        'name'           => 'Google AdSense',
+       'namemsg'       => 'googleadsense',
        'version'        => '2.2.0',
        'author'         => 'Siebrand Mazeland',
        'descriptionmsg' => 'googleadsense-desc',
-       'url'            => 
'https://www.mediawiki.org/wiki/Extension:Google_AdSense_2',
+       'url'            => 
'https://www.mediawiki.org/wiki/Extension:Google_AdSense',
+       'license-name'   => 'MIT',
 );
 
 // Register class and localisations
diff --git a/LICENSE b/LICENSE
index 1772b96..33db107 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,22 +1,21 @@
+The MIT License (MIT)
+
 Copyright (c) 2008 Siebrand Mazeland
 
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
 
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
 
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 533f168..9a57835 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -7,6 +7,6 @@
                        "Umherirrender"
                ]
        },
-       "googleadsense": "{{notranslate}}",
-       "googleadsense-desc": "{{desc|name=Google 
AdSense|url=http://www.mediawiki.org/wiki/Extension:GoogleAdSense}}";
+       "googleadsense": "{{optional}}",
+       "googleadsense-desc": "{{desc|name=Google 
AdSense|url=https://www.mediawiki.org/wiki/Extension:GoogleAdSense}}";
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/218152
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ice7dbe30dfdabf18329927f513e1d548653d4fd2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GoogleAdSense
Gerrit-Branch: master
Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to