mirror of
https://github.com/gnosygnu/xowa.git
synced 2024-09-29 23:10:52 +00:00
Wikibase: Fix typo on 'addSiteLinksUsage' and disable fineGrainedLuaTracking [#551]
This commit is contained in:
parent
88dfc857bd
commit
1873c7c5f8
@ -138,7 +138,7 @@ public class Scrib_lib_wikibase_entity implements Scrib_lib { // REF.MW:https://
|
|||||||
, Invk__addStatmentUsage = "addStatementUsage"
|
, Invk__addStatmentUsage = "addStatementUsage"
|
||||||
, Invk__addLabelUsage = "addLabelUsage"
|
, Invk__addLabelUsage = "addLabelUsage"
|
||||||
, Invk__addDescriptionUsage = "addDescriptionUsage"
|
, Invk__addDescriptionUsage = "addDescriptionUsage"
|
||||||
, Invk__addSiteLinkUsage = "addSiteLinkUsage"
|
, Invk__addSiteLinksUsage = "addSiteLinksUsage"
|
||||||
, Invk__addOtherUsage = "addOtherUsage"
|
, Invk__addOtherUsage = "addOtherUsage"
|
||||||
, Invk__getSetting = "getSetting"
|
, Invk__getSetting = "getSetting"
|
||||||
, Invk__incrementStatsKey = "incrementStatsKey"
|
, Invk__incrementStatsKey = "incrementStatsKey"
|
||||||
@ -151,7 +151,7 @@ public class Scrib_lib_wikibase_entity implements Scrib_lib { // REF.MW:https://
|
|||||||
, Invk__addStatmentUsage
|
, Invk__addStatmentUsage
|
||||||
, Invk__addLabelUsage
|
, Invk__addLabelUsage
|
||||||
, Invk__addDescriptionUsage
|
, Invk__addDescriptionUsage
|
||||||
, Invk__addSiteLinkUsage
|
, Invk__addSiteLinksUsage
|
||||||
, Invk__addOtherUsage
|
, Invk__addOtherUsage
|
||||||
, Invk__getSetting
|
, Invk__getSetting
|
||||||
, Invk__incrementStatsKey
|
, Invk__incrementStatsKey
|
||||||
|
@ -41,7 +41,7 @@ public class WikibaseClientDefault {
|
|||||||
rv.addSetting("entityAccessLimit", 250);
|
rv.addSetting("entityAccessLimit", 250);
|
||||||
rv.addSetting("allowDataAccessInUserLanguage", false);
|
rv.addSetting("allowDataAccessInUserLanguage", false);
|
||||||
rv.addSetting("sharedCacheDuration", 60 * 60);
|
rv.addSetting("sharedCacheDuration", 60 * 60);
|
||||||
rv.addSetting("fineGrainedLuaTracking", true); // REF.MW: https://gerrit.wikimedia.org/r/#/c/operations/mediawiki-config/+/412664/3/wmf-config/InitialiseSettings.php
|
rv.addSetting("fineGrainedLuaTracking", false); // PERF: setting deliberately to false else every call to entity.sitelinks['frwiki']); will generate another round-trip to Scrib; SEE:mw.wikibase.lua; REF.MW: https://gerrit.wikimedia.org/r/#/c/operations/mediawiki-config/+/412664/3/wmf-config/InitialiseSettings.php
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user