Last modified: 2014-02-12 23:55:29 UTC
Created attachment 14170 [details] bad code cant view if the diffrent content is not english,it's will show like a confusion code
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1580
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.
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
(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
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?
it's utf-8,if not use mobilefront everything just go well
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.
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
(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!
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.