The use case was not really wanting to copy an application page, but
wanting to copy any type of page.
The problem was the display of unrendered titles in the copy dialog.
Thanks,
Caty
On Mon, Feb 8, 2016 at 12:30 PM, vincent(a)massol.net <vincent(a)massol.net>
wrote:
  Hi,
 On 8 Feb 2016 at 11:19:46, Guillaume Delhumeau (
 guillaume.delhumeau@xwiki.com(mailto:guillaume.delhumeau@xwiki.com))
 wrote:
  Is it possible to use the context of the wiki
(with its translation
 bundles) when the title of the page is rendered from an other wiki? 
 Indeed this looks like a bug of not setting the proper context (and not
 having this title cache that we need so much now ;)).
 Now this doesn’t solve the other use case mentioned in the first mail: if
 you copy an app-generated page to a subwiki you’ll not have the translation
 rendered properly.
 I guess ideally XWiki would recognize that this page is part of a given
 app and issue a warning if you try to copy just the page without copying
 the full app.
 WDYT?
 Thanks
 -Vincent
  2016-02-08 11:15 GMT+01:00 Ecaterina Moraru
(Valica) :
 > Hi,
 >
 > The copy dialog is something we added recently in 7.2+ and displays the
 > page structure from the subwikis.
 > The problem is that if from subwikiA you want to copy to subwikiB and 
 you
  > are browsing the tree, you will see
unrendered titles for the homepage 
 of
  > some applications.
 >
 > 1. So the current 'solution' was to change the visibility for
 > TranslationDocumentClass from WIKI to GLOBAL. Apparently this requires
 > PROGRAMMING rights.
 > 2. Another bad solution would be not use translations keys for those
 > homepage titles, in order to display plain text. Or just accept the 
 fact
  > that it is unrendered (which looks really
bad).
 > 3. other???
 >
 > Thanks,
 > Caty
 >
 > On Mon, Feb 8, 2016 at 12:03 PM, Iustin Insuratelu <
 > iustin.insuratelu(a)xwiki.com> wrote:
 >
 > > Hello,
 > >
 > > Recently we've been discussing about a situation that creates some
 > > inconveniences.
 > >
 > > What happens in short:
 > > * Have multiple subwikis, each with different extensions
 > > * Try to copy one content page from one wiki to another
 > > * When you are using the Copy Dialog - you can see pages from other
 > > subwikis. In that list the translations are broken.
 > > * It's about the applications homepages that uses translations keys 
for
  > > their titles.
 > >
 > > You will get something similar to 
http://screencast.com/t/8aHY7dca
 > > There are problems with translations visibility between subwikis.
 > > Check:
 > > * ideas
 > > * filemanager
 > > * xpoll
 > > * notes
 > >
 > > You can get more details from:
 > > * 
http://jira.xwiki.org/browse/NOTES-3
 > > * 
http://jira.xwiki.org/browse/XDOODLE-32
 > > * 
http://jira.xwiki.org/browse/IDEAS-63
 > >
 > > The current solution (see
 > > 
https://github.com/xwiki-contrib/application-ideas/pull/16) creates 
 a
  > few
 > > glitches with installing that app on subwikis and programming rights.
 > >
 > > What we need is to define a rule that will be acceptable for the 
 entire
  > XE.
 > > What are your thoughts on this?
 > >
 > > Regards,
 > > *Iustin* 
 _______________________________________________
 devs mailing list
 devs(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/devs