Ammarpad added a comment.

  OK.... I have looked into this further... I have partly struck my comment in 
T239195#5699077 <https://phabricator.wikimedia.org/T239195#5699077> as a result.
  
  Summary.
  
  1. Mobile section collapsing is disabled by default on Wikidata.
  
  name=wmf-config/InitialiseSettings.php
    'wgMFCollapseSectionsByDefault' => [
        'default' => true,
        'wiktionary' => false,
        'wikidata' => false,
    ],
  
  Why it's disabled is beyond the scope of this task.
  
  2. Setting "wgMFCollapseSectionsByDefault' => false;" means that, per default 
sections are to not be collapsed sitewide. BUT a user can still override this 
setting by going to the Special:MobileOptions and turning on the 'Expand all 
sections.'
  
  3. I investigated this by going to 
https://m.wikidata.org/w/index.php?title=Special:MobileOptions (note: this 
special page only works on mobile) and **turning off** "Expand all sections". 
It works correctly as expected: Sections are not expanded, EXCEPT on some few 
pages. These pages where this collapsing is not taking place have something in 
common,  they have a particular template at the top from what I understand. 
(This is what needs further investigation)
  
  4. Going to the same special page as above (no. 3) and **turning on** "Expand 
all sections" works correctly as expected: Sections are all expanded.

TASK DETAIL
  https://phabricator.wikimedia.org/T239195

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ammarpad
Cc: MaxSem, Ammarpad, thiemowmde, Lydia_Pintscher, Jdlrobson, Addshore, 
Aklapper, Masumrezarock100, 1997kB, darthmon_wmde, Dibya, 94rain, DannyS712, 
Nandana, Guilhermebm, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, 
Zoranzoki21, LawExplorer, DatGuy, Devwaker, Niklitov, _jensen, Urbanecm, 
rosalieper, JEumerus, Scott_WUaS, Ananthsubray, Tulsi_Bhagat, Wong128hk, 
Luke081515, SimmeD, Wikidata-bugs, Snowolf, aude, Dcljr, Jdforrester-WMF, 
Matanya, Mbch331, Rxy, Jay8g, Krenair
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to