Index: trunk/extensions/IncludeWP/IncludeWP.class.php |
— | — | @@ -73,12 +73,15 @@ |
74 | 74 | $params['wiki']->setDefault( $egIncWPDefaultWiki ); |
75 | 75 | $params['wiki']->addCriteria( new CriterionInArray( array_keys( $egIncWPWikis ) ) ); |
76 | 76 | $params['wiki']->addManipulations( new ParamManipulationFunctions( 'strtolower' ) ); |
| 77 | + $params['wiki']->setDescription( wfMsg( 'includewp-include-par-wiki' ) ); |
77 | 78 | |
78 | 79 | $params['paragraphs'] = new Parameter( 'paragraphs', Parameter::TYPE_INTEGER ); |
79 | 80 | $params['paragraphs']->setDefault( $egIncWPParagraphs ); |
| 81 | + $params['paragraphs']->setDescription( wfMsg( 'includewp-include-par-paragraphs' ) ); |
80 | 82 | |
81 | 83 | $params['height'] = new Parameter( 'height', Parameter::TYPE_INTEGER ); |
82 | 84 | $params['height']->setDefault( $egIncWPDivHeight ); |
| 85 | + $params['height']->setDescription( wfMsg( 'includewp-include-par-height' ) ); |
83 | 86 | |
84 | 87 | return $params; |
85 | 88 | } |
Index: trunk/extensions/IncludeWP/IncludeWP.i18n.php |
— | — | @@ -30,6 +30,9 @@ |
31 | 31 | |
32 | 32 | 'includewp-parserhook-desc' => 'Parser hook that allows displaying content of a Wikipedia page.', |
33 | 33 | 'includewp-include-par-page' => 'The name of the (remote) page you want to display.', |
| 34 | + 'includewp-include-par-wiki' => 'The name of the wiki you want to pull content from. Needs to be one of the allowed wikis, by default only wikipedia.', |
| 35 | + 'includewp-include-par-paragraphs' => 'The number of paragraphs you want to initially display.', |
| 36 | + 'includewp-include-par-height' => 'The max height (in px) of the div into which the content is loaded. Set to 0 for no limit.', |
34 | 37 | ); |
35 | 38 | |
36 | 39 | /** Message documentation (Message documentation) |