http://www.mediawiki.org/wiki/Special:Code/MediaWiki/76297
Revision: 76297
Author: wikibhasha.msr
Date: 2010-11-08 11:03:23 +0000 (Mon, 08 Nov 2010)
Log Message:
-----------
Adding GNU General Public License info. to the php extension scripts
Modified Paths:
--------------
trunk/extensions/WikiBhasha/WikiBhasha.alias.php
trunk/extensions/WikiBhasha/WikiBhasha.i18n.php
trunk/extensions/WikiBhasha/WikiBhasha.php
trunk/extensions/WikiBhasha/WikiBhashaExtClass.php
trunk/extensions/WikiBhasha/WikiBhashaSpecial.php
trunk/extensions/WikiBhasha/WikiBhasha_body.php
Modified: trunk/extensions/WikiBhasha/WikiBhasha.alias.php
===================================================================
--- trunk/extensions/WikiBhasha/WikiBhasha.alias.php 2010-11-08 10:44:35 UTC
(rev 76296)
+++ trunk/extensions/WikiBhasha/WikiBhasha.alias.php 2010-11-08 11:03:23 UTC
(rev 76297)
@@ -1,4 +1,23 @@
<?php
+/*
+*
+* WikiBhasha
+* Copyright (C) 2010, Microsoft
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License version 2
+* as published by the Free Software Foundation.
+*
+* 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.
+*
+*/
/*
*
Modified: trunk/extensions/WikiBhasha/WikiBhasha.i18n.php
===================================================================
--- trunk/extensions/WikiBhasha/WikiBhasha.i18n.php 2010-11-08 10:44:35 UTC
(rev 76296)
+++ trunk/extensions/WikiBhasha/WikiBhasha.i18n.php 2010-11-08 11:03:23 UTC
(rev 76297)
@@ -1,6 +1,26 @@
<?php
/*
*
+* WikiBhasha
+* Copyright (C) 2010, Microsoft
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License version 2
+* as published by the Free Software Foundation.
+*
+* 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.
+*
+*/
+
+/*
+*
* If you want your extension to be used on wikis that have a
multi-lingual readership, we will need to add internationalization support to
the extension.
*
* 1.For any text string displayed to the user, define a message.
MediaWiki supports parameterized messages and that feature should be used when
a message is dependent on information generated at runtime. Assign each message
a lowercase message id.
Modified: trunk/extensions/WikiBhasha/WikiBhasha.php
===================================================================
--- trunk/extensions/WikiBhasha/WikiBhasha.php 2010-11-08 10:44:35 UTC (rev
76296)
+++ trunk/extensions/WikiBhasha/WikiBhasha.php 2010-11-08 11:03:23 UTC (rev
76297)
@@ -1,4 +1,23 @@
<?php
+/*
+*
+* WikiBhasha
+* Copyright (C) 2010, Microsoft
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License version 2
+* as published by the Free Software Foundation.
+*
+* 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.
+*
+*/
// WikiBhasha launch Extention script.
// Description: this script eases the procedure to launch WikiBhasha by
instrumenting
@@ -16,7 +35,7 @@
'name' => 'WikiBhasha',
'author' => 'Microsoft Research',
'url' => 'http://www.mediawiki.org/wiki/Extension:WikiBhasha',
- 'descriptionmsg' => 'wikibhasha-desc',
+ 'descriptionmsg' => 'Application to create multilingual content
leveraging the English Wikipedia content',
'version' => '1.0',
);
Modified: trunk/extensions/WikiBhasha/WikiBhashaExtClass.php
===================================================================
--- trunk/extensions/WikiBhasha/WikiBhashaExtClass.php 2010-11-08 10:44:35 UTC
(rev 76296)
+++ trunk/extensions/WikiBhasha/WikiBhashaExtClass.php 2010-11-08 11:03:23 UTC
(rev 76297)
@@ -1,4 +1,23 @@
<?php
+/*
+*
+* WikiBhasha
+* Copyright (C) 2010, Microsoft
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License version 2
+* as published by the Free Software Foundation.
+*
+* 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.
+*
+*/
/*
WikiBhasha launch Extention base class script.
Modified: trunk/extensions/WikiBhasha/WikiBhashaSpecial.php
===================================================================
--- trunk/extensions/WikiBhasha/WikiBhashaSpecial.php 2010-11-08 10:44:35 UTC
(rev 76296)
+++ trunk/extensions/WikiBhasha/WikiBhashaSpecial.php 2010-11-08 11:03:23 UTC
(rev 76297)
@@ -1,4 +1,23 @@
<?php
+/*
+*
+* WikiBhasha
+* Copyright (C) 2010, Microsoft
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License version 2
+* as published by the Free Software Foundation.
+*
+* 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.
+*
+*/
/*
*
@@ -23,6 +42,6 @@
function execute( $par ) {
global $wgOut;
$this->setHeaders();
- $wgOut->addHTML( '<h2>message goes here</h2>' );
+ $wgOut->addHTML( '<h2>Application to create multilingual
content leveraging the English Wikipedia content</h2>' );
}
}
Modified: trunk/extensions/WikiBhasha/WikiBhasha_body.php
===================================================================
--- trunk/extensions/WikiBhasha/WikiBhasha_body.php 2010-11-08 10:44:35 UTC
(rev 76296)
+++ trunk/extensions/WikiBhasha/WikiBhasha_body.php 2010-11-08 11:03:23 UTC
(rev 76297)
@@ -1,6 +1,26 @@
<?php
/*
*
+* WikiBhasha
+* Copyright (C) 2010, Microsoft
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License version 2
+* as published by the Free Software Foundation.
+*
+* 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.
+*
+*/
+
+/*
+*
* The body file will contain a subclass of SpecialPage. It will be loaded
automatically when the special page is requested
* this file contains the functions to populate the content to the special
page
*
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs