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.6 : Fixed path to sql tables
45* Version 1.0.5 : Rewrote database queries to use MW database abstraction layer.
56* Version 1.0.4 : Security fix! Unhandled user input. Update to 1.0.4 as soon as possible.
67* Version 1.0.3 : Top X list changed as it no longer shows deleted pages
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ public static function addTables( $updater ) {
145145 if ( $ dbt === 'sqlite ' ) {
146146 $ dbt = 'sql ' ;
147147 }
148- $ tables = __DIR__ . "/sql/WSStats. $ dbt " ;
148+ $ tables = __DIR__ . "/../ sql/WSStats. $ dbt " ;
149149
150150 if ( file_exists ( $ tables ) ) {
151151 $ updater ->addExtensionUpdate ( array (
@@ -155,7 +155,7 @@ public static function addTables( $updater ) {
155155 true
156156 ) );
157157 } else {
158- throw new MWException ( "WSStats does not support $ dbt. " );
158+ throw new \ MWException ( "WSStats does not support $ dbt. " );
159159 }
160160
161161 return true ;
You can’t perform that action at this time.
0 commit comments