mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
'v3.7.3.1'
This commit is contained in:
@@ -57,12 +57,12 @@ public class Xow_special_mgr {
|
||||
hash.Add_bry_obj(Xou_history_mgr.Ttl_name , page_history);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__page_history , page_history2);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__nearby , page_nearby);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__my_language , page_mylanguage);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__my_language , page_mylanguage);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__item_by_title , page_itemByTitle);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__statistics , page_statistics);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__move_page , page_movePage);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__system_data , page_system_data);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__default_tab , page_default_tab);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__system_data , page_system_data);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__default_tab , page_default_tab);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__popup_history , page_popup_history);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__bookmarks , page_bmk);
|
||||
hash.Add_str_obj(Xow_special_meta_.Ttl__diag , page_diag);
|
||||
|
||||
@@ -172,7 +172,7 @@ public class Xows_page_allpages implements gplx.core.brys.Bfr_arg, Gfo_invk, Xow
|
||||
}
|
||||
class Xos_pagelist_html_itm_fmtr implements gplx.core.brys.Bfr_arg {
|
||||
public Xos_pagelist_html_itm_fmtr(Xows_page_allpages mgr, Xowe_wiki wiki) {
|
||||
this.mgr = mgr; this.wiki = wiki; this.href_wtr = wiki.Appe().Html__href_wtr(); this.wiki_key = wiki.Domain_bry();
|
||||
this.mgr = mgr; this.wiki = wiki; this.href_wtr = wiki.Html__href_wtr(); this.wiki_key = wiki.Domain_bry();
|
||||
this.itm_normal = mgr.Html_list_itm_normal(); this.itm_redirect = mgr.Html_list_itm_redirect();
|
||||
history_mgr = wiki.Appe().Usere().History_mgr();
|
||||
} private Xows_page_allpages mgr; Xowe_wiki wiki; Xoh_href_wtr href_wtr; Bry_fmtr itm_normal, itm_redirect; byte[] wiki_key; gplx.xowa.users.history.Xou_history_mgr history_mgr;
|
||||
@@ -193,7 +193,7 @@ class Xos_pagelist_html_itm_fmtr implements gplx.core.brys.Bfr_arg {
|
||||
if (ttl_itm == null) break; // ttl_itm can be null at bgn or end of title list; EX: list=A-Z; count=5; key=Z; itms=X,Y,Z,null,null
|
||||
Xoa_ttl ttl = Xows_page_allpages.ttl_(wiki, init_ns, ttl_itm);
|
||||
byte[] href = href_wtr.Build_to_bry(wiki, ttl);
|
||||
byte[] title = Xoh_html_wtr.Ttl_to_title(ttl.Full_txt_w_ttl_case());
|
||||
byte[] title = ttl.Full_txt_w_ttl_case();
|
||||
byte[] cls = Xoh_lnki_wtr.Lnki_cls_visited(history_mgr, wiki_key, ttl.Page_txt()); // NOTE: must be ttl.Page_txt() in order to match Xou_history_mgr.Add
|
||||
Bry_fmtr fmtr = ttl_itm.Redirected() ? itm_redirect : itm_normal;
|
||||
fmtr.Bld_bfr_many(bfr, itm_pct, href, title, ttl.Full_txt_w_ttl_case(), cls);
|
||||
|
||||
@@ -67,7 +67,7 @@ public class Move_page implements Xow_special_page {
|
||||
if (src_ttl == null) return Bry_.Empty;
|
||||
ns_list_fmtr.Init_by_page(wiki, page, src_ttl);
|
||||
Bry_bfr tmp_bfr = wiki.Utl__bfr_mkr().Get_m001();
|
||||
wiki.Parser_mgr().Main().Parse_text_to_html(tmp_bfr, page, true, msg_mgr.Val_by_key_obj("movepagetext"));
|
||||
wiki.Parser_mgr().Main().Parse_text_to_html(tmp_bfr, wiki.Parser_mgr().Ctx(), page, true, msg_mgr.Val_by_key_obj("movepagetext"));
|
||||
fmtr_all.Bld_bfr_many(tmp_bfr
|
||||
, msg_mgr.Val_by_key_obj("move-page-legend")
|
||||
, Bry_.Add(Xoh_href_.Bry__wiki, src_ttl.Full_db())
|
||||
|
||||
Reference in New Issue
Block a user