Not logged in. · Lost password · Register
Page:  1  2  3 ... 121  122  123  next 

All posts by ach (1833)

topic: Dual language view /edit - translation localization and more tool  in the forum: General Help and Support Plugins
Avatar
ach (Administrator) #1
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
So, the purpose of this would be to help translating larger texts?

I doubt any possible solution for that would work well on mobile.

Maybe such a thing is out of scope of what DokuWiki can do. It's probably possible to build something somehow but it might be better to use a different tool built for that purpose.
topic: Dual language view /edit - translation localization and more tool  in the forum: General Help and Support Plugins
Avatar
ach (Administrator) #2
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 63612
Knowing the use case would be helpful. You give us the solution but we might be able to help more if you gave us the needs.

I can think of two things but I'm sure there must be more ways of doing it.

Depending on the size of the text to be translated, it could be done with a table or columns (for example using the Wrap plugin) and simply writing one language in the one and another in the other column. Although invisible, it would be quite important for search engines and screen readers, etc to set the language for each bit via the lang attribute, which can also be done with the Wrap plugin (e.g. <WRAP :en>This is English.</WRAP>).

Something which can show a translation nearly alongside a text could be done with the Editions plugin. It's not quite what you asked and it's really very specific to different editions of the same text. But as I don't know your use case, it could work.
topic: Using DokuWiki formatted text files independent of Dokuwiki?  in the forum: General Help and Support Features and Functionality
Avatar
ach (Administrator) #3
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 63595
A while ago I had planned to write a Zim template and get together all plugins necessary for getting more of a Zim experience with DokuWiki. Unfortunately I'm not very active in DokuWiki anymore, although I hope to come back at some point in the future.

I doubt that the two code bases could ever be maintained in one spot. They were built with two different programming languages and serve different purposes. But some kind of collaboration could make sense.

What would be the main things you'd like to be joined up about them? I suspect it's mainly the syntax?
This post was edited on 2018-11-13, 21:42 by ach.
topic: Using DokuWiki formatted text files independent of Dokuwiki?  in the forum: General Help and Support Features and Functionality
Avatar
ach (Administrator) #4
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 63529
I'm also surprised that this is not something any of the hundreds of Markdown tools seem to have.

The only thing that comes quite close to it in the DokuWiki space is Zim. Most of Zim's syntax is DokuWiki syntax, and you can use it like a notebook and also export to a joined up website.
topic: differnt desings for namespaces  in the forum: General Help and Support Templates and Layout
Avatar
ach (Administrator) #5
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 62010
You can use the Loadskin plugin for that.
topic: wo kann ich <meta name="robots" content="noindex" /> plazieren?  in the forum: Non-English Discussion German discussion
Avatar
ach (Administrator) #6
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 62003
Mehr Informationen zur urspruenglichen Frage:
Wenn Suchmaschinen die Seiten gar nicht aufrufen koennen, weil sie wegen der ACL ausgesperrt sind, dann braucht man die Zeile <meta name="robots" content="noindex" /> gar nicht. Suchmaschinen koennen nichts indizieren was sie nicht lesen koennen.
Ausserdem wird diese Zeile automatisch schon angezeigt wenn man ausgeloggt ist, wie die Suchmaschinen, weil das Loginformular angezeigt wird und nicht die Seite.
topic: IE 9 Javascript Fehler nach Update auf Greebo  in the forum: Non-English Discussion German discussion
Avatar
ach (Administrator) #7
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 61221
Das Gute ist ja, dass DokuWiki auch ohne JavaScript funktioniert. Nur gibt's halt keine Extra-Hilfe.
topic: Too Many Calls (One click to a page creates a minimum of three hits instead of one!)  in the forum: General Help and Support Features and Functionality
Avatar
ach (Administrator) #8
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 61654
That is normal for DokuWiki, but in general it is quite unusual that the number of requests is so very little. Most websites have many many more.
E.g. Google.co.uk has 33 requests, a Wikipedia article without any extra images has 23 requests, a random BBC News article has 90 requests, a random NYtimes.com article 162 requests. Not all of them will go to the same server (due to ad-related external scripts and assets often being loaded from other servers), but about half of them will.

