Tech/Archives/2018

From Meta, a Wikimedia project coordination wiki
< Tech‎ | Archives
Jump to navigation Jump to search

Align templates at kab.wiki

Hello. Recently I have got this request of help to align on the right template kab:Talɣa:Infobox Asertay. Unfortunately, I have no idea how to fix this monstrous template. Any help? Hugo.arg (talk) 10:11, 2 January 2018 (UTC)

They are aligned now. Ruslik (talk) 13:04, 2 January 2018 (UTC)

Requests for comment/Domain parking

Maybe of interest to you, specially those managing Wikimedia Puppet. Regards, —MarcoAurelio (talk) 11:11, 8 January 2018 (UTC)

Coord localization at lt@wikipedia

Hello. Could somebody help to localize the difficult lt:Šablonas:Coord as its creator lt:user:Vpovilaitis is inactive for a long time and not willing to come back to lt.wikipedia. The goal would be this - instead English signs N W S E Lithuanian ones instead should be showed:

  • for N - š. pl.
  • for S - p. pl.
  • for E - r. il.
  • for W - v. il.

Template inputs should remain as it is. Hugo.arg (talk) 14:30, 16 January 2018 (UTC)

I think that you should change arguments of "coordinateSpec" function on lines 329 and 330 in lt:Module:Coordinates. Ruslik (talk) 18:00, 16 January 2018 (UTC)

Script to see interwiki search results from Wikinews, Wikiversity, and Commons

Per en.WP RfC discussion, the en.WP now disables interwiki search results from Wikinews, Wikiversity, and Commons. I thought about proposing a gadget at an en.WP venue at first, but then I fear that the community wouldn't like discussing the matter as it's not been discussed for months there. Therefore, I'm instead requesting a user script to opt-in/display the results from those three projects via my en.WP account.

I originally discussed this at a user talk page before the discussion got archived. Seems that the user script hasn't developed much. I thought about requesting it at en.WP at first, but then I figured that writing a user script to display other portions of the server-dependent sidebar results would be difficult for them. --George Ho (talk) 08:13, 19 January 2018 (UTC)

stewardlinks not displaying on some projects

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

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)

Global preferences available for testing

Please help translate to your language.

Greetings,

Global preferences, a highly request feature in the 2016 Community Wishlist, is available for testing.

  1. Read over the help page, it is brief and has screenshots
  2. Login or register an account on Beta English Wikipedia
  3. Visit Global Preferences and try enabling and disabling some settings
  4. Visit some other language and project test wikis such as English Wikivoyage, the Hebrew Wikipedia and test the settings
  5. Report your findings, experience, bugs, and other observations

Once the team has feedback on design issues, bugs, and other things that might need worked out, the problems will be addressed and global preferences will be sent to the wikis.

Please let me know if you have any questions. Thanks! --Keegan (WMF) (talk) 00:24, 27 February 2018 (UTC)

Hiding UniversalLanguageSelector

Is it possible to hide UniversalLanguageSelector at the 'personal toolbar'? Namely... the underlined in screenshot.

English Create Account Log in

Because... less thing to click, better. I don't need to click the settings anyway, and seems I can use it on Preferences too. — regards, Revi 15:13, 1 March 2018 (UTC)

@-revi: Have you tried #pt-uls { display: none; } in your personal CSS? --Malyacko (talk) 15:21, 1 March 2018 (UTC)
Was about to suggest the same thing, Malyacko was just a bit quicker with typing his reply. --Wiki13 talk 15:26, 1 March 2018 (UTC)
Thanks Malyacko and Wiki13! Special:Diff/17785491 works just great. — regards, Revi 15:34, 1 March 2018 (UTC)

hi, any help is appreciated

last year we did Medical editor stats 2016 at[1] and Wikipedia:WikiProject_Medicine/Stats/Top_medical_editors_2016_(all) at Phabricator however this year it seems they might be shorthanded[2] any help would be appreciated , thank you very much(I had sent a request via email to analytics-owner@lists.wikimedia.org , but have not gotten response)--Ozzie10aaaa (talk) 21:04, 7 March 2018 (UTC)

Notification from edit summary

PROBLEMA with [[]]

Good day in abwiki we have one problem. it means in following - it cannot correctly identify wiki [[]] symbol.

look at this page to the word - PROBLEMA - its half red/half black.

Sincarely--Surprizi (talk) 18:08, 16 March 2018 (UTC)

