File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# WSStats
22This MediaWiki extension counts pageviews by user
33
4+ * Version 1.0.2 : Catched request for title on a non-existing page
45* Version 1.0.1 : Code clean-up and i18n messages added
56* Version 1.0.0 : Added support for setting limit and export as WSArrays
67* Version 0.8.2 : Added support for filtering only unique visitors
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public static function db_real_escape( string $txt ) : string {
7373 */
7474 public static function getPageTitleFromID ( $ id ) {
7575 $ title = Title::newFromID ( $ id );
76-
76+ if ( is_null ( $ title ) ) return '' ;
7777 return $ title ->getFullText ();
7878 }
7979
Original file line number Diff line number Diff line change 11{
22 "name" : " WSStats" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.2 " ,
44 "author" : [
55 " Sen-Sai"
66 ],
You can’t perform that action at this time.
0 commit comments