https://bugzilla.wikimedia.org/show_bug.cgi?id=16288

--- Comment #5 from Reedy <[email protected]> 2011-03-20 01:21:34 UTC ---
Doing the hook for this is trivial.

I'm just struggling (probably because it's late etc), how we can easily get the
language/name out of wikiid()

if $wgDBname starts with wgLanguageCode, remove it, then we've got the project,
based on what $wgSiteMatrixSites uses.


If anyone wants to sanity check that for me, I'd appreciate it.

I've added an isSpecial method in r84367


Added a hook locally, so will see if I can get SiteMatrix to play nicely
locally... And do a bit more testing. In theory, just stealing the DBlists from
noc should help there

eval.php:
> $matrix = new SiteMatrix();

> echo $matrix->isClosed( '', $wgDBname ) ? 'true' : 'false';
false
> echo $matrix->getUrl( '', $wgDBname );
http://www.mediawiki.org


Seems to verify what I'm suggesting

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to