[MediaWiki-commits] [Gerrit] 2.0.0 release - change (mediawiki...PCRGUIInserts)
Kghbln has submitted this change and it was merged. Change subject: 2.0.0 release .. 2.0.0 release * BREAKING CHANGE: Changed entry point file * Changed LICENSE to COPYING * Added CREDITS * Improved file documentation * Improved CHANGELOG * Cleaned up main extension file * Renamed extension class * Renamed extension files Change-Id: I50ae84ca2ae0dfe826e925c2b7a4199cdbd67169 --- M CHANGELOG R COPYING A CREDITS R PCRGUIInserts.class.php A PCRGUIInserts.php M i18n/de.json M i18n/en.json M i18n/fr.json M i18n/qqq.json D pcr_guii.php 10 files changed, 156 insertions(+), 105 deletions(-) Approvals: Kghbln: Verified; Looks good to me, approved diff --git a/CHANGELOG b/CHANGELOG index e39574f..c3798c1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,15 +1,36 @@ -Version 1.1 -=== -2015-10-16 -Dennis Roczek +The CHANGELOG of the PCR GUI Inserts extension to MediaWiki. -+ add CHANGELOG -+ add license lame + license file on Special:Version -+ transformed i18n files to "new" JSON format -+ initial README, needs much love -Version 1.0 -=== -David Dernoncourt +== Version 2.0 == -+initial release \ No newline at end of file +Released on November 27, 2015 by Karsten Hoffmeyer. + +* BREAKING CHANGE: Changed entry point file +* Changed LICENSE to COPYING +* Added CREDITS +* Improved file documentation +* Improved CHANGELOG +* Cleaned up main extension file +* Renamed extension class +* Renamed extension files + + +== Version 1.1.0 == + +Released on October 16, 2015 by Dennis Roczek. + +* Added CHANGELOG +* Added README +* Added LICENSE (now CC BY-SA 4.0) +* Migrated I18n-files to json +* MediaWiki 1.23 or above +* PHP 5.3 or above + + +== Version 1.0 == + +Released on March 2, 2011 by David Dernoncourt. + +* Initial release +* MediaWiki 1.16 or above +* PHP 5.2 or above diff --git a/LICENSE b/COPYING similarity index 99% rename from LICENSE rename to COPYING index 779223f..e7f785e 100644 --- a/LICENSE +++ b/COPYING @@ -1,4 +1,3 @@ - Attribution-ShareAlike 4.0 International === @@ -50,7 +49,8 @@ such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More_considerations - for the public: + for the public: + wiki.creativecommons.org/Considerations_for_licensees === @@ -424,4 +424,3 @@ licenses. Creative Commons may be contacted at creativecommons.org. - diff --git a/CREDITS b/CREDITS new file mode 100644 index 000..d625f8d --- /dev/null +++ b/CREDITS @@ -0,0 +1,9 @@ +The PCR GUI Inserts extension lets you easily add pieces of HTML code +at several useful places of the GUI. It was released under the Creative +Commons Attribution Share Alike license 4.0. We would like to recognize +the following names for their contribution. + +== Developers == +* David Dernoncourt +* Dennis Roczek +* Karsten Hoffmeyer diff --git a/pcr_guii_body.php b/PCRGUIInserts.class.php similarity index 71% rename from pcr_guii_body.php rename to PCRGUIInserts.class.php index a8beba2..63e243d 100644 --- a/pcr_guii_body.php +++ b/PCRGUIInserts.class.php @@ -1,17 +1,15 @@ -** -** This program is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -** -*/ +/** + * This is the class file for the PCR GUI Inserts extension + * + * @file + * + * @author David Dernoncourt (Patheticcockroach) + * + * @license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 + */ -class PCRguii +class PCRGUIInserts { public function __construct() { @@ -20,7 +18,7 @@ $wgHooks['SkinAfterBottomScripts'][] = array( &$this, 'SkinAfterBottomScripts' ); $wgHooks['SkinBuildSidebar'][] = array( &$this, 'SkinBuildSidebar' ); } - + # addHeadItem places stuff within # BeforePageDisplay places stuff just at the end of the page content frame public function BeforePageDisplay(&$out, &$sk) @@ -31,7 +29,7 @@ $i=0; foreach($wgPCRguii_Inserts['addHeadItem']['content'] as $value) { - $out->addHeadItem('PCRguii'.$i,$value); + $out->addHeadItem('PCRGUIInserts'.$i,$value); $i++; } } @@ -39,7 +37,7 @@ $out->addHTML($wgPCRguii_Inserts['BeforePageDisplay']['content']); return $out; } - + # SkinAfterBottomScripts places stuff really at the bottom (after
[MediaWiki-commits] [Gerrit] 2.0.0 release - change (mediawiki...PCRGUIInserts)
Kghbln has uploaded a new change for review. https://gerrit.wikimedia.org/r/255725 Change subject: 2.0.0 release .. 2.0.0 release * BREAKING CHANGE: Changed entry point file * Changed LICENSE to COPYING * Added CREDITS * Improved file documentation * Improved CHANGELOG * Cleaned up main extension file * Renamed extension class * Renamed extension files Change-Id: I50ae84ca2ae0dfe826e925c2b7a4199cdbd67169 --- M CHANGELOG R COPYING A CREDITS R PCRGUIInserts.class.php A PCRGUIInserts.php M i18n/de.json M i18n/en.json M i18n/fr.json M i18n/qqq.json D pcr_guii.php 10 files changed, 156 insertions(+), 105 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PCRGUIInserts refs/changes/25/255725/1 diff --git a/CHANGELOG b/CHANGELOG index e39574f..c3798c1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,15 +1,36 @@ -Version 1.1 -=== -2015-10-16 -Dennis Roczek +The CHANGELOG of the PCR GUI Inserts extension to MediaWiki. -+ add CHANGELOG -+ add license lame + license file on Special:Version -+ transformed i18n files to "new" JSON format -+ initial README, needs much love -Version 1.0 -=== -David Dernoncourt +== Version 2.0 == -+initial release \ No newline at end of file +Released on November 27, 2015 by Karsten Hoffmeyer. + +* BREAKING CHANGE: Changed entry point file +* Changed LICENSE to COPYING +* Added CREDITS +* Improved file documentation +* Improved CHANGELOG +* Cleaned up main extension file +* Renamed extension class +* Renamed extension files + + +== Version 1.1.0 == + +Released on October 16, 2015 by Dennis Roczek. + +* Added CHANGELOG +* Added README +* Added LICENSE (now CC BY-SA 4.0) +* Migrated I18n-files to json +* MediaWiki 1.23 or above +* PHP 5.3 or above + + +== Version 1.0 == + +Released on March 2, 2011 by David Dernoncourt. + +* Initial release +* MediaWiki 1.16 or above +* PHP 5.2 or above diff --git a/LICENSE b/COPYING similarity index 99% rename from LICENSE rename to COPYING index 779223f..e7f785e 100644 --- a/LICENSE +++ b/COPYING @@ -1,4 +1,3 @@ - Attribution-ShareAlike 4.0 International === @@ -50,7 +49,8 @@ such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More_considerations - for the public: + for the public: + wiki.creativecommons.org/Considerations_for_licensees === @@ -424,4 +424,3 @@ licenses. Creative Commons may be contacted at creativecommons.org. - diff --git a/CREDITS b/CREDITS new file mode 100644 index 000..d625f8d --- /dev/null +++ b/CREDITS @@ -0,0 +1,9 @@ +The PCR GUI Inserts extension lets you easily add pieces of HTML code +at several useful places of the GUI. It was released under the Creative +Commons Attribution Share Alike license 4.0. We would like to recognize +the following names for their contribution. + +== Developers == +* David Dernoncourt +* Dennis Roczek +* Karsten Hoffmeyer diff --git a/pcr_guii_body.php b/PCRGUIInserts.class.php similarity index 71% rename from pcr_guii_body.php rename to PCRGUIInserts.class.php index a8beba2..63e243d 100644 --- a/pcr_guii_body.php +++ b/PCRGUIInserts.class.php @@ -1,17 +1,15 @@ -** -** This program is distributed in the hope that it will be useful, -** but WITHOUT ANY WARRANTY; without even the implied warranty of -** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -** -*/ +/** + * This is the class file for the PCR GUI Inserts extension + * + * @file + * + * @author David Dernoncourt (Patheticcockroach) + * + * @license https://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0 + */ -class PCRguii +class PCRGUIInserts { public function __construct() { @@ -20,7 +18,7 @@ $wgHooks['SkinAfterBottomScripts'][] = array( &$this, 'SkinAfterBottomScripts' ); $wgHooks['SkinBuildSidebar'][] = array( &$this, 'SkinBuildSidebar' ); } - + # addHeadItem places stuff within # BeforePageDisplay places stuff just at the end of the page content frame public function BeforePageDisplay(&$out, &$sk) @@ -31,7 +29,7 @@ $i=0; foreach($wgPCRguii_Inserts['addHeadItem']['content'] as $value) { - $out->addHeadItem('PCRguii'.$i,$value); + $out->addHeadItem('PCRGUIInserts'.$i,$value); $i++; } } @@ -39,7 +37,7 @@ $out->addHTML($wgPCRguii_Inserts['BeforePageDisplay']['content']); return $out; } -