Umherirrender has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/186590

Change subject: MW_DATE_DEFAULT -> 'default'
......................................................................

MW_DATE_DEFAULT -> 'default'

Replaced global const by the value, because it is the only use found in
all extensions.

Change-Id: I2b3efe143b7daad300c0b2eb4a6292f7db5e70b4
---
M SpecialCiteThisPage.php
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/SpecialCiteThisPage.php b/SpecialCiteThisPage.php
index 9ff7b5b..6273815 100644
--- a/SpecialCiteThisPage.php
+++ b/SpecialCiteThisPage.php
@@ -135,7 +135,7 @@
        function genParserOptions() {
                global $wgUser;
                $this->mParserOptions = ParserOptions::newFromUser( $wgUser );
-               $this->mParserOptions->setDateFormat( MW_DATE_DEFAULT );
+               $this->mParserOptions->setDateFormat( 'default' );
                $this->mParserOptions->setEditSection( false );
        }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b3efe143b7daad300c0b2eb4a6292f7db5e70b4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CiteThisPage
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to