r98429 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98428‎ | r98429 | r98430 >
Date:18:55, 29 September 2011
Author:mah
Status:ok
Tags:
Comment:
re r98424 set config vars unconditionally
Modified paths:
  • /trunk/extensions/LilyPond/LilyPond.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LilyPond/LilyPond.php
@@ -60,27 +60,14 @@
6161 'descriptionmsg' => 'lilypond-desc',
6262 );
6363
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;
6670
67 -if ( !isset( $wgLilypondPreMidi ) )
68 - $wgLilypondPreMidi = "";
6971
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 -
8572 $wgExtensionFunctions[] = "wfLilyPondExtension";
8673
8774 function wfLilyPondExtension() {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98424re r98414 -- add , check defined MEDIAWIKI, don't use shell varsmah18:18, 29 September 2011

Status & tagging log