1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Image: Show mockup of commons.wikimedia.org page when clicking on image

This commit is contained in:
gnosygnu
2016-11-13 13:47:26 -05:00
parent 306001f311
commit 69c97838ea
3 changed files with 49 additions and 47 deletions

View File

@@ -150,7 +150,8 @@ public class Xog_tab_itm implements Gfo_invk {
try {
if (page.Tab_data().Cancel_show()) return; // Special:Search canceled show; NOTE: must be inside try b/c finally handles thread
wiki.Parser_mgr().Ctx().Page_(page);
if (page.Db().Page().Exists_n()) {
if ( page.Db().Page().Exists_n()
&& !page.Commons_mgr().Xowa_mockup()) { // do not enter "missing" section if File_mockup; EX:en.wikipedia.org/wiki/File:Protoplanetary-disk.jpg DATE:2016-11-13
if (wiki.Db_mgr().Save_mgr().Create_enabled()) {
page = Xoae_page.New_edit(wiki, ttl);
view_mode = Xopg_page_.Tid_edit;