HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/MobileFrontend…

Authored by Theopolisme.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/MobileFrontend 47fcede13652fd4848940ab043a4988e0b73f7e1

LanguageOverlay: Only display title if available

Some pages (for example, the Main Page on the English Wikipedia)
do not include page titles for the page in other languages.

Mustache {{#x}}{{/x}} shows the content if x is not directly
false, but the API returns an empty string, which evaluates
as true. We set item.title with the title or false, which both
handles the issue and results in more descriptive variables.

Change-Id: I05949e4ea74094cb24af612456dd1a8ed74861f8

Details

Committed
Gerrit Code ReviewApr 21 2014, 9:28 PM
Parents
rMEXTc9588c8e5379: Updated mediawiki/extensions Project: mediawiki/extensions/ContentTranslation…
Branches
Unknown
Tags
Unknown
ChangeId
I05949e4ea74094cb24af612456dd1a8ed74861f8