/**
  * Get the Language being used for this instance.
  * IndexPager extends ContextSource as of 1.19.
  *
  * @since 0.1
  *
  * @return Language
  */
 public function getLanguage()
 {
     return version_compare($GLOBALS['wgVersion'], '1.18', '>') ? parent::getLanguage() : $GLOBALS['wgLang'];
 }