08 Sep 2011 12:22 | module wikidot

The Wikidot Team just sneaked in a new feature - and it's extremely useful! ;-)

Blog post written for: Advanced users. Most site owners will never use these directly.

Previously, if you wanted to open the page editor using a URI, you would type something like this into a live template or ListPages module body:

[/%%fullname%%/edit/true Edit this page]

Thanks to Hash Magic URIs, recently implemented by Wikidot, you can achieve the same result using a slightly different method:

[/%%fullname%%#_editpage Edit this page]

So, what's the difference? I've run a few tests and it seems that both methods work - so if the intent is to phase out the older and more established /edit/true links, it isn't happening any time soon. Wikidot is likely to continue supporting that method.

What is most interesting are the other options that are available. Editing the page via URI was already possible, it's nothing new. But Hash Magic URIs introduces a number of new options that we haven't had access to until now:

Option Description Scope Previous (URI) Previous (other)
#_editpage Opens the editor Page /edit/true [[button edit]]
#_edittags Opens the tag editor Page /tags/new-tags [[button tags]]
#_history Displays the history Page None [[button history]]
#_files List files Page None [[button files]]
#_sitetools Opens the site tools information Site None None
#_wantedpages Lists wanted pages Site None [[module WantedPages]]
#_orphanedpages Lists orphaned pages Site None [[module OrphanedPages]]
#_draftpages Lists draft pages Site None [[module ListDrafts]]1

That's right… you can now link directly to the tag editor, history list and file list using the link syntax! In addition, a number of other options are available which display general information about the site.

For the Wikidot Community, this new feature is particularly useful. You can access information about a user's website, even if their permissions are not set up correctly. The end result is that problems can be solved faster than ever before!

Even with a JavaScript-based bookmark, information about attached files and orphaned pages was not accessible unless you had access to the page-options link and clicked on that.

Image source: PhotoBucket: PhntmBlackIce (unmodified version)

Submit Feedback
Please rate this page based on the quality and helpfulness of the content to you.

Average 100% rating from 1 votes.

You may also be interested in…

OLD COMMENT SYSTEM (12 comments)

Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +

19 Oct 2012 10:41

If I understand this good… All these functions basically start some javascript, no?
Well I say this because if you put a "button" on your page and you hover it, your statusbar will say javascript:; …. I've noticed the same behaviour with tabview. If you hover a tab… the same happens: javascript at the bottom.

So I was wondering what the difficulty would be to get this working for tabview and let in this way a developer be able to create a link like this [/%%fullname%%#_tabview3 Tab3]… which would open the third tab from the tabview directly from URL?

Included page "inc:signature" does not exist (create it now)

Edit | History (1) | Permalink

19 Oct 2012 11:19

Good question. The best people to answer that would be the Wikidot team themselves.

If it were to be implemented, I would start using TabView more often.

Included page "inc:signature" does not exist (create it now)

Edit | History (0) | Permalink

28 Dec 2016 14:45

I like today the #_history - ist shows me the history and the possibility for the source also for pages where I as a nott-member am not allowed to see anything of the source…!

This is a little secret only for the administration gurus of the community …

Included page "inc:signature" does not exist (create it now)

Edit | History (0) | Permalink

29 Dec 2016 13:49

I've used it a few times to see what's going on with someone's site, when they ask for help on the community but they've disabled those links :) Very useful.

Although, there is a Javascript method of triggering the same thing that has been around much longer. Just not as easily accessible as appending something to the page URL.

Included page "inc:signature" does not exist (create it now)

Edit | History (0) | Permalink

Add a new comment