https://bugzilla.wikimedia.org/show_bug.cgi?id=48956

--- Comment #6 from Tyler Romeo <[email protected]> ---
*sigh* don't tell me we're going to have to revert the fallback change again.

(In reply to comment #5)
> (In reply to comment #2)
> > But I wonder why this [apparently optional message, since it's empty by
> > default
> > and customized by wikis on their own] (so far) worked well?
> 
> Perhaps the key is "empty by default", i.e. defined as "-" beside being
> ignored
> (rather than optional)? How to deal with blank or "-" messages is a tricky
> thing.

Yes, this is the issue. I tested this and running
"Language::factory('de')->getMessage('sp-contributions-footer')" returns the
message '-', which MessageCache would then treat as a found message.

But what I'm having trouble understanding is why that is happening. The
'sp-contributions-footer' message isn't defined anywhere in MessagesDe.php, so
where is the '-' coming from? The message should come back as non-existent,
allowing it to fall back onto the content language.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to