Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Several configuration questions [SOLVED]
Page:  1  2  next 
Avatar
waltergr #1
Member since Jun 2007 · 39 posts
Group memberships: Members
Show profile · Link to this post
Subject: Several configuration questions [SOLVED]
I have a few questions about configuring DokuWiki:

o  "start" - If this value is changed after the wiki has been up for a while, for example, changed from "start" to "index," will this break existing links?
o  "refshow" - what is this setting?  References for what, and where are they shown?
o  "passcrypt" - how is the salt determined?
o  "disableactions" - is there a list of actions anywhere?
o  Media settings - the page says "DokuWiki tries to detect... libGD automatically."  Is there a way to determine whether it detected it or not?  (aside from uploading an image and trying to view it resized...)

Also:

o  "deaccent" - the description in the Config page and in the Romanization page disagree.

Thanks,

Walter
My e-mail address: waltergr@aol.com
This post was edited 2 times, last on 2007-06-08, 17:30 by waltergr.
chi #2
Member since Jun 2006 · 1851 posts · Location: Munich Germany
Group memberships: Members, Super Mods, Wiki Managers
Show profile · Link to this post
Quote by waltergr:
o  "start" - If this value is changed after the wiki has been up for a while, for example, changed from "start" to "index," will this break existing links?
If the links read somenamespace:start, then yes, if they read to somenamespace: not.

Quote by waltergr:
o  "refshow" - what is this setting?  References for what, and where are they shown?
This setting is related to "refcheck" which checks if mediafiles are still referenced by pages before deleting them, it defines the number of references that should be shown if there are some.

Quote by waltergr:
o  "passcrypt" - how is the salt determined?

  1. //prepare a salt
  2. if(empty($salt)) $salt = md5(uniqid(rand(), true));

Quote by waltergr:
o  "disableactions" - is there a list of actions anywhere?
I recommend to use the "Settings Manager" admin plugin, there you`ll see a list of all actions with checkboxes.

Quote by waltergr:
o  Media settings - the page says "DokuWiki tries to detect... libGD automatically."  Is there a way to determine whether it detected it or not?  (aside from uploading an image and trying to view it resized...)
You can enable the "debug" option and check its output. The information about the used libGD should be present there I think.
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
waltergr #3
Member since Jun 2007 · 39 posts
Group memberships: Members
Show profile · Link to this post
If the links read somenamespace:start, then yes, if they read to somenamespace: not.

Seems like omitting the "start" would be a good suggested practice when referring to the default namespace page, to avoid later problems.  Is there a good place for that in the wiki?  good_style () doesn't quite seem like the right place...

if(empty($salt)) $salt = md5(uniqid(rand(), true));

Would it be accurate to add the following to "passcrypt":

"A random salt is generated every time a user's password is created or updated."

Thanks,

Walter
My e-mail address: waltergr@aol.com
chi #4
Member since Jun 2006 · 1851 posts · Location: Munich Germany
Group memberships: Members, Super Mods, Wiki Managers
Show profile · Link to this post
Quote by waltergr:
Seems like omitting the "start" would be a good suggested practice when referring to the default namespace page, to avoid later problems.  Is there a good place for that in the wiki?  good_style () doesn't quite seem like the right place...
Just to make things a little clearer, it would not break links as they would reflect the setting you specified, but it would break them in that way that you would have to move the ":start" pages ":index" after you changed the setting.

Quote by waltergr:
Would it be accurate to add the following to "passcrypt":
"A random salt is generated every time a user's password is created or updated."
Yes.
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
waltergr #5
Member since Jun 2007 · 39 posts
Group memberships: Members
Show profile · Link to this post
it would not break links as they would reflect the setting you specified, but it would break them in that way that you would have to move the ":start" pages ":index" after you changed the setting.

Okay, that makes sense...  Do you think it makes sense to include that info in the config page, or somewhere else?

    Would it be accurate to add the following to "passcrypt":

    "A random salt is generated every time a user's password is created or updated."

Yes.

Actually, now that I think about it...  Which authentication backends and configuration options is that valid for?  e.g. for the MySQL backend, if forwardClearPass=1, then no salt is generated, right?
My e-mail address: waltergr@aol.com
chi #6
Member since Jun 2006 · 1851 posts · Location: Munich Germany
Group memberships: Members, Super Mods, Wiki Managers
Show profile · Link to this post
Quote by waltergr:
Actually, now that I think about it...  Which authentication backends and configuration options is that valid for?  e.g. for the MySQL backend, if forwardClearPass=1, then no salt is generated, right?

Hmm, I don`t know really much about the different auth backends, but looking at the source code it seems you`re right, in case of forwardClearPass=1 no salt is used. The same applies for the pgsql backend. In case of the punBB auth backend a random salt is generated, and the ldap backend is another story ;-). Maybe this piece if information doesn`t necessarily need to be added to the passcrypt option?
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
waltergr #7
Member since Jun 2007 · 39 posts
Group memberships: Members
Show profile · Link to this post
Maybe this piece if information doesn`t necessarily need to be added to the passcrypt option?

I agree that the config page shouldn't get cluttered... but I think when and how salts are applied should be described somewhere.  How do you feel about me adding a "salt" page with info about the "plain" auth backend, and adding FIXME for the others?
My e-mail address: waltergr@aol.com
chi #8
Member since Jun 2006 · 1851 posts · Location: Munich Germany
Group memberships: Members, Super Mods, Wiki Managers
Show profile · Link to this post
Go ahead, after all it`s a wiki  :-).
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
waltergr #9
Member since Jun 2007 · 39 posts
Group memberships: Members
Show profile · Link to this post
Go ahead, after all it`s a wiki  :-).

Ok!  One last thing from the initial post on this thread:

"deaccent" - the description in the Config page and in the Romanization page disagree.

Also, while I'm here :)... information about server file & directory permissions is spread between the Security and Permissions pages.  (http://wiki.splitbrain.org/wiki:security and http://wiki.splitbrain.org/wiki:install:permissions)  How do you feel about me refactoring those pages?  (So far my edits have been small... just want to make sure I'm not stepping on anyone's toes. :) )
My e-mail address: waltergr@aol.com
chi #10
Member since Jun 2006 · 1851 posts · Location: Munich Germany
Group memberships: Members, Super Mods, Wiki Managers
Show profile · Link to this post
"deaccent" - the description in the Config page and in the Romanization page disagree.
Well, I don`t see what disagrees, can you be a little more specific.

