Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated
mediawiki.api.parse
alias (#71)
- Loading branch information
e6a6bfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mwjames Such a tiny change creating such an utter mess. On sm-w.o the hover cards for citations do not longer work due to "api.parse" is not a function in JavaScript. I am pretty sure that this caused the issue. :(
e6a6bfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kghbln Replace
mediawiki.api.parse
withmediawiki.api
, so I'm guessingmediawiki.api
needs to be in this list.e6a6bfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mwjames Unfortunately this does not help. The error stays the same.
e6a6bfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just made this screenshot, do we talk about the same thing?
e6a6bfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but I am having issues on s-mw.o. It just endlessly loads and issues this error. Have not looked at sandbox at all.
e6a6bfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now I get you, well according to the WMF developer this shouldn't happen as far as I understand from the comments in regards to the
api.parse
alias.e6a6bfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
omg
e6a6bfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm I right to guess that adding back
mediawiki.api.parse
resolves the issue? If so, then this is a problem of MediaWiki of somehow not recognizing the alias, under the assumption thatmediawiki.api
has an alias formediawiki.api.parse
to be available on MW 1.31.e6a6bfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this indeed resolves the issue. This affects all software so we will have to add it again in SMW etc.
e6a6bfd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I asked about this here