Not logged in. · Lost password · Register

All posts by phy25 (13)

topic: 10000+ Git commits!  in the forum: General Help and Support Development
Avatar
phy25 #1
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
Subject: 10000+ Git commits!
I forgot to speak out somewhere when I saw this happen, but now we have 10000+ Git commits!

Also by counting back, this is the 10000 commit in committed time order (it's different from the time that commits get merged; so this may change once our pending PRs get merged - there are 72 now), by eiroca on Feb 27:
https://github.com/splitbrain/dokuwiki/commit/49c44ed659c4…

Note that this is their first issue and pull request on GitHub. Congratulations!
topic: 如何在dokuwik里面集成ueditor编辑器?  in the forum: Non-English Discussion Chinese discussion
Avatar
phy25 #2
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 65413
这个需要自己写插件哦,一般来说编辑器的集成也没有那么容易,需要自己摸索学习了,哈哈。
topic: 新增page時,如何獲取資訊,再insert into自己的DB  in the forum: Non-English Discussion Chinese discussion
Avatar
phy25 #3
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 61096
恐怕得自己写插件的喔,可以用 event 的机制:https://www.dokuwiki.org/devel:event:common_wikipage_save
topic: Replace function in editor window  in the forum: General Help and Support Plugins Plugin Wishlist
Avatar
phy25 #4
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 57899
Maybe this one? https://www.dokuwiki.org/plugin:strreplace
topic: Creating variable-width shrink-to-fit columns  in the forum: General Help and Support Plugins
Avatar
phy25 #5
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 57863
You might want to use third.

Learn more: https://www.dokuwiki.org/plugin:wrap#widths
topic: [closed] Warning: array_keys() expects parameter 1 to be array, null given in after upgrade  in the forum: General Help and Support Installation and Configuration
Avatar
phy25 #6
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 57837
Sorry about this, but are you using <code>? What language are you using in code?
topic: Collaboration, etherpad-like functionnality (Looking for tools that allow multiple user to edit a page)  in the forum: General Help and Support Features and Functionality
Avatar
phy25 #7
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 57619
You can try to install those plugins to see whether they work. They might not be marked as compatible because they were not tested or updated, but they might work in the latest version of DokuWiki.
topic: Working on a private revision  in the forum: General Help and Support Features and Functionality
Avatar
phy25 #8
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 57319
You can do something to this part of code (isHiddenForUser), to limit viewing to editor only:

https://github.com/cosmocode/dokuwiki-plugin-publish/blob/…
topic: New auth plugin (I can't send data to page of login)  in the forum: General Help and Support Development
Avatar
phy25 #9
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 57757
You should get the token inside auth.php. You can also refer to code like https://github.com/kettari/authgoogle/blob/master/auth.php.
topic: How to extend editor functionality?  in the forum: General Help and Support Development
Avatar
phy25 #10
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 57638
Maybe you can directly plug into the events like `HTML_EDITFORM_OUTPUT`, or just add scripts in header if $ACT=edit.
topic: Small changes to the file /inc/common.php (I think it will be useful for many!)  in the forum: General Help and Support Development
Avatar
phy25 #11
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 57754
Hi, why not add a pull request at https://github.com/splitbrain/dokuwiki/ ?
topic: Broken links on the EditPage page (the syntax link broke when I moved the default wiki: pages to a different location)  in the forum: General Help and Support General Stuff
Avatar
phy25 #12
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 57809
Quote by og:
The text you see while editing a page comes out of this file: inc/lang/<LANGUAGE>/edit.txt
(Replace <LANGUAGE> with the one you setup in DW config, mybe "en" in your case?)
Here you find the source
Edit the page and hit ''Save''. See [[wiki:syntax]] for Wiki syntax. Please edit the page only if you can **improve** it. If you want to test some things, learn to make your first steps on the [[playground:playground|playground]].
and you could replace the link for "wiki:syntax".

But i won't recommend this because it may be overwritten at the next update. Also you should consider if it is a good plan to move the syntax-page inside playground. Playground, normally is writeable by any user. So any user could change the upper part in the edit mode.

Actually you can safely edit texts in this file without being overwritten by updates, by creating a new file at conf/lang/<LANGUAGE>/edit.txt and fill it with your own content :-).
topic: Too Many Auth Plugins? (Can I uninstall some of them?)  in the forum: General Help and Support Installation and Configuration
Avatar
phy25 #13
Member since Aug 2017 · 13 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 57810
Of course you can delete unused auth plugins (and actually any plugins you don't need to use). They are pre-installed as official plugins for your convenience only.
Close Smaller – Larger + Reply to this post:
Special characters:
Special queries
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-08-21, 07:14:21 (UTC +02:00)