[CentOS-docs] Russian wiki

Sun Aug 23 17:29:49 UTC 2015
Ilyas Arinov <arinov.ilyas at gmail.com>

The top menu bar has now language dependent settings. If I click Russian
wiki from Front Page, the menu still English. Should I add russian links (
as HowTo, Tips&Tricks etc) into Russian Front Page to allow Russian users
open this pages on the native language?

2015-08-23 2:49 GMT+06:00 Ilyas Arinov <arinov.ilyas at gmail.com>:

> Ok, it was temporary I think. Thanks.
>
> 2015-08-23 2:46 GMT+06:00 Alan Bartlett <ajb at elrepo.org>:
>
>> On 22 August 2015 at 19:20, Ilyas Arinov <arinov.ilyas at gmail.com> wrote:
>> > I have to update pages twice now to see its content.
>> >
>> > --> -->
>> >
>> > Traceback (most recent call last):
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/request.py", line
>> 1207, in
>> > run
>> >     handler(self.page.page_name, self)
>> >   File
>> > "/var/www/html/wiki.centos.org/wiki_instance/data/plugin/action/show.py
>> ",
>> > line 27, in execute
>> >     if not request.user.may.read(pagename):
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/security.py", line
>> 111, in
>> > _getPermission
>> >     allowed = self.request.cfg.acl_before.may(self.request,
>> self.user.name,
>> > self._right)
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/wikiacl.py", line
>> 178, in
>> > may
>> >     is_group_member = request.dicts.has_member
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/request.py", line
>> 298, in
>> > getDicts
>> >     dicts.scandicts()
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line
>> 374,
>> > in scandicts
>> >     self.addgroup(request, pagename)
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line
>> 292,
>> > in addgroup
>> >     grp =  Group(request, groupname)
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line
>> 48, in
>> > __init__
>> >     self.initRegex()
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line
>> 57, in
>> > initRegex
>> >     cls.regex = re.compile(cls.regex, re.MULTILINE | re.UNICODE)
>> >   File "/usr/lib64/python2.6/re.py", line 190, in compile
>> >     return _compile(pattern, flags)
>> >   File "/usr/lib64/python2.6/re.py", line 238, in _compile
>> >     raise ValueError('Cannot process flags argument with a compiled
>> > pattern')
>> > ValueError: Cannot process flags argument with a compiled pattern
>> >
>> > Additionally cgitb raised this exception:
>> > Traceback (most recent call last):
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/failure.py", line
>> 146, in
>> > handle
>> >     handler.handle()
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py",
>> line
>> > 566, in handle
>> >     doc = view.format(formatter, self.context)
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py",
>> line
>> > 343, in format
>> >     return formatter.section(self.formatContent(), {'class': 'cgitb'})
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/failure.py", line 38,
>> in
>> > formatContent
>> >     self.formatDebugInfo(),
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/failure.py", line 83,
>> in
>> > formatDebugInfo
>> >     self.formatTraceback(),
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/failure.py", line 96,
>> in
>> > formatTraceback
>> >     return self.formatAllTracebacks(self.formatOneTraceback)
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/failure.py", line
>> 108, in
>> > formatAllTracebacks
>> >     tracebacks.append(formatFuction((type, value, tb)))
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py",
>> line
>> > 423, in formatOneTraceback
>> >     self.formatter.orderedList(self.tracebackFrames(info),
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py",
>> line
>> > 434, in tracebackFrames
>> >     frames.append(frame.format(self.formatter))
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py",
>> line
>> > 197, in format
>> >     vars, highlight = self.scan()
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py",
>> line
>> > 286, in scan
>> >     vars = self.scanVariables(reader)
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/support/cgitb.py",
>> line
>> > 298, in scanVariables
>> >     value = getattr(parent, token, __UNDEF__)
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/request.py", line
>> 298, in
>> > getDicts
>> >     dicts.scandicts()
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line
>> 374,
>> > in scandicts
>> >     self.addgroup(request, pagename)
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line
>> 292,
>> > in addgroup
>> >     grp =  Group(request, groupname)
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line
>> 48, in
>> > __init__
>> >     self.initRegex()
>> >   File "/usr/lib/python2.6/site-packages/MoinMoin/wikidicts.py", line
>> 57, in
>> > initRegex
>> >     cls.regex = re.compile(cls.regex, re.MULTILINE | re.UNICODE)
>> >   File "/usr/lib64/python2.6/re.py", line 190, in compile
>> >     return _compile(pattern, flags)
>> >   File "/usr/lib64/python2.6/re.py", line 238, in _compile
>> >     raise ValueError('Cannot process flags argument with a compiled
>> > pattern')
>> > ValueError: Cannot process flags argument with a compiled pattern
>> >
>> > Refreshing page helps to render it correctly.
>> >
>>
>> Sorry, I have only just seen your message.
>>
>> I've checked all the pages under wiki.centos.org/ru/ and have not had
>> any problem in displaying them -- including the SIG page. The above is
>> a puzzle but if it does not re-occur I think it would be best just to
>> ignore it.
>>
>> Alan.
>> _______________________________________________
>> CentOS-docs mailing list
>> CentOS-docs at centos.org
>> http://lists.centos.org/mailman/listinfo/centos-docs
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20150823/a09bef7b/attachment-0006.html>