On Tue, Aug 4, 2009 at 22:54, Merlijn van Deenvalhallasw@gmail.com wrote:
On Tue, Aug 4, 2009 at 8:42 PM, Kalankalan.001@gmail.com wrote:
On Tue, Aug 4, 2009 at 21:44, Merlijn van Deenvalhallasw@gmail.com wrote:
An empty page title is a non-normalized name for 'Main Page' in mediawiki (except for 'delete' actions).
[citation needed]. Is it used anywhere else but URL conversions?
includes/Wiki.php:113 113 : } elseif( '' == $title && 'delete' != $action ) { 114 : $ret = Title::newMainPage();
Yes, this is about requests handling, not title handling.
- Brr. 'Main Page' language tables.
It is the most obvious solution that doesn’t require unclear implications to be made. Query MediaWiki:Mainpage, then query the page title you get from there.
I hadn't noticed before, but action=query&meta=siteinfo looks about right. Does require two lookups, though.
At least it’s obvious _what_ two lookups you have to make :)
— Kalan