r81907 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81906‎ | r81907 | r81908 >
Date:17:42, 10 February 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
some minor tweaks
Modified paths:
  • /trunk/extensions/IncludeWP/IncludeWP.class.php (modified) (history)
  • /trunk/extensions/IncludeWP/IncludeWP.settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/IncludeWP/IncludeWP.settings.php
@@ -8,7 +8,7 @@
99 * Changing one of these settings can be done by copieng or cutting it,
1010 * and placing it in LocalSettings.php, AFTER the inclusion of this extension.
1111 *
12 - * @file IncludeWP_Settings.php
 12+ * @file IncludeWP.Settings.php
1313 * @ingroup IncludeWP
1414 *
1515 * @licence GNU GPL v3
Index: trunk/extensions/IncludeWP/IncludeWP.class.php
@@ -72,6 +72,7 @@
7373
7474 $params['wiki']->setDefault( $egIncWPDefaultWiki );
7575 $params['wiki']->addCriteria( new CriterionInArray( array_keys( $egIncWPWikis ) ) );
 76+ $params['wiki']->addManipulations( new ParamManipulationFunctions( 'strtolower' ) );
7677
7778 $params['paragraphs'] = new Parameter( 'paragraphs', Parameter::TYPE_INTEGER );
7879 $params['paragraphs']->setDefault( $egIncWPParagraphs );
@@ -128,7 +129,7 @@
129130 array(
130131 'id' => 'includewp-article-' . $nr,
131132 'class' => 'includewp-article',
132 - 'style' => $parameters['height'] > 0 ? 'width:100%; max-height: ' . $parameters['height'] . 'px; overflow: auto' : 'width:100%'
 133+ 'style' => $parameters['height'] > 0 ? 'width:auto; max-height: ' . $parameters['height'] . 'px; overflow: auto' : 'width:auto'
133134 ),
134135 ''
135136 );

Status & tagging log