Index: trunk/extensions/LabeledSectionTransclusion/lst.php |
— | — | @@ -43,15 +43,15 @@ |
44 | 44 | /// Add the magic words - possibly with more readable aliases |
45 | 45 | function wfLabeledSectionTransclusionMagic( &$magicWords, $langCode ) { |
46 | 46 | global $wgParser, $wgLstLocal; |
47 | | - |
48 | | - switch ($langCode) { |
| 47 | + |
| 48 | + switch( $langCode ) { |
49 | 49 | case 'de': |
50 | | - $include = 'steil'; |
51 | | - $exclude = 'steil-x'; |
52 | | - $wgLstLocal=array('section'=>'steil', 'begin'=>'anfang', 'end'=>'ende'); |
| 50 | + $include = 'Abschnitt'; |
| 51 | + $exclude = 'Abschnitt-x'; |
| 52 | + $wgLstLocal = array( 'section' => 'Abschnitt', 'begin' => 'Anfang', 'end' => 'Ende') ; |
53 | 53 | } |
54 | 54 | |
55 | | - if (isset($include)) { |
| 55 | + if( isset( $include ) ) { |
56 | 56 | $magicWords['lst'] = array( 0, 'lst', 'section', $include ); |
57 | 57 | $magicWords['lstx'] = array( 0, 'lstx', 'section-x', $exclude ); |
58 | 58 | $wgParser->setHook( $include, 'wfLstNoop' ); |