Index: trunk/extensions/WikiBhasha/WikiBhasha.php |
— | — | @@ -1,4 +1,23 @@ |
2 | 2 | <?php |
| 3 | +/* |
| 4 | +* |
| 5 | +* WikiBhasha |
| 6 | +* Copyright (C) 2010, Microsoft |
| 7 | +* |
| 8 | +* This program is free software; you can redistribute it and/or |
| 9 | +* modify it under the terms of the GNU General Public License version 2 |
| 10 | +* as published by the Free Software Foundation. |
| 11 | +* |
| 12 | +* This program is distributed in the hope that it will be useful, |
| 13 | +* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | +* GNU General Public License for more details. |
| 16 | +* |
| 17 | +* You should have received a copy of the GNU General Public License |
| 18 | +* along with this program; if not, write to the Free Software |
| 19 | +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 20 | +* |
| 21 | +*/ |
3 | 22 | |
4 | 23 | // WikiBhasha launch Extention script. |
5 | 24 | // Description: this script eases the procedure to launch WikiBhasha by instrumenting |
— | — | @@ -16,7 +35,7 @@ |
17 | 36 | 'name' => 'WikiBhasha', |
18 | 37 | 'author' => 'Microsoft Research', |
19 | 38 | 'url' => 'http://www.mediawiki.org/wiki/Extension:WikiBhasha', |
20 | | - 'descriptionmsg' => 'wikibhasha-desc', |
| 39 | + 'descriptionmsg' => 'Application to create multilingual content leveraging the English Wikipedia content', |
21 | 40 | 'version' => '1.0', |
22 | 41 | ); |
23 | 42 | |
Index: trunk/extensions/WikiBhasha/WikiBhashaSpecial.php |
— | — | @@ -1,4 +1,23 @@ |
2 | 2 | <?php |
| 3 | +/* |
| 4 | +* |
| 5 | +* WikiBhasha |
| 6 | +* Copyright (C) 2010, Microsoft |
| 7 | +* |
| 8 | +* This program is free software; you can redistribute it and/or |
| 9 | +* modify it under the terms of the GNU General Public License version 2 |
| 10 | +* as published by the Free Software Foundation. |
| 11 | +* |
| 12 | +* This program is distributed in the hope that it will be useful, |
| 13 | +* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | +* GNU General Public License for more details. |
| 16 | +* |
| 17 | +* You should have received a copy of the GNU General Public License |
| 18 | +* along with this program; if not, write to the Free Software |
| 19 | +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 20 | +* |
| 21 | +*/ |
3 | 22 | |
4 | 23 | /* |
5 | 24 | * |
— | — | @@ -23,6 +42,6 @@ |
24 | 43 | function execute( $par ) { |
25 | 44 | global $wgOut; |
26 | 45 | $this->setHeaders(); |
27 | | - $wgOut->addHTML( '<h2>message goes here</h2>' ); |
| 46 | + $wgOut->addHTML( '<h2>Application to create multilingual content leveraging the English Wikipedia content</h2>' ); |
28 | 47 | } |
29 | 48 | } |
Index: trunk/extensions/WikiBhasha/WikiBhashaExtClass.php |
— | — | @@ -1,4 +1,23 @@ |
2 | 2 | <?php |
| 3 | +/* |
| 4 | +* |
| 5 | +* WikiBhasha |
| 6 | +* Copyright (C) 2010, Microsoft |
| 7 | +* |
| 8 | +* This program is free software; you can redistribute it and/or |
| 9 | +* modify it under the terms of the GNU General Public License version 2 |
| 10 | +* as published by the Free Software Foundation. |
| 11 | +* |
| 12 | +* This program is distributed in the hope that it will be useful, |
| 13 | +* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | +* GNU General Public License for more details. |
| 16 | +* |
| 17 | +* You should have received a copy of the GNU General Public License |
| 18 | +* along with this program; if not, write to the Free Software |
| 19 | +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 20 | +* |
| 21 | +*/ |
3 | 22 | |
4 | 23 | /* |
5 | 24 | WikiBhasha launch Extention base class script. |
Index: trunk/extensions/WikiBhasha/WikiBhasha.alias.php |
— | — | @@ -1,4 +1,23 @@ |
2 | 2 | <?php |
| 3 | +/* |
| 4 | +* |
| 5 | +* WikiBhasha |
| 6 | +* Copyright (C) 2010, Microsoft |
| 7 | +* |
| 8 | +* This program is free software; you can redistribute it and/or |
| 9 | +* modify it under the terms of the GNU General Public License version 2 |
| 10 | +* as published by the Free Software Foundation. |
| 11 | +* |
| 12 | +* This program is distributed in the hope that it will be useful, |
| 13 | +* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | +* GNU General Public License for more details. |
| 16 | +* |
| 17 | +* You should have received a copy of the GNU General Public License |
| 18 | +* along with this program; if not, write to the Free Software |
| 19 | +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 20 | +* |
| 21 | +*/ |
3 | 22 | |
4 | 23 | /* |
5 | 24 | * |
Index: trunk/extensions/WikiBhasha/WikiBhasha_body.php |
— | — | @@ -1,6 +1,26 @@ |
2 | 2 | <?php |
3 | 3 | /* |
4 | 4 | * |
| 5 | +* WikiBhasha |
| 6 | +* Copyright (C) 2010, Microsoft |
| 7 | +* |
| 8 | +* This program is free software; you can redistribute it and/or |
| 9 | +* modify it under the terms of the GNU General Public License version 2 |
| 10 | +* as published by the Free Software Foundation. |
| 11 | +* |
| 12 | +* This program is distributed in the hope that it will be useful, |
| 13 | +* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | +* GNU General Public License for more details. |
| 16 | +* |
| 17 | +* You should have received a copy of the GNU General Public License |
| 18 | +* along with this program; if not, write to the Free Software |
| 19 | +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 20 | +* |
| 21 | +*/ |
| 22 | + |
| 23 | +/* |
| 24 | +* |
5 | 25 | * The body file will contain a subclass of SpecialPage. It will be loaded automatically when the special page is requested |
6 | 26 | * this file contains the functions to populate the content to the special page |
7 | 27 | * |
Index: trunk/extensions/WikiBhasha/WikiBhasha.i18n.php |
— | — | @@ -1,6 +1,26 @@ |
2 | 2 | <?php |
3 | 3 | /* |
4 | 4 | * |
| 5 | +* WikiBhasha |
| 6 | +* Copyright (C) 2010, Microsoft |
| 7 | +* |
| 8 | +* This program is free software; you can redistribute it and/or |
| 9 | +* modify it under the terms of the GNU General Public License version 2 |
| 10 | +* as published by the Free Software Foundation. |
| 11 | +* |
| 12 | +* This program is distributed in the hope that it will be useful, |
| 13 | +* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | +* GNU General Public License for more details. |
| 16 | +* |
| 17 | +* You should have received a copy of the GNU General Public License |
| 18 | +* along with this program; if not, write to the Free Software |
| 19 | +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 20 | +* |
| 21 | +*/ |
| 22 | + |
| 23 | +/* |
| 24 | +* |
5 | 25 | * 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. |
6 | 26 | * |
7 | 27 | * 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. |