Beispiel #1
0
function wrSetWatchlistSummary(&$user, &$article, $newText = null)
{
    global $wrWatchlistSummary;
    if (is_null($newText)) {
        $newText = $article->getContent();
    }
    $wrWatchlistSummary = StructuredData::getWatchlistSummary($article->getTitle(), $newText);
    return true;
}