Lady G2016
Joined 7 May 2016
Latest comment: 1 day ago by Lady G2016 in topic mobile.js - https://www.mediawiki.org/wiki/Topic:Vqy1kx6q4e0bzvyb help
mobile.js - https://www.mediawiki.org/wiki/Topic:Vqy1kx6q4e0bzvyb help
editHello,
I see, you have used the mobile.js in your mediawiki (Topic:Vqy1kx6q4e0bzvyb). How can I this file (to get a navigation with Links) in my MediaWiki? I use version 1.42.
Thank you. Kyebert (talk) 08:35, 15 November 2024 (UTC)
- Hello,
- There is no file. This is custom code that is added to MediaWiki:Mobile.js. This is an interface page that is built-into MediaWiki. Enter "MediaWiki:Mobile.js" in your wiki's search bar. If it does not already exist, create the page. Lady G2016 (talk) 00:34, 18 November 2024 (UTC)
- Thank's. But if I type "https://neu.veikkos-archiv.com/index.php?title=MediaWiki:Mobile.js" there is only the message
- "MediaWiki:Mobile.js
- /* Das JavaScript hier wird für die Benutzer der mobilen Website geladen. */"
- (I'm logged in as admin)
- What ist necessary to do? Kyebert (talk) 15:45, 18 November 2024 (UTC)
- Edit the page. Copy and paste the code into the page after that line.
- (The English translation is "/* The JavaScript here is loaded for the mobile site users. */") Lady G2016 (talk) 20:34, 18 November 2024 (UTC)
- Yes. I know. But the problem is, that I have no rights to edit this page? Do you know why (I have alredy admin rights)?
- Screenshot: https://imgur.com/XO6H4ic Kyebert (talk) 10:36, 19 November 2024 (UTC)
- I compared my rights with your WikiSysop rights.
- "MediaWiki:" is an interface page. Add the "Oberflächenadministratoren" (interface-admin) group to your account. Hopefully, you will be able to edit the page. Lady G2016 (talk) 13:06, 19 November 2024 (UTC)
- "Oberflächenadministratoren" - check. Now I can edit MediaWiki:Mobile.js .... but still there is no effect: https://imgur.com/UlvUSK5
- Are there any other settings necessary? Kyebert (talk) 16:43, 19 November 2024 (UTC)
- Use the "live" URLs in the anchor link. My code is a prototype to show the technique.
- For example - In your wiki page MediaWiki:Mobile.js, href="/wiki/Link_1" can be href="https://www.veikkos-archiv.com//index.php?title=Hauptseite" Lady G2016 (talk) 20:51, 19 November 2024 (UTC)