Reduce some code duplication
authorBrian Wolff <bawolff+wn@gmail.com>
Sat, 24 May 2014 19:58:43 +0000 (16:58 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Mon, 26 May 2014 17:57:04 +0000 (14:57 -0300)
commitd6b6f54caf0704fa55f33f03864d7b4fb705f055
tree11e4b0ae2651c4798058b3abf5b867aad58da097
parent501f78bace390e8456953aee5acac35d6a1e25ef
Reduce some code duplication

MediaHandler::getLongDesc and getGeneralLongDesc have same
implementation, so forward one method to the other. Same for
short.

Also get rid of one unnecessary $wgLang global usage.

Change-Id: I688e27ce2b9cf950defa16ec6bce2e52c5959b03
includes/media/MediaHandler.php