message contains '-'; fixes licenses selector on Commons configuration after
recent addition of the message to Messages.php
* (bug 5127) Auto edit summary when creating redirect page
* (bug 3926) Introduce {{#language:}} magic word
* Fix section links from edit comments for [[:Image:Bla.jpg]] in section titles
+* (bug 6126) Allow fallback to customized primary language when user language
+ message contains '-'; fixes licenses selector on Commons configuration after
+ recent addition of the message to Messages.php
+
== Compatibility ==
}
# Is this a custom message? Try the default language in the db...
- if( $message === false &&
+ if( ($message === false || $message === '-' ) &&
!$this->mDisable && $useDB &&
!$isfullkey && ($langcode != $wgContLanguageCode) ) {
$message = $this->getFromCache( $lang->ucfirst( $key ) );