home  bbs  files  messages ]

      ZZLI4425             linux.debian.maint.gtk.gnome             42 messages      

[ next | reply ]

[ list messages | list forums ]

  Msg # 1 of 42 on ZZLI4425, Wednesday 11-04-25, 2:40  
  From: MATTHIAS GEIGER  
  To: ALL  
  Subj: Bug#1120048: trixie-pu: package wike/3.1  
 debian. 
 13: 
 ======7917394727340483897==" 
 XPost: linux.debian.bugs.dist, linux.debian.devel.release 
 From: werdahias@debian.org 
  
 This is a multi-part MIME message sent by reportbug. 
  
  
 Package: release.debian.org 
 Severity: normal 
 Tags: trixie 
 X-Debbugs-Cc: wike@packages.debian.org, debian-gtk-gnome@lists.debian.org, 
 werdahias@debian.org 
 Control: affects -1 + src:wike 
 User: release.debian.org@packages.debian.org 
 Usertags: pu 
  
 -----BEGIN PGP SIGNED MESSAGE----- 
 Hash: SHA512 
  
 Hi, 
  
 I would like to cherry-pick a patch fixing the displaying of articles in 
 wike to stable. It's already been fixed in a newer upstream release 
 present in forky. 
 [ Reason ] 
 Wikipedia changed their API for mobile, thus breaking the CSS in wike. 
 This leads to the program still displaying articles, though they are 
 unreadable (black text on black background). For the initial report see 
 #1119977. 
  
 [ Impact ] 
 While the app remains usable per se the usability is greatly reduced. 
  
 [ Tests ] 
 I manually tested that a cherry-picked upstream commit fixes the issue. 
 Furthermore, a contributor tested the upstream commit in #1119977 and 
 verified it works. 
  
 [ Risks ] 
 The risk is fairly low IMO, as the code change just adds the correct 
 useragent as one  line change (see 
 https://github.com/hugolabe/Wike/commit/8078bbb3838 
 5c9e7bb206ac7101e9c7dd6d31707) 
  
 [ Checklist ] 
   [x] *all* changes are documented in the d/changelog 
   [x] I reviewed all changes and I approve them 
   [x] attach debdiff against the package in (old)stable 
   [x] the issue is verified as fixed in unstable 
  
 [ Changes ] 
 Add cherry-picked upstream patch setting the correct useragent for 
 mobile wikipedia, thus fixing the UX issue (#1119977) 
  
 best, 
  
 werdahias 
  
 -----BEGIN PGP SIGNATURE----- 
  
 iIsEARYKADMWIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCaQn/mxUcd2VyZGFoaWFz 
 QGRlYmlhbi5vcmcACgkQ7L7btge5sr5/QwD+NGonlrTHn4idjxavLx9JC1r+w2Nh 
 yk9VwjonRgzNv6cA/jdms6pofqJ/TIzEct3C9UfDjyFQEnpyfbXSy/9lnoMI 
 =rv0Z 
 -----END PGP SIGNATURE----- 
  
 diff -Nru wike-3.1.1/debian/changelog wike-3.1.1/debian/changelog 
 --- wike-3.1.1/debian/changelog 2025-02-09 17:22:33.000000000 +0100 
 +++ wike-3.1.1/debian/changelog 2025-11-04 14:22:22.000000000 +0100 
 @@ -1,3 +1,9 @@ 
 +wike (3.1.1-1+deb13u2) stable; urgency=medium 
 + 
 +  * Add cherry-picked upstream patch setting correct useragent (Closes: 
 #1119977) 
 + 
 + -- Matthias Geiger   Tue, 04 Nov 2025 14:22:22 +0100 
 + 
  wike (3.1.1-1) unstable; urgency=medium 
  
    * New upstream release 
 diff -Nru wike-3.1.1/debian/patches/add-mobile-useragent.diff wike-3.1. 
 1/debian/patches/add-mobile-useragent.diff 
 --- wike-3.1.1/debian/patches/add-mobile-useragent.diff 1970-01-01 01:00:00. 
 000000000 +0100 
 +++ wike-3.1.1/debian/patches/add-mobile-useragent.diff 2025-11-04 14:20:29. 
 000000000 +0100 
 @@ -0,0 +1,22 @@ 
 +From 8078bbb38385c9e7bb206ac7101e9c7dd6d31707 Mon Sep 17 00:00:00 2001 
 +From: Hugo Olabera  
 +Date: Fri, 24 Oct 2025 09:57:47 +0200 
 +Subject: [PATCH] Fix new redirection of mobile URLs implemented by 
 Wikipedia 
 + 
 +Wikipedia has implemented a change to the way it serves the mobile version 
 of its content, which now no longer uses the ".m." subdomain. This causes 
 Wike to display the desktop version and the custom css is not applied 
 correctly. 
 +--- 
 + src/view.py | 1 + 
 + 1 file changed, 1 insertion(+) 
 + 
 +diff --git a/src/view.py b/src/view.py 
 +index b73e051..f54860a 100644 
 +--- a/src/view.py 
 ++++ b/src/view.py 
 +@@ -31,6 +31,7 @@ class ViewSettings: 
 +   # Load custom css and connect view settings signals 
 + 
 +   def __init__(self): 
 ++    self.web_settings.set_user_agent('Mozilla/5.0 (Linux; Android; 
 Mobile) AppleWebKit/537.36 (KHTML, like Gecko)') 
 +     self.web_settings.set_default_font_size(settings.get_int('font-size')) 
 +     self.web_settings.set_enable_back_forward_navigation_gestures(True) 
 + 
 diff -Nru wike-3.1.1/debian/patches/series wike-3.1.1/debian/patches/series 
 --- wike-3.1.1/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 
 +++ wike-3.1.1/debian/patches/series 2025-11-04 14:20:55.000000000 +0100 
 @@ -0,0 +1 @@ 
 +add-mobile-useragent.diff 
  
 --- SoupGate-Win32 v1.05 
  * Origin: you cannot sedate... all the things you hate (1:229/2) 
    

[ list messages | list forums | next | reply ]

search for:

328,092 visits
(c) 1994,  bbs@darkrealms.ca