TheDJ has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/356490 )

Change subject: Fix fatal error on graph api
......................................................................

Fix fatal error on graph api

Constant was renamed, but the usage of the constant in ApiGraph was
not.

Follow-up to: Id4314f3a2021a0d5c2f35fed5314882ec0f8e8b0

Bug: T166713
Change-Id: Idde94f1c9e1a3549dc44d00522e9f5cd860600b4
---
M includes/ApiGraph.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Graph 
refs/changes/90/356490/1

diff --git a/includes/ApiGraph.php b/includes/ApiGraph.php
index fa88d34..26027a2 100644
--- a/includes/ApiGraph.php
+++ b/includes/ApiGraph.php
@@ -76,7 +76,7 @@
         */
        private function preprocess( $text ) {
                global $wgParser;
-               $title = Title::makeTitle( NS_SPECIAL, Sandbox::PageName 
)->fixSpecialName();
+               $title = Title::makeTitle( NS_SPECIAL, Sandbox::PAGENAME 
)->fixSpecialName();
                $text = $wgParser->getFreshParser()->preprocess( $text, $title, 
new ParserOptions() );
                $st = FormatJson::parse( $text );
                if ( !$st->isOK() ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/356490
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idde94f1c9e1a3549dc44d00522e9f5cd860600b4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Graph
Gerrit-Branch: master
Gerrit-Owner: TheDJ <hartman.w...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to