Extension talk:MobileFrontend/2019
Add topicThis page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
If you have a feature request just request it here you'll get a much quicker reply :-) We are also around in #wikimedia-mobile if you want a quicker answer!
If you are trying to replicate behaviour you see on Wikimedia sites, please be sure to read through the configuration options before asking a question here.
Small-tag in mobile view
[edit]The <small>-tag doesn't seem to have any effect in mobile view. Is that an expected behaviour or a temporary malfunction? JohanahoJ (talk) 11:44, 13 January 2019 (UTC)
- Ok, it's apparently in combination with the default Minerva skin this happens. With the Vector skin small-tags do have effect also in mobile view. JohanahoJ (talk) 08:01, 22 January 2019 (UTC)
Javascript errors with Mediawiki 1.32.0
[edit]I just updated to MW 1.32.0 and also downloaded current master branch of the MobileFrontend extension. The extension throws a Javascript error:
ConfigException from line 53 of /var/software/mediawiki/includes/config/GlobalVarConfig.php: GlobalVarConfig::get: undefined option: 'EnableBlockNoticeStats'
This also seems to make Javascript based features of other extensions stop working.
Is there a fix or workaround? 82.135.96.88 (talk) 22:36, 26 January 2019 (UTC)
- I have the same problem here. Any news? احمد نورالله (talk) 09:32, 2 February 2019 (UTC)
- I just managed to solve it. I downloaded Special:ExtensionDistributor/MobileFrontend and Special:SkinDistributor/MinervaNeue for Mediawiki 1.32.0 and extracted them to the correct destinations. Now everything is working.
- I either did something wrong when I updated to Mediawiki 1.32.0 or the extension and/or the skin have been updated afterwards. 82.135.96.88 (talk) 10:17, 5 February 2019 (UTC)
- Yep, I have done the same and everything now is working. It seems that we installed wrong versions. Thanks for posting the solution. احمد نورالله (talk) 15:00, 5 February 2019 (UTC)
page disappears when click in 'Search' box
[edit]In Mobile View (either on my phone or on my laptop), when I click in the search box, the entire screen goes completely white...absolutely nothing shows on the screen. I can still type something, even though I cannot see what I am typing, but after I hit enter the search feature works correctly. I tested this here, at mediawiki.org, and it does ALMOST the same thing....the page goes blank except for the search box. It is definitely better on mediawiki.org than on the site I am working on, but I would still consider it a bug in the code. Ahancie (talk) 23:48, 20 February 2019 (UTC)
- Have you tested using other mobile devices, or at least with a different browser on the same device? What happens if you try the mobile view with a desktop system? 「ディノ奴千?!」☎ Dinoguy1000 03:01, 21 February 2019 (UTC)
- Reported https://phabricator.wikimedia.org/T216743 Greg Rundlett (talk) 17:13, 21 February 2019 (UTC)
On Special:Nearby How to display articles from another namespace than the main one ?
[edit]I would like to display articles from a custom namespace on the page Special:Nearby
Thx Nicolas NALLET Wiki-Valley.com (talk) 11:54, 28 February 2019 (UTC)
undefined option: 'ResourceLoaderLESSVars'
[edit]The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Upgrade, using Softaculous, from 1.31.0 to 1.32.0.
The Site died with following error. "undefined option: 'ResourceLoaderLESSVars'"
Added "$wgResourceLoaderLESSVars = false;" to the end of LocalSettings.php and error disappeared.
@Sakshale Sakshale (talk) 02:26, 3 March 2019 (UTC)
- You should upgrade extensions when you upgrade core. It sounds like you're running MobileFrontend older than your MW Core version Reedy (talk) 21:39, 7 June 2019 (UTC)
Google is mad at one of my pages
[edit]Somehow Google crawled one page and then toggled to the Desktop View version and now is saying my site is not completely mobile-friendly. What do? Renamed user cYe83dBqLD (talk) 01:26, 6 March 2019 (UTC)
New scripts to make it easier to edit Wikipedia using mobile interface
[edit]I've developed some extension to make editing Wikipedia easier using the mobile interface.
My script is available on the English version here https://en.m.wikipedia.org/wiki/User:PAC2/chouette.
The original script is designed for the French version : https://fr.m.wikipedia.org/wiki/Utilisateur:PAC2/chouette.js
Basically it adds links to what links here, move, pageviews, Wikidata, reasonator, etc.
I've another script making it easier to revert contributions : Utilisateur:PAC2/chouette-revert.js
Do you think it would be relevant to add those functionalities natively in the mobile view ? PAC2 (talk) 15:45, 16 March 2019 (UTC)
Is there anyway to detect page in or not in Mobile mode?
[edit]Hi,
We are trying to add JavaScript A when user visiting Desktop page, and add JavaScript B when Mobile page. We can successfully add JS file with BeforePageDisplay hook now. But can't detect the status.
Is there any way to distinguish between Viewing status (some ways to get a if/else statement status ) from Desktop and Mobile?
Thank you!
Deletedaccount4567435 (talk) 14:04, 18 May 2019 (UTC)
- Perhaps check the
wgMFAmc
JS config variable, see source code. Peter Bowman (talk) 23:42, 23 April 2020 (UTC)
Radiobutton & CheckBox
[edit]In mobile version not displayed radiobuttons & checkboxes (they disappear as the page loads). It's with Extension:Quiz. Help me please! 46.211.45.135 (talk) 11:25, 16 June 2019 (UTC)
Hamburger menu not working
[edit]Using MinervaNeue with MW 1.32.2, when the mobile page loads and you tap on the hamburger menu you get nothing - no pop-up. Wolf530 (talk) 01:08, 17 June 2019 (UTC)
Why's this extension not part of core extensions?
[edit]I humbly think it should be... ~ 182.232.39.241 (talk) 23:04, 6 July 2019 (UTC)
Why "display: table" for hx, etc.?
[edit]On this wiki the headings go berserk in mobile view because of:
.content .mw-parser-output > h1, .content .mw-parser-output > h2, .content .mw-parser-output > h3, .content .mw-parser-output > h4, .content .mw-parser-output > h5, .content .section-heading, .content .in-block { display: table; }
I am not sure where this comes from? Should this be reported and is there a way to prevent this from happening? [[kgh]] (talk) 07:43, 9 July 2019 (UTC)
Why is this extension not in core?
[edit]From my experience, it is definitely expected in 2019 from anyone who develops a CMS that people use from smartphone, to be responsive.
As I understand MobileFrontend allows responsivness, I believe it should be included in core. 182.232.0.157 (talk) 23:41, 9 July 2019 (UTC)
- It's inclusion is being considered.
- See phab:T191734 – Ammarpad (talk) 15:28, 16 September 2019 (UTC)
High server load with MobileFrontend
[edit]After installing MobileFrontend, there was a significant increase in entry processes and considerably higher CPU usage. Has anyone else experienced this? Thanks. TVCL (talk) 07:14, 9 September 2019 (UTC)
How do I sign something on mobile?
[edit]Editing in the desktop environment I have a button, but what if I bring a tablet to an event? Do I really have to remember the wikitext? HHill (talk) 09:59, 29 September 2019 (UTC)
Global notice using mobile version
[edit]Hi, please help me to find out how can I use global site notice using Mobilefrontend extension? Fokebox (talk) 18:55, 1 October 2019 (UTC)
MobileFrontend missing
[edit]Hello, Everyone
I am running Media Wiki 1.3.2
PHP 7.2
mbstring enable
I tried MobileFrontend 31-32 and it is missing from my site. I tried to install it on two different MediaWiki install with no luck. I also check my Special: Version and cannot find it. When I add the MobileFront end code to my LocalSettings.php my site don't display and have a error. I also install GeoData. My website
Thanks for your time
wiki.mkroyal.com Animefan2019 (talk) 12:42, 19 October 2019 (UTC)
Can't open images
[edit]RESOLVED | |
The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Media viewer is not working on MinervaNeue when I click images in Media Wiki 1.3.3. It's showing this error in console in Firefox: TypeError: mobile.mediaViewer is undefined
And in Chrome: Uncaught TypeError: Cannot read property 'overlay' of undefined
Would appreciate any help in fixing this. Thanks.
Vishkujo (talk) 00:29, 21 November 2019 (UTC)
- I believe you already created a task on Phabricator. Ainz Ooal Gown (talk) 12:23, 23 November 2019 (UTC)
Issues in Google Search Console Mobile Usability
[edit]Hi All,
MediaWiki | 1.33.0 |
PHP | 7.2.24-0ubuntu0.18.04.1 (fpm-fcgi) |
MySQL | 5.7.28-0ubuntu0.18.04.4 |
MobileFrontEnd version 2.1.0 (91eb242) 18:52, 3 September 2019
I recently submitted my site to Google Search Console and I'm getting an error in their Mobile Usability section where it looks like their crawler is hitting the Desktop version of the wiki (the links end with &mobileaction=toggle_view_desktop), which of course causes readability issues.
Does anyone have a suggestion of the best way to Address this? I thought about just removing the link for Mobile/Desktop switching from the footer entirely, but I wanted to see if there was a better idea. If I did want to remove the Mobile/Desktop switch link from the footer, how would I go about that? Blinkingline (talk) 21:04, 25 November 2019 (UTC)
Create custom menu
[edit]Hi
How do I customize the menu and sub menu for the Minerva shell?
Thanks Sokote zaman (talk) 08:05, 16 December 2019 (UTC)
- I need that too Mahdi Alavi sokot (talk) 12:25, 18 December 2019 (UTC)
Some buttons are not displayed
[edit]I applied the following settings but no Special: SpecialPages button and many more !!!
MediaWiki | 1.33.1 (a40bf67) |
PHP | 7.2.25 (cgi-fcgi) |
MariaDB | 10.3.20-MariaDB |
ICU | 64.2 |
Lua | 5.1.5 |
$wgMinervaAlwaysShowLanguageButton = true;
$wgMinervaEnableSiteNotice = true;
$wgMinervaCountErrors = true;
$wgMinervaShowCategoriesButton = [
'base' => true,
'beta' => false,
];
$wgMinervaApplyKnownTemplateHacks = true;
$wgMinervaPageActions = ['edit', 'talk', 'watch', 'switch-language'];
$wgMinervaPageIssuesNewTreatment = [
'base' => true,
'beta' => false,
];
$wgMinervaTalkAtTop = [
'beta' => false,
'base' => true,
'amc' => true,
];
$wgMinervaHistoryInPageActions = [
'beta' => false,
'base' => false,
'amc' => true,
];
$wgMinervaPersonalMenu = [
'beta' => false,
'base' => true,
'amc' => true,
];
$wgMinervaAdvancedMainMenu = [
'beta' => false,
'base' => true,
'amc' => true,
];
$wgMinervaOverflowInPageActions = true; Sokote zaman (talk) 11:06, 16 December 2019 (UTC)
- Here's a list of your special pages. There's no any interface link to that page on the legacy mobile mode, so you've to search for the page directly. – Ammarpad (talk) 06:11, 18 December 2019 (UTC)
- How do I create or enable links to special pages for mobile?
- Thanks for your guidance@Ammarpad Sokote zaman (talk) 06:15, 18 December 2019 (UTC)
Problem with Nearby
[edit]In a new MediaWiki installation, version 1.34 with https, the page of Nearby gives the error: "Nearby is having some issues" - " Try refreshing your location".
The problem isn't the browser, as the Nearby of Wikipedia are visible.
Please someone know what can be the problem? Thank you Brunodapei (talk) 18:10, 20 December 2019 (UTC)
Captcha
[edit]I cant see the captcha box (from the recaptcha in the extension "ConfirmEdit) when I would to save a page from a smartphone Xsteeplol (talk) 22:42, 30 December 2019 (UTC)
- I have the same problem. ETA: See https://phabricator.wikimedia.org/T248024 CayceP (talk) 16:52, 28 June 2020 (UTC)