This will allow clients to assume that the global configuration state
($wgEnableMagicLinks) is the same as the state in ParserOptions, fixing
some consistency issues in wfEscapeWikiText() and Scribunto. The
abstraction for the ParserOptions getters is still useful because it
keeps the global state out of the Parser.
Change-Id: Ic2c447443963eb336c786cacf9dfd041a2df3b77
return wfSetVar( $this->mIsPrintable, $x );
}
- /**
- * @since 1.28
- */
- public function setMagicISBNLinks( $x ) {
- return wfSetVar( $this->mMagicISBNLinks, $x );
- }
-
- /**
- * @since 1.28
- */
- public function setMagicPMIDLinks( $x ) {
- return wfSetVar( $this->mMagicPMIDLinks, $x );
- }
-
- /**
- * @since 1.28
- */
- public function setMagicRFCLinks( $x ) {
- return wfSetVar( $this->mMagicRFCLinks, $x );
- }
-
/**
* Set the redirect target.
*