Base PHP Extension description files

Change-Id: Ic210ab97494071672eceee558600002b04e668df
This commit is contained in:
Yuvi Panda 2014-02-06 15:51:39 +05:30
parent a9e27e49f8
commit f5a6482252
2 changed files with 68 additions and 0 deletions

35
Popups.i18n.php Normal file
View file

@ -0,0 +1,35 @@
<?php
/*
* This file is part of the MediaWiki extension Popups..
*
* Popups 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.
*
* Popups 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 Popups. If not, see <http://www.gnu.org/licenses/>.
*
* @file
* @ingroup extensions
*/
$messages = array();
/**
* English
*/
$messages['en'] = array(
'popups-desc' => 'Displays popups when you hover over article links',
);
/** Message documentation (Message documentation)
*/
$messages['qqq'] = array(
'popups-desc' => '{{desc|name=Popups|url=https://www.mediawiki.org/wiki/Extension:Popups}}',
);

33
Popups.php Normal file
View file

@ -0,0 +1,33 @@
<?php
/*
* This file is part of the MediaWiki extension Popups.
*
* Popups 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.
*
* Popups 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 Popups. If not, see <http://www.gnu.org/licenses/>.
*
* @file
* @ingroup extensions
*/
$localBasePath = dirname( __DIR__ ) . '/Popups';
$remoteExtPath = 'Popups';
$wgExtensionCredits['other'][] = array(
'author' => array( 'Prateek Saxena', 'Yair Rand' ),
'descriptionmsg' => 'popups-desc',
'name' => 'Popups',
'path' => __FILE__,
'url' => 'https://www.mediawiki.org/wiki/Extension:Popups',
);
$wgExtensionMessagesFiles['Popups'] = __DIR__ . '/Popups.i18n.php';