Patch by Alexandre Emsenhuber
=== Online documentation ===
Documentation for both end-users and site administrators is currently being
=== Online documentation ===
Documentation for both end-users and site administrators is currently being
-built up on Meta-Wikipedia, and is covered under the GNU Free Documentation
+built up on MediaWiki.org, and is covered under the GNU Free Documentation
- http://meta.wikipedia.org/wiki/Help:Contents
+ http://www.mediawiki.org/
A MediaWiki-l mailing list has been set up distinct from the Wikipedia
wikitech-l list:
A MediaWiki-l mailing list has been set up distinct from the Wikipedia
wikitech-l list:
- http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
+ http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
A low-traffic announcements-only list is also available:
A low-traffic announcements-only list is also available:
- http://mail.wikipedia.org/mailman/listinfo/mediawiki-announce
+ http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
It's highly recommended that you sign up for one of these lists if you're
going to run a public MediaWiki, so you can be notified of security fixes.
It's highly recommended that you sign up for one of these lists if you're
going to run a public MediaWiki, so you can be notified of security fixes.
Documentation and discussion on new features may be found at:
Documentation and discussion on new features may be found at:
- http://www.mediawiki.org/wiki/Help:FAQ
+ http://www.mediawiki.org/wiki/Manual:FAQ
http://www.mediawiki.org/wiki/Documentation
http://www.mediawiki.org/wiki/Development
http://www.mediawiki.org/wiki/Documentation
http://www.mediawiki.org/wiki/Development
http://lists.wikimedia.org/mailman/listinfo/wikitech-l
There is also a development and support channel #mediawiki on
http://lists.wikimedia.org/mailman/listinfo/wikitech-l
There is also a development and support channel #mediawiki on
-irc.freenode.net, and an unoffical support forum at www.mwusers.com.
\ No newline at end of file
+irc.freenode.net, and an unoffical support forum at www.mwusers.com.
== Overview ==
Comprehensive documentation on upgrading to the latest version of the software
== Overview ==
Comprehensive documentation on upgrading to the latest version of the software
-is available at http://www.mediawiki.org/wiki/Manual:Upgrading_MediaWiki.
+is available at http://www.mediawiki.org/wiki/Manual:Upgrading.
=== Consult the release notes ===
=== Consult the release notes ===
$article: article (object) being viewed
$oldid: oldid (int) being viewed
$article: article (object) being viewed
$oldid: oldid (int) being viewed
-'EditPage::attemptSave': called before an article is
-saved, that is before insertNewArticle() is called
-&$editpage_Obj: the current EditPage object
+'EditFilter': Perform checks on an edit
+$editor: Edit form (see includes/EditPage.php)
+$text: Contents of the edit box
+$section: Section being edited
+&$error: Error message to return
-'EditPage::showEditForm:initial': before showing the edit form
+'EditFilterMerged': Post-section-merge edit filter
$editor: EditPage instance (object)
$editor: EditPage instance (object)
+$text: content of the edit box
+$error: error message to return
'EditFormPreloadText': Allows population of the edit form when creating new pages
&$text: Text to preload with
&$title: Title object representing the page being created
'EditFormPreloadText': Allows population of the edit form when creating new pages
&$text: Text to preload with
&$title: Title object representing the page being created
+'EditPage::attemptSave': called before an article is
+saved, that is before insertNewArticle() is called
+&$editpage_Obj: the current EditPage object
+
'EditPage::showEditForm:fields': allows injection of form field into edit form
&$editor: the EditPage instance for reference
&$out: an OutputPage instance to write to
return value is ignored (should always return true)
'EditPage::showEditForm:fields': allows injection of form field into edit form
&$editor: the EditPage instance for reference
&$out: an OutputPage instance to write to
return value is ignored (should always return true)
-'EditFilter': Perform checks on an edit
-$editor: Edit form (see includes/EditPage.php)
-$text: Contents of the edit box
-$section: Section being edited
-&$error: Error message to return
-
-'EditFilterMerged': Post-section-merge edit filter
+'EditPage::showEditForm:initial': before showing the edit form
$editor: EditPage instance (object)
$editor: EditPage instance (object)
-$text: content of the edit box
-$error: error message to return
Return false to halt editing; you'll need to handle error messages, etc. yourself.
Alternatively, modifying $error and returning true will cause the contents of $error
Return false to halt editing; you'll need to handle error messages, etc. yourself.
Alternatively, modifying $error and returning true will cause the contents of $error
'GetBlockedStatus': after loading blocking status of an user from the database
$user: user (object) being checked
'GetBlockedStatus': after loading blocking status of an user from the database
$user: user (object) being checked
+'GetFullURL': modify fully-qualified URLs used in redirects/export/offsite data
+$title: Title object of page
+$url: string value as output (out parameter, can modify)
+$query: query options passed to Title::getFullURL()
+
'GetInternalURL': modify fully-qualified URLs used for squid cache purging
$title: Title object of page
$url: string value as output (out parameter, can modify)
'GetInternalURL': modify fully-qualified URLs used for squid cache purging
$title: Title object of page
$url: string value as output (out parameter, can modify)
$url: string value as output (out parameter, can modify)
$query: query options passed to Title::getLocalURL()
$url: string value as output (out parameter, can modify)
$query: query options passed to Title::getLocalURL()
-'GetFullURL': modify fully-qualified URLs used in redirects/export/offsite data
-$title: Title object of page
-$url: string value as output (out parameter, can modify)
-$query: query options passed to Title::getFullURL()
-
'getUserPermissionsErrors': Add a permissions error when permissions errors are checked for.
Use instead of userCan for most cases. Return false if the user can't do it,
and populate $result with the reason in the form of array( messagename, param1, param2 )
'getUserPermissionsErrors': Add a permissions error when permissions errors are checked for.
Use instead of userCan for most cases. Return false if the user can't do it,
and populate $result with the reason in the form of array( messagename, param1, param2 )
&$result: Set this and return false to override the internal checks
$user: User the password is being validated for
&$result: Set this and return false to override the internal checks
$user: User the password is being validated for
+'LanguageGetMagic': Use this to define synonyms of magic words depending of the language
+$magicExtensions: associative array of magic words synonyms
+$lang: laguage code (string)
+
+'LanguageGetSpecialPageAliases': Use to define aliases of special pages names depending of the language
+$specialPageAliases: associative array of magic words synonyms
+$lang: laguage code (string)
+
'LinksUpdateConstructed': At the end of LinksUpdate() is contruction.
&$linksUpdate: the LinkUpdate object
'LinksUpdateConstructed': At the end of LinksUpdate() is contruction.
&$linksUpdate: the LinkUpdate object
$title: title of the message (string)
$message: value (string), change it to the message you want to define
$title: title of the message (string)
$message: value (string), change it to the message you want to define
+'MonoBookTemplateToolboxEnd': Called by Monobook skin after toolbox links have been rendered (useful for adding more)
+$tools: array of tools
+
'OutputPageBeforeHTML': a page has been processed by the parser and
the resulting HTML is about to be displayed.
$parserOutput: the parserOutput (object) that corresponds to the page
'OutputPageBeforeHTML': a page has been processed by the parser and
the resulting HTML is about to be displayed.
$parserOutput: the parserOutput (object) that corresponds to the page
-This directory is for .po files generated by ./maintenance/lang2po.php
+This directory is for .po files generated by ./maintenance/language/lang2po.php