@Surprizi: Use proper spelling (not all in capital letters) and the problem will not happen. :) (Errm, did you just vandalize the article about "1", instead of creating some test case for example on your user page?)--Malyacko (talk) 18:27, 16 March 2018 (UTC)
I'll delete it later. I made another text. problem stays! (ақыҭақәа)--Surprizi (talk) 18:46, 16 March 2018 (UTC)

TEST_PAGE--Surprizi (talk) 18:51, 16 March 2018 (UTC)

@Surprizi: Thanks! For everyone else, [[ақыҭ]]ақәа is the example. This might require a software change ("patch") to introduce a regular expression for the (not yet existing) $linkTrail setting in phab:source/mediawiki/browse/master/languages/messages/MessagesAb.php. See mw:Gerrit/Tutorial if you would like to propose a patch, or see mw:How to report a bug if you do not plan to write a patch yourself. https://gerrit.wikimedia.org/r/#/c/384755/ is an example for such a patch for the Urdu language. --Malyacko (talk) 18:53, 16 March 2018 (UTC)
I don't know what and how change. If there are kind people please help us! :)--Surprizi (talk) 18:57, 16 March 2018 (UTC)
@Surprizi: See the link that I provided: mw:How to report a bug. --Malyacko (talk) 18:59, 16 March 2018 (UTC)
Thanks!--Surprizi (talk) 03:51, 17 March 2018 (UTC)
phab:T189923, for anyone else. :) --Malyacko (talk) 08:15, 17 March 2018 (UTC)

We need your feedback to improve Lua functions

Wikitext highlighting out of beta

18:56, 4 May 2018 (UTC)

Making a button which add an signature at the end of section

The specification of what I try to achieve is described in phabricator:T193952. My current attempt led me to use Extension:InputBox. However as reported in the ticket it doesn't meet the expected result:

  1. it still make user face a wikitext edit and save experience, rather than directly saving an edit appending user signature in the numbered list
  2. once saved the text is appended only after a blank line, which break the numbering of the numbered list. I made some attempt to cirvcunvent this specific finding a way to insert a delete character applied when the text is inserted in the article, but didn't find any way to do that

Any suggestion is welcome, it doesn't have to use InputBox. For example if that could be made through a link using something like https://meta.wikimedia.org/w/index.php?title=User:Psychoslave/test/api_edit&action=edit&appendtext=this_is_content&summary=dummy_test or an other form extension that enable to make arbitrary form, it would be fine. I would prefer to do that only using code that can be changed on the wiki, but if that is not possible, I also welcome any help to do it otherwise.

Please notify me if you can provide any help. --Psychoslave (talk) 15:24, 13 May 2018 (UTC)

JavaScript issues on Wikimedia wikis

