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

All posts by ach (1827)

topic: IE 9 Javascript Fehler nach Update auf Greebo  in the forum: Non-English Discussion German discussion
Avatar
ach (Administrator) #1
Member since May 2006 · 1896 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
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) #2
Member since May 2006 · 1896 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) #3
Member since May 2006 · 1896 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) #4
Member since May 2006 · 1896 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) #5
Member since May 2006 · 1896 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) #6
Member since May 2006 · 1896 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) #7
Member since May 2006 · 1896 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, 01: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) #8
Member since May 2006 · 1896 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) #9
Member since May 2006 · 1896 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.
topic: neue EU - Datenschutzverordnung  in the forum: Non-English Discussion German discussion
Avatar
ach (Administrator) #10
Member since May 2006 · 1896 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 60354
Zu allgemeinen Informationen welche Cookies DokuWiki hat und was die machen, etc, siehe auch https://www.dokuwiki.org/faq:cookies
topic: Which Wrap box and note types do you use?  in the forum: General Help and Support Plugins
Avatar
ach (Administrator) #11
Member since May 2006 · 1896 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 60166
I noticed the poll only allows one vote for the whole poll and doesn't allow choosing multiple options. That's no good that way, obviously, so I removed it again.

I've set up this Doodle instead, which now also allowed me to add all the safety notes:
https://doodle.com/poll/6skhynd4anqignst

If you use your own box type which you added yourself, I'd also be interested to learn about it in this thread.
This post was edited on 2018-03-31, 13:50 by ach.
topic: Which Wrap box and note types do you use?  in the forum: General Help and Support Plugins
Avatar
ach (Administrator) #12
Member since May 2006 · 1896 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
Subject: Which Wrap box and note types do you use?
If you use the Wrap plugin, which of the available box and note types do you use? Please answer if you have used any of them at least once, it doesn't matter how often.

The reason why I'm asking is because someone suggested to add a "success" note. I think that generally makes sense but we already have all 7 colours of the rainbow. But I'm also generally interested in how useful which box types are for people.

Unfortunately the poll only allows up to 10 options, so I had to put all the safety notes into one option. But I guess if you use one of them, you probably use them all.
I didn't set an end date to the poll yet, but will probably close it in a month at the latest, or when there are at least 20 votes.
This post was edited on 2018-03-31, 13:49 by ach.
topic: Changing the HTML Layout of Forms (Add classes and change structure.)  in the forum: General Help and Support Templates and Layout
Avatar
ach (Administrator) #13
Member since May 2006 · 1896 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 60049
There is another way how you can support a framework without the need to change any of the HTML or classes. Look at this example how to map WordPress to DokuWiki classes. That might not work for everything but should get you most of what you need.
topic: What is the load capacity of DokuWiki?  in the forum: General Help and Support Server Setup
Avatar
ach (Administrator) #14
Member since May 2006 · 1896 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 57576
We've had several users with hundreds of thousands of pages and one even with millions of pages. They never had any issues except with the search. (Search the forum to find out more.)
topic: default headings of the default template (which css file contains the default headings of the default template?)  in the forum: General Help and Support Templates and Layout
Avatar
ach (Administrator) #15
Member since May 2006 · 1896 posts · Location: Folkestone, UK
Group memberships: Administrators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 56884
Quote by hj:
In order to write a userstyle.css, it's really necessary to look at the default css file

Not really, I actually find it easier to not look at the original files at all and just look at the CSS the web inspector shows. That will also make it easier and quicker to get all the possible styles applied to each element from potentially lots of sources.
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  3 ... 120  121  122  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-07-19, 13:18:01 (UTC +02:00)