You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Janne Jalkanen (JIRA)" <ji...@apache.org> on 2007/12/05 19:03:48 UTC

[jira] Created: (JSPWIKI-93) Clean up corepages

Clean up corepages
------------------

                 Key: JSPWIKI-93
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-93
             Project: JSPWiki
          Issue Type: Task
            Reporter: Janne Jalkanen
            Priority: Minor


The jspwiki-corepages.zip which comes with jspwiki download is rather out of date.  Someone needs to go through it and clean the whole thing up.  For example, make sure we have all of the pages that the default template uses as built-in (e.g. MoreMenu, EditPageHelp, etc).

Any takers?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (JSPWIKI-93) Clean up corepages

Posted by Murray Altheim <mu...@altheim.com>.
...an idea...

Well, one possible solution is very unwikilike: break the connection between
the page identifiers and their titles, so that the page titles are part
of the metadata of a page and not their primary means of reference. Then
the metadata tag for language is used to differentiate between the various,
multiple (localized) names for any given page, with the ReferenceManager
then aware of the natural language of a link. With the newer LinkParser*
this could allow specification of a natural language apart from whatever
is considered the default of the wiki, e.g.,

With the LinkParser form of

     [Text | Link | attributes]

currently, these reference the same page:

     [Dog | Dog | lang="en"]
     [Schvein | Dog | lang="de"]

proposed, these would too:

     [Dog | Dog | lang="en"]
     [Schvein | Schvein | lang="de"]

since in the page metadata for the page "Dog" would also be Schvein, but

     [Dog]
     [Schvein]

would *not* reference the same page since the second has no German
language specified so the token would be considered to be in the wiki's
default.

This would potentially introduce some obvious problems with homographs
occurring across languages, and potentially others as well.

Given that the 'lang' attribute is already supported by the LinkParser
this would "simply" mean that we'd only have to have better page metadata
support and the modifications to the ReferenceManager to permit pages to
have multiple names. But I daresay user confusion c/would be high and the
new syntax just that more complicated.

Perhaps some solution along these lines is feasible though...

Murray

* http://www.jspwiki.org/wiki/AugmentedWikiLinks

Janne Jalkanen (JIRA) wrote:
>     [ https://issues.apache.org/jira/browse/JSPWIKI-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557276#action_12557276 ] 
> 
> Janne Jalkanen commented on JSPWIKI-93:
> ---------------------------------------
> 
> Ah, you raise a good point: how should plugins like UnusedPages, etc, consider these localized subpages?  What if there exists only MoreMenu_en, but no MoreMenu?  Should all the internal getPage() commands return a reference to MoreMenu_en or null?  Should the UnusedPagesPlugin list MoreMenu_en as a non-referenced or referenced page, if there is a reference to MoreMenu?
> 
> The ReferenceManager cannot be extended to handle these subcases - the allowEnglishPlurals management code is *already* highly confusing.
> 
> (The "Administration" -page makes sense, though.)
> 
> Another issue is that we would still be using English as the user-visible name for the page: MoreMenu_fi is not Finnish - it should be something like "Lisävalikko".  How should these be managed?  How does the user know that he's supposed to be referencing "RecentChanges" instead of "Viimeisimmät muutokset?", if that's what the page title is saying? 
> 
>> Clean up corepages
>> ------------------
>>
>>                 Key: JSPWIKI-93
>>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-93
>>             Project: JSPWiki
>>          Issue Type: Task
>>          Components: Documentation & website
>>            Reporter: Janne Jalkanen
>>            Assignee: Juan Pablo Santos Rodríguez
>>            Priority: Minor
>>             Fix For: 2.8
>>
>>
>> The jspwiki-corepages.zip which comes with jspwiki download is rather out of date.  Someone needs to go through it and clean the whole thing up.  For example, make sure we have all of the pages that the default template uses as built-in (e.g. MoreMenu, EditPageHelp, etc).
>> Any takers?

...........................................................................
Murray Altheim <murray07 at altheim.com>                           ===  = =
http://www.altheim.com/murray/                                     = =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =

       Boundless wind and moon - the eye within eyes,
       Inexhaustible heaven and earth - the light beyond light,
       The willow dark, the flower bright - ten thousand houses,
       Knock at any door - there's one who will respond.
                                       -- The Blue Cliff Record

[jira] Commented: (JSPWIKI-93) Clean up corepages

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557276#action_12557276 ] 

Janne Jalkanen commented on JSPWIKI-93:
---------------------------------------

Ah, you raise a good point: how should plugins like UnusedPages, etc, consider these localized subpages?  What if there exists only MoreMenu_en, but no MoreMenu?  Should all the internal getPage() commands return a reference to MoreMenu_en or null?  Should the UnusedPagesPlugin list MoreMenu_en as a non-referenced or referenced page, if there is a reference to MoreMenu?

The ReferenceManager cannot be extended to handle these subcases - the allowEnglishPlurals management code is *already* highly confusing.

(The "Administration" -page makes sense, though.)

Another issue is that we would still be using English as the user-visible name for the page: MoreMenu_fi is not Finnish - it should be something like "Lisävalikko".  How should these be managed?  How does the user know that he's supposed to be referencing "RecentChanges" instead of "Viimeisimmät muutokset?", if that's what the page title is saying? 

> Clean up corepages
> ------------------
>
>                 Key: JSPWIKI-93
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-93
>             Project: JSPWiki
>          Issue Type: Task
>          Components: Documentation & website
>            Reporter: Janne Jalkanen
>            Assignee: Juan Pablo Santos Rodríguez
>            Priority: Minor
>             Fix For: 2.8
>
>
> The jspwiki-corepages.zip which comes with jspwiki download is rather out of date.  Someone needs to go through it and clean the whole thing up.  For example, make sure we have all of the pages that the default template uses as built-in (e.g. MoreMenu, EditPageHelp, etc).
> Any takers?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JSPWIKI-93) Clean up corepages

