mirror of
https://github.com/gnosygnu/xowa.git
synced 2025-05-31 22:44:34 +00:00
Embeddable: Add method to selectively clear pages from cache (additional code)
This commit is contained in:
parent
27f6811e1f
commit
9ea81f3b26
@ -35,7 +35,9 @@ public class Xop_mediawiki_wkr {
|
||||
wiki.Parser_mgr().Scrib().Core_term();
|
||||
wiki.Appe().Wiki_mgr().Wdata_mgr().Clear();
|
||||
}
|
||||
public void Clear_cache() {
|
||||
public void Clear_cache(String page) {
|
||||
Xoa_ttl ttl = wiki.Ttl_parse(Bry_.new_u8(page));
|
||||
wiki.Cache_mgr().Page_cache().Del(ttl.Full_db());
|
||||
}
|
||||
public String Parse(String page, String wikitext) {
|
||||
Xoa_ttl ttl = wiki.Ttl_parse(Bry_.new_u8(page));
|
||||
|
Loading…
Reference in New Issue
Block a user