Switch to MinervaNeue skin and enter "Special:" in the Search box. The suggestion list is displayed and the selection can be made.
However, the following Console error will be displayed:
Uncaught TypeError: Cannot convert undefined or null to object at hasOwnProperty (<anonymous>) at addBinding (<anonymous>:239:1) at Watchstar.oo.EventEmitter.on (<anonymous>:239:212) at HTMLLIElement.<anonymous> (<anonymous>:576:167) at Function.each (https://en.wikipedia.beta.wmflabs.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=minerva&version=14kbqyi:4:939) at jQuery.fn.init.each (https://en.wikipedia.beta.wmflabs.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=minerva&version=14kbqyi:2:505) at <anonymous>:575:2391 at fire (https://en.wikipedia.beta.wmflabs.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=minerva&version=14kbqyi:46:617) at Object.fireWith [as resolveWith] (https://en.wikipedia.beta.wmflabs.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=minerva&version=14kbqyi:47:824) at Object.deferred.(anonymous function) [as resolve] (https://en.wikipedia.beta.wmflabs.org/w/load.php?debug=false&lang=en&modules=jquery%2Cmediawiki%7Cmediawiki.legacy.wikibits&only=scripts&skin=minerva&version=14kbqyi:51:337)
Developer notes
The error shows when searching for "Special:Nearby".
We only allow the watching of pages which have an id and all special pages by design have no pageid.
So before firing off the watchlist query we should filter out any results which do not have an id.
Acceptance criteria
- Watchstar does not show up next to special pages
- If all search results are special pages no request to the watch API is made
- Pages without ids are not sent to the watch api.
@pmiazga: Not possible to verify without hacking as the watchstar is not present for Special:Articles. Because there is no element to trigger the watchAPI request there is no possibility to send page without id. I call it done
Testing criteria
- Can be tested on beta cluster on the mobile website