Go to main content

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
Moderator
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,316

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
Moderator
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
Moderator
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
Moderator
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: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,566
Website GitHub Mastodon

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

#11 2013-08-29 10:08:55

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

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

philwareham a écrit:

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

Was it Destry ?


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

Offline

#12 2013-08-29 19:47:05

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

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

NicolasGraph wrote:

Was it Destry ?

Yes. Actually I was hoping one of the clever php wizards in the dev team would be able to apply a temporary fix, so we don’t have to wait until an upgrade is possible… especially if we don’t know if that would solve the problem.

Last edited by els (2013-08-29 19:47:48)

Offline

#13 2013-08-29 19:53:54

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

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

That would be great indeed.


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

Offline

#14 2013-08-30 09:38:47

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

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

Hi. Former server admin here.

There should be no multiple installs of media wiki on the server (except the sandbox, see below). Maybe the install files were put in a subfolder or something and then left there after install, but as far as I ever updated anything, it was always with the latest MW version. Same concept as updating a Txp install. Having said that, it was Ruud who updated the wiki install last time (he graciously fixed the thumbnail problem in the gallery views too), so if you have any questions about multiple installs, he would be a better person to ask (last touched, kind of thing).

As for character encodings, this was a problem with a lot of languages after the server migration at Joyent (also about the time Ruud helped out with things). In fact, in the wiki’s lifetime, it’s moved servers at least twice, and each time it has fucked up the character encoding in the wiki for whatever reason… probably a MySQL thing.

My guess is you can safely upgrade the wiki with the newest install and that much will be fine. Being it’s an old install, it might also address the character problem after the upgrade.

Lastly, I’ve spent a great deal of time writing administrator docs (Help > Back-end administration). There’s useful info there, if perhaps a little dated in places. I suggest you peruse it and actually read the docs concerning upgrades, etc. One thing it talks about is the sandbox install, which was used for testing MW Extensions and major version upgrades. The sandbox might be the multiple install you’re talking about. If so, that’s a completely separate install from the live install, and you should probably test an upgrade on that first (for practice, if nothing else), and then do the live install upgrade.

Thanks to Els for getting my attention in G+. I can’t follow threads in the forum (no notification functionality) so I don’t really hang out here anymore except for the occasional fly-by. People need to reach out to me if they need me.

Offline

#15 2013-08-30 09:58:54

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

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

@NicolasGraph (and all),

One thing to keep in mind is that English content in the wiki needs some editing. It’s a continuous and gradual process, actually, but I’m trying to find time to bring content more up-to-date and concise, including new images against the current admin-side, etc. What this means is that any translation of English content is also a continuous process.

That’s not to say translated content for a given language can’t be written independent of the English pages for the specific needs of a given language. But in that case I would propose a separate website like textpattern.fr, or whatever, so we could remove the difficult translation process from the English wiki. I’ve talked about this before in more detail in another thread, but I can’t remember where. If anybody does remember, please remind me of the link here. Thanks.

Offline

Board footer

Powered by FluxBB