Index: trunk/extensions/Wikilog/Wikilog.php |
— | — | @@ -331,7 +331,7 @@ |
332 | 332 | * Adds a wikilog tab to articles in Wikilog namespaces. |
333 | 333 | * Suppresses the "add section" tab in comments pages. |
334 | 334 | */ |
335 | | - static function SkinTemplateTabs( &$skin, &$contentActions ) { |
| 335 | + static function SkinTemplateTabs( $skin, &$contentActions ) { |
336 | 336 | global $wgRequest, $wgWikilogEnableComments; |
337 | 337 | |
338 | 338 | $wi = self::getWikilogInfo( $skin->mTitle ); |
Index: trunk/extensions/Wikilog/WikilogHooks.php |
— | — | @@ -322,7 +322,7 @@ |
323 | 323 | * Import wikilog article options form data in edit pages. |
324 | 324 | * @note Requires MediaWiki 1.16+. |
325 | 325 | */ |
326 | | - static function EditPageImportFormData( &$editpage, &$request ) { |
| 326 | + static function EditPageImportFormData( $editpage, $request ) { |
327 | 327 | if ( $request->wasPosted() ) { |
328 | 328 | $editpage->wlSignpub = $request->getCheck( 'wlSignpub' ); |
329 | 329 | } |
Index: trunk/extensions/Wikilog/WikilogParser.php |
— | — | @@ -221,7 +221,9 @@ |
222 | 222 | |
223 | 223 | # First argument is the publish date |
224 | 224 | if ( !is_null( $pubdate ) ) { |
| 225 | + wfSuppressWarnings(); // Shut up E_STRICT warnings about timezone. |
225 | 226 | $ts = strtotime( $pubdate ); |
| 227 | + wfRestoreWarnings(); |
226 | 228 | if ( $ts > 0 ) { |
227 | 229 | $parser->mExtWikilog->mPubDate = wfTimestamp( TS_MW, $ts ); |
228 | 230 | } |