HomePhabricator

Show suggestions in the dashboard only if enabled

Authored by Amire80.

Description

Show suggestions in the dashboard only if enabled

Uses the variable $wgContentTranslationEnableSuggestions,
which was introduced in
I62b168957c4a9e2d0518fdbb48d6ceec44bf5dbd

Also avoid the api request to load suggestion when
disabled.

Bug: T111960
Change-Id: I02eb423eb92c570d4f38aee8107f10153e1fa7fb

Details

Committed
santhoshSep 10 2015, 4:27 AM
Parents
rECTX1c5e2a43a789: Replace inline tab with space
Branches
Unknown
Tags
Unknown
References
refs/changes/53/237153/3
ChangeId
I02eb423eb92c570d4f38aee8107f10153e1fa7fb