r31793 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31792‎ | r31793 | r31794 >
Date:16:25, 11 March 2008
Author:raymond
Status:old
Tags:
Comment:
* Add description message for [[Special:Version]].
* Clarify path for install.settings
Modified paths:
  • /trunk/extensions/HTMLets/HTMLets.i18n.php (added) (history)
  • /trunk/extensions/HTMLets/HTMLets.php (modified) (history)
  • /trunk/extensions/HTMLets/install.settings (modified) (history)

Diff [purge]

Index: trunk/extensions/HTMLets/HTMLets.i18n.php
@@ -0,0 +1,19 @@
 2+<?php
 3+/**
 4+ * Internationalisation file for HTMLets extension.
 5+ *
 6+ * @addtogroup Extensions
 7+ */
 8+
 9+$messages = array();
 10+
 11+$messages['en'] = array(
 12+ 'htmlets-desc' => 'Lets you inline HTML snippets from files using the <tt><nowiki><htmlet></nowiki></tt> tag',
 13+);
 14+
 15+/** German (Deutsch)
 16+ * @author Raimond Spekking
 17+ */
 18+$messages['de'] = array(
 19+ 'htmlets-desc' => 'Ergänzt das <tt><nowiki><htmlet></nowiki></tt>-Tag zum Einfügen von HTML-Schnippseln hinzu',
 20+);
Property changes on: trunk/extensions/HTMLets/HTMLets.i18n.php
___________________________________________________________________
Added: svn:eol-style
121 + native
Index: trunk/extensions/HTMLets/install.settings
@@ -1,3 +1,3 @@
2 -require_once( "{{path}}/HTMLets.php" );
 2+require_once( "$IP/extensions/HTMLets/HTMLets.php" );
33
44 $wgHTMLetsDirectory = "$IP/htmlets";
Index: trunk/extensions/HTMLets/HTMLets.php
@@ -11,7 +11,7 @@
1212 * @subpackage Extensions
1313 * @author Daniel Kinzler, brightbyte.de
1414 * @copyright © 2007 Daniel Kinzler
15 - * @licence GNU General Public Licence 2.0 or later
 15+ * @license GNU General Public Licence 2.0 or later
1616 */
1717
1818 if( !defined( 'MEDIAWIKI' ) ) {
@@ -19,12 +19,15 @@
2020 die( 1 );
2121 }
2222
23 -$wgExtensionCredits['other'][] = array(
24 - 'name' => 'HTMLets',
25 - 'author' => 'Daniel Kinzler',
26 - 'url' => 'http://mediawiki.org/wiki/Extension:HTMLets',
27 - 'description' => 'lets you inline HTML snippets from files',
 23+$wgExtensionCredits['parserhook'][] = array(
 24+ 'name' => 'HTMLets',
 25+ 'author' => 'Daniel Kinzler',
 26+ 'url' => 'http://mediawiki.org/wiki/Extension:HTMLets',
 27+ 'version' => preg_replace('/^.* (\d\d\d\d-\d\d-\d\d) .*$/', '\1', '$LastChangedDate$'), #just the date of the last change
 28+ 'description' => 'lets you inline HTML snippets from files',
 29+ 'descriptionmsg' => 'htmlets-desc',
2830 );
 31+$wgExtensionMessagesFiles['HTMLets'] = dirname(__FILE__) . '/HTMLets.i18n.php';
2932
3033 /**
3134 * Pass file content unchanged. May get mangeled by late server pass.
Property changes on: trunk/extensions/HTMLets/HTMLets.php
___________________________________________________________________
Added: svn:keywords
3235 + LastChangedDate

Status & tagging log