Topic: edits are currently included in the "Other" tab of the Watchlist in Mobile interface (together with project, help, template namespaces)
They should better appear in "Talk" tab (together with other talk namespaces)
The watchlist talk tab is a nice place to visit watched conversations. Unfortunately, it only lists pages in the main talk namespace and not in other talk namespaces such as user talk or help talk. The logic should be updated to check if a page is in any talk namespace.
- The talk tab shows pages from all talk namespaces
- The other tab doesn't show pages from any talk namespace. For example, in the current implementation, help talk pages are shown:
SpecialMobileWatchlist::getNSConditions is where the magic happens
Defined like so:
case 'articles': // @fixme content namespaces // Has to be unquoted or MySQL will filesort for wl_namespace $conds = "$column = 0"; break; case 'talk': // check project talk, user talk and talk pages $conds = "$column IN (1, 3, 5)"; break; case 'other': // @fixme $conds = "$column NOT IN (0, 1, 3, 5)"; break; }
We'll either need to change those numbers in other or talk to match all talk page namespaces or say column is odd number and column is not 0 for talk (the opposite for other).
The MWNamespace::getTalkNamespaces() function is probably what we are looking for here. 'articles' can remain hard coded.