r91352 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91351‎ | r91352 | r91353 >
Date:13:20, 2 July 2011
Author:ialex
Status:ok
Tags:
Comment:
PageHistory -> HistoryPage. Last usages of PageHistory in extensions.
Modified paths:
  • /trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_Overlay.php (modified) (history)
  • /trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_PageHistoryAjax.php (modified) (history)
  • /trunk/extensions/Wikidata/includes/WikidataPageHistory.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/includes/WikidataPageHistory.php
@@ -1,6 +1,6 @@
22 <?php
33
4 -class WikidataPageHistory extends PageHistory {
 4+class WikidataPageHistory extends HistoryPage {
55
66 public function history() {
77 wfProfileIn( __METHOD__ );
Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_Overlay.php
@@ -983,7 +983,7 @@
984984 global $mvgIP, $wgOut;
985985 $title = Title::newFromText( $titleKey, MV_NS_MVD );
986986 $article = new Article( $title );
987 - $pageHistoryAjax = new PageHistory( $article );
 987+ $pageHistoryAjax = new HistoryPage( $article );
988988 // @@todo fix problems... ajax action url context !=history url context
989989 // so forming urls for links get errors
990990 $pageHistoryAjax->history();
Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_PageHistoryAjax.php
@@ -10,5 +10,5 @@
1111 * @url http://metavid.org
1212 */
1313 if ( !defined( 'MEDIAWIKI' ) ) die( 1 );
14 -class MV_PageHistoryAjax extends PageHistory {
 14+class MV_PageHistoryAjax extends HistoryPage {
1515 }

Status & tagging log