We have great templates available for wiki pages: https://publiclab.org/wiki/wiki-templates
They can be used using URLs like: http://publiclab.org/wiki/new?n=1234 where 1234 is the template node id.
Node id at which particular template exist can be found at https://publiclab.org/wiki/wiki-templates by clicking on the button which creates those template.
We should offer the main ones on the new wiki page form -- for example, if you're logged in:
https://publiclab.org/wiki/nonexistent-page

the template for that is here:
The excerpted section (showing "related") is already only shown when it's being displayed for new wiki pages. So it's a perfect place to put a few links. Maybe something like:
Use these to start a page from one of these templates:
Clicking the link would go to the same URL as you're currently on, but with ?n=_____ appended!
I want to take this up.
That's Great !!!. You can ask here if you want any help.Thanks.
Hi @Ronaq13 - if you do, please link back here from your pull request so we know you've gotten started. Thanks!!!
I am working on it. Will send a pull request in a while
:-) awesome!
On Mon, Mar 12, 2018 at 12:37 PM, Raounak Sharma notifications@github.com
wrote:
I am working on it. Will send a pull request in a while
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/2469#issuecomment-372375648,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ-RrRwfy-DQw52Ln8KWhfBEarpUxks5tdqQxgaJpZM4Sk6mC
.
I was working on this. And after i gave a command to pull the latest changes form publiclab/plot2 , now I am facing an error:
NoMethodError: undefined method<' for nil:NilClass
/home/raounak/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/definition.rb:333:in lock'
Can anyone help in this?
This happened with me before too! I'm not sure if it will work,but if you could remove the gemfile.lock file. After that run 'bundle install'. Seems to be some dependency related issue.
rake db:setup giving an error:
ActiveRecord::StatementInvalid: SQLite3::SQLException: near "fulltext": syntax error: CREATE fulltext INDEX "index_comments_on_comment" ON "comments" ("comment")
/home/raounak/Desktop/openSource/publiclab/plots2/db/schema.rb:54:inblock in
hey @Ronaq13 ,I guess the problem you are facing is related to #1392
OK, I've merged in #2505 -- so this should be resolved now. Can you give it another try? You may have to pull the latest master branch again and then rebase this on top of it. See here for some help with that!
@jywarren Done. Please check now
hi @jywarren , I have updated the issue as I think our goal is to change wiki template so URL should be "/wiki/new?n=......" . Am I right ?
Hi all, i'm closing this in favor of #4932 -- thank you all!
Most helpful comment
This happened with me before too! I'm not sure if it will work,but if you could remove the gemfile.lock file. After that run 'bundle install'. Seems to be some dependency related issue.