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?


-- 
Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to