Last modified: 2014-02-12 23:55:29 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 T60960, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58960 - the diff cant show the chinese font
the diff cant show the chinese font
Status: RESOLVED INVALID
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-25 11:21 UTC by sen
Modified: 2014-02-12 23:55 UTC (History)
9 users (show)

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


Attachments
bad code cant view (37.02 KB, image/jpeg)
2013-12-25 11:21 UTC, sen
Details

Description sen 2013-12-25 11:21:52 UTC
Created attachment 14170 [details]
bad code cant view

if the diffrent content is not english,it's will show like a confusion code
Comment 1 Bingle 2013-12-25 11:30:29 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1580
Comment 2 Max Semenik 2013-12-25 18:44:38 UTC
I can't reproduce this bug, e.g. https://zh.m.wikipedia.org/wiki/Special:移动版差异/29624671...29624686 looks fine for me - could you provide a link to where are you seeing this?

Note that we're working on a new mobile diff system, so this bug will likely go away regardless, however it would be good to be able to reproduce it before going live.
Comment 3 Andre Klapper 2013-12-25 18:58:56 UTC
sen: Please always provide exact steps to reproduce (in this case a URL / link) that anybody could follow to see the same problem. See https://www.mediawiki.org/wiki/How_to_report_a_bug
Comment 4 sen 2013-12-26 12:54:15 UTC
(In reply to comment #3)
> sen: Please always provide exact steps to reproduce (in this case a URL /
> link)
> that anybody could follow to see the same problem. See
> https://www.mediawiki.org/wiki/How_to_report_a_bug

sorry,my bad,i use the mw V1.22.0 and mobile front REL1_22,and it not see right on my site,here is it:
http://see.sl088.com/wiki/%E7%89%B9%E6%AE%8A:%E7%A7%BB%E5%8A%A8%E7%89%88%E5%B7%AE%E5%BC%82/71738...71744
Comment 5 Andre Klapper 2013-12-26 14:29:33 UTC
Looks like a charset issue and might be a support request for https://www.mediawiki.org/wiki/Project:Support_desk but not a bug for Bugzilla. Which charset/character encoding do you use to store in the database?
Comment 6 sen 2013-12-26 14:31:04 UTC
it's utf-8,if not use mobilefront everything just go well
Comment 7 Max Semenik 2013-12-26 20:03:24 UTC
Definitely borked UTF-8 in reformatted diffs, however I couldn't reproduce it even using your PHP version, 5.5.7. What's your libxml version (php -i | grep libxml)?

Also, you can try the new diff system - install MobileFrontend from Git master and add $wgMFEnableBetaDiff = true; to LocalSettings.php - then in beta mode (available via Special:MobileOptions) you will get newer, nicer diffs.
Comment 8 sen 2013-12-30 10:09:30 UTC
Configure Command =>  './configure'  '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--with-pear' '--with-bz2' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-shmop' '--enable-calendar' '--with-libxml-dir=/usr' '--enable-xml' '--with-apxs2=/usr/sbin/apxs' '--with-mysql' '--with-pdo-mysql' '--with-gd' '--enable-dom' '--without-unixODBC' '--enable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--disable-dba' '--disable-phar' '--disable-fileinfo' '--enable-json' '--without-pspell' '--disable-wddx' '--with-curl' '--disable-posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem' '--enable-mbstring' '--enable-intl' '--enable-opcache=no'
libxml Version => 2.6.26
libxml
libxml2 Version => 2.6.26
Comment 9 sen 2013-12-30 10:12:15 UTC
(In reply to comment #7)
> Definitely borked UTF-8 in reformatted diffs, however I couldn't reproduce it
> even using your PHP version, 5.5.7. What's your libxml version (php -i | grep
> libxml)?
> 
> Also, you can try the new diff system - install MobileFrontend from Git
> master
> and add $wgMFEnableBetaDiff = true; to LocalSettings.php - then in beta mode
> (available via Special:MobileOptions) you will get newer, nicer diffs.

i get the libxml info..and i use the mediawiki 1.22 version,is the trunk version will not fit this version of mediawiki?by the way.i love this extension,it's great!
Comment 10 Max Semenik 2014-01-03 18:16:26 UTC
Looks like your libxml2 is terribly outdated, even PHP 5.3 default builds have 2.7.8 these days. Regardless, some time from now beta diff will be the only diff available on mobile and it will have no XML trnasformations in principle.

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


Navigation
Links