So, DokuWiki is actually really good in that respect compared to other websites and tools.
It seems your hosting provider (is that what Imunify360 is?) is not very good, though. That amount of hits should not be a problem for them.
topic: HTML Forbidden?  in the forum: General Help and Support Syntax and Usage
Avatar
ach (Administrator) #9
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 61623
It's probably this: https://www.dokuwiki.org/faq:mod_security
topic: How to change the setting of search engine?  in the forum: General Help and Support Features and Functionality
Avatar
ach (Administrator) #10
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 61555
There is no setting in the core search engine for this.
It would either need to be implemented in the core or you can also change the search engine to one that supports it (but might not support other things the core one supports). All currently available alternative search engines are very old, though, and might not work. The solr plugin or sphinxsearch plugin might support approximate string matching. (I haven't checked.) Even if those plugins don't work or don't support it, they can give you some pointers how to implement one.
It might be worth opening a GitHub issue to ask for an implementation in the core.
topic: lang attribute  in the forum: General Help and Support Features and Functionality
Avatar
ach (Administrator) #11
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 60819
If the whole page, including navigation etc, should be in a different language, then the translation plugin should be the best and that would also set the lang attribute on the html element accordingly as well as translate the interface.

If only the main content should be in a different language, and that seems to be what you describe, then you could use the Wrap plugin to wrap the whole content in e.g.
<WRAP :fr>
# Bonjour
(French content)
</WRAP>

That might have some unwanted side effects, though (e.g. section edit buttons might not appear).

Alternatively, it would be possible to add some kind of meta data to the page to manipulate a lang attribute on the existing content div. But I don't think any existing plugin does that so far.
topic: I really enjoyed DokuWiki, but my website was hacked!  Is it common?  in the forum: General Help and Support Features and Functionality
Avatar
ach (Administrator) #12
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 60887
See also https://www.dokuwiki.org/security for more information on what to do about securing a DokuWiki installation.
topic: Shoutbox, to be used in a sidebar (preferably)  in the forum: General Help and Support Plugins Plugin Wishlist
Avatar
ach (Administrator) #13
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 60546
Quote by ikandi on 2018-04-27, 02:19:
Essentially it used to sit in my left-side menu, and users logged in could drop a quick note, which would be visible to all users (or even all non-members/guests - switch on/off for visibility).

That basically sounds like the discussion plugin.
topic: Changing overall font size  in the forum: General Help and Support Templates and Layout
Avatar
ach (Administrator) #14
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 60376
Quote by JamieMN:
Still not had much luck.
[...]
https://mnlive.co.uk/wiki/

Why are you saying that? Everything looks bigger as expected (except in the sidebar where text is smaller than usual).
But I just noticed that the text size would not change in mobile view. Maybe that is what you're seeing?

If you would like your text to be the same size in mobile view as in desktop view, you only need to add an !important, e.g.
  1. body {
  2.  font-size: 120% !important;
  3. }

But if you'd like the font sizes to be different, you will have to do that in a different file. Add the following to a file in the same folder called 'userall.less':
  1. body {
  2.     font-size: 120%;
  3. }
  4.  
  5. @media only screen and (max-width: @ini_phone_width) {
  6.     body {
  7.         font-size: 100%;
  8.     }
  9. }
That is only for the default template (which is the one you are using). Other templates will probably have slightly different ways for mobile styles.
topic: Changing overall font size  in the forum: General Help and Support Templates and Layout
Avatar
ach (Administrator) #15
Member since May 2006 · 1904 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 60337
This really depends on the template. Since I wrote my comment in 2009 we got a new default template with which you can do what I wrote. There are various ways but you can put this into your userstyles to change the size of everything:
  1. body {
  2.  font-size: 100%;
  3. }
(For example, this changes the base font from the equivalent of 14px to 16px.)

But the Writr template is based on px and is also mixing different units, so is not flexible enough to support this. When you change the font size that way, it will change the size of some elements but not all, which will make it look broken.

If you're asking for other templates, it really depends. It could work with body or div.dokuwiki or not. And it could work in general or it might not. You might need an !important, you might not.
Sorry for the bad news.

So, if you'd like to know how it works in your template or if it works at all, you will have to tell us which template you are using or give us a URL to look at.
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  3 ... 121  122  123  next 
Special queries
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2018-11-19, 20:56:16 (UTC +01:00)