Last modified: 2014-03-19 00:26:28 UTC
Right now VE has no idea that pages like Foo/fr etc. are un-editable until it fails (nastily with a hook abort) on the user trying to save. It'd be great to have a simple way for VE to check if this is the case (forgive me if it's already done, but from asking apparently it wasn't).
Which way would you like to know it? Global JS config variable? Via API somehow? Page properties?
Something like wgIsRedirect so we can do mw.config.get( 'wgIsTranslatedOutput' )?
Change 113339 had a related patch set uploaded by Nikerabbit: Way for JS to know whether page is using page translation https://gerrit.wikimedia.org/r/113339
Change 113339 merged by jenkins-bot: Add JS config var which tells page translation status https://gerrit.wikimedia.org/r/113339
Thank you!