mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-12-04 03:58:18 +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