Hi, I ran a script against all Wikimedia wikis, and tracked JavaScript errors. I think in most cases these are exceptions that are being thrown for most viewers on every page :( I would appreciate people with the appropriate access helping fix these, or contact people who can.

  • ar.wikipedia.org: ReferenceError: wgUserRegistration is not defined [3] Yes check.svg Done
  • ar.wiktionary.org: ReferenceError: addCharSubsetMenu is not defined [4] Yes check.svg Done
  • bug.wikipedia.org: TypeError: $.cookie is not a function [5] Yes check.svg Done (diff)
  • ce.wikipedia.org: ReferenceError: runAsEarlyAsPossible is not defined [6] Yes check.svg Done
  • es.wikivoyage.org: TypeError: $(...)[0].hasClass is not a function [7] Yes check.svg Done (diff)
  • et.wiktionary.org: ReferenceError: appendOtherLanguageLink is not defined [8] Yes check.svg Done
  • eu.wiktionary.org: ReferenceError: sajax_init_object is not defined [9]
  • fa.wikisource.org: ReferenceError: hookEvent is not defined [10] Yes check.svg Done
  • fa.wiktionary.org: Error: TypeError: $.cookie is not a function Yes check.svg Done (diff) and ReferenceError: hookEvent is not defined [11]
  • he.wikiquote.org: ReferenceError: hookEvent is not defined [12] Yes check.svg Done (diff)
  • hu.wikiquote.org: ReferenceError: sectioneditlinks is not defined [13] Yes check.svg Done
  • jv.wiktionary.org: TypeError: $.browser is undefined [14]
  • ky.wikipedia.org: ReferenceError: wgULS is not defined [15] Yes check.svg Done
  • lez.wikipedia.org: ReferenceError: runAsEarlyAsPossible is not defined [16] Yes check.svg Done
  • lv.wikibooks.org: ReferenceError: hasClass is not defined [17] Yes check.svg Done
  • mg.wiktionary.org: ReferenceError: addPortletLink is not defined [18] Yes check.svg Done
  • or.wiktionary.org: TypeError: data.query is undefined [19] Yes check.svg Done
  • sa.wikisource.org: TypeError: mw.util is undefined [20] Yes check.svg Done (diff)
  • sk.wikisource.org: ReferenceError: collapseCaption is not defined [21] Yes check.svg Done
  • so.wikipedia.org: TypeError: $.cookie is not a function [22] Yes check.svg Done
  • sr.wikinews.org: ReferenceError: getElementsByClassName is not defined [23]Yes check.svg Done
  • ta.wikisource.org: TypeError: $.cookie is not a function [24] Yes check.svg Done (diff)
  • tl.wiktionary.org: ReferenceError: sajax_init_object is not defined [25]
  • tr.wikinews.org: ReferenceError: getElementsByClassName is not defined [26] Yes check.svg Done (diff 1 diff 2 diff 3 diff 4)
  • zh.wikipedia.org: ReferenceError: Geo is not defined [27] Yes check.svg Done (diff)

Legoktm (talk) 02:22, 16 May 2018 (UTC)

I notified an admin on huwikiquote, hopefully it will be fixed soon. —Tacsipacsi (talk) 09:37, 16 May 2018 (UTC)
I think I've fixed bugwiki, eswikivoyage, fawiktionary (partially), sawikisource, tawikisource, and trwikinews. lvwikibooks is closed (I guess some of the others may be closed too). --Krenair (talkcontribs) 12:37, 18 May 2018 (UTC)
@Lnnocentius: can you notify someone from zhwiki? — regards, Revi 17:13, 19 May 2018 (UTC)
@-revi: notified on village pump. Thank you for mentioning! --Innocentius Aiolos 22:58, 19 May 2018 (UTC)
My colleague replied in the village pump Pictogram voting support.svg Works for me, I'm not sure what is going on here too.--Innocentius Aiolos 05:23, 20 May 2018 (UTC)
Looks like it was fixed as part of [28]. Legoktm (talk) 05:58, 20 May 2018 (UTC)
Hello @Legoktm: can you check arwiki again, thank you.--جار الله (talk) 04:53, 21 May 2018 (UTC)
Would you mind sharing the script please @Legoktm:? Many thanks. --Krenair (talkcontribs) 10:20, 21 May 2018 (UTC)
Source code is in git:integration/audit-resources, and it gets run by Jenkins once a day. I just kicked off a run, it takes a little over an hour, so I'll post back with the arwiki results then. Legoktm (talk) 16:23, 21 May 2018 (UTC)
arwiki appears to be fixed, thanks! There's a different error at arwiktionary if you (or know someone) could take a look. Legoktm (talk) 19:47, 21 May 2018 (UTC)
Thanks @Legoktm: and thanks @جار الله:. We'll take a look on arwiktionary as soon as possible --Alaa :)..! 23:29, 21 May 2018 (UTC)
Legoktm is the best. Killiondude (talk) 06:43, 22 May 2018 (UTC)
@Legoktm: Can you please check arwiktionary if it fixed? --Alaa :)..! 09:11, 22 May 2018 (UTC)
Yep, looks good to me now. Thanks! Legoktm (talk) 22:56, 25 May 2018 (UTC)

Could you run it against ?action=edit too? Sometimes some scripts related to editing break and toolbar buttons do not show and such. --Base (talk) 18:33, 28 May 2018 (UTC)

Queries regarding Wikimedia's Data Dumps.

Hi there,

This is Nikhil, an undergraduate student from India. And I'm trying to understand the Wikipedia's data dumps provided by Wikimedia.

I'm working on 20180520 dumps. It contains many sections, each having different data. And I would like to know what each section's data represent. Although it's written in a brief, I don't get it clearly.

Like in section "All pages, current versions only." Does each and every article's current version is present in these data? Because I just downloaded "enwiki-20180520-pages-meta-current1.xml-p10p30303.bz2", the first-page information is of "AccessibleComputing" but it does not have complete article's information in it?

Hoping to get a quick reply.

Thanks

--14.139.9.9 06:14, 5 June 2018 (UTC)

