Hi Vincent,
Vincent Massol wrote:
Hi,
It seems that the XWiki.XWikiPreferences_* properties are not used
anywhere.
For example:
# XWiki.XWikiPreferences (core)
XWiki.XWikiPreferences_skin=Skin
XWiki.XWikiPreferences_colorTheme=Color theme
XWiki.XWikiPreferences_webbgcolor=Space Background Color
XWiki.XWikiPreferences_authenticate_view=Authenticated View
XWiki.XWikiPreferences_webcopyright=Space Copyright
XWiki.XWikiPreferences_plugins=Plugins
XWiki.XWikiPreferences_authenticate_edit=Authenticate On Edit
XWiki.XWikiPreferences_menu=Menu
XWiki.XWikiPreferences_meta=HTTP Meta Info
XWiki.XWikiPreferences_title=Title
XWiki.XWikiPreferences_version=Version
XWiki.XWikiPreferences_smtp_server=Server
XWiki.XWikiPreferences_smtp_port=Port
XWiki.XWikiPreferences_smtp_server_username=Server username (optional)
XWiki.XWikiPreferences_smtp_server_password=Server password (optional)
I think Silvia used these preferences a few days ago to set up the
watchlist to send notification e-mails.
XWiki.XWikiPreferences_javamail_extra_props=Additional
JavaMail
properties
XWiki.XWikiPreferences_admin_email=Admin email
XWiki.XWikiPreferences_validation_email_content=Validation email Content
XWiki.XWikiPreferences_confirmation_email_content=Confirmation email
Content
A grep on platform/core/xwiki-core shows this:
// XWiki.java (line 3275)
sendValidationEmail(xwikiname, password, email, validkey,
"confirmation_email_content", context);
which ends up at:
// XWiki.java (line 3423)
content = getXWikiPreference(contentfield, context);
contentfield being "confirmation_email_content".
I don't know about the other properties.
Thanks,
Marius
XWiki.XWikiPreferences_stylesheet=Stylesheet
XWiki.XWikiPreferences_stylesheets=Stylesheets
XWiki.XWikiPreferences_multilingual=Multilingual
XWiki.XWikiPreferences_default_language=Default Language
XWiki.XWikiPreferences_editor=Default Editor
XWiki.XWikiPreferences_core.defaultDocumentSyntax=Default document
syntax
XWiki.XWikiPreferences_editbox_width=Editbox Width
XWiki.XWikiPreferences_use_email_verification=Use email Verification
XWiki.XWikiPreferences_editbox_height=Editbox Height
XWiki.XWikiPreferences_ad_clientid=Advertisement Client ID
XWiki.XWikiPreferences_backlinks=Backlinks
XWiki.XWikiPreferences_macros_languages=Macros Languages
XWiki.XWikiPreferences_macros_velocity=Macros for Velocity
XWiki.XWikiPreferences_macros_groovy=Macros for Groovy
XWiki.XWikiPreferences_macros_wiki2=Macros for new wiki Parser
XWiki.XWikiPreferences_macros_mapping=Macros Mapping
XWiki.XWikiPreferences_auth_active_check=Authentication Active Check
XWiki.XWikiPreferences_macros_wiki=Macros for the wiki Parser
XWiki.XWikiPreferences_notification_pages=Notification Pages
XWiki.XWikiPreferences_invitation_email_content=Invitation email content
XWiki.XWikiPreferences_registration_anonymous=Anonymous
XWiki.XWikiPreferences_registration_registered=Registered
XWiki.XWikiPreferences_edit_anonymous=Anonymous
XWiki.XWikiPreferences_edit_registered=Registered
XWiki.XWikiPreferences_comment_anonymous=Anonymous
XWiki.XWikiPreferences_comment_registered=Registered
XWiki.XWikiPreferences_renderXWikiVelocityRenderer=Render velocity code
XWiki.XWikiPreferences_renderXWikiGroovyRenderer=Render Groovy code
XWiki.XWikiPreferences_renderXWikiRadeoxRenderer=Render Wiki syntax
XWiki.XWikiPreferences_leftPanels=Panels displayed on the left
XWiki.XWikiPreferences_rightPanels=Panels displayed on the right
XWiki.XWikiPreferences_showLeftPanels=Display the left panel column
XWiki.XWikiPreferences_showRightPanels=Display the right panel column
XWiki.XWikiPreferences_pageWidth=Preferred page width
XWiki.XWikiPreferences_languages=Supported languages
XWiki.XWikiPreferences_convertmail=convert email type
XWiki.XWikiPreferences_tags=Activate the tagging
XWiki.XWikiPreferences_parent=Parent space
XWiki.XWikiPreferences_documentBundles=Internationalization Document
Bundles
XWiki.XWikiPreferences_upload_maxsize=Maximum Upload Size
Is that so?
I've searched for XWiki.XWikiPreferences_editor=Default Editor and
couldn't find it anywhere and
XWiki.XWikiPreferences_core.defaultDocumentSyntax isn't used in the
General admin page (this is why this text is not translated in French
for ex).
Any idea?
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs