mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-13 17:53:09 +00:00
More deprecated method call removals and updates
This commit is contained in:
parent
cf0a7358cd
commit
2ee798e17f
|
@ -152,7 +152,6 @@ class Cite {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function ref( $str, $argv, $parser ) {
|
function ref( $str, $argv, $parser ) {
|
||||||
wfLoadExtensionMessages( 'Cite' );
|
|
||||||
if ( $this->mInCite ) {
|
if ( $this->mInCite ) {
|
||||||
return htmlspecialchars( "<ref>$str</ref>" );
|
return htmlspecialchars( "<ref>$str</ref>" );
|
||||||
} else {
|
} else {
|
||||||
|
@ -489,7 +488,6 @@ class Cite {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function references( $str, $argv, $parser ) {
|
function references( $str, $argv, $parser ) {
|
||||||
wfLoadExtensionMessages( 'Cite' );
|
|
||||||
if ( $this->mInCite || $this->mInReferences ) {
|
if ( $this->mInCite || $this->mInReferences ) {
|
||||||
if ( is_null( $str ) ) {
|
if ( is_null( $str ) ) {
|
||||||
return htmlspecialchars( "<references/>" );
|
return htmlspecialchars( "<references/>" );
|
||||||
|
|
Loading…
Reference in a new issue