r36467 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36466‎ | r36467 | r36468 >
Date:16:15, 19 June 2008
Author:brion
Status:old
Tags:
Comment:
update about description, add background comments
Modified paths:
  • /trunk/extensions/UniversalEditButton/UniversalEditButton.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UniversalEditButton/UniversalEditButton.php
@@ -1,13 +1,40 @@
22 <?php
33
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+ */
532
633 $wgExtensionCredits['other'][] = array(
734 'name' => 'UniversalEditButton',
835 'url' => 'http://www.mediawiki.org/wiki/Extension:UniversalEditButton',
936 'svn-date' => '$LastChangedDate$',
1037 'svn-revision' => '$LastChangedRevision$',
11 - 'description' => 'For experimental browser widget :)',
 38+ 'description' => 'Adds HTML header link to support Universal Edit Button browser extension.',
1239 'author' => 'Brion Vibber',
1340 );
1441

Status & tagging log