Menu

#893 Remove useless blocks for Wikivoyage

v1.0
closed
None
5
2024-07-27
2015-02-28
No

There are a lot of useless blocks of data in Wikivoyage ZIM files. They waste space and require to scroll which is not convenient, especially on mobile devices.

See the attached screenshots.

  1. Remove paragraphs which are empty. They make sense for online version, where they encourage you to click "Edit" and add missing information to an article. But they are useless for offline version.
  2. For Russian Wikivoyage - an "Open Map" with horizontal line is displayed. We have no map in Kiwix, so this element could be safely skipped.
  3. Disputable item - page footer:
  4. Status of the page. I don't think it is useful for offline version. At least the text should be changed.
  5. Version (which actually is not correct) could be removed.
  6. Footer could be removed too - it does not give any useful information for offline usage.
3 Attachments

Discussion

  • Alexey Baturin

    Alexey Baturin - 2015-03-15

    1) We removed useless link to map (useless-2.png) and status box (useless-3) at Russian Wikivoyage. Could you please run ZIM creation for it?
    2) Also an experimental fix to remove useless headers: https://sourceforge.net/p/kiwix/other/merge-requests/9/

     
  • Emmanuel Engelhart

    Thank you Alexey for all this interesting feedbacks and sorry for not answering earlier.

    First of all, please next time, open one ticket per issue. This might appear like a lot of small tickets, but this make the whole thing easier to manage. Don't be afraid to open a lot of different tickets.

    1 - I agree, this would be better. I have open a dedicated ticket here https://sourceforge.net/p/kiwix/feature-requests/902/

    2 - This should be handled on wikivoyage, this link is a non-sense for offline (ZIM or printed), so you should put the CSS class "noprint" IMO

    3 - Same than (2)

    4 - No sure to understand right, but answer is probably the same than (2)

    5 - Yes, I think the problem is only with the welcome page. I have open a dedicated ticket here: https://sourceforge.net/p/kiwix/feature-requests/903/

    6 - Same than (2)

     
  • Emmanuel Engelhart

    A new version of WVRU ZIM file is online.

     
  • Alexey Baturin

    Alexey Baturin - 2015-03-15

    Thank you for your prompt assistance, really appreciate this!

    Do you mean new ZIM file has been already generated? Just checked - got the old February version.

     
  • Alexey Baturin

    Alexey Baturin - 2015-03-15

    10% smaller, I think that's fine for removed map link, page status and empty paragraphs for each page. But anyway will check in more details next week. Thank you again!

     
  • Alexey Baturin

    Alexey Baturin - 2015-04-12

    Please take a look at the following merge request:
    https://sourceforge.net/p/kiwix/other/merge-requests/11/

     
    • Emmanuel Engelhart

      Hi Baturin,

      This is again a pretty big patch. I don't have a lot of time currently to look in detail to the work you have proposed to merge the last weeks and at the same time I feel pretty confident in your work and think it's really valuable.

      Considering the following conditions, would you be interested to work directly on git master head?

      • Keep the script agnostic (this a solution for all Mediawikis, not only Wikivoyage)
      • Discuss with me on IRC, the new features before implementation

      Regards
      Emmanuel

       
      • Alexey Baturin

        Alexey Baturin - 2015-04-12

        Hello Emmanuel,

        No hurry, take a look when you have time to. That is not an urgent problem anyway.

        The patch should be applicable for all Mediawikis. I think I'm not too much interested to work on git master head right now. Unfortunately I don't have much time to review all recent changes in Kiwix to be up-to date with the code, bugs, features, and how I could influence them with my patches. It would be much better if someone experienced reviews the patches before commit.

         
  • Emmanuel Engelhart

    A bit outdated ticket although ticket is interested. Closing, part of the topic have been fixed or available at issue at https://github.com/openzim/mwoffliner/

     
  • Emmanuel Engelhart

    • status: open --> closed
    • assigned_to: Emmanuel Engelhart
     

Log in to post a comment.

MongoDB Logo MongoDB