Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-08-26 17:26:30

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

[wiki] Mediawiki bug? (was: Admin, please delete…)

Hi,
I started to translate the documentation and I did a mistake.
Admin, please delete this page as it is now in the good place here
Thx!

(edit: changed topic title. -Els)

Last edited by Els (2013-08-28 17:49:14)


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#2 2013-08-26 19:45:35

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [wiki] Mediawiki bug? (was: Admin, please delete…)

Done, thanks. I also added the translation link to the English version and vice versa (see the bottom of your article in edit mode).

Offline

#3 2013-08-27 11:10:41

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: [wiki] Mediawiki bug? (was: Admin, please delete…)

Thanks Els!
I didn’t add the translation link as it creates a second translation link on each page which uses the template page (see article custom page). Do you think that we should keep it anyway?

Edit: I found several french pages with dead translation links. I’m trying to fix that but I’ve a problem with the main page because of the apostrophe. How to do?

Last edited by NicolasGraph (2013-08-27 15:13:49)


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#4 2013-08-27 13:58:20

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,208

Re: [wiki] Mediawiki bug? (was: Admin, please delete…)

NicolasGraph wrote:

because of the single quote. How to do?

Does percent encoding work there? (%27 for an apostrophe)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#5 2013-08-27 15:17:19

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: [wiki] Mediawiki bug? (was: Admin, please delete…)

uli a écrit:

Does percent encoding work there? (%27 for an apostrophe)

It doesn’t seem to work

Edit: …and there are many french translation links with this kind of problem like the link of this page or this one . I could copy the content of french pages in pages with good titles and ask to delete the first ones after but I don’t know if it’s the better way to do…

Last edited by NicolasGraph (2013-08-27 16:01:49)


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#6 2013-08-27 20:10:59

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [wiki] Mediawiki bug? (was: Admin, please delete…)

NicolasGraph wrote:

I didn’t add the translation link as it creates a second translation link on each page which uses the template page (see article custom page). Do you think that we should keep it anyway?

Ah, thanks, I hadn’t thought of that. Removed the translation links…

Offline

#7 2013-08-27 20:55:42

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [wiki] Mediawiki bug? (was: Admin, please delete…)

NicolasGraph wrote:

It doesn’t seem to work

It seems that the encoding goes wrong somewhere… because http://www.textpattern.net/wiki/index.php?title=Page_d’accueil’accueil just works.

Offline

#8 2013-08-28 07:16:52

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: [wiki] Mediawiki bug? (was: Admin, please delete…)

Els a écrit:

It seems that the encoding goes wrong somewhere… because http://www.textpattern.net/wiki/index.php?title=Page_d’accueil’accueil just works.

Yes, you’re right, http://www.textpattern.net/wiki/index.php?title=Instructions_d’installation_détaillées’installation_detaillees and http://www.textpattern.net/wiki/index.php?title=Interface_d’administration’administration work too.

Edit: …and actually, it comes from the translation links only. “Simple” links work. See my wiki page.

Last edited by NicolasGraph (2013-08-28 13:35:46)


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#9 2013-08-28 17:42:16

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [wiki] Mediawiki bug? (was: Admin, please delete…)

Interlanguage links seem to be parsed incorrectly in Mediawiki. The link on the home page to the Spanish translation has an á in it, and returns an error too.

I can see now what it does: first the apostrophe is encoded to %27 and then the % is encoded again to %25. So it ends up like %2527
The á in the Spanish URL should be %2C3%A1 and ends up like %25C3%25A1.

It may be a bug in Mediawiki, but I’m not sure if we’re running an up-to-date version. The meta info says 1.17, and if that is correct, the site is running on an old version that is not supported anymore.

I think we need a dev…

Offline

#10 2013-08-29 08:25:04

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,209
Website

Re: [wiki] Mediawiki bug? (was: Admin, please delete…)

Yes, the version of MediaWiki we have is really old.

I have access, and would upgrade it but there seems to be multiple installs of MediaWiki on the server at the moment so I need to clean it up a bit first and work out what is powering what. Been a bit reluctant to do that in case I break it entirely – was waiting until I had a new theme together for it and will then do it all in one go.

Not sure who was the original administrator for this but I may need to ask them a couple of questions.

Offline

Board footer

Powered by FluxBB