[MediaWiki-commits] [Gerrit] mediawiki...ParserMigration[master]: API: Fix WikiPage namespace
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/387952 ) Change subject: API: Fix WikiPage namespace .. API: Fix WikiPage namespace Change-Id: Iae726e9d7d33f1e6328ed4659e6bab4c7086dbaf --- M includes/ApiParserMigration.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Tim Starling: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/ApiParserMigration.php b/includes/ApiParserMigration.php index ac19acc..df651f0 100644 --- a/includes/ApiParserMigration.php +++ b/includes/ApiParserMigration.php @@ -18,7 +18,7 @@ if ( $title->isRedirect() && ( !isset( $params['redirect'] ) || $params['redirect'] !== 'no' ) ) { - $title = WikiPage::factory( $title )->getRedirectTarget(); + $title = \WikiPage::factory( $title )->getRedirectTarget(); } $revision = \Revision::newFromTitle( $title ); if ( !$revision ) { -- To view, visit https://gerrit.wikimedia.org/r/387952 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iae726e9d7d33f1e6328ed4659e6bab4c7086dbaf Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ParserMigration Gerrit-Branch: master Gerrit-Owner: Legoktm Gerrit-Reviewer: Legoktm Gerrit-Reviewer: Subramanya Sastry Gerrit-Reviewer: Tim Starling Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...ParserMigration[master]: API: Fix WikiPage namespace
Legoktm has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/387952 ) Change subject: API: Fix WikiPage namespace .. API: Fix WikiPage namespace Change-Id: Iae726e9d7d33f1e6328ed4659e6bab4c7086dbaf --- M includes/ApiParserMigration.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ParserMigration refs/changes/52/387952/1 diff --git a/includes/ApiParserMigration.php b/includes/ApiParserMigration.php index ac19acc..df651f0 100644 --- a/includes/ApiParserMigration.php +++ b/includes/ApiParserMigration.php @@ -18,7 +18,7 @@ if ( $title->isRedirect() && ( !isset( $params['redirect'] ) || $params['redirect'] !== 'no' ) ) { - $title = WikiPage::factory( $title )->getRedirectTarget(); + $title = \WikiPage::factory( $title )->getRedirectTarget(); } $revision = \Revision::newFromTitle( $title ); if ( !$revision ) { -- To view, visit https://gerrit.wikimedia.org/r/387952 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iae726e9d7d33f1e6328ed4659e6bab4c7086dbaf Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ParserMigration Gerrit-Branch: master Gerrit-Owner: Legoktm ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits