Last modified: 2013-10-23 18:17:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35564, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33564 - transwiki import of invalid titles is possible on wmf wikis
transwiki import of invalid titles is possible on wmf wikis
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
1.18.x
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
https://de.wikipedia.org/w/index.php?...
: platformeng
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-06 17:26 UTC by Umherirrender
Modified: 2013-10-23 18:17 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Umherirrender 2012-01-06 17:26:29 UTC
A user on de.wp has transwiki imported the page [[sv:s:t Olofsholm]], but pages with a s: at the begin are invalid on de.wp (wikisource interwiki). Over the api we have found the page id: https://de.wikipedia.org/?curid=6666199 A sysop will delete that page with the api, which allow the use of a page id instead of a title.

Please give a hint for invalid titles while importing and skip that page. The import is at the moment possible, when using a target namespace.

Thanks.
Comment 1 Guandalug 2012-01-06 18:06:59 UTC
(In reply to comment #0)
> A user on de.wp has transwiki imported the page [[sv:s:t Olofsholm]], but pages
> with a s: at the begin are invalid on de.wp (wikisource interwiki). Over the
> api we have found the page id: https://de.wikipedia.org/?curid=6666199 A sysop
> will delete that page with the api, which allow the use of a page id instead of
> a title.
> 
> Please give a hint for invalid titles while importing and skip that page. The
> import is at the moment possible, when using a target namespace.
> 
> Thanks.

Small correction: It's not the s: that makes trouble, it's the fact that the page title starts with a lowercase letter. This seems to be valid on sv-wikisource (and I see nothing amiss with that), but (as you know) it's not valid, or rathe disabled on wikipedia. 

Now, the import has created the filename precisely as it's been told, with a lowercase 't', but every action we try on this (API aside, which can use the page ID) uses a 'normalized' title, so it becomes a 'T'. Unforunately, that page doesn't exist, so it's merely impossible to do anything with this file (again, not counting the API).
Comment 2 Umherirrender 2012-04-07 12:41:56 UTC
A (simple) patch commited with Gerrit change #4503
Comment 3 Umherirrender 2012-04-10 19:10:25 UTC
successfully merged

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links