http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89796
Revision: 89796
Author: ialex
Date: 2011-06-09 21:17:41 +0000 (Thu, 09 Jun 2011)
Log Message:
-----------
Marked Article::doRedirect() as deprecated, was used by
Article::insertNewArticle() and Article::updateArticle() that were removed. No
usage left in core or extensions.
Modified Paths:
--------------
trunk/phase3/includes/Article.php
Modified: trunk/phase3/includes/Article.php
===================================================================
--- trunk/phase3/includes/Article.php 2011-06-09 20:58:25 UTC (rev 89795)
+++ trunk/phase3/includes/Article.php 2011-06-09 21:17:41 UTC (rev 89796)
@@ -2303,11 +2303,13 @@
* Output a redirect back to the article.
* This is typically used after an edit.
*
+ * @deprecated in 1.19; call $wgOut->redirect() directly
* @param $noRedir Boolean: add redirect=no
* @param $sectionAnchor String: section to redirect to, including "#"
* @param $extraQuery String: extra query params
*/
public function doRedirect( $noRedir = false, $sectionAnchor = '',
$extraQuery = '' ) {
+ wfDeprecated( __METHOD__ );
global $wgOut;
if ( $noRedir ) {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs