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

Hzip: Compress and decompress recent xowa_alt_text

This commit is contained in:
gnosygnu
2017-09-04 10:05:54 -04:00
parent b101b356ad
commit 4705592259
6 changed files with 45 additions and 15 deletions

View File

@@ -53,6 +53,7 @@ public class Pfunc_ifexist_mgr {
// rarely true, but check local wiki's [[File:]] table anyway
Xow_ns file_ns = wiki.Ns_mgr().Ns_file();
Xoa_ttl file_ttl = wiki.Ttl_parse(file_ns.Id(), page_db);
if (file_ttl == null) return false; // NOTE: must check for NPE: PAGE:es.w:Elecciones_presidenciales_de_Venezuela_de_1998 DATE:2017-09-04
byte exists = wiki.Cache_mgr().Ifexist_cache().Get_by_mem(file_ttl);
if (exists == Bool_.Y_byte) return true;