Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

CMS::Mediawiki and german umlauts in title

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


sigbert at wiwi

Nov 12, 2009, 3:49 AM

Post #1 of 3 (768 views)
Permalink
CMS::Mediawiki and german umlauts in title

Hi,

I've setup a Mediawiki which mirrors part of another german mediawiki.
Therefore I download the pages and try to upload them in my wiki.

For doing the upload I use a perl program and the Perl package
CMS::Mediawiki. Everythings wents well as long as the names of the pages
are standard ASCII, but since I mirror a german mediawiki some pages
contain german umlauts. Prefetching the pages, e.g. with

GET
http://mars.wiwi.hu-berlin.de/mediawiki/statistik/index.php?title=%C3%84hnlichkeitsma%C3%9F&action=edit

delivers me the right page. But if I try to update the page via

POST
http://mars.wiwi.hu-berlin.de/mediawiki/statistik/index.php?title=Ähnlichkeitsmaß&action=submit

it changes the page

http://mars.wiwi.hu-berlin.de/mediawiki/statistik/index.php/%C3%83%C2%84hnlichkeitsma%C3%83%C2%9F

Using

POST
http://mars.wiwi.hu-berlin.de/mediawiki/statistik/index.php?title=%C3%84hnlichkeitsma%C3%9F&action=submit

delivers me a "Original title: Spezial:Badtitle" error.

So, my questions are:

11) Has someone used successfully another software to upload pages with
german umlauts from files (it can be in any programming language :)

2.) Has someone successfully used CMS::Mediawiki, encountered the same
problem and found a solution?

3.) Maybe someone has an idea what went wrong and can tell me.

Thanks in advance

Sigbert Klinke

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


svippy at gmail

Nov 12, 2009, 3:54 AM

Post #2 of 3 (697 views)
Permalink
Re: CMS::Mediawiki and german umlauts in title [In reply to]

2009/11/12 Sigbert Klinke <sigbert [at] wiwi>:
> So, my questions are:
>
> 11) Has someone used successfully another software to upload pages with
> german umlauts from files (it can be in any programming language :)
>
> 2.) Has someone successfully used CMS::Mediawiki, encountered the same
> problem and found a solution?
>
> 3.) Maybe someone has an idea what went wrong and can tell me.

I recommend you use MediaWiki's own export feature:

http://meta.wikimedia.org/wiki/Help:Export
http://meta.wikimedia.org/wiki/Help:Import

I am not sure how CMS::Mediawiki works, but it seems to me that it
does not take advantage of MediaWiki's own features - and if so,
doesn't use them to the fullist.

However, I am certain there are much more sophisticated software out
there for this purpose.

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Nov 12, 2009, 12:55 PM

Post #3 of 3 (703 views)
Permalink
Re: CMS::Mediawiki and german umlauts in title [In reply to]

Sigbert Klinke escribió:
> Using
>
> POST
> http://mars.wiwi.hu-berlin.de/mediawiki/statistik/index.php?title=%C3%84hnlichkeitsma%C3%9F&amp;action=submit
>
> delivers me a "Original title: Spezial:Badtitle" error.

That works for me.
I suspect you have an encoding error.
Note that all mediawiki titles are in UTF-8.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.