Also, while I'm here :)... information about server file & directory permissions is spread between the Security and Permissions pages.  (http://wiki.splitbrain.org/wiki:security and http://wiki.splitbrain.org/wiki:install:permissions)  How do you feel about me refactoring those pages?  (So far my edits have been small... just want to make sure I'm not stepping on anyone's toes. :) )
If you think you can improve those pages I won`t hold you back ;-).
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
waltergr #11
Member since Jun 2007 · 39 posts
Group memberships: Members
Show profile · Link to this post
Well, I don`t see what disagrees, can you be a little more specific.

Oh, actually I think the problem is a typo in the Config page.

http://wiki.splitbrain.org/wiki:config#deaccent

When this is set to 1, accented chars in page names will be replaced by their unaccented ASCII equivalents. Eg. ü becomes ue or á becomes a. When set 2, romanization of pagenames is turned on: symbols from non-latin alphabets are replaced with close ASCII equivalents.

Default: 1

http://wiki.splitbrain.org/wiki:romanization?s=romanization

DokuWiki does romanization by default for section ids only. If you want to use it for pagenames as well set the deaccent option to 2.

In Config, is it supposed to read

When this is set to 1, accented chars in section IDs
My e-mail address: waltergr@aol.com
chi #12
Member since Jun 2006 · 1851 posts · Location: Munich Germany
Group memberships: Members, Super Mods, Wiki Managers
Show profile · Link to this post
In Config, is it supposed to read
When this is set to 1, accented chars in section IDs
Aaah, I see, right, that should be changed.
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
waltergr #13
Member since Jun 2007 · 39 posts
Group memberships: Members
Show profile · Link to this post
Awesome, thanks!
My e-mail address: waltergr@aol.com
chi #14
Member since Jun 2006 · 1851 posts · Location: Munich Germany
Group memberships: Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post #12
Quote by chi:
In Config, is it supposed to read
When this is set to 1, accented chars in section IDs
Aaah, I see, right, that should be changed.

Hmmm, or maybe not, I`ve set it to "1" and "über" becomes "ueber". So I think the config page is right. As I understand it section IDs are always handled, by default only accented chars like üäö are romanized in pagenames, and when set to 2 the whole pagename is romanized for the supported languages.
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
andi (Administrator) #15
User title: splitbrain
Member since May 2006 · 3509 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by chi:
Hmmm, or maybe not, I`ve set it to "1" and "über" becomes "ueber". So I think the config page is right. As I understand it section IDs are always handled, by default only accented chars like üäö are romanized in pagenames, and when set to 2 the whole pagename is romanized for the supported languages.

correct.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page:  1  2  next 
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-01-18, 12:44:14 (UTC +01:00)