mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-10-27 20:34:16 +00:00
Category: (partial) Deactivate mw-category logic [#677]
This commit is contained in:
parent
292726bd13
commit
c47820b1a9
@ -45,14 +45,11 @@ public class Xoctg_fmt_grp { // subc|page|file
|
|||||||
byte[] nav_html = this.Bld_bwd_fwd(wiki, ctg_ttl, dom_grp, grp_max);
|
byte[] nav_html = this.Bld_bwd_fwd(wiki, ctg_ttl, dom_grp, grp_max);
|
||||||
|
|
||||||
// according to mediawiki/includes/CategoryViewer.php cutoff default is 6
|
// according to mediawiki/includes/CategoryViewer.php cutoff default is 6
|
||||||
byte[] startdiv, enddiv;
|
byte[] startdiv = Bry_.Empty, enddiv = Bry_.Empty;
|
||||||
if (count > 6) {
|
// if (count > 6) {
|
||||||
startdiv = Bry_.new_a7("<div class=\"mw-category\">");
|
// startdiv = Bry_.new_a7("<div class=\"mw-category\">");
|
||||||
enddiv = Bry_.new_a7("</div>");
|
// enddiv = Bry_.new_a7("</div>");
|
||||||
} else {
|
// }
|
||||||
startdiv = Bry_.Empty;
|
|
||||||
enddiv = Bry_.Empty;
|
|
||||||
}
|
|
||||||
// init grp; write
|
// init grp; write
|
||||||
itms_fmt.Init_from_grp(wiki, dom_grp, ltr_extractor);
|
itms_fmt.Init_from_grp(wiki, dom_grp, ltr_extractor);
|
||||||
Fmt__ctg.Bld_many(bfr, div_id, msg_label_bry, msg_stats_bry, nav_html, lang.Key_bry(), lang.Dir_ltr_bry(), startdiv, itms_fmt, enddiv);
|
Fmt__ctg.Bld_many(bfr, div_id, msg_label_bry, msg_stats_bry, nav_html, lang.Key_bry(), lang.Dir_ltr_bry(), startdiv, itms_fmt, enddiv);
|
||||||
|
Loading…
Reference in New Issue
Block a user