jenkins-bot has submitted this change and it was merged.

Change subject: Remove direct ParserOptions field access
......................................................................


Remove direct ParserOptions field access

We may be getting rid of the fields.

Bug: T110269
Change-Id: Ie644854df8a3faec2dfc8d655fae828b9393ced9
---
M includes/utility/PageContentProvider.class.php
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  Robert Vogel: Looks good to me, approved
  Thiemo Mättig (WMDE): Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/includes/utility/PageContentProvider.class.php 
b/includes/utility/PageContentProvider.class.php
index eca3a07..5bd4c53 100644
--- a/includes/utility/PageContentProvider.class.php
+++ b/includes/utility/PageContentProvider.class.php
@@ -72,7 +72,6 @@
                //Default ParserOptions
                $this->oParserOptions = ParserOptions::newFromUser( $wgUser );
                $this->oParserOptions->setEditSection( false ); //Does not 
work...
-               $this->oParserOptions->mEditSection = false;    //Does not work 
either...
                $this->oParserOptions->setTidy( true );
                $this->oParserOptions->setRemoveComments( true );
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie644854df8a3faec2dfc8d655fae828b9393ced9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceFoundation
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pwirth <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: Tweichart <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to