jenkins-bot has submitted this change and it was merged. Change subject: Add credits and i18n file to MW file of the Database component ......................................................................
Add credits and i18n file to MW file of the Database component Change-Id: Ic4a75ec9e53d4e32a88c900b9977c0fe037b1a41 --- A Database/Database.i18n.php M Database/Database.mw.php 2 files changed, 55 insertions(+), 2 deletions(-) Approvals: Tobias Gritschacher: Looks good to me, approved jenkins-bot: Verified diff --git a/Database/Database.i18n.php b/Database/Database.i18n.php new file mode 100644 index 0000000..c674544 --- /dev/null +++ b/Database/Database.i18n.php @@ -0,0 +1,44 @@ +<?php + +/** + * Internationalization file for the Wikibase Database component. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * 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. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * http://www.gnu.org/copyleft/gpl.html + * + * @since 0.1 + * + * @file + * @ingroup WikibaseDatabase + * + * @licence GNU GPL v2+ + * @author Jeroen De Dauw < [email protected] > + */ + +$messages = array(); + +/** English + * @author Jeroen De Dauw + */ +$messages['en'] = array( + 'wikibasedatabase-desc' => 'Component containing a simple database abstraction layer', +); + +/** Message documentation (Message documentation) + * @author Jeroen De Dauw + */ +$messages['qqq'] = array( + 'wikibasedatabase-desc' => '{{desc|name=Wikibase Database|url=http://www.mediawiki.org/wiki/Extension:Wikibase}}', +); diff --git a/Database/Database.mw.php b/Database/Database.mw.php index d8aef41..78ae5a4 100644 --- a/Database/Database.mw.php +++ b/Database/Database.mw.php @@ -34,9 +34,18 @@ global $wgExtensionCredits, $wgExtensionMessagesFiles, $wgHooks; -//$wgExtensionCredits['other'][] = include( __DIR__ . '/DataModel.credits.php' ); +$wgExtensionCredits['wikibase'][] = array( + 'path' => __DIR__, + 'name' => 'Wikibase Database', + 'version' => WIKIBASE_DATABASE_VERSION, + 'author' => array( + '[https://www.mediawiki.org/wiki/User:Jeroen_De_Dauw Jeroen De Dauw]', + ), + 'url' => 'https://www.mediawiki.org/wiki/Extension:Wikibase_Database', + 'descriptionmsg' => 'wikibasedatabase-desc' +); -//$wgExtensionMessagesFiles['WikibaseDataModel'] = __DIR__ . '/DataModel.i18n.php'; +$wgExtensionMessagesFiles['WikibaseDatabase'] = __DIR__ . '/Database.i18n.php'; if ( defined( 'MW_PHPUNIT_TEST' ) ) { require_once __DIR__ . '/tests/testLoader.php'; -- To view, visit https://gerrit.wikimedia.org/r/64487 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ic4a75ec9e53d4e32a88c900b9977c0fe037b1a41 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Jeroen De Dauw <[email protected]> Gerrit-Reviewer: Anja Jentzsch <[email protected]> Gerrit-Reviewer: Ataherivand <[email protected]> Gerrit-Reviewer: Aude <[email protected]> Gerrit-Reviewer: Daniel Kinzler <[email protected]> Gerrit-Reviewer: Daniel Werner <[email protected]> Gerrit-Reviewer: Denny Vrandecic <[email protected]> Gerrit-Reviewer: Henning Snater <[email protected]> Gerrit-Reviewer: Jens Ohlig <[email protected]> Gerrit-Reviewer: Jeroen De Dauw <[email protected]> Gerrit-Reviewer: John Erling Blad <[email protected]> Gerrit-Reviewer: Lydia Pintscher <[email protected]> Gerrit-Reviewer: Markus Kroetzsch <[email protected]> Gerrit-Reviewer: Nikola Smolenski <[email protected]> Gerrit-Reviewer: Siebrand <[email protected]> Gerrit-Reviewer: Silke Meyer <[email protected]> Gerrit-Reviewer: Tobias Gritschacher <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
