Index: trunk/extensions/LilyPond/LilyPond.php |
— | — | @@ -60,27 +60,14 @@ |
61 | 61 | 'descriptionmsg' => 'lilypond-desc', |
62 | 62 | ); |
63 | 63 | |
64 | | -if ( !isset( $wgLilypond ) ) |
65 | | - $wgLilypond = "/usr/local/bin/lilypond"; |
| 64 | +$wgLilypond = "/usr/local/bin/lilypond"; |
| 65 | +$wgLilypondPreMidi = ""; |
| 66 | +$wgLilypondPostMidi = ""; |
| 67 | +$wgLilypondTrim = true; |
| 68 | +$wgLilypondBorderX = 0; |
| 69 | +$wgLilypondBorderY = 0; |
66 | 70 | |
67 | | -if ( !isset( $wgLilypondPreMidi ) ) |
68 | | - $wgLilypondPreMidi = ""; |
69 | 71 | |
70 | | -if ( !isset( $wgLilypondPostMidi ) ) |
71 | | - $wgLilypondPostMidi = ""; |
72 | | - |
73 | | -if ( !isset( $wgLilypondTrim ) ) { |
74 | | - $wgLilypondTrim = true; |
75 | | -} |
76 | | - |
77 | | -if ( !isset( $wgLilypondBorderX ) ) { |
78 | | - $wgLilypondBorderX = 0; |
79 | | -} |
80 | | - |
81 | | -if ( !isset( $wgLilypondBorderY ) ) { |
82 | | - $wgLilypondBorderY = 0; |
83 | | -} |
84 | | - |
85 | 72 | $wgExtensionFunctions[] = "wfLilyPondExtension"; |
86 | 73 | |
87 | 74 | function wfLilyPondExtension() { |