Jump to content

Topic on Extension talk:GuidedTour/Archive2

Why is gt.defineTour deprecated?

5
Aaron Liu (talkcontribs)

The relevant documentation claims that this function is deprecated. Why is that? It's a nice way to specify multiple step objects in an array at once without having to gt.step for each one

Jack Phoenix (talkcontribs)
Aaron Liu (talkcontribs)

Huh, thanks. If it gets undeprecated, support for the "back" action should also be added.

It appears Mattflaschen never edited beyond 2019-12-03 on any wiki, should I just open a phab task for now?

Jack Phoenix (talkcontribs)

WORKSFORME. :-)

It's not unusual for ex-staff to simply "vanish" from (WMF) wikis after their contract with the Foundation is up. That said, software is written by people and no person is perfect, so maybe what made sense 9 year ago perhaps isn't the best of ideas by today's standards. IMO that it hasn't been removed from the code in over 9 years and that there'd be a valid use case is already more than enough of a sufficient reason for removing that pointless @deprecated tag from it, but I don't maintain this codebase nor have the final say over such matters.

Aaron Liu (talkcontribs)
Reply to "Why is gt.defineTour deprecated?"