Tango.info wiki mediawiki upgrade: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
* [[mediawiki upgrade]] | * [[mediawiki upgrade]] | ||
== | ==Files to be changed== | ||
=== x/wiki/w/languages/messages/messagesen.php === | === x/wiki/w/languages/messages/messagesen.php === | ||
line 161 | line 161 | ||
Line 30: | Line 30: | ||
$this->insertUserRelatedLinks($s,$rc); | $this->insertUserRelatedLinks($s,$rc); | ||
</code> | </code> | ||
==Hooks that may break== | |||
* $wgHooks['ArticleDeleteComplete'][] = 'tif_mw_hook_ArticleDeleteComplete'; | |||
** https://www.mediawiki.org/wiki/Manual:Hooks/ArticleDeleteComplete | |||
** Changed in 1.18 | |||
* $wgHooks['ArticleSaveComplete'][] = 'tif_mw_hook_ArticleSaveComplete'; | |||
** https://www.mediawiki.org/wiki/Manual:Hooks/ArticleSaveComplete | |||
** Version 1.18+: moved to WikiPage.php | |||
** deprecated in version 1.21 | |||
* $wgHooks['TitleMoveComplete'][] = 'tif_mw_hook_TitleMoveComplete'; | |||
** https://www.mediawiki.org/wiki/Manual:Hooks/TitleMoveComplete | |||
* $wgHooks['BeforePageDisplay'][] = 'tif_mw_hook_BeforePageDisplay'; | |||
** https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay | |||
** Changed in 1.17 | |||
==Skins== | |||
The folder | |||
x/wiki/w/skins | |||
contains PHP code, which may change. But it also contains files changed by tango.info. | |||
==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. |
Latest revision as of 2013-07-18T20:06:30
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['ArticleSaveComplete'][] = 'tif_mw_hook_ArticleSaveComplete';
- https://www.mediawiki.org/wiki/Manual:Hooks/ArticleSaveComplete
- Version 1.18+: moved to WikiPage.php
- deprecated in version 1.21
- $wgHooks['TitleMoveComplete'][] = 'tif_mw_hook_TitleMoveComplete';
- $wgHooks['BeforePageDisplay'][] = 'tif_mw_hook_BeforePageDisplay';
- https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay
- Changed in 1.17
Skins
The folder
x/wiki/w/skins
contains PHP code, which may change. But it also contains files changed by tango.info.
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.