mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-12 01:01:29 +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
|
||||
*/
|
||||
function ref( $str, $argv, $parser ) {
|
||||
wfLoadExtensionMessages( 'Cite' );
|
||||
if ( $this->mInCite ) {
|
||||
return htmlspecialchars( "<ref>$str</ref>" );
|
||||
} else {
|
||||
|
@ -489,7 +488,6 @@ class Cite {
|
|||
* @return string
|
||||
*/
|
||||
function references( $str, $argv, $parser ) {
|
||||
wfLoadExtensionMessages( 'Cite' );
|
||||
if ( $this->mInCite || $this->mInReferences ) {
|
||||
if ( is_null( $str ) ) {
|
||||
return htmlspecialchars( "<references/>" );
|
||||
|
|
Loading…
Reference in a new issue