* @param $format null|string the format to use for deserialization. If not
* given, the model's default format is used.
*
+ * @throws MWException
* @return Content a Content object representing $text
*
* @throw MWException if $model or $format is not supported or if $text can
* @return string An appropriate auto-summary, or an empty string.
*/
public function getAutosummary( Content $oldContent = null, Content $newContent = null, $flags ) {
- global $wgContLang;
-
// Decide what kind of auto-summary is needed.
// Redirect auto-summaries