Something seems to have gone weird with the API this morning, to the point where something like this would have intermittently failed on enwiki:
// The POST parameter 'cmtitle' has value 'Category:Articles to be expanded' $title = RequestContext::getMain()->getRequest()->getVal( 'cmtitle' ); $titleObj = Title::newFromText( $title ); assert( $titleObj->getNamespace() === NS_CATEGORY );
I don't see anything around that timeframe that would have made that happen. Does anyone have any ideas?