Nikhil

Please, see Data_dumps. Ruslik (talk) 11:59, 5 June 2018 (UTC)

Improvements coming soon on Watchlists

Rc-beta-tour-welcome-ltr.gif

Hello

Sorry to use English. Please help translate to your language! Thank you.

In short: starting on June 18, New Filters for Edit Review (now in Beta) will become standard on Watchlists. They provide an array of new tools and an improved interface. If you prefer the current page you will be able to opt out. Learn more about the New Filters.

What is this feature again?

This feature is used by default on Special:RecentChanges, Special:RecentChangesLinked and as a Beta feature on Special:Watchlist.

Based on a new design, that feature adds new functions to those pages, to ease vandalism tracking and support of newcomers:

  • Filtering - filter recent changes with easy-to-use and powerful filters combinations, including filtering by namespace or tagged edits.
  • Highlighting - add a colored background to the different changes you are monitoring. It helps quick identification of changes that matter to you.
  • Bookmarking to keep your favorite configurations of filters ready to be used.
  • Quality and Intent Filters - those filters use ORES predictions. They identify real vandalism or good faith intent contributions that need help. They are not available on all wikis.

You can know more about this project by visiting the quick tour help page.

About the release on Watchlists

Over 70,000 people have activated the New Filters beta, which has been in testing on Watchlist for more than eight months. We feel confident that the features are stable and effective, but if you have thoughts about these tools or the beta graduation, please let us know on the project talk page. In particular, tell us if you know of a special incompatibility or other issue that makes the New Filters problematic on your wiki. We’ll examine the blocker and may delay release on your wiki until the issue can be addressed.

The deployment will start on June 18 or on June 25, depending on the wiki (check the list). After the deployment, you will also be able to opt-out this change directly from the Watchlist page and also in your preferences.

How to be ready?

Please share this announcement!

If you use local Gadgets that change things on your Watchlist pages, or have a customized scripts or CSS, be ready. You may have to make some changes to your configuration. Despite the fact that we have tried to take most cases into consideration, some configurations may break. The Beta phase is a great opportunity to have a look at local scripts and gadgets: some of them may be replaced by native features from the Beta feature.

Please share your questions and comments on the feedback page.

On behalf of the Collaboration team, Trizek (WMF) 13:15, 7 June 2018 (UTC)

Integration of CentralAuth into Gadget-markblocked.js or similar

Hello.
I have an ultimate goal to develop a tool helping to manage Steward requests/Global (see Locking and hiding global users), but at first it would be nice to make global locks visible with scripts like MediaWiki:Gadget-markblocked.js. The main obstacle is that semantics of list=globalallusers is incompatible with the one of list=blocks. The reply in that thread is not very encouraging to me. Of course, it is possible to query account by one and—e.g. as an add-on to Special:Contribs—such thing may be reasonable, but not an effective option for operations on a heap of accounts. Opinions? Incnis Mrsi (talk) 19:22, 8 June 2018 (UTC)

Update on page issues on mobile web

CKoerner (WMF) (talk) 20:58, 12 June 2018 (UTC)

Consultation on the creation of a separate user group for editing sitewide CSS/JS

Deprecation warnings on browser console

I was checking my browser console and I am getting this warnings, mainly for <https://meta.wikimedia.org/w/load.php?debug=false&lang=en&modules=startup&only=scripts&skin=monobook>

This page is using the deprecated ResourceLoader module "jquery.ui.widget".

VM1093:69 This page is using the deprecated ResourceLoader module "jquery.ui.position".

VM1093:24 This page is using the deprecated ResourceLoader module "jquery.ui.core". Please use OOUI instead.

VM1093:548 This page is using the deprecated ResourceLoader module "mediawiki.api.messages". Use "mediawiki.api" instead.

VM1093:714 This page is using the deprecated ResourceLoader module "mediawiki.api.options". Use "mediawiki.api" instead.

Curiously if I use &debug=true those errors no longer appear. In any case, wouldn't it be a good idea to update the file from where those errors/warnings come from and have them updated?

Thanks! —MarcoAurelio (talk) 11:02, 22 July 2018 (UTC)

