- This task is about MediaWiki's MinervaNeue skin.
- For more info about talk pages in MediaWiki: https://www.mediawiki.org/wiki/Help:Talk_pages
- For more info about redirects in MediaWiki: https://www.mediawiki.org/wiki/Help:Redirects
When I visit https://en.m.wikipedia.org/wiki/Module:ITN_candidate/image#/talk/2 and try to add a message I get the following error:
{"servedby":"mw1227","error":{"code":"nosuchsection","info":"There is no section 2.","*":"See https://en.wikipedia.org/w/api.php for API usage"}}
Using:
action:edit format:json title:Module talk:In the news/image section:2 appendtext:
Developer notes
- The talk overlay is not getting the canonical name of the talk page. It assumes it will be prefixed with Module talk which is not the case.
- Instead of doing this we should probably ship the talk page name as a config variable using Title::getTalkPage (I'm surprised there wasn't one) or make use of new mw.Title(mw.config.values.wgTitle, mw.config.values.wgNamespaceNumber)
Testing criteria
- Visit https://en.m.wikipedia.beta.wmflabs.org/w/index.php?title=Redirected_talk_page&welcome=yes#/talk/1
- Type a reply and hit save. This should not trigger an error.
- Verify the reply is added to the talk page