Last modified: 2014-10-16 12:08:20 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 T50383, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48383 - zimdump cannot handle retrieval by url with common "-" namespace
zimdump cannot handle retrieval by url with common "-" namespace
Status: UNCONFIRMED
Product: openZIM
Classification: Unclassified
zimlib (Other open bugs)
unspecified
All All
: Lowest normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-12 17:24 UTC by Braddock Gaskill
Modified: 2014-10-16 12:08 UTC (History)
1 user (show)

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


Attachments

Description Braddock Gaskill 2013-05-12 17:24:44 UTC
zimdump does not reliably find articles via url if the namespace is "-", as is common.  The argument parser seems to get mangled and the result is not predictable.

For example:
zimdump -i -u -/MediaWiki~KiwixOffline_0.css wikipedia_en_all_nopic_01_2012.zim
Comment 1 Kiran Mathew Koshy 2013-05-13 18:33:19 UTC
(In reply to comment #0)
> zimdump does not reliably find articles via url if the namespace is "-", as
> is
> common.  The argument parser seems to get mangled and the result is not
> predictable.
> 
> For example:
> zimdump -i -u -/MediaWiki~KiwixOffline_0.css
> wikipedia_en_all_nopic_01_2012.zim

Its not limited to the '-' namespace, the zimdump has quite a problem in this region.

      Zimdump doesn't implement specify-namespace(-n) properly.
      zimdump -n I -l  wikipedia.zim  gives then same results as  
      zimdump -l  wikipedia.zim, although zimdump could have limited the results in the first query to 'I' namespaces only.

I'm in the process of fixing it, probably by tomorrow.
Comment 2 Braddock Gaskill 2013-06-05 19:33:28 UTC
Is there a fix for this?  I see nothing in the git log about it.

thanks,
braddock gaskill

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


Navigation
Links