Re: [xwiki-devs] [xwiki-notifications] r15759 - in platform: core/trunk/xwiki-core/src/main/resources xwiki-applications/trunk/administration/src/main/resources/XWiki
On Jan 27, 2009, at 12:30 PM, jvdrean (SVN) wrote:
Author: jvdrean Date: 2009-01-27 12:30:04 +0100 (Tue, 27 Jan 2009) New Revision: 15759
Modified: platform/core/trunk/xwiki-core/src/main/resources/ ApplicationResources.properties platform/xwiki-applications/trunk/administration/src/main/ resources/XWiki/AdminGeneralSheet.xml Log: XAADMINISTRATION-17 : Display date format option in the general section of the administration
Implemented.
Modified: platform/core/trunk/xwiki-core/src/main/resources/ ApplicationResources.properties =================================================================== --- platform/core/trunk/xwiki-core/src/main/resources/ ApplicationResources.properties 2009-01-27 11:28:16 UTC (rev 15758) +++ platform/core/trunk/xwiki-core/src/main/resources/ ApplicationResources.properties 2009-01-27 11:30:04 UTC (rev 15759) @@ -158,6 +158,7 @@ registration=Registration multilingual=Multi Lingual default_language=Default Language +dateformat=<a href="http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HDateforma... ">Date format</a>
hmm... do we want this? Are we already linking from the source to external documentation? The risk is that it's going to be very easy to break the link when we reorganize documentation and that it requires internet connection. The alternative could be to have a tooltip with the format defined in there. WDYT? Thanks -Vincent
authenticate_view=Prevent unregistered users from viewing pages, regardless of the page or space rights authenticate_edit=Prevent unregistered users from editing pages, regardless of the page or space rights baseskin=Base Skin
Modified: platform/xwiki-applications/trunk/administration/src/main/ resources/XWiki/AdminGeneralSheet.xml =================================================================== --- platform/xwiki-applications/trunk/administration/src/main/ resources/XWiki/AdminGeneralSheet.xml 2009-01-27 11:28:16 UTC (rev 15758) +++ platform/xwiki-applications/trunk/administration/src/main/ resources/XWiki/AdminGeneralSheet.xml 2009-01-27 11:30:04 UTC (rev 15759) @@ -58,7 +58,7 @@ <content>### Administrate general wiki preferences, at global level #set($legend = ["language", "editor", "admin", "server"]) #set($params = $util.hashMap) -#set($params.language = ["multilingual", "languages" , "default_language"]) +#set($params.language = ["multilingual", "languages" , "default_language", "dateformat"]) #set($params.editor = ["editor"]) #set($params.admin = ["admin_email"]) #set($params.server = ["smtp_server"])
On Tue, Jan 27, 2009 at 12:35 PM, Vincent Massol <[email protected]> wrote:
+dateformat=<a href="http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HDateforma... ">Date format</a>
hmm... do we want this? Are we already linking from the source to external documentation?
The only other place I know is Main.WebHome linking to the user guide.
The risk is that it's going to be very easy to break the link when we reorganize documentation and that it requires internet connection.
About reorg I could point to the main page of the Admin guide which is less likely to change. I'm not sure that the need for an internet connection is a show stopper, we should continue to allow ourselves to point to external urls from the default wiki imho (to point to documentation). note: which reminds me that we must remove the xwiki.org RSS feed from XWiki.Admin profile, since it _blocks_ page rendering when disconnected
The alternative could be to have a tooltip with the format defined in there.
I think a tooltip might be a little small to display info about date formatting. JV.
On Jan 27, 2009, at 2:13 PM, Jean-Vincent Drean wrote:
On Tue, Jan 27, 2009 at 12:35 PM, Vincent Massol <[email protected]> wrote:
+dateformat=<a href="http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HDateforma... ">Date format</a>
hmm... do we want this? Are we already linking from the source to external documentation?
The only other place I know is Main.WebHome linking to the user guide.
Which is not part of the interface. Thus I'm even more tempted to say that we shouldn't link to the xwiki.org in the interface as much as possible. This is why I created that syntax page inside XE and not pointing to xwiki.org BTW.
The risk is that it's going to be very easy to break the link when we reorganize documentation and that it requires internet connection.
About reorg I could point to the main page of the Admin guide which is less likely to change. I'm not sure that the need for an internet connection is a show stopper, we should continue to allow ourselves to point to external urls from the default wiki imho (to point to documentation).
I think it's a bit of a pain for users and again it's going to break in the future for sure. I can guarantee it (already happened in the past).
note: which reminds me that we must remove the xwiki.org RSS feed from XWiki.Admin profile, since it _blocks_ page rendering when disconnected
The alternative could be to have a tooltip with the format defined in there.
I think a tooltip might be a little small to display info about date formatting.
I didn't mean tooltip in the literal sense. I meant a Help icon (question mark) and when you click on it it displays help (in a popup dialog box for ex) or by inserting some HTML content inside the page (as Hudson is doing). Would be good to generalize this to all elements in the preferences for example. Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net
On Tue, Jan 27, 2009 at 2:26 PM, Vincent Massol <[email protected]> wrote:
I didn't mean tooltip in the literal sense. I meant a Help icon (question mark) and when you click on it it displays help (in a popup dialog box for ex) or by inserting some HTML content inside the page (as Hudson is doing). Would be good to generalize this to all elements in the preferences for example.
I'm fine with this, I've removed the link from the translations and created http://jira.xwiki.org/jira/browse/XAADMINISTRATION-18 JV.
participants (2)
-
Jean-Vincent Drean -
Vincent Massol