Index: trunk/extensions/UniversalEditButton/UniversalEditButton.php |
— | — | @@ -1,13 +1,40 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | | -// For experimental browser widget :) |
| 4 | +/** |
| 5 | + * Adds a hidden <link> to the edit page into the HTML page headers |
| 6 | + * to support the Universal Edit Button extension for Firefox. |
| 7 | + * |
| 8 | + * That extension detects the presence of the link and adds a clickable |
| 9 | + * edit button into the URL bar -- in a consistent place, with a consistent |
| 10 | + * icon for any wiki that supports it. |
| 11 | + * |
| 12 | + * For more background information, see: http://universaleditbutton.org/ |
| 13 | + * |
| 14 | + * |
| 15 | + * Copyright (C) 2008 Brion Vibber. |
| 16 | + * |
| 17 | + * This program is free software; you can redistribute it and/or modify |
| 18 | + * it under the terms of the GNU General Public License as published by |
| 19 | + * the Free Software Foundation; either version 2 of the License, or |
| 20 | + * (at your option) any later version. |
| 21 | + * |
| 22 | + * This program is distributed in the hope that it will be useful, |
| 23 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 24 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 25 | + * GNU General Public License for more details. |
| 26 | + * |
| 27 | + * You should have received a copy of the GNU General Public License along |
| 28 | + * with this program; if not, write to the Free Software Foundation, Inc., |
| 29 | + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 30 | + * http://www.gnu.org/copyleft/gpl.html |
| 31 | + */ |
5 | 32 | |
6 | 33 | $wgExtensionCredits['other'][] = array( |
7 | 34 | 'name' => 'UniversalEditButton', |
8 | 35 | 'url' => 'http://www.mediawiki.org/wiki/Extension:UniversalEditButton', |
9 | 36 | 'svn-date' => '$LastChangedDate$', |
10 | 37 | 'svn-revision' => '$LastChangedRevision$', |
11 | | - 'description' => 'For experimental browser widget :)', |
| 38 | + 'description' => 'Adds HTML header link to support Universal Edit Button browser extension.', |
12 | 39 | 'author' => 'Brion Vibber', |
13 | 40 | ); |
14 | 41 | |