jQuery UI is most probably WikiEditor (if you use it and this was an edit form). The mediawiki.api ones could be any of these, or a script loaded cross-wiki (it should not be any MediaWiki extension, AFAIK they were cleaned up). These can almost absolutely safely changed from mediawiki.api.* to mediawiki.api if they are in an mw.loader.load() or mw.loader.using() call. —Tacsipacsi (talk) 12:09, 22 July 2018 (UTC)
Hello Tacsipacsi and thanks for your reply. Yes, I found them doing an edit (page creation to be more exact). I'll have a look at the links you provided and if I find the time to do so, maybe I can upload a patch to Gerrit to replace those deprecations; althought to be honest I have never touched this kind of stuff and would prefer somebody else to do it :-) Best regards, —MarcoAurelio (talk) 12:14, 22 July 2018 (UTC)
As for pages on the MediaWiki namespace I've found just two, but I'm not sure if those should be replaced and to what. —MarcoAurelio (talk) 12:23, 22 July 2018 (UTC)
As for the Gerrit stuff, it can’t be simply replaced, the code should completely be rewritten, and that would still cause function loss (the now-preferred OOUI, as far as I know, only supports modal windows, i.e. ones that make other parts of the page unusable, while jQuery UI supports non-modal ones too; the search-and-replace dialog is non-modal and making it modal would cause it to be far less useful). The API ones can be replaced, but it’s indeed better to be done by someone who knows what they do. —Tacsipacsi (talk) 12:46, 22 July 2018 (UTC)
@Tacsipacsi: I made some changes but I'm not sure those are right. Regards, —MarcoAurelio (talk) 22:14, 22 July 2018 (UTC)
It looks good for me. Actually testing dependencies is quite difficult, as it may occur that something works almost always thanks to something else loading the required dependency, but every once in a while it fails. —Tacsipacsi (talk) 22:44, 22 July 2018 (UTC)
As far as I can see, it is the UniversalLanguageSelector extension at <https://gerrit.wikimedia.org/g/mediawiki/extensions/UniversalLanguageSelector/+/master/extension.json> that still uses deprecated stuff. I'll submit a patch. —MarcoAurelio (talk) 22:18, 22 July 2018 (UTC)

Uncaught TypeError for MediaWiki:Gadget-globalmassblock.js

On my console, I am getting:

index.php?title=MediaWiki:Gadget-globalmassblock.js&action=raw&ctype=text/javascript:10 Uncaught TypeError: mw.Api is not a constructor
    at index.php?title=MediaWiki:Gadget-globalmassblock.js&action=raw&ctype=text/javascript:10
(anonymous) @ index.php?title=MediaWiki:Gadget-globalmassblock.js&action=raw&ctype=text/javascript:10

Any idea how to fix it? Thanks! —MarcoAurelio (talk) 11:03, 22 July 2018 (UTC)

