Page MenuHomePhabricator

PDF's in Wikisource 'Index Namespace' do not open on Mobile phones
Closed, DeclinedPublic

Description

It is quite likely that problem is already a known problem but I could not locate related bug.

I am using a latest android samsung phone . I am able to open djvu format pages from Special:IndexPages lists of en & mr.wikisource but unable to open pdf / PDF format pages.

for an example unable to open https://en.wikisource.org/wiki/Index:Book_of_common_prayer_(TEC,_1979).pdf on my mobile. But at the same time I can access individual pages of that file in 'page namespace if I choose access them from recent changes. But not the Index page.

Since mr.wikisource is largely having PDF format books and we are encouraging educational institutions to participate more in proof reading project. PDF pages not opening in Index namespace on mobile phone becomes too restrictive.

Event Timeline

Hi @Mahitgar, thanks for reporting this.

unable to open

What does that mean? The page is blank? The page never finishes loading? The page shows an error message?
Which browser is this about and which version?
Please take a look https://www.mediawiki.org/wiki/How_to_report_a_bug for more information. Thanks!

Hi @Mahitgar, thanks for reporting this.

unable to open

What does that mean? The page is blank? The page never finishes loading? The page shows an error message?
Which browser is this about and which version?
Please take a look https://www.mediawiki.org/wiki/How_to_report_a_bug for more information. Thanks!

The page never finishes loading? The page shows an error message?

  1. The page never finishes loading
  1. The page shows an error message " Can not display PDF Index:pagename.pdf is of invalid format.

But at the same time I am able to open page:pagename.pdf/pagenumber i.e relevant page from the book in page namespace.

Also that I am able to open most of other downloaded pdfs on my device. Problem is coming across Index namespace only.

Hardware Samsung 4G Android 6.01.1

I did not give more details because I thought development team may be already awaare of the issue. Or some bug may be already there some where.

Another related problem is while page from page namespace page:pagename.pdf/pagenumber opens but no strait way to go to previous or next page nor any way to reach to main index page. Technically this is supposed to be a separate bug. If realy this is not a known problem then let me know I will file one more bug for this issue

One more problem is I am also not able to sign in in any of wikimedia projects through my device may be because cookies might not have been enabled on my device. Although I suppose it is least likely to be connected problem but in case it is then pl. let me know

  1. The page shows an error message " Can not display PDF Index:pagename.pdf is of invalid format.

Does it work with another browser? If yes, which one did you test?

  1. The page shows an error message " Can not display PDF Index:pagename.pdf is of invalid format.

Does it work with another browser? If yes, which one did you test?

No it does not work with any either of the two browsers on my device. I I do have two browsers on my device First is Samsung 5.4.02.3 and another is Chrome 60.0.3112.116 With both the browsers it is same problem

The problem is in Bengali Wikisource also. But not in English and French Wikisource

The problem is in Bengali Wikisource also. But not in English and French Wikisource

@Bodhisattwa: The provided link was to English Wikisource: https://en.wikisource.org/wiki/Index:Book_of_common_prayer_(TEC,_1979).pdf
So that link opens for you on English Wikisource, but that link does not open for @Mahitgar?
@Bodhisattwa: if that is the case, which browsers did you test with on your mobile phone?

Cannot reproduce the problem here (but I don't have Android): Going to https://en.wikisource.org/wiki/Index:Book_of_common_prayer_(TEC,_1979).pdf here on my mobile phone (not Android), I get redirected to https://en.m.wikisource.org/wiki/Index:Book_of_common_prayer_(TEC,_1979).pdf and the page loads without problems. Same on another WebKit-based browser on my mobile phone. :-/

I am using Google Chrome in Android 7.0 and it is fine for English and French Wikisource Index pages , but not in Bengali Wikisource.

Is this still a problem? If it is still a problem, could you ask on https://lists.wikimedia.org/mailman/listinfo/mobile-l or in the #wikimedia-mobile IRC channel on Freenode how to best debug such problems in Android's browser?

Aklapper changed the task status from Open to Stalled.Jun 21 2018, 8:48 AM
  1. I take my mobile phone (not an Android device though)
  2. I logged into mr.m.wikisource.org
  3. I go to https://mr.wikisource.org/wiki/Index_talk:Arth_shastrachi_multatve_cropped.pdf and see no problems.

So whatever is the problem on your mobile phone(s), you'll need to follow something like https://developers.google.com/web/tools/chrome-devtools/remote-debugging/

Setting status to stalled until that has happened.

  1. I take my mobile phone (not an Android device though)
  2. I logged into mr.m.wikisource.org
  3. I go to https://mr.wikisource.org/wiki/Index_talk:Arth_shastrachi_multatve_cropped.pdf and see no problems.

So whatever is the problem on your mobile phone(s), you'll need to follow something like https://developers.google.com/web/tools/chrome-devtools/remote-debugging/

Setting status to stalled until that has happened.

Unfortunately closing this report as no further information has been provided.
@Mahitgar: After you have provided the debugging information asked for, and if this problem still happens, please set the status of this report back to "Open" via the Add Action...Change Status dropdown. Thanks!