Wiki URL Normalizer 1.1 released

The Wiki URL Normalizer application has been released in version 1.1.

In this version, we provide support for free standing URLs provided in documents.

You can get more informations about the extension here.

Thanks,

2 Likes

Good job!

1 Like

excellent

Hello!

@caubin I’ve just been testing this on 9.5.1 and it doesn’t seem to modify my wiki’s external domain URL, i.e. it only works with http://localhost:8080.

Do I need to configure this or is this a limitation at the moment?

Thanks,
Ben

@ben.megson It works by using the aliases defined in your wiki’s descriptor. Check it and add any required alias.

Thanks Vincent!

Btw, I think extension is a very good idea.

Ben

Hi Ben, cool, glad you like it! We did this, Caubin and me during an XWiki hackathon this summer :slight_smile:

We’ve recently fixed a lot of bugs and released versions 1.1.1, 1.1.2, 1.1.3, 1.1.4 and 1.1.5.

See http://extensions.xwiki.org/xwiki/bin/view/Extension/WikiLinkURLNormalizer/#HReleaseNotes for details.

Maybe this needs to go somewhere else, but I am on 1.1.1. I clicked Updater and I saw it find 1.1.3, 1.1.4, and 1.1.5:

image

But then it came back and said “All extensions are up to date”

Is that a problem with the Updater or this extension (I rarely use the Updater).

Looks like a bug that would be worth reporting on jira.xwiki.org

You can force installing a given version by searching for an extension and clicking on “list stable versions” in the details view.

Gentlemen,

I can’t seem to get it to work for “download” pages, i.e. “https://172.28.2.55/bin/download/Endfng/Tyddde/1501686358853-553.png

As we’re talking about links, can anyone point me in the direction of the URL “renderer”? I want to change the colour of links to pages the user doesn’t have view rights on.

Thank you,
Ben

It only normalizes “view” URLs since there’s no wiki link syntax for other actions.

Actually you’re right, we should probably support “download” too and use the “attach” prefix! :slight_smile: Would you mind creating a jira for this at Loading... ?

As in: [[label>>attach:Endfng.Tyddde@1501686358853-553.png]]

Vincent,

I’ll give it a go… it will be my first jira!

What do you think about the URL rendering for links with no user view rights? Is it something I can do in one of the .vm files and CSS?

I can think of 2 ways:

Also note that I find this use case to be interesting so you could also raise a jira at Log in - XWiki.org JIRA as an improvement to provide this feature by default.

https://jira.xwiki.org/browse/XCOMMONS-1239

See Wiki URL Normalizer 1.2 released

Enjoy :slight_smile: