Topic on Extension talk:MobileFrontend

How to disable discussions page?

6
Summary last edited by Farvardyn 06:48, 9 May 2020 3 years ago

Thanks!

2601:482:4401:6165:1DB4:FD8C:ABED:5889 (talkcontribs)

I currently have the discussion tab hidden by default for all on my website. However, on mobilefrontend, there is a discussions tab/link at the end of articles. How can I hide or disable it on mobilefrontend?

Jdlrobson (talkcontribs)

Add this to LocalSettings: $wgMFPageActions = array( 'edit', 'watch' ); to override the default $wgMFPageActions = array( 'edit', 'talk', 'upload', 'watch' );

Verdy p (talkcontribs)

I think it is a bad idea to disable discussions completely (unless there's a hopefully temporary technical reason for editing talk pages or adding talk threads on mobile, a bug that should be resolved). Discussing is a very important feature on any collaborative wiki and more and more people only use mobiles to view/edit wikis.

Now, disabling the discussions should NEVER depend on whever we are using the mobile version or the desktop version of the wiki. The functionality should be there, even if discussion pages have a different layout and editing mode on the mobile version, we should still be able to view them!

However the icon that is displayed on top of pages for going to discussions should probably be hidden and instead the option to talk could fit in the left-side pane with an explicit title "Talk about this page". There are also other polluting icons (those icons are using precious space at top of the article, moving down the content on a small smartphone screen), such as:

  • the "star" icon to follow that page. This should also go to the left-pane as a "Follow this page".
  • the "pencil" icon to edit that page. This should also go to the left-pane as a "Edit this page".
  • the "bubble" icon to discuss that page. This should also go to the left-pane as a "Talk about this page".
  • the history of the current page should also be located in that pane, just like the content of the left "Tools" side-bar displayed on the desktop version (linked pages, watch link pages, import file, special pages, adress of this version, page information, cite this page...), or the left side-bar just above it (Home, Help, Donate, Recent modifications...)
  • The user "Preferences" on that wiki should also be extended (we should not need to visit the desktop version for important settings such as the prefered language, mail options, ...) All they currently allow is to setup only one display option (images) specific to the Mobile version.
Jdlrobson (talkcontribs)

People use wikis for personal use.

Although we'd never disable them for Wikimedia projects this is a legitimate use case for a 3rd party project.

Farvardyn (talkcontribs)
Jdlrobson (talkcontribs)