It tries to use the API module before—or, in case it’s not the right page, without—it’s loaded, as line 10 is executed unconditionally. You can change it to null and actually assign it at the beginning of SpecialMassGlobalBlock.execute():
var SpecialMassGlobalBlock = {
	name: 'Mass global block',
	api: null,
	$content: $( '#mw-content-text' ),
	expiryTimes: [ '24 hours', '3 days', '1 week', '1 month', '1 year' ],
	MAX_LIMIT: 200,

	execute: function() {
		SpecialMassGlobalBlock.api = new mw.Api();
		document.title = this.name + ' - ' + mw.config.get( 'wgSiteName' );
Tacsipacsi (talk) 11:52, 22 July 2018 (UTC)

I applied your fix at Special:Diff/18233421 and I no longer see the error in the console. Thank you! —MarcoAurelio (talk) 12:40, 22 July 2018 (UTC)

Referring to subpages using wfMessage()

Hello,

I'm trying to refer to the content of a subpage at MediaWiki:Foo/Bar via my extension, unfortunately it doesn't work as expected. The page MediaWiki:Foo does exists and displays the right content when referring to it using wfMessage(), however MediaWiki:Foo/Bar it doesn't show the right content neither the content what is on the page or on the parent page.

-- 185.197.189.59 14:09, 24 July 2018 (UTC)

Subpages are reserved for translations and should not be used for other purpose. Currently it fails because all message keys should be lowercase, but if you fix it to MediaWiki:Foo/bar, it will conflict with MediaWiki:Foo’s Bavarian translation. (And even if the real message name isn’t an existing language code, it may become one; and even if it doesn’t (yet), it’s confusing as people expect subpages to be translations.) —Tacsipacsi (talk) 18:33, 24 July 2018 (UTC)

Unclosed font tags inside links (custom signatures)

Hello. Recently I came across this talk page, where a couple users had unclosed font tags inside links in their signatures, presumably to save space and fit within the character limit. Take a look at the bottom of the page. The page did not look like this before. To be explicit, in the past, the code "[[User:Example|<b>Example]] Hello world" rendered as "Example Hello world". In other words, the end of the inline link automatically closed the open <b> tag. Now it renders as "Example Hello world", and the font change continues until the end of the page. I fixed that particular page, but there are probably many others with the same problem, and not just on Meta-Wiki.

There must have been a relatively recent change to the MediaWiki parser. The other possibility I briefly considered was that it was not MediaWiki but web browsers that changed. In other words, I thought perhaps MediaWiki adheres to a "Garbage in, garbage out" philosophy, but web browsers removed backwards compatibility and changed the way such tags were parsed. However, this didn't seem plausible because (1) MediaWiki has always produced (semi-)valid HTML as far as I know, and (2) browsers wouldn't change an important aspect of HTML parsing when this would massively reduce backwards compatibility. Most importantly, I actually checked the generated HTML using the Wayback Machine (compare then and now), and in neither case is it invalid.

Was this an intentional change? Is anyone going to fix it, either by restoring backwards compatibility in the parser or by creating a bot to add closing tags automatically? Regards, PiRSquared17 (talk) 23:10, 9 August 2018 (UTC)

Hello, PiRSquared17,
This change is part of a years-long parser migration project. This particular change happened about a month ago, but of course not all pages get re-parsed every day, so the net effect can be that a long-dormant page looks fine until someone edits it, or until the system re-parses the page (at least once a month, I believe).
See mw:Parsing/Replacing Tidy and related pages if you want the story, but w:en:WP:VPT#Remex: Pages that used to look fine are now broken if you need help. There's talk at VPT of sending a bot around to fix some of the more obvious errors on talk pages. Unclosed strike-through formatting (sometimes caused by someone putting in two "open" tags rather than one open tag followed by one closed tag) is probably the most disruptive, but invalid markup in signatures is the most common problem. To be clear, unclosed HTML tags were never actually valid; in the past it was invalid and silently hidden, and now it's still invalid but not hidden.
BTW, this particular phase was announced on more than a thousand wiki pages as well as on multiple mailing lists for about a year. If you can think of another way to reach editors like you, then please ping me or leave a note on my talk page with your suggestions. I'm always interested in hearing about other venues. Whatamidoing (WMF) (talk) 01:01, 10 August 2018 (UTC)
@Whatamidoing (WMF): Thank you for the quick and informative response! As for why I didn't hear about it earlier, it's probably just because I've been inactive for years and my eyes glazed over the dozens of Tech News digests on my talk page when I returned. I don't think you're doing anything wrong. PiRSquared17 (talk) 02:11, 10 August 2018 (UTC)
That makes sense. I sometimes have to force myself to pay attention to it, and I figure that I've got more need for it than the average person. But seriously: if you think of some place that's getting missed for "big stuff", then please let me know, at any time. I will always be interested, and doubly so with the 2018 round of the server switch coming up. It's very easy for someone to get "highly connected" to a little tiny area, and not hear about things that are happening outside that group. Whatamidoing (WMF) (talk) 04:45, 10 August 2018 (UTC)
Take a look at the TOC of my archived talk page, especially towards the bottom. Just a bit overwhelming, haha. PiRSquared17 (talk) 05:59, 10 August 2018 (UTC)
I wouldn't have read all that either. Face-smile.svg (Also, welcome back!) Whatamidoing (WMF) (talk) 16:35, 10 August 2018 (UTC)

Timestamp puzzle

Look at c:Special:Contributions/Imag93. All instances of what is expected to be an expansion of «~~~~» or «~~~~~» contain a timestamp which is offset for two hours into the future. One can say that the time is written in CEST whereas labelled as (UTC).

It cannot be a nasty script operating inside the browser, because substitution of tildes is made server-side. It may be either an elaborate deception (but for what a profit?) or a server malfunction somewhere in Wikimedia. Incnis Mrsi (talk) 11:17, 14 August 2018 (UTC)

It's for example c:Special:Diff/314700196. Matěj Suchánek (talk) 10:10, 17 August 2018 (UTC)

Change English-language logos in Uzbek Wikipedia

Good day!

The Uzbek Wikipedia has a logo in English. Is it pos sible to do this in Uzbek? Wikipedia > VikipediyaMalikxan (talk) 15:49, 28 September 2018 (UTC)

Hmm. I think a phabricator ticket needs to be opened. Someone else can confirm, though. Killiondude (talk) 15:51, 28 September 2018 (UTC)
Yes, the $wgMinervaCustomLogos configuration variable should be changed (and the logo’s Uzbek version needs to be created). —Tacsipacsi (talk) 21:49, 28 September 2018 (UTC)
How can change it? — Malikxan (talk) 10:12, 29 September 2018 (UTC)
As described in the Phabricator task five days ago. I discovered it just now; cross-posting a problem without noting this fact usually doesn’t help much. —Tacsipacsi (talk) 11:24, 29 September 2018 (UTC)

Admin activity check

Hello! I would love to have a tool for doing the Meta:Administrators/Removal. Is there anything? --MF-W 18:00, 5 October 2018 (UTC)

Custom Mobile App?

I have a custom wiki for my organization, and we want to design a mobile app. Is there an existing extension that we can just import to our media wiki, or is there some way to piggyback off of the existing Wiki Commons app? Googling around got me to the gerrit repos and the like, but nothing on this topic specifically. --MDjava (talk) 03:20, 8 October 2018 (UTC)

@MDjava: I don’t know about anything working out-of-the-box (apart from MobileFrontend, but that’s not an app). DroidWiki has an app, and I remember a description about how difficult it was to develop it from the Wikipedia app, but I can’t find it. At least you can compare its source code with the Wikimedia one’s to find out what is likely to need to be changed. —Tacsipacsi (talk) 14:31, 8 October 2018 (UTC)

PHP fatal error: entire web request took longer than 60 seconds and timed out

The page https://de.wikipedia.org/wiki/Diffie-Hellman-Schl%C3%BCsselaustausch can't be loaded, tried it for several minutes. --Trustable (talk) 18:23, 10 October 2018 (UTC)

It loads for me in less than 10 seconds. Probably the server was overloaded when you tried. —Tacsipacsi (talk) 21:48, 10 October 2018 (UTC)
@Tacsipacsi: I hoped that, but it's not. The problem exists now for over 10 hours. I tried different browsers, without login, different Internet access in different cities, always the same error. Update: It works now, but only if I'm not logged in. --Trustable (talk) 06:43, 11 October 2018 (UTC)
@Tacsipacsi: Update 2: Now we know the reason for the error and it can be reproduced by another user: The reason is "Preference -> Appearance -> Math = PNG images". With this setting, the timeout happens. With MathML the page loads. --Trustable (talk) 09:58, 11 October 2018 (UTC)
@Trustable: Really odd, it loads for me even with PNG formulae in way less than a minute. Debian Stretch, Firefox 60, 63 and Chromium 69. —Tacsipacsi (talk) 20:03, 11 October 2018 (UTC)
Issue seems to be resolved, now it loads with PNG for me too. --Trustable (talk) 17:43, 13 October 2018 (UTC)

Global OAuth?

Hello. How can I make global authorization to make edits in several projects at the same time? (app like a global Huggle)
For editing, do I have to perform the full authorization process (request for rights via widget, getting a Access token, exchange for a Edit token) in each project separately? Or Edit token (for example, received on the Meta’s endpoint) is global and valid for use in any project? Applicable project: *. Sorry for my English.—Iluvatar (talk) 18:36, 13 October 2018 (UTC)

Restore old edit buttons bar

Hello. How to restore globally (or at least locally at lt.wikipedia & bat-smg.wikipedia) old (pre-vector) edit line? Two days ago it suddenly disappeared. It is possible to turn one so called "advanced" one which lacks one locally implemented key for adjusting some syntactic formations or converting some letters (see lt:Vikipedija:Vikifikatorius & bat-smg:Vikipedėjė:Vikifikatuorios). Local sysops can not help as somehow .css pages became only the property of the few. Hugo.arg (talk) 11:48, 8 November 2018 (UTC)

You can read how to do this on mw:Contributors/Projects/Removal_of_the_2006_wikitext_editor#Alternatives. Ruslik (talk) 20:56, 8 November 2018 (UTC)

Thanks, but it still needs these "interface administrators" rights... Hugo.arg (talk) 09:07, 9 November 2018 (UTC)

With regard to your last sentence, you will want to read interface administrators. It's kind of silly but that's where we are. Killiondude (talk) 04:02, 9 November 2018 (UTC)

I made myself interface admin at bat-smg.wikipedia, imported all the required code see but it still does not work (I do not see any new gadget beyond HotCat at my preferences). Hugo.arg (talk) 09:24, 15 November 2018 (UTC)

It works after I installed bat-smg:MediaWiki:Gadget-LegacyToolbar2006.js but still having problems with Wikificator... Hugo.arg (talk) 10:19, 15 November 2018 (UTC)

If you go to bat-smg:Specēlos:Gadgets, you see an ugly red link. The software tries to load that, but—surprise, surprise!—it can’t. You have to remove the “Gadget-” prefix on bat-smg:MediaWiki:Gadgets-definition. —Tacsipacsi (talk) 19:12, 15 November 2018 (UTC)

صفحة خاصة

كيف يمكن أن تصنع أحد الصفحات لتدرب فيها متل المخبر.تحياتي--محمد بن تركي الفيصل (talk) 21:12, 21 November 2018 (UTC)

See mw:Manual:Special pages. --AKlapper (WMF) (talk) 21:49, 21 November 2018 (UTC)

Timezone Warning and Another One

Hello, All!

I have a wiki site in Hebrew, and I now get the following Warning message, without any change I did in the code:

Warning: main() [function.main]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CST/-6.0/no DST' instead in /home/dorotinf/public_html/wikigenia/LocalSettings.php on line 77

Notice: Use of undefined constant ‘pdf’ - assumed '‘pdf’' in /home/dorotinf/public_html/wikigenia/LocalSettings.php on line 77

Line 77 has nothing to do with timezone, it does include the pdf thing. You can have a look at the file here.

I use Mediawiki 1.22.5, with PHP 5.3.29

How do I resolve these issues?

Thanks, --Arnonh75 (talk) 07:54, 25 November 2018 (UTC)

@Arnonh75: Dropbox says “File is uploading…”. Please check what happened, or just make the file available on the web server, e.g. by copying it to LocalSettings.php.txt (make sure to delete any sensitive information, e.g. database password, before publishing the file on the web). —Tacsipacsi (talk) 11:00, 25 November 2018 (UTC)
Not sure why, I couldn't put it on the server in an accessible way... Here's another attempt for the DropBox link. I hope it's ok now.
Arnonh75 (talk) 20:42, 25 November 2018 (UTC)
@Arnonh75: I don’t know what’s the problem with the timezone, but the PDF error is because you wrote ‘pdf’ instead of 'pdf'—note the straight apostrophes, programming languages never use curly ones. —Tacsipacsi (talk) 23:00, 25 November 2018 (UTC)
Thanks for that. Apparently, the host of the site should have done something for enabling PDF extensions, and the problem is now fixed. Thanks much! 132.66.30.28 08:14, 26 November 2018 (UTC)

Lua Memory Limits on Incubator

Have the Lua memory limits or memory management on Incubator changed in the past three or four months? I have a large page under construction (incubator:Wp/nod/User:RichardW57/sandbox) which had paused since 25 August as I investigated a transliteration issue, though I did make a minor change on 30 September. On resuming work, I found that rendering was failing with "Lua error: not enough memory", which I had not noticed before. I had not changed the page since 30 September. I would have noticed the problem as soon as it started happening, as the problem is happening during transliteration (from Tai Tham to Thai) as my recent efforts have mostly been concentrated on getting the transliteration to work. It is easier to get the Thai transliteration proof-read.

A very minor change may have caused the problem, unless the garbage collector also compacts memory. I have some large strings (holding half the whole page as it should finally appear), and memory fragmentation could be causing me problems. Rule-based transliteration takes dozens of passes (see incubator:Module:Wp/nod/Translit2 if interested in the details). Is there any way to check if I am approaching limits? The English wiktionary reports Lua usage when editing - is there some preference I should be setting to see usage here? I may have to split the draft document for reasons of style. To progress work, I have temporarily split the document at section boundaries (into incubator:Wp/nod/User:RichardW57/sandbox/pt1 etc.); transliteration completes without reported error for each section separately, which may be a solution I need to implement.

I've switched off the collection of debugging information that wasn't being output; that's approximately halved my memory usage with a working garbage collector, and the page now renders. However, it would still be useful to have some indication of how near the limit I come, though that may be tricky to produce if I am indeed relying on the garbage collector. --RichardW57 (talk) 21:53, 18 December 2018 (UTC)