Timothy Lee
2010-Oct-13 05:57 UTC
[CentOS-docs] Automated listing of translations on each wiki page
Dear all, This is a continuation of the discussion on "Link to Chinese translation in Wiki frontpage" dated 7 May 2009. To re-cap, I have suggested that the patch in http://moinmo.in/FeatureRequests/ThisPageInOtherLanguages can be used to automatically generate links to translated pages at bottom right of the wiki panel. In addition, I have proposed that the use of a dictionary to look for translated page names should be dropped from the patch, since our wiki strictly uses locale prefixes to label translated pages. To that end, I have cooked up the proposed patch targeted for MoinMoin 1.5.9 (available in CentOS 5.5). I have uploaded the patch to http://moinmo.in/FeatureRequests/ThisPageInOtherLanguages?action=AttachFile&do=view&target=simpler.patch . It is also attached here. I sincerely hope that the patch can be applied to the official CentOS wiki, thereby making all translated pages a lot more more accessible to the public. Regards, Timothy Lee -------------- next part -------------- A non-text attachment was scrubbed... Name: simpler.patch Type: text/x-patch Size: 2959 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20101013/0107d893/attachment-0006.bin>
Timothy Lee
2010-Oct-19 06:46 UTC
[CentOS-docs] Automated listing of translations on each wiki page
Dear all, On 10/13/2010 01:57 PM, Timothy Lee wrote:> This is a continuation of the discussion on "Link to Chinese > translation in Wiki frontpage" dated 7 May 2009. > > To re-cap, I have suggested that the patch in > http://moinmo.in/FeatureRequests/ThisPageInOtherLanguages can be used > to automatically generate links to translated pages at bottom right of > the wiki panel. In addition, I have proposed that the use of a > dictionary to look for translated page names should be dropped from > the patch, since our wiki strictly uses locale prefixes to label > translated pages. > > To that end, I have cooked up the proposed patch targeted for MoinMoin > 1.5.9 (available in CentOS 5.5). I have uploaded the patch to > http://moinmo.in/FeatureRequests/ThisPageInOtherLanguages?action=AttachFile&do=view&target=simpler.patch > . It is also attached here. > > I sincerely hope that the patch can be applied to the official CentOS > wiki, thereby making all translated pages a lot more more accessible > to the public.Ping?...
Ralph Angenendt
2010-Nov-29 10:38 UTC
[CentOS-docs] Automated listing of translations on each wiki page
Hrm, looks like I only sent that to Timothy. I blame gmail :) Cheers, Ralph On Fri, Nov 26, 2010 at 3:09 PM, Ralph Angenendt <ralph.angenendt at gmail.com> wrote:> On Tue, Nov 23, 2010 at 2:40 AM, Timothy Lee <timothy.ty.lee at gmail.com> wrote: >> I now realize that CentOS have customized the Modern theme quite a bit. >> ?Please find attached a patch against CentOS' screen.css. ?The CSS >> declarations for ".navibar" and "#langbar" are now shared to ease future >> maintenance. ?The broken top menu should also be fixed. >> >> The patch was made against >> http://wiki.centos.org/wiki/modern-CentOS/css/screen.css > > If I resize the window to be smaller than 1200 pixels in width, it now > messes up the langbar by "pushing down" the leftmost button. Obviously > this only happens when you actively select a page and that then shows > up on the right hand of the navigation bar. > > I'd rather have a bit more vertical space between navibar and langbar, > so this cannot happen. > > Ralph >
Ralph Angenendt
2010-Nov-29 12:25 UTC
[CentOS-docs] Automated listing of translations on each wiki page
Grrr. Stupid gmail. Sorry again :) On Mon, Nov 29, 2010 at 1:24 PM, Ralph Angenendt <ralph.angenendt at gmail.com> wrote:> On Mon, Nov 29, 2010 at 3:35 AM, Timothy Lee <timothy.ty.lee at gmail.com> wrote: >> You applied the patch to the "dev" version of screen.css, instead of the >> current version on "wiki.centos.org". ?I am attaching a patched screen.css >> for your reference. > > Which is the same version (well, prepatched from your previous diffs). > >> The langbar should remain at the "bottom-right" corner of the header, with >> its buttons stacking when there is insufficient room. ?Buttons on the >> langbar should be visually identical to those on the langbar. > > That only "kind of" works. See http://wiki.dev.centos.org/Download for > example - try to resize that. That is with the attached screen.css. > > Regards, > > Ralph >