Posted by "Juan Pablo Santos Rodríguez (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juan Pablo Santos Rodríguez resolved JSPWIKI-93.
------------------------------------------------

    Resolution: Fixed

fixed in 2.6.2-svn-7

> Clean up corepages
> ------------------
>
>                 Key: JSPWIKI-93
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-93
>             Project: JSPWiki
>          Issue Type: Task
>          Components: Documentation & website
>            Reporter: Janne Jalkanen
>            Assignee: Juan Pablo Santos Rodríguez
>            Priority: Minor
>             Fix For: 2.8
>
>
> The jspwiki-corepages.zip which comes with jspwiki download is rather out of date.  Someone needs to go through it and clean the whole thing up.  For example, make sure we have all of the pages that the default template uses as built-in (e.g. MoreMenu, EditPageHelp, etc).
> Any takers?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-93) Clean up corepages

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557019#action_12557019 ] 

Janne Jalkanen commented on JSPWIKI-93:
---------------------------------------

We don't really have a proper mechanism for that in place right now.   I think it needs to be thought out a bit more at which level this should be done.

> Clean up corepages
> ------------------
>
>                 Key: JSPWIKI-93
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-93
>             Project: JSPWiki
>          Issue Type: Task
>          Components: Documentation & website
>            Reporter: Janne Jalkanen
>            Assignee: Juan Pablo Santos Rodríguez
>            Priority: Minor
>             Fix For: 2.8
>
>
> The jspwiki-corepages.zip which comes with jspwiki download is rather out of date.  Someone needs to go through it and clean the whole thing up.  For example, make sure we have all of the pages that the default template uses as built-in (e.g. MoreMenu, EditPageHelp, etc).
> Any takers?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-93) Clean up corepages

Posted by "Goran Karlic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557169#action_12557169 ] 

Goran Karlic commented on JSPWIKI-93:
-------------------------------------

The translation of local pages should be considered for discussion. It should be possible to have the default pages in all languages paralelly.

Another - simple issue - is to get the "UnusedPages" showing up empty with the  default set of pages. Could we have a summary page "Administration" that holds the links to the default pages (also for easier access for editing etc.). The page "Administration" could have a link in the "MoreMenu" by default.

I will atach an example later.

> Clean up corepages
> ------------------
>
>                 Key: JSPWIKI-93
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-93
>             Project: JSPWiki
>          Issue Type: Task
>          Components: Documentation & website
>            Reporter: Janne Jalkanen
>            Assignee: Juan Pablo Santos Rodríguez
>            Priority: Minor
>             Fix For: 2.8
>
>
> The jspwiki-corepages.zip which comes with jspwiki download is rather out of date.  Someone needs to go through it and clean the whole thing up.  For example, make sure we have all of the pages that the default template uses as built-in (e.g. MoreMenu, EditPageHelp, etc).
> Any takers?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-93) Clean up corepages

Posted by "Juan Pablo Santos Rodríguez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556985#action_12556985 ] 

Juan Pablo Santos Rodríguez commented on JSPWIKI-93:
----------------------------------------------------

Hi (alive again :-D),

I'm on this one. Should we consider translating these corepages too? I can get all template texts translated but, for example, I'm getting EditPageHelp in english until I manually edit & translate it, which may be a bit counterintuitive.

This could mean <wiki:InsertPage/> tag should/could seamlessly manage the locale to output EditPageHelp_fi, EditPageHelp_de, etc

> Clean up corepages
> ------------------
>
>                 Key: JSPWIKI-93
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-93
>             Project: JSPWiki
>          Issue Type: Task
>          Components: Documentation & website
>            Reporter: Janne Jalkanen
>            Assignee: Juan Pablo Santos Rodríguez
>            Priority: Minor
>             Fix For: 2.8
>
>
> The jspwiki-corepages.zip which comes with jspwiki download is rather out of date.  Someone needs to go through it and clean the whole thing up.  For example, make sure we have all of the pages that the default template uses as built-in (e.g. MoreMenu, EditPageHelp, etc).
> Any takers?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.