Page MenuHomePhabricator

Investigate Missing field "fn" search console error in Wikisource
Open, Needs TriagePublic

Description

Multiple pages on bn.wikisource.org show up as having the following error on the search console, it would be great to eliminate this error

Missing field "fn"

on bn.wikisource.org

Event Timeline

This is not about all and every Wikisource but about Bengali Wikisource, thus removing tag

Multiple pages on bn.wikisource.org show up as having the following error on the search console

Please provide an example link, see also https://www.mediawiki.org/wiki/Help:Locating_broken_scripts

On an unrelated note, https://bn.wikisource.org/wiki/মিডিয়াউইকি:Common.js is broken and triggers Uncaught TypeError: data.query is undefined on line 55.

There is a non-zero chance that wikisources that have copied templates from bn.wikisource would want to apply this fix. (Thus putting this under All-and-every-Wikisource where this will have visibility of all Wikisources)

Multiple pages on bn.wikisource.org show up as having the following error on the search console

Please provide an example link, see also https://www.mediawiki.org/wiki/Help:Locating_broken_scripts

https://bn.wikisource.org/wiki/চিত্র:99999990340329_-_Udbhat-Shlok-Mala_Ed._2nd,_Dey,_Purnachandra,_402p,_Religion,_bengali_%281937%29.pdf appears to be one of the invalid pages.

I don't think this is a user-script issue imo, it appears that the HTML being generated contains invalid identifiers that Google is complaining about

On an unrelated note, https://bn.wikisource.org/wiki/মিডিয়াউইকি:Common.js is broken and triggers Uncaught TypeError: data.query is undefined on line 55.

@Bodhisattwa Maybe you can take a look at this ?

Ah, thanks. I cannot reproduce any fn related output in the error console in Firefox 116 with that link when logged in

On an unrelated note, https://bn.wikisource.org/wiki/মিডিয়াউইকি:Common.js is broken and triggers Uncaught TypeError: data.query is undefined on line 55.

@Bodhisattwa Maybe you can take a look at this ?

fixed by @Mahir256