mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
'v3.6.3.1'
This commit is contained in:
@@ -21,7 +21,7 @@ import gplx.langs.phps.*; import gplx.xowa.langs.bldrs.*;
|
||||
class Xob_subpage_parser {
|
||||
public Xob_subpage_wiki[] Parse(byte[] src) {
|
||||
src = Bry_.Add(Bry_.new_a7("$a = array("), src, Bry_.new_a7(");"));
|
||||
List_adp wikis_list = List_adp_.new_();
|
||||
List_adp wikis_list = List_adp_.New();
|
||||
try {
|
||||
Php_parser php_parser = new Php_parser();
|
||||
Php_evaluator eval = new Php_evaluator(new Gfo_msg_log("test"));
|
||||
@@ -85,5 +85,5 @@ class Xob_subpage_ns {
|
||||
}
|
||||
class Xob_subpage_wiki {
|
||||
public byte[] Name() {return name;} public Xob_subpage_wiki Name_(byte[] v) {this.name = v; return this;} private byte[] name;
|
||||
public List_adp Ns_list() {return ns_list;} private List_adp ns_list = List_adp_.new_();
|
||||
public List_adp Ns_list() {return ns_list;} private List_adp ns_list = List_adp_.New();
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ public class Xoi_wiki_props_api {
|
||||
}
|
||||
private Xoi_wiki_props_alias[] Parse_alias_ary(XmlNde xnde) {
|
||||
int xndes_len = xnde.SubNdes().Count();
|
||||
List_adp list = List_adp_.new_();
|
||||
List_adp list = List_adp_.New();
|
||||
for (int i = 0; i < xndes_len; i++) {
|
||||
XmlNde sub_nde = xnde.SubNdes().Get_at(i);
|
||||
if (!String_.Eq(sub_nde.Name(), "ns")) continue;
|
||||
@@ -73,7 +73,7 @@ public class Xoi_wiki_props_api {
|
||||
}
|
||||
private Xoi_wiki_props_ns[] Parse_ns_ary(XmlNde xnde) {
|
||||
int xndes_len = xnde.SubNdes().Count();
|
||||
List_adp list = List_adp_.new_();
|
||||
List_adp list = List_adp_.New();
|
||||
for (int i = 0; i < xndes_len; i++) {
|
||||
XmlNde sub_nde = xnde.SubNdes().Get_at(i);
|
||||
if (!String_.Eq(sub_nde.Name(), "ns")) continue;
|
||||
|
||||
@@ -63,7 +63,7 @@ public class Xoi_wiki_props_api_tst {
|
||||
}
|
||||
class Xoi_wiki_props_fxt {
|
||||
private Xoi_wiki_props_api api = new Xoi_wiki_props_api();
|
||||
private Bry_bfr bfr = Bry_bfr.new_();
|
||||
private Bry_bfr bfr = Bry_bfr_.New();
|
||||
public Xoi_wiki_props_wiki wiki_() {return wiki_("domain_doesnt_matter");}
|
||||
public Xoi_wiki_props_wiki wiki_(String wiki_domain) {return new Xoi_wiki_props_wiki().Wiki_domain_(Bry_.new_a7(wiki_domain));}
|
||||
public Xoi_wiki_props_alias alias_(int id, String alias) {return new Xoi_wiki_props_alias().Init_by_ctor(id, alias);}
|
||||
|
||||
Reference in New Issue
Block a user