72 $this->uniqueId =
$url;
85 $string = str_replace(
"\r\n",
"\n", $string );
86 $string = preg_replace(
'/[\x00-\x08\x0b\x0c\x0e-\x1f]/',
'', $string );
87 return htmlspecialchars( $string );
106 if ( $this->uniqueId ) {
154 return $this->
xmlEncode( $this->description );
174 return LanguageCode::bcp47( $languageCode );
192 return $this->
xmlEncode( $this->author );
210 return $this->
xmlEncode( $this->comments );
229 return preg_replace(
'/\[\[([^]]*\|)?([^]]+)\]\]/',
'\2', $text );
235class_alias( FeedItem::class,
'FeedItem' );
wfExpandUrl( $url, $defaultProto=PROTO_CURRENT)
Expand a potentially local URL to a fully-qualified URL.
Methods for dealing with language codes.
A class containing constants representing the names of configuration variables.
const LanguageCode
Name constant for the LanguageCode setting, for use with Config::get()