-
-
Notifications
You must be signed in to change notification settings - Fork 848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Greebo: new page / namespaces broken #2355
Comments
@micgro42 I guess createPagenameFromQuery is a bit too clever or maybe not clever enough. My first instinct was to simply see if the query contains no spaces, if so just pass the query as is to @stueja as a workaround you can use |
Passing the query to However, I can add a check to see whether That being said, using the search as a primary means to create new pages is not the way it's supposed to be. Create links on other pages for that purpose. ☝️ |
Also using |
@micgro42 the documentation explicitly mentions the search as a possibility to create pages (btw. that needs to be updated for the new release). I think for users that don't want to/don't know how to edit the URL and don't want to create a link (e.g. because they use a full sitemap as sidebar where the page will be linked automatically) this is the easiest/only way to create a page. |
Specifically, this pull request checks if the current query is already a valid pageid and then return that as suggested pageid. Also, tests are added for this method. Fixes #2355 PS: We may want to somehow better educate/nudge users to use the better way of creating pages by creating links on existing pages.
@michitux Thanks, your reference to the documentation does give that request a bit more reasonability. However, I consider this a negative side-effect of aggregating functionalities, that the basic links between pages are eroded. Nevertheless, the documentation should accurately reflect the intended state of the application. Which part do you consider out of date? (execpt the screencast by @splitbrain, which I cannot even play anymore.) |
@micgro42 The documentation says that you can just press the "create this page" button of the template. However, with the new UI, the page id is no longer changed (so you stay on the old page) but there is an explicit link that you need to click in the text above the search result. |
Ah yes! Fixing it... Edit: Done. |
Thank you very much for the lightning fast presentation of workarounds ( |
I think the search field still has some bugs. Hereafter I try to create pages and namespaces using the search field following the examples reported at https://www.dokuwiki.org/namespaces#creating_namespaces. Let's say the page
tested with |
When entering a new namespace/pagename in the search field (e. g.
it:server:setup
), the latest release converts that toserver_setup
with an underscore. (See also article of a different user in German forums on dokuwiki webpage).The text was updated successfully, but these errors were encountered: