internetarchive / dweb-mirror

Offline Internet Archive project
https://www-dweb-mirror.dev.archive.org/
GNU Affero General Public License v3.0
261 stars 27 forks source link

Mediawiki - image browser - long term duplicate "stream" urls #289

Open mitra42 opened 4 years ago

mitra42 commented 4 years ago

There are links such as ... $wgArchiveLeafBaseURL.'/stream/'.$id.'/'.$subPrefix.'#page/n'.$imageNum.'/mode/1up' which brings up an image browser such as: https://archive.org/stream/bdrc-W1FPL497/bdrc-W1FPL497#page/n2/mode/1up

In the code its at ArchiveLeaf.class.php > $leafBrowseUrl >ImageBrowse= in template EntryImage > sources/template_entryimage.txt > loaded into EntryImage template (in DB I think)

It is displayed as a link in the template

SHORT TERM:

MEDIUM TERM

Note also dev artifact in -transcriber/build/index.html:|ImageBrowse=https://archive.org/stream/tutur-smara-bhuwana/tutur-smara-bhuwana-300ppi#page/n2/mode/1up which is not significant

mitra42 commented 4 years ago

On archive.org, clicking a page goes to https://archive.org/details/bdrc-W1FPL497/page/n29 This doesnt happen on dweb-mirror For now ....

mitra42 commented 4 years ago

Passing to bookreader ...

Examples http://localhost:4244/details/ArtOfCommunitySecondEdition/page/n10/mode/2up pr http://localhost:4244/details/ArtOfCommunitySecondEdition/page/leaf2/mode/2up or http://localhost:4244/details/ArtOfCommunitySecondEdition#page/n10/mode/2up

CLEANUP

mitra42 commented 4 years ago

CLEANUP