Tech

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search

stewardlinks not displaying on some projects[edit]

Hi. I'm trying to figure out why stewardlinks.js do not work on some wikis like wm2018:, but I can't find any reason. Can somebody please help me out? Thanks! —MarcoAurelio (talk) 15:26, 27 January 2018 (UTC)

Hi MarcoAurelio. Oh, I was sort of hoping this issue would be more interesting or difficult. As far as I can tell, the issue is that User:Erwin/stewardlinks.js requires there to be a "navigation" or "Navigation" section in the sidebar already, which MediaWiki will then give an HTML ID of "p-navigation" or "p-Navigation" I guess. If neither of these IDs is found, the script exits. This explains why it's working on wikis such as Meta-Wiki, but not on wikis such as the Wikimania 2018 wiki. I added a "console.log()" to the script to make this a bit clearer. What should the actual logic be? Insert after the first sidebar section? Obviously relying on there being a "navigation" sidebar section is precarious. --MZMcBride (talk) 01:26, 28 January 2018 (UTC)
Hi MZMcBride. Thanks for your help. Can we make the script appear no matter which menues or sidebars the wiki has configured? Regards, —MarcoAurelio (talk) 11:24, 28 January 2018 (UTC)
No problem. The open question was really about placement within the sidebar. Do you want this custom section to always be the top sidebar section? The bottom sidebar section? The second sidebar section? --MZMcBride (talk) 16:05, 28 January 2018 (UTC)
I've always seen it as second sidebar section MZMcBride so if that could be the default config that'd be great. Regards, —MarcoAurelio (talk) 16:52, 28 January 2018 (UTC)
This script actually works fine for me in wm2018 wiki (I use vector skin). Ruslik (talk) 20:06, 28 January 2018 (UTC)
Probably due to this edit? :-) --MZMcBride (talk) 23:21, 28 January 2018 (UTC)

Copy abwiki link[edit]

Good day!

I am abwiki administrator and have one problem. When I tried to share wiki link which is ended with this symbol ) to somewhere wiki else, pasted link produces link and visual form as usual. This text link works properly, but problem is with visual form. Look at this page - Барселона (ашьапылампылтә клуб). Visual part pressing goes to this page - Барселона (ашьапылампылтә клуб - without this symbol ).

https://ab.wikipedia.org/wiki/%D0%91%D0%B0%D1%80%D1%81%D0%B5%D0%BB%D0%BE%D0%BD%D0%B0_(%D0%B0%D1%88%D1%8C%D0%B0%D0%BF%D1%8B%D0%BB%D0%B0%D0%BC%D0%BF%D1%8B%D0%BB%D1%82%D3%99_%D0%BA%D0%BB%D1%83%D0%B1)

photo

Please help me!--Surprizi (talk) 16:26, 19 February 2018 (UTC)

In Facebook works both properly but doesn't work in vk.com

I don't know why.--Surprizi (talk) 16:42, 19 February 2018 (UTC)

As I understand same problem is with Russian link

https://ru.wikipedia.org/wiki/%D0%91%D0%B0%D1%80%D1%81%D0%B5%D0%BB%D0%BE%D0%BD%D0%B0_(%D1%84%D1%83%D1%82%D0%B1%D0%BE%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9_%D0%BA%D0%BB%D1%83%D0%B1)

Probably problem is with this site - https://vk.com--Surprizi (talk) 16:51, 19 February 2018 (UTC)