Page MenuHomePhabricator

Separate slow-parse into public and private files
Closed, ResolvedPublic

Description

Use a separate slow-parse file (slow-parse-private) for private WMF wikis.

This is a blocker for https://gerrit.wikimedia.org/r/#/c/49678/, which should allow the community to help deal with slow-parsing pages.


Version: unspecified
Severity: normal

Details

Reference
bz45830

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:25 AM
bzimport set Reference to bz45830.
bzimport added a subscriber: Unknown Object (MLST).

MaxSem:

Just filtering blacklisted wiki names is dangerous, as people will forget to
update such blacklist when adding a new private wiki.

So it should rely on private.dblist, I suppose.

The safest way is for the public slow-parse file to use a whitelist of public wikis. But there are probably other workable ways to do it.

It's as simple as an InitialiseSettings.php config entry like:

'wmgSlowParseFile' => array(

 'default' => "/my/public/location.log',
 'private' => "/do/not/tell/anyone.log',
)

),

I am not 100% sure of the UDP logs, but you might need to change the UDP settings to accept the new log file maybe?

Matt:
Patch is merged, can this report be closed? If not, what is left to do?