Tango.info wiki mediawiki upgrade: Difference between revisions
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
* $wgHooks['BeforePageDisplay'][] = 'tif_mw_hook_BeforePageDisplay'; | * $wgHooks['BeforePageDisplay'][] = 'tif_mw_hook_BeforePageDisplay'; | ||
** https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay | ** https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay | ||
** Changed in 1.17 | |||
==Version specific== | ==Version specific== |
Revision as of 2013-07-17T05:40:34
See also:
Files to be changed
x/wiki/w/languages/messages/messagesen.php
line 161 //$defaultDateFormat = 'dmy or mdy'; $defaultDateFormat = 'ISO 8601';//line by tobias
Signature
"test signature MessagesEn.php changed now Tobiasco 2008-05-17T20:51:48 (UTC)"
- Tobiasco 2009-03-15T07:27:00 (UTC)
x/wiki/w/includes/ChangesList.php
ca 188
//$s .= $this->message['semicolon-separator'] . ' ' . $wgLang->time( $rc->mAttribs['rc_timestamp'], true, true ) . ' . . '; //tango.info
$s .= $wgLang->time( $rc->mAttribs['rc_timestamp'], true, true ) . ' ';
//$s .= $this->skin->userLink( $rc->mAttribs['rc_user'], $rc->mAttribs['rc_user_text'] );
//$s .= $this->skin->userToolLinks( $rc->mAttribs['rc_user'], $rc->mAttribs['rc_user_text'] );
//tango.info
$s .= "". $this->skin->userLink( $rc->mAttribs['rc_user'], $rc->mAttribs['rc_user_text'] ) . ": ";
258
$this->insertTimestamp($s,$rc);
$this->insertUserRelatedLinks($s,$rc);
Hooks that may break
- $wgHooks['ArticleDeleteComplete'][] = 'tif_mw_hook_ArticleDeleteComplete';
- $wgHooks['TitleMoveComplete'][] = 'tif_mw_hook_TitleMoveComplete';
- $wgHooks['ArticleSaveComplete'][] = 'tif_mw_hook_ArticleSaveComplete';
- https://www.mediawiki.org/wiki/Manual:Hooks/ArticleSaveComplete
- Version 1.18+: moved to WikiPage.php
- $wgHooks['BeforePageDisplay'][] = 'tif_mw_hook_BeforePageDisplay';
- https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay
- Changed in 1.17
Version specific
1.18
https://www.mediawiki.org/wiki/Release_notes/1.18
- BREAKING CHANGE: Article class heirarchy split into WikiPage (backend). and Article (frontend) hierarchies. Several hooks now pass a WikiPage object instead of an Article object. These hooks all use an $article paramater as documented in hooks.txt. Extensions should be updated to account for this, though most won't require any changes.