Extension talk:MobileFrontend

Jump to navigation Jump to search

About this board

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.

Mikumikuer (talkcontribs)

using JQuery like $("<div></div>").prependTo() in Widgets seems broke in mobile view, script output as plaintext.

How to fix this.

Reply to "jQuery script broken in MFview"

Timeless and Vector look GREAT except NO TOC!

Titanshadow (talkcontribs)

I was looking at the Vector and Timeless skins and they look really nice on mobile, except the TOC shows up, blank. I don't mind the TOC being there, the sections are not collapsed like they are in the default skin. However, the TOC block is empty (says Contents and then nothing).

Is there a way to change this behavior?

Prod (talkcontribs)
Reply to "Timeless and Vector look GREAT except NO TOC!"

How can i add code between head tags?

Bekircem (talkcontribs)


I want to add Google Adsense ads code between head tags on mobile version. (Just mobile version, not the desktop version)

I look into minerva.mustache file but i can't reach in {{{headelement}}} tag. Any help?

Actually i want to enable page level ads. So i need to add codes into head tags in MobileFrontEnd extension. I am already use simple Adsense ads format on my wiki.


Reply to "How can i add code between head tags?"

Mobile / SkinMinerva broken on Safari with predictive keyboard turned on

1 (talkcontribs)

I observe a severe show stopper in MobileFrontend using SkinMiverva on iOS. The iOS keyboard can be switched to "predictive" mode. In this case the virtual keyboard shows another line above the keyboard but still below the "Done" line where it displays words which the user probably has meant while writing.

When editing a Wiki page this has the sad side effect that the caret is hidden by that additional line and you can no longer see what you are typing. You can't fix this issue easily: If you manually scroll then at the next key entry / return key pressed, the textarea again repositions the caret and you again cannot see it.

I would be grateful if this could be fixed or for some pointers where to start looking (I am not familiar with this extension and do not understand it sufficiently).

Reply to "Mobile / SkinMinerva broken on Safari with predictive keyboard turned on"
Leduyquang03 (talkcontribs)

I have been messing around with MediaWiki:Mobile.css just to change the fonts displayed and I couldn't get it to work. After every change I wiped the cache of the browser and reload the page but no luck.

Could someone provide me with a tutorial on this?

Reply to "How to change mobile's fonts?"

Is there a way to have the wiki load on mobile with all the headings expanded

2601:280:4200:42E6:D8FC:89DF:D9F4:6091 (talkcontribs)

Now it is loading the headings collapsed by default, and I want them to load expanded. I am also using the Minerva Neue skin.

Reply to "Is there a way to have the wiki load on mobile with all the headings expanded"

Table of Contents appears everywhere on tablets

2A02:AB88:B2C0:EA00:9C72:1FF9:B58A:9657 (talkcontribs)

If the browser is wide enough, a TOC appears on all pages, even on the main page, and on pages without section headings. Looks like this is added by Javascript, and the criteria to determine whether a TOC should be included are completely ignored. On my main page, MF places an empty TOC at the bottom of the page. How can I disable this undesirable behavior? It ignores __NOTOC__, it ignores everything.

2A02:AB88:B2C0:EA00:D0D:7CCF:7551:C3DF (talkcontribs)

OK, I figured it out. The problem comes from the Minerva skin, and is already fixed on github but not included in the download served for MW 1.31. The latest development version of the skins/MinervaNeue/resources/skins.minerva.tablet.scripts/toc.js file should be used.

Reply to "Table of Contents appears everywhere on tablets"

Can I use collapsible headings on desktop mode?

Ztiruam (talkcontribs)

I love the collapsible headings, but they only show up on mobile. Can I enable it on desktop mode?

আ হ ম সাকিব (talkcontribs)
Ztiruam (talkcontribs)

How do I enable collapsing mode on desktop? The headings are non-collapsible by default in desktop mode.

Reply to "Can I use collapsible headings on desktop mode?"

Table of contents, table sorting, wikitable

1 (talkcontribs)

Hey. Lovely extension this one is! I was curious, will you ever add the option to enable the table of contents for mobile view? Or maybe add it in the sidebar. Also, will it be possible, in the future, for table sorting to work? And speaking of tables, why doesn't the extension recognize the "wikitable" class?

Reply to "Table of contents, table sorting, wikitable"

How do I enable extensions for mobile users?

Ztiruam (talkcontribs)

MobileFrontend disables some kind of resource module, how do I enable extensions for mobile users?

Reply to "How do I enable extensions for mobile users?"