Jump to content

Topic on Extension talk:Favorites/Flow

Kodaren (talkcontribs)

There seems to be a bug in the 1.1.3 favorites extension.

-- If I add a favorite to my favorites list and then view my favorites, I can successfully see my favorite I just added.

-- If I then select Edit raw favorites, I can see the raw text of my favorite I just added. Copy that text, then delete it and select Update favorites button, then view your favorites from my favorites link. You should now have no favorites (if this was initially your only one you added like I did in my case).

-- From there, select Edit raw favorites, past in the raw text of your favorite and then select Update favorites button.

-- Select view and edit favorites to see your favorites and you end up with an error (Internal error) something like this:

[2302d489c484acd6ac97a5f7] 2021-11-01 17:46:08: Fatal exception of type "Error"

-- Go back to Edit raw favorites list and remove this raw text you just pasted and select Update favorites button and view favorites. Things now work again with no error.


This seems like a weird case to try, but this issue is because of Favorites upgrade from 1.1.2 to 1.1.3. Once I upgrade, I can't see any of my favorites because I get an error like the above. If I go into Edit raw favorites list, I can see my favorites, but I can't view outside of raw mode. If I delete all the raw text and Update my favorites, I don't get any error anymore when looking at my favorites, but of course, now all my favorites are gone. It seems the upgrade and\or the copy and pasting of raw favorites text causes issues and throws this Internal Error.


Any help would be appreciated!!!

Kodaren (talkcontribs)

Ok, seems that the patch work to the .php files are required even though the documentation said 1.36 mediawiki. We are using a newer version, but the updated to FavoritelistEditor.php and SpecialFavoritelist.php are still required and sort of fixes our favorites issue. There is still issues with edit raw and add/removing.

Uvas magicas (talkcontribs)

@Kodaren, the extension have problems with add / remove favorites because the hook TitleMoveComplete was removed in the version stable of mediawiki (1.37) the extension need migrate of the new hook PageMoveComplete

Reply to "Edit raw favorites"