HomePhabricator

Don't show the red interlanguage link when creating a page

Description

Don't show the red interlanguage link when creating a page

It's better to check that a page exists than to check
that the action is 'view':

  • It works with both VE and wikitext editor.
  • Showing the red link on an existing page that is being edited is OK.

Thanks to Matma Rex for pointing these things out.

Bug: T94845
Change-Id: I3ea97f7deb40921d7cefe7e402699e362f10dd5f

Details

Provenance
Amire80Authored on
matmarexCommitted on Apr 10 2015, 4:32 PM
Parents
rECTXa5e5c2a542a8: Merge "Cleanup ContentTranslation.hooks.php"
Branches
Unknown
Tags
Unknown
ChangeId
I3ea97f7deb40921d7cefe7e402699e362f10dd5f