mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-10-27 20:34:16 +00:00
Cfg: Fix nav not working for explicit grps
This commit is contained in:
parent
4c3ea9890d
commit
5a36b112b2
@ -118,6 +118,7 @@ public class Xoa_ttl { // PAGE:en.w:http://en.wikipedia.org/wiki/Help:Link; REF.
|
||||
else if (qarg_bgn != -1) end = qarg_bgn - 1;
|
||||
return Bry_.Mid(full_txt, bgn, end);
|
||||
}
|
||||
public byte[] Full_db_wo_qarg() {return Replace_spaces(Full_txt_wo_qarg());}
|
||||
public byte[] Full_txt_wo_qarg() {
|
||||
int bgn = wik_bgn == -1 ? 0 : ns_bgn == -1 ? page_bgn : ns_bgn;
|
||||
int end = full_txt.length;
|
||||
|
@ -42,7 +42,7 @@ public class Xog_cbk_wkr__swt implements Xog_cbk_wkr {
|
||||
match = page.Html_data().Cbk_enabled();
|
||||
break;
|
||||
case Xog_cbk_trg.Tid__specific_page:
|
||||
match = Bry_.Eq(trg.Page_ttl(), page.Ttl().Full_db());
|
||||
match = Bry_.Eq(trg.Page_ttl(), page.Ttl().Full_db_wo_qarg()); // NOTE: ignore qargs to handle Special:XowaCfg?grp=some_grp; DATE:2016-12-28
|
||||
break;
|
||||
}
|
||||
if (match) {
|
||||
|
Loading…
Reference in New Issue
Block a user