IRC log of #dokuwiki @ irc.libera.chat

For Thursday, 2 December 2010

  1. quit
    Mister_X] (~Mister_X@133.203-65-87.adsl-dyn.isp.belgacom.be) has quit (Read error: Connection reset by peer)
  2. join
    Mister_X] (~Mister_X@252.24-65-87.adsl-dyn.isp.belgacom.be) entered the channel
  3. join
    Yaco (~Yaco@201.255.210.30) entered the channel
  4. quit
    carandraug (~carandrau@proxy3.library.nuigalway.ie) has quit (Remote host closed the connection)
  5. join
    carandraug (~carandrau@proxy3.library.nuigalway.ie) entered the channel
  6. quit
    Chris--S (~Chris--S@87-194-159-222.bethere.co.uk) has quit (Quit: Chris--S)
  7. join
    damascene (~m1@unaffiliated/uaa) entered the channel
  8. message at
    damascene
    Hi,
  9. message at
    damascene
    I'm following this http://www.dokuwiki.org/tips:timezone but I'm getting errors
  10. message at
    damascene
    http://fpaste.org/GmL0/
  11. join
    timj_ (~timj@e176194102.adsl.alicedsl.de) entered the channel
  12. quit
    timj (~timj@e176197228.adsl.alicedsl.de) has quit (Ping timeout: 245 seconds)
  13. message at
    damascene
    I've tried both options
  14. quit
    damascene (~m1@unaffiliated/uaa) has quit (Quit: Ex-Chat)
  15. quit
    Yaco (~Yaco@201.255.210.30) has quit (Read error: Operation timed out)
  16. join
    Klap-inn (~gerrit@195-240-70-233.ip.telfort.nl) entered the channel
  17. quit
    Klap-in (~gerrit@195-240-70-233.ip.telfort.nl) has quit (Read error: Connection reset by peer)
  18. join
    Damascene (~alsayed@unaffiliated/uaa) entered the channel
  19. join
    gammaproduction (~gammaprod@f052102228.adsl.alicedsl.de) entered the channel
  20. join
    sean_ (~sean@c-98-224-220-127.hsd1.mi.comcast.net) entered the channel
  21. message at
    sean_
    hey, i found the JS hackery to get tables to sort, but what does DokuWiki use for this page: http://www.dokuwiki.org/plugins?pluginsort=p
  22. quit
    gammaproduction (~gammaprod@f052102228.adsl.alicedsl.de) has quit (Quit: Leaving.)
  23. join
    gammaproduction (~Adium@fw.inetsoftware.de) entered the channel
  24. join
    lupo49 (~lupo49@vpw.wh.uni-dortmund.de) entered the channel
  25. join
    adrianlang (~adrian@wikimedia/codeispoetry) entered the channel
  26. join
    splitbrain (~Andi@91-64-96-74-dynip.superkabel.de) entered the channel
  27. quit
    splitbrain (~Andi@91-64-96-74-dynip.superkabel.de) has quit (Changing host)
  28. join
    splitbrain (~Andi@pdpc/supporter/active/splitbrain) entered the channel
  29. join
    lolmaus (~lolmaus@178.236.241.96) entered the channel
  30. join
    einhirn (~Miranda@bsod.rz.tu-clausthal.de) entered the channel
  31. quit
    gammaproduction (~Adium@fw.inetsoftware.de) has quit (Quit: Leaving.)
  32. join
    gammaproduction (~Adium@fw.inetsoftware.de) entered the channel
  33. join
    rawler (~quassel@bastion.cdops.tv) entered the channel
  34. quit
    rawler (~quassel@bastion.cdops.tv) has quit (Ping timeout: 265 seconds)
  35. join
    rawler (~quassel@bastion.cdops.tv) entered the channel
  36. quit
    rawler (~quassel@bastion.cdops.tv) has quit (Read error: Operation timed out)
  37. join
    dommel (~dominik@p5DDB269B.dip.t-dialin.net) entered the channel
  38. join
    rawler (~quassel@bastion.cdops.tv) entered the channel
  39. join
    Chris--S (~Chris--S@87-194-159-222.bethere.co.uk) entered the channel
  40. join
    TheNoOne (~thenoone@91.114.16.34) entered the channel
  41. message at
    TheNoOne
    hi ... i'm trying to use dokuwiki within a cakephp application ...
  42. message at
    TheNoOne
    i found this http://maestric.com/doc/php/integrate-dokuwiki-to-your-website
  43. message at
    TheNoOne
    but i need to send a string to the renderer
  44. message at
    TheNoOne
    i'm stuck at: $cache = new cache_instructions($dokuPageId, $pagePath);
  45. message at
    TheNoOne
    is there a way to read instructions from an sql query return?
  46. quit
    dommel (~dominik@p5DDB269B.dip.t-dialin.net) has quit (Read error: Connection reset by peer)
  47. message at
    TheNoOne
    ok found $instructions = p_get_instructions($wiki);
  48. message at
    TheNoOne
    thanks anyway :)
  49. join
    teamfinland (5274f702@gateway/web/freenode/ip.82.116.247.2) entered the channel
  50. quit
    teamfinland (5274f702@gateway/web/freenode/ip.82.116.247.2) has quit (Client Quit)
  51. message at
    Damascene
    Hi, what is --strip-components=1 for in http://www.dokuwiki.org/install:upgrade
  52. message at
    lolmaus
    Damascene, hey
  53. message at
    lolmaus
    Damascene, it was me who wrote that
  54. message at
    Damascene
    Good. Could you please tell me what it does?
  55. message at
    lolmaus
    If you run "tar -xzvf dokuwiki-blah.tgz", it will extract files into a subfolder named "dokuwiki-blah".
  56. message at
    lolmaus
    After that, you have to move files from that subfolder into your dokuwiki's root directory
  57. message at
    Damascene
    right
  58. message at
    lolmaus
    --strip-components=1 removes "dokuwiki-blah" subdirectory and places extracted files into current directory. So that you don't need to move files after extraction.
  59. message at
    Damascene
    But what if I was not working on the www or dokuwiki directory?
  60. message at
    lolmaus
    Damascene, uhm.. it would mess up
  61. message at
    Damascene
    I was working on the root directory and it was the first time I see --strip-components=1
  62. message at
    lolmaus
    I believe your comment makes enough sense to revert the page to original tar command.
  63. message at
    Damascene
    thank you
  64. message at
    lolmaus
    Damascene, i'll try to sort it out.
  65. quit
    Damascene (~alsayed@unaffiliated/uaa) has quit (Quit: Ex-Chat)
  66. join
    screen-x (~screen-x@91.84.155.61) entered the channel
  67. message at
    lolmaus
    I've modified step 2 of upgrade guide, please someone approve or revert: http://www.dokuwiki.org/install:upgrade
  68. quit
    sean_ (~sean@c-98-224-220-127.hsd1.mi.comcast.net) has quit (Quit: Leaving)
  69. join
    damascene (~m1@212.118.142.227) entered the channel
  70. quit
    damascene (~m1@212.118.142.227) has quit (Changing host)
  71. join
    damascene (~m1@unaffiliated/uaa) entered the channel
  72. message at
    lolmaus
    damascene, have a look: http://www.dokuwiki.org/install:upgrade
  73. message at
    screen-x
    Hi, is there a way to log when a user logs in?
  74. message at
    screen-x
    Preferably a way that doesn't involve re-patching after each upgrade..
  75. message at
    damascene
    lolmaus: That is better
  76. message at
    lolmaus
    damascene, good enough to keep?
  77. message at
    damascene
    lolmaus: you should consult the project admin about that. I still prefer the old way
  78. message at
    lolmaus
    damascene, why? Is my variant confusing?
  79. message at
    damascene
    No, but it's better to have it in short.
  80. message at
    damascene
    I don't find it necessary to have tow way of doing things
  81. message at
    damascene
    *two
  82. message at
    lolmaus
    damascene, i find the 'cp' command excessive.
  83. message at
    damascene
    maybe but the --strip-components=1 was much more confusing for me. Though I admin the 'cp' command was confused the fist time I saw it.
  84. message at
    damascene
    *was confusing
  85. message at
    lolmaus
    damascene, it was confusing only because there was no explaination, right?
  86. message at
    damascene
    Yeah
  87. message at
    glen
    adrianlang: how to match by empty field? "foo = ''" or "foo != *" -- did not work
  88. message at
    glen
    adrianlang: (in data plugin)
  89. message at
    lolmaus
    glen, try "foo ="
  90. message at
    glen
    or rather, missing field, not empty
  91. message at
    lolmaus
    damascene, what can be simplier than extracting right into your dokuwiki root? :)
  92. message at
    damascene
    first of all. Did you consult any one before making the change? you might find it better and other people may think so, but to me it was totally confusing.
  93. message at
    damascene
    I've visited that page many times and I did not know what exactly happened
  94. message at
    damascene
    If the old thing still works do not fix it. It's an old rule.
  95. message at
    damascene
    That was my opinion and I'm not entitled to make rules here.
  96. message at
    adrianlang
    glen: foo =, like lolmaus said
  97. join
    NEOhidra (~Miranda@178.239.117.37) entered the channel
  98. join
    eto (~eto@unaffiliated/eto) entered the channel
  99. message at
    damascene
    http://fpaste.org/GmL0/ when I follow http://www.dokuwiki.org/tips:timezone
  100. quit
    NEOhidra (~Miranda@178.239.117.37) has quit (Ping timeout: 276 seconds)
  101. quit
    eto (~eto@unaffiliated/eto) has quit (Quit: leaving)
  102. join
    NEOhidra (~Miranda@178.239.117.37) entered the channel
  103. message at
    lolmaus
    damascene, you were right concerning my initial change. But the fixed variant with two options is better than the original, i believe. You've raised the issue and hopefully some DW gurus will have a look.
  104. message at
    lolmaus
    damascene, the greatest thing is that reverting takes no effort :)
  105. quit
    TheNoOne (~thenoone@91.114.16.34) has quit (Quit: TheNoOne)
  106. quit
    einhirn (~Miranda@bsod.rz.tu-clausthal.de) has quit (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
  107. join
    markinfo (~marek@dhcp14.dmg.tuwien.ac.at) entered the channel
  108. quit
    lolmaus (~lolmaus@178.236.241.96) has quit ()
  109. quit
    splitbrain (~Andi@pdpc/supporter/active/splitbrain) has quit (Remote host closed the connection)
  110. quit
    rawler (~quassel@bastion.cdops.tv) has quit (Remote host closed the connection)
  111. join
    Yaco (~Yaco@201.255.210.30) entered the channel
  112. quit
    markuman (~markuman@dtmd-4d052cb6.pool.mediaWays.net) has quit (Ping timeout: 260 seconds)
  113. join
    markuman (~markuman@217.191.243.70) entered the channel
  114. quit
    Chris--S (~Chris--S@87-194-159-222.bethere.co.uk) has quit (Quit: Chris--S)
  115. join
    Chris--S_ (~Chris--S@87-194-159-222.bethere.co.uk) entered the channel
  116. quit
    Yaco (~Yaco@201.255.210.30) has quit (Ping timeout: 272 seconds)
  117. quit
    gammaproduction (~Adium@fw.inetsoftware.de) has quit (Quit: Leaving.)
  118. quit
    lupo49 (~lupo49@vpw.wh.uni-dortmund.de) has quit (Ping timeout: 250 seconds)
  119. join
    lupo49 (~lupo49@vpw.wh.Uni-Dortmund.DE) entered the channel
  120. join
    RyanChile (~luis@200.11.76.165) entered the channel
  121. join
    dommel (~dominik@p5DDB269B.dip.t-dialin.net) entered the channel
  122. quit
    Guest55106 (~andre@212-198-112-132.rev.numericable.fr) has quit (Quit: Ex-Chat)
  123. message at
    lupo49
    hmm
  124. message at
    RyanChile
    morning, lupo49ç
  125. message at
    RyanChile
    srry, lupo49
  126. join
    djSupport (~djsupport@188-221-240-190.zone12.bethere.co.uk) entered the channel
  127. message at
    lupo49
    hoi RyanChile
  128. message at
    lupo49
    what time is it in chile?
  129. message at
    RyanChile
    it's soap opera time (15:15 about)
  130. join
    sjm (~sjm@174-18-65-229.tcso.qwest.net) entered the channel
  131. quit
    sjm (~sjm@174-18-65-229.tcso.qwest.net) has quit (Changing host)
  132. join
    sjm (~sjm@rivendell/users/sjm) entered the channel
  133. message at
    RyanChile
    lupo49: not that I watch any of those, mind you, it's just *all* of the TV channels here air soap operas at this time (and at primetime too ...)
  134. message at
    lupo49
    hehe
  135. message at
    lupo49
    same here
  136. message at
    lupo49
    but in the evening they broadcast U.S.-soaps and not local ones
  137. quit
    djSupport (~djsupport@188-221-240-190.zone12.bethere.co.uk) has quit (Quit: No Ping reply in 180 seconds.)
  138. join
    Sweetums (~Adium@ppp-70-132-207-155.dsl.snantx.swbell.net) entered the channel
  139. join
    djSupport (~djsupport@188-221-240-190.zone12.bethere.co.uk) entered the channel
  140. message at
    Sweetums
    Is there a plugin similar to the 'lists' plugin that works on 2009-12-29? I just tried lists, which was exactly what I was wanting and it does not seem to be working, doh!
  141. message at
    Sweetums
    aha found one! (yalist)
  142. quit
    djSupport (~djsupport@188-221-240-190.zone12.bethere.co.uk) has quit (Quit: No Ping reply in 180 seconds.)
  143. join
    djSupport (~djsupport@188-221-240-190.zone12.bethere.co.uk) entered the channel
  144. quit
    djSupport (~djsupport@188-221-240-190.zone12.bethere.co.uk) has quit (Client Quit)
  145. join
    djSupport (~djsupport@188-221-240-190.zone12.bethere.co.uk) entered the channel
  146. quit
    sjm (~sjm@rivendell/users/sjm) has quit (Ping timeout: 240 seconds)
  147. join
    Suraia (~suraia@f054066208.adsl.alicedsl.de) entered the channel
  148. join
    sjm (~sjm@rivendell/users/sjm) entered the channel
  149. join
    jcromartie (~jcromarti@209-252-224-2.ip.mcleodusa.net) entered the channel
  150. message at
    jcromartie
    hi all
  151. message at
    jcromartie
    I am trying to install dokuwiki. It tells me it can't write to the data directory. However, I have run: chmod -R 777 data
  152. message at
    jcromartie
    so the data directory is completely opened up
  153. message at
    jcromartie
    but it still says it can't write
  154. quit
    adrianlang (~adrian@wikimedia/codeispoetry) has quit (Quit: Leaving.)
  155. message at
    Michitux
    do you have safe_mode enabled?
  156. message at
    jcromartie
    hm
  157. message at
    jcromartie
    dunno... it's a vanilla Fedora installation
  158. message at
    jcromartie
    let me check
  159. message at
    duke
    hmm, how does dokuwiki send mail? i'm just getting "Notification email could not be sent" after changing the server
  160. message at
    jcromartie
    nope, looks like it's off
  161. message at
    duke
    mail works from command line
  162. message at
    duke
    hm but not when using sendmail.. so that may be my problem
  163. message at
    jcromartie
    so this is what I've run
  164. message at
    jcromartie
    chown -R apache:apache data conf; chmod -R 777 data conf
  165. message at
    jcromartie
    oh, we're running SELinux
  166. join
    dommel1 (~dominik@p5DDB1927.dip.t-dialin.net) entered the channel
  167. message at
    jcromartie
    must be something to do with that
  168. quit
    dommel (~dominik@p5DDB269B.dip.t-dialin.net) has quit (Ping timeout: 264 seconds)
  169. message at
    jcromartie
    so I need to run
  170. message at
    jcromartie
    chcon -R -t httpd_sys_content_rw_t '{dokuwike path}/data'
  171. message at
    jcromartie
    wow is just me or is SELinux insane?
  172. message at
    RyanChile
    jcromartie: it's not just you
  173. message at
    lupo49
    duke: your error message comes from lib/plugins/usermanager/admin.php line 535
  174. message at
    Michitux
    duke: I think dokuwiki uses the standard php mail command, so check your php config/phpinfo() for information on how mail is sent
  175. message at
    lupo49
    Michitux: the line i wrote is related to the function which changes the user profile
  176. message at
    lupo49
    duke: does other email from DW work?
  177. message at
    Michitux
    hm, in a syntax plugin there is no way to get the current section level, is there?
  178. message at
    Michitux
    hm, it seems there is actually one...
  179. message at
    duke
    no mail from dw works
  180. message at
    duke
    but the problem isn't dw
  181. message at
    duke
    sending only works from root
  182. message at
    duke
    some permission problem
  183. quit
    sjm (~sjm@rivendell/users/sjm) has quit (Ping timeout: 260 seconds)
  184. message at
    duke
    works now
  185. part
    Sweetums (~Adium@ppp-70-132-207-155.dsl.snantx.swbell.net) has left the channel ()
  186. join
    rorr (~ror@34.97.101-84.rev.gaoland.net) entered the channel
  187. join
    Motorin (Motorin@maridia.csc.ncsu.edu) entered the channel
  188. quit
    Suraia (~suraia@f054066208.adsl.alicedsl.de) has quit (Quit: Suraia)
  189. quit
    jcromartie (~jcromarti@209-252-224-2.ip.mcleodusa.net) has quit (Quit: jcromartie)
  190. quit
    markinfo (~marek@dhcp14.dmg.tuwien.ac.at) has quit (Remote host closed the connection)
  191. message at
    Motorin
    IS there a way to allow HTML entities (like "&gt;") to be entered and rendered correctly without <html> tags?
  192. message at
    Motorin
    I don't want to do entity replacement.
  193. message at
    Motorin
    I just want literal &gt; to go from the source code straight into the HTML, so it shows on screen as >
  194. message at
    RyanChile
    why no :entities
  195. message at
    Motorin
    Two reasons. First, I happen to know the entities I want to use. Second, I want to avoid ambiguous things like <= being "less than or equal to" or "left double-barreled arrow".
  196. message at
    Motorin
    It seems like it should be a really simple thing -- just don't escape /&\w+;/ when doing HTML conversion.
  197. message at
    RyanChile
    probably the reason is that such would make the page wikicode usable only with the default (xhtml) renderer
  198. message at
    Motorin
    oh, as opposed to pdf renderers and stuff? okay
  199. message at
    RyanChile
    for less than or equal just use ≤, DW wikicode is Unicode
  200. message at
    Motorin
    I can see that.
  201. message at
    Motorin
    How do you express unicode characters like that? Surely you're not memorizing the character code.
  202. message at
    Motorin
    (I'm in Windows)
  203. message at
    RyanChile
    I'm in Linux, I just use Compose+<+=
  204. message at
    RyanChile
    Windows: character map, at least, or the symbold box at DW's edit toolbar
  205. message at
    RyanChile
    s/symbold/symbols/
  206. message at
    Motorin
    Bah, not worth it. I thought there might be a clever Windows character code system by now.
  207. message at
    Motorin
    If I cared more I'd write a plugin, but I don't, so <= will just have to render as <=.
  208. message at
    RyanChile
    another choice to guarantee the <= rendering would be to insert a nonvisible whitespace in between
  209. message at
    RyanChile
    in Office at least you do that with Ctrl+Space I think
  210. quit
    RyanChile (~luis@200.11.76.165) has quit (Read error: Connection reset by peer)
  211. message at
    Motorin
    If I found myself doing a lot of math or something I'd look into a better solution, but this is just for little offhand nodes.
  212. join
    RyanChile (~luis@200.11.76.165) entered the channel
  213. message at
    Motorin
    Welcome back. Thanks for your help.
  214. message at
    Motorin
    I'm just going to ignore the problem, since I don't do much math/symbols anyway.
  215. message at
    RyanChile
    ok
  216. message at
    RyanChile
    oh just one thing
  217. message at
    RyanChile
    did you try %%<=%%
  218. join
    adrianlang (~adrian@wikimedia/codeispoetry) entered the channel
  219. message at
    Motorin
    I just did. No dice -- still renders it literally.
  220. message at
    RyanChile
    ok
  221. message at
    Motorin
    Oh, I see. As opposed to being an arrow.
  222. message at
    Motorin
    Yes, that works.
  223. message at
    RyanChile
    ok better then :D
  224. message at
    Motorin
    I thought you meant %%&gt;%% because I didn't read closely
  225. message at
    Motorin
    That's useful, thanks.
  226. message at
    RyanChile
    yrw
  227. join
    sjm (~sjm@rivendell/users/sjm) entered the channel
  228. quit
    adrianlang (~adrian@wikimedia/codeispoetry) has quit (Remote host closed the connection)
  229. join
    adrianlang (~adrian@wikimedia/codeispoetry) entered the channel
  230. quit
    sjm (~sjm@rivendell/users/sjm) has quit (Ping timeout: 260 seconds)
  231. message at
    Motorin
    Okay, I got bored/fed up enough to write a plugin to allow HTML entites to be allowed. :plugin:literal_entities
  232. message at
    Michitux
    Motorin: I have the feeling that allows to insert arbitrary html (and js)
  233. message at
    lupo49
    please provide a plugin.info.txt in your plugin
  234. message at
    Michitux
    Motorin: I think you should either match for [a-zA-Z0-9] or escape the stuff after the &
  235. message at
    Michitux
    okay, perhaps arbitrary html is wrong, as spaces aren't allowed
  236. message at
    RyanChile
    Michitux: how do I provide i18n with a plugin.info.txt?
  237. message at
    RyanChile
    or lupo49
  238. message at
    lupo49
    you dont need spaces in js-code?
  239. message at
    lupo49
    RyanChile: sorry?
  240. message at
    Michitux
    lupo49: yes, that's indeed a point, but perhaps you can exploit error correction in browsers to still get a js file included?
  241. message at
    Michitux
    RyanChile: you can't, but you can still use getInfo(), that plugin.info.txt is also for the plugin manager to correct the basedir if needed
  242. message at
    damascene
    I'm following this http://www.dokuwiki.org/tips:timezone but I'm getting errors http://www.fpaste.org/KpsU/
  243. message at
    RyanChile
    ok
  244. message at
    Michitux
    RyanChile: or well, it is thought as replacement, perhaps you could send a mail with that question to the mailinglist proposing some idea how to use localization in the plugin.info.txt
  245. message at
    Michitux
    RyanChile: perhaps we could do something like plugin.de.info.txt etc.
  246. message at
    RyanChile
    I don't think it is a good idea
  247. message at
    lupo49
    ?
  248. message at
    lupo49
    for what would this helpful?
  249. message at
    RyanChile
    IMHO, we should accept something like "$descr" in plugin.info.txt so that it loads $getLang('descr'), for example
  250. message at
    Michitux
    or that, just send your proposal to the mailinglist so we can discuss it there
  251. message at
    RyanChile
    lupo49: I like to provide descriptions of the plugins in their users languages, not just en
  252. message at
    RyanChile
    Michitux: roger that, will be by nite
  253. quit
    adrianlang (~adrian@wikimedia/codeispoetry) has quit (Ping timeout: 265 seconds)
  254. join
    sjm (~sjm@rivendell/users/sjm) entered the channel
  255. message at
    Michitux
    lupo49: I think you can do quite a lot in js without spaces
  256. message at
    Michitux
    but I haven't tested it
  257. message at
    Michitux
    it was just a feeling there might be a problem
  258. message at
    Michitux
    and I still have that feeling
  259. message at
    lupo49
    RyanChile: but the plugin.info.txt values are only shown in admin area and i guess every admin has the ability to read english
  260. message at
    Michitux
    lupo49: isn't it used on the syntax page, too?
  261. message at
    lupo49
    Michitux: what is used on the syntax page?
  262. message at
    Michitux
    lupo49: the description of the plugin
  263. message at
    RyanChile
    lupo49: I won't guess that
  264. message at
    RyanChile
    DW admin controls are pretty visual, you don't need to understand more than a certain level of English to move around there
  265. quit
    sjm (~sjm@rivendell/users/sjm) has quit (Ping timeout: 240 seconds)
  266. message at
    lupo49
    Michitux: ah yes. sorry
  267. message at
    RyanChile
    that's why the fix is only for the description field
  268. message at
    lupo49
    Michitux: &<script>window.alert("Hello World");</script>; wont work
  269. message at
    lupo49
    its not rendered by the plugin
  270. message at
    Michitux
    RyanChile: I think we should also talk about that issue when it comes to the planned extended plugin repository, see devel:ideas:pluginmanager
  271. message at
    Michitux
    lupo49: and when you remove that space between hello and world?
  272. join
    krion (~seb@unaffiliated/krion) entered the channel
  273. message at
    krion
    hi
  274. message at
    krion
    just quick question before i go to bed :)
  275. message at
    krion
    i though dokuwiki will ask for sql connection but it didn't
  276. message at
    krion
    how's the data stored and where ?
  277. message at
    Michitux
    in the filesystem in the data folder
  278. message at
    lupo49
    Michitux: we should a xss note to the plugin-page
  279. message at
    Michitux
    the wikitext is stored in plain text files
  280. message at
    lupo49
    damascene: did you try the other hint?
  281. message at
    Michitux
    lupo49: does the javascript get executed?
  282. message at
    lupo49
    yes
  283. message at
    krion
    Michitux: oh ok thanks, i was surprise as IIRC mediawiki store is data in mysql
  284. message at
    lupo49
    will this be fixed by hsc()?
  285. message at
    damascene
    lupo49: yes
  286. message at
    damascene
    the same
  287. message at
    Michitux
    lupo49: yes, but you shouldn't hsc the "&" probably
  288. message at
    lupo49
    hmk
  289. message at
    Michitux
    krion: yes, mediawiki does that, but dokuwiki isn't the same as mediawiki ;)
  290. message at
    lupo49
    Motorin
  291. message at
    krion
    Michitux: surely, i'm interested in mediawiki for the integrated acl part (read and write on specific page only allowed for specific users)
  292. message at
    krion
    or it need a plugin may be, don't remember
  293. message at
    krion
    but when i looked aroung dokuwiki looks fine for that job
  294. message at
    Michitux
    afaik the acl support in mediawiki is not that good, but in dokuwiki it is part of the core features
  295. message at
    Michitux
    (though acls aren't perfect, e.g. knowing if a page exists is often possible even when you aren't allowed to read that page)
  296. message at
    RyanChile
    the acl in mediawiki is explicitly thought from the bases of 1.- public wiki (everyone can read, maybe edit) and 2.- not being allowed to see a page is not an error
  297. message at
    krion
    Michitux: yes, i didn't get satisfied at all with all the acl plugin i can find for mediawiki
  298. message at
    krion
    Michitux: you can often apply that for other software
  299. message at
    RyanChile
    call from the vet, gotta go.
  300. quit
    RyanChile (~luis@200.11.76.165) has quit (Quit: Terminando... (Grupo de Usuarios GNU/Linux Araucania -- http://www.gulix.cl/ ))
  301. message at
    krion
    i'm interested in mediawiki for the integrated acl part < in dokuwiki, not mediawiki, sorry :)
  302. message at
    lupo49
    Michitux: do you know how i see the raw text of &ge; and not the the >= in the browser?
  303. message at
    Michitux
    lupo49: &amp;ge; ?
  304. message at
    lupo49
    ah nice
  305. message at
    lupo49
    github.com 500 internal server error?
  306. message at
    krion
    temporarily offline here
  307. message at
    lupo49
    hum :/
  308. message at
    lupo49
    damascene: if i add date_default_timezone_set("GMT"); to my local.protected.php everything is fine
  309. message at
    damascene
    I don't know what it happen to me
  310. message at
    damascene
    *why
  311. message at
    lupo49
    how does you local.protected.php look like?
  312. message at
    lupo49
    +r
  313. message at
    damascene
    give me a minute
  314. message at
    damascene
    lupo49: the same as you
  315. message at
    damascene
    http://fpaste.org/iLK6/
  316. message at
    lupo49
    ?
  317. message at
    lupo49
    thats note the local.protected.php
  318. message at
    lupo49
    not
  319. message at
    damascene
    It's the error. local.protected.php has only this linek "date_default_timezone_set("GMT");"
  320. message at
    damascene
    English is suffering today :)
  321. message at
    lupo49
    :>
  322. message at
    lupo49
    my also. its just:
  323. message at
    lupo49
    <?php
  324. message at
    lupo49
    date_default_timezone_set("GMT");
  325. message at
    damascene
    I don't have <?php in it
  326. message at
    Michitux
    that's the problem
  327. message at
    damascene
    exactly
  328. message at
    damascene
    http://www.dokuwiki.org/tips:timezone need to be more clear
  329. message at
    damascene
    it says add the line but there was no file at all
  330. message at
    lupo49
    Michitux: literal_entities: what do you think about $renderer->doc .= (substr($data, 0, 1)) . hsc(substr($data, 1));
  331. message at
    damascene
    I fixed that page. Can some one check it, please? http://www.dokuwiki.org/tips:timezone
  332. message at
    lupo49
    yes
  333. message at
    lupo49
    please remove the trailing ?> in the file
  334. message at
    damascene
    why?
  335. quit
    NEOhidra (~Miranda@178.239.117.37) has quit (Quit: Miranda IM! Smaller, Faster, Easier. Get it here: http://miranda-im.org)
  336. message at
    damascene
    Sorry but I know almost nothing about php
  337. message at
    lupo49
    http://www.dokuwiki.org/devel:coding_style?s[]=omit#php_closing_tags
  338. message at
    damascene
    ok
  339. message at
    lupo49
    :)
  340. quit
    dommel1 (~dominik@p5DDB1927.dip.t-dialin.net) has quit (Read error: Connection reset by peer)
  341. message at
    Michitux
    lupo49: looks much better, though you could directly strip that & in the handler function and just prepend & in the render function, though that's just detail and probably a matter of taste
  342. message at
    damascene
    done
  343. message at
    Michitux
    hm, looks I'm slowly getting to a first usable version of the include plugin after the rewrite I'm currently doing...
  344. message at
    Michitux
    or it's rather a restructuring than a rewrite
  345. message at
    Michitux
    and I'm still far from having a working cache
  346. message at
    lupo49
    do you have a public devel version of it?
  347. message at
    Michitux
    no, but I'll upload one in a couple of minutes probably
  348. quit
    krion (~seb@unaffiliated/krion) has quit (Ping timeout: 245 seconds)
  349. message at
    lupo49
    since its fixed i put a security warning like at :plugin:dir to the literal plugin
  350. message at
    lupo49
    s/since/till
  351. message at
    lupo49
    night
  352. quit
    lupo49 (~lupo49@vpw.wh.Uni-Dortmund.DE) has quit (Quit: .)
  353. message at
    Motorin
    Sorry, I wasn't watching the channel. You're absolutely right about the vulnerability...I wasn't thinking right about that, since it's just for my personal wiki, and I have the <html> tag anyway.
  354. message at
    Motorin
    I'll fix it.
  355. message at
    Motorin
    Changed the regex to &[#\w]\w+;
  356. message at
    Motorin
    Fixed version uploaded. Thanks for catching that.
  357. message at
    Michitux
    np