Tech: Difference between revisions

Add topic
From Meta, a Wikimedia project coordination wiki
Latest comment: 15 hours ago by Gasperfrancis12 in topic create
Content deleted Content added
Rocky 734 (talk | contribs)
Tags: Mobile edit Mobile web edit
→‎create: new section
 
(575 intermediate revisions by more than 100 users not shown)
Line 9: Line 9:
}}
}}


== Renderization of symbol "not greater than" ==
== Join the Coolest Tool Award 2022: Friday, Dec 16th, 17:00 UTC ==


Depending on the browser, the LaTeX alternative is the only one which correctly overlays the slash over the angle bracket:
<section begin="message"/>
* Poor-man's: 1≯ 2
The fourth edition of the [[m:Special:MyLanguage/Coolest Tool Award|Wikimedia Coolest Tool Award]] will happen online on [https://zonestamp.toolforge.org/1671210028 Friday 16 December 2022 at 17:00 UTC]!
* Unicode: 1≯2
* HTML: 1&#x226F;2
* LaTex: <math>a \ngtr b</math>
On Windows, it works in Firefox but it doesn't work in Chrome.[[File:Rendering test.png|thumb|center]]
[[File:Renderization test.png|thumb|center]]
- Would it be possible to make it work in any browser?
Otherwise, fellow editors are suggesting rewriting everything in LaTeX.
Previous discussions:
* [[:en:Talk:Inequality_(mathematics)#Renderization_of_%22not_greater_than%22_symbol|Talk:Inequality (mathematics)]]
* https://phabricator.wikimedia.org/T362205
Thanks! [[User:Fgnievinski|Fgnievinski]] ([[User talk:Fgnievinski|talk]]) 18:02, 10 April 2024 (UTC)


:FTR, the first three techniques are all effectively the same, just using U+226F. [[User:Beland|Beland]] ([[User talk:Beland|talk]]) 01:44, 12 April 2024 (UTC)
This award is highlighting software tools that have been nominated by contributors to the Wikimedia projects. The ceremony will be a nice moment to show appreciation to our tool developers and maybe discover new tools!
::[[File:Input for render test.png|thumb]]
::Just for the record, the input text is different: [[User:Fgnievinski|Fgnievinski]] ([[User talk:Fgnievinski|talk]]) 12:55, 12 April 2024 (UTC)
:It seems to me that this is due to incomplete support of these characters in one or more of the fonts of Windows (which happens to be used by Chrome). I don't have Windows, but there is no guaranteed way of fixing this, other than outputting images. It should be noted however that latex input is switching to mathml (non-image) output, so switching everything over to latex does not seem like a good idea. Better is to complain with Microsoft to fix their fonts, or problems like these will never be fixed. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 09:25, 15 April 2024 (UTC)
::It works in Firefox for Windows. [[User:Fgnievinski|Fgnievinski]] ([[User talk:Fgnievinski|talk]]) 02:12, 16 April 2024 (UTC)
::The best way to fix it would probably be for Wikipedia to ship a font including all of the necessary math glyphs, and list it first in CSS. [[User:Jacobolus|Jacobolus]] ([[User talk:Jacobolus|talk]]) 03:42, 20 April 2024 (UTC)
{{outdent}}
Escalated here: [[:en:Wikipedia talk:Manual of Style/Mathematics#Not-greater-than rendering problems]]. [[User:Fgnievinski|Fgnievinski]] ([[User talk:Fgnievinski|talk]]) 04:40, 18 April 2024 (UTC)


== Broken century format - Occitan Wikipedia ==
[[m:Special:MyLanguage/Coolest Tool Award|Read more about the livestream and the discussion channels.]]


Hi,
Thanks for joining! -[[m:User:SSapaty (WMF)|Komla]]
<section end="message"/>


So the Occitan Wikipedia has started using [[:oc:Modèl:Infobox Persona|Modèl:Infobox Persona]], pulling information from Wikidata. When only the century of a person's birth is known on Wikidata, such as [[:oc:Aliç de Montmorencí|Aliç de Montmorencí]], we want it to say "[[:oc:sègle XII|sègle XII]]" and link to the twelfth century. Yet somehow it instead says "[[:oc:sègle|sègle]] de [[:oc:12|12]]", and links to the YEAR TWELVE! I've been poking and prodding the code and Translatewiki and can't figure this out. Can someone please help me?
<bdi lang="en" dir="ltr">[[User:MediaWiki message delivery|MediaWiki message delivery]]</bdi> 18:53, 5 December 2022 (UTC)
<!-- Message sent by User:SSethi (WMF)@metawiki using the list at https://meta.wikimedia.org/w/index.php?title=Distribution_list/Technical_Village_Pumps_distribution_list&oldid=24059435 -->


Best, [[User:Briantin de Montrei|Briantin de Montrei]] ([[User talk:Briantin de Montrei|talk]]) 07:29, 24 April 2024 (UTC)
== Namespace naming changes ==


:It's since been fixed. All good! [[User:Briantin de Montrei|Briantin de Montrei]] ([[User talk:Briantin de Montrei|talk]]) 07:23, 25 April 2024 (UTC)
We're discussing changes related to renaming some namespaces and system messages for the Mongolian Wikipedia as part of a drive to improve consistency in translations/content. In the event of a change in namespace, I presume all links to the old ones (such as category, talk pages etc.) would fail? How can we best manage this - we have the option to run a bot to automate and replace everything - but could we request, say, some custom namespace aliases? [[User:Chinneeb|<font color="#000000">chinneeb</font>]]-[[User_talk:Chinneeb|<font color="#000000">talk</font>]] 13:14, 6 December 2022 (UTC)
:{{ping|Chinneeb}} Namespace aliases are possible per [[wikitech:Wikimedia site requests#Change a namespace]]. For requesting changes itself, see [[m:Requesting wiki configuration changes]]. --[[User:AKlapper (WMF)|AKlapper (WMF)]] ([[User talk:AKlapper (WMF)|talk]]) 14:44, 6 December 2022 (UTC)


== Spaces in Lua ==
== CfA Wikipedia In Residence Page ==


Hello. Is there a way to throw an error in Lua with consequent spaces? I want to do something like
Hi, kindly assist me with the Home page & Community Process page for [[Wikipedia In Residence Community|Code for Africa wiki-meta page]]. The Community Process page is a repetition of the Home page, keep the community page but it should be empty and let information on Home page be maintained. Also when this has been fixed kindly show me how it is done or if there is a documentation available let me have it. Thanks [[User:Jwale2|Jwale2]] ([[User talk:Jwale2|talk]]) 17:35, 6 December 2022 (UTC)
<syntaxhighlight lang="lua">
:{{ping|Jwale2}} Hi, could you elaborate please what exactly to assist with or "fix"? What happens currently, and what do you expect to happen instead? If you refer to the navigation header, you can edit its links on [[Template:Wikipedia In Residence Community]], however I'm not sure why you'd want to link empty pages, or have duplicated pages? But maybe I misunderstand... Thanks, --[[User:AKlapper (WMF)|AKlapper (WMF)]] ([[User talk:AKlapper (WMF)|talk]]) 19:02, 6 December 2022 (UTC)
error('The name "New York" is not correct, please use "New York" instead')
::Hi @[[User:AKlapper (WMF)|AKlapper (WMF)]], what I meant was that when you click on the Community Process page you will be redirected to the home page, it provides you the same information as the home page. when you check the edit page for both, they provide <nowiki>{{Wikipedia In Residence Community|active=1}}</nowiki>, instead of <nowiki>{{Wikipedia In Residence Community|active=1}}</nowiki> and <nowiki>{{Wikipedia In Residence Community|active=2}}</nowiki>. if there could be something done to make the changes that will be great. [[User:Jwale2|Jwale2]] ([[User talk:Jwale2|talk]]) 03:41, 7 December 2022 (UTC)
</syntaxhighlight>
:::{{ping|Jwale2}} You could rename the Home page to Community Process page. Problem solved and way less confusion ("Why does the Community Process page bring me to the home page? This is broken!") for anyone coming to those pages. --[[User:AKlapper (WMF)|AKlapper (WMF)]] ([[User talk:AKlapper (WMF)|talk]]) 07:54, 7 December 2022 (UTC)
::::Hi @[[User:AKlapper (WMF)|AKlapper (WMF)]], please it seems my question has still not been solved and I don't really know how I can put it across again.[[User:Jwale2|Jwale2]] ([[User talk:Jwale2|talk]]) 22:27, 7 December 2022 (UTC)
but none of regular tricks I try do not help. Thank you. [[User:IKhitron|IKhitron]] ([[User talk:IKhitron|talk]]) 12:48, 24 April 2024 (UTC)
:::::{{ping|Jwale2}} I'd just remove the "Home" item. I did that now in https://meta.wikimedia.org/w/index.php?title=Template%3AWikipedia_In_Residence_Community&type=revision&diff=24185994&oldid=24181741 . You can always make edits and use the preview to see what those edits would change. --[[User:AKlapper (WMF)|AKlapper (WMF)]] ([[User talk:AKlapper (WMF)|talk]]) 22:33, 7 December 2022 (UTC)


:@[[User:IKhitron|IKhitron]]: I guess what you want is not "make this code work", but "make the error render with multiple spaces" (since multiple spaces in HTML are always reduced to one).
== New Wiki user/admin advice ==
:For example, you could replace multiple spaces with underscores or non-breaking spaces (but these will probably be escaped on render) with code like <syntaxhighlight lang="lua" inline>mw.ustring.gsub(str, string.rep(' ', 2) .. '+', function (m) return string.rep('_', #m) end)</syntaxhighlight>
:Isn't it possible to just make the code sanitize the input and accept multiple spaces? --[[User:Matěj Suchánek|Matěj Suchánek]] ([[User talk:Matěj Suchánek|talk]]) 16:25, 28 April 2024 (UTC)
:: Thanks for your answer. This is fine, but not enough, unfortunately. For now, I've replaced them by "<multiple spaces>", and it's not enough either.<br>I could sanitize it, of course, but in this particular case I prefer a non-ambiguous input. [[User:IKhitron|IKhitron]] ([[User talk:IKhitron|talk]]) 16:51, 28 April 2024 (UTC)


== Search bar disappeared ==
I'm a new admin for a wiki I've created to host an evolving ethical will where I will be, at least for now, the only author. I'm trying to learn how to set this up and the admin manual assumes I know more than I do. Is there an "Idiot's Guide" to running a mediawiki website? [[User:Maxyaffe|Maxyaffe]] ([[User talk:Maxyaffe|talk]]) 19:10, 10 December 2022 (UTC)


There used to be a search bar where I could search for whatever I want. However, the search bar is no longer present in any wiki, and the search button is also non-functional. I have to go to [[Special:SpecialPages]] to search. '''[[User:Sbb1413|Sbb1413]]''' (he) ([[User talk:Sbb1413|talk]] • [[Special:Contributions/Sbb1413|contribs]]) 05:44, 1 May 2024 (UTC)
:[[:b:MediaWiki Administrator's Handbook/Print Version|MediaWiki Administrator's Handbook/Print Version]]. Although the information on the page is a bit out of date. But it will help you. —[[User:Yahya|<strong><span style="color: #000;">Yahya</span></strong>]] ([[User talk:Yahya#top|<span style=" color: #360;">talk</span>]] • [[Special:Contributions/Yahya|<span style="color: #306;">contribs.</span>]]) 08:43, 11 December 2022 (UTC)


== osm4wiki - new version in progress ==
== MediaWiki REST API vs. MediaWiki Action API vs. WikiMedia API. Is there a standard one to use? ==


My tool osm4wiki shows coordinates on an OpenStreetMap map and is used by
My goal is to retrieve specific revisions of wikipedia pages. I've read through the following 3 API documentation, and they are all capable of doing what I need. Is there one that is considered standard, or is the most actively developed?
* Vorlage:All Coordinates
* Vorlage:Hinweis Seiten-Koordinaten
* Vorlage:CoordinatesPage
I started to write this tool in 2011 and it is time to update it.


# if too many locations are close together, the markers shall be replaced by an ellipse which shows the number of replaced markers.
1. [[mw:API:REST_API|MediaWiki REST API]]
# I replace the tool "kmlexport" and include its functions into my tool.
# The tool "kmlexport" is able to search for coordinates up to three levels, that means it is able to search for coordinates in an articel which was linked by another article which was linked by another article which was linked by the article where "kmlexport" was invoked. If I understand correctly, the actual versions of the above mentioned templates have only the option "linked = 1" which means that there is only one level available. I agree with this limitation totally!
# The old version of my tool had to wait until "kmlexport" had collected all coordinates from linked pages before it could start working, and this may take long time. The new version shall show the coordinates from the first linked page, then it adds the coordinates from the second linked page and so on. Perhaps this takes a little bit longer than before, but the user can see that something is happening!
# New markers with shadow :)


The new version is under development on my own server. There are only a few articles linked as example but you can get an idea how it works: [https://www.lenz-online.de/wiki/ Test links] <br />
2. [[mw:API:Main_page|MediaWiki Action API]]
Have fun! --[[User:Plenz|Plenz]] ([[User talk:Plenz|talk]]) 20:05, 2 May 2024 (UTC)


== Custom local buttons in WikiEditor panel get inserted in random unpredictable order in Chechen Wikipedia ==
3. [https://api.wikimedia.org/wiki/API_reference WikiMedia API] [[User:Edgedsurf|Edgedsurf]] ([[User talk:Edgedsurf|talk]]) 18:34, 11 December 2022 (UTC)


Buttons of connected gadgets, for example, a Wikificator after renewal. Pages are mixed in the middle and back to the right. In Russian, all the gadget buttons on the left. Mozilla Firefox browser. Can't you make them stay in its place? [[Special:Contributions/195.19.124.253|195.19.124.253]] 20:41, 8 May 2024 (UTC)
:@[[User:Edgedsurf|Edgedsurf]]: The Action API is the most mature and offers the most flexibility in what kinds of data to get and filter. If you want to get wikitext of specific revisions, it's a good choice. The MediaWiki REST API is still pretty new, it is aiming to replace the [[mw:Wikimedia_REST_API|Wikimedia REST API]], which is good for concurrent access if you want [[mw:Specs/HTML|annotated HTML output]].
:I hope this clarifies things a bit and is able to point you in the right direction. [[User:Legoktm|Legoktm]] ([[User talk:Legoktm|talk]]) 19:15, 11 December 2022 (UTC)


:I wrote this! [[User:Takhirgeran Umar|Takhirgeran Umar]] ([[User talk:Takhirgeran Umar|talk]]) 20:51, 8 May 2024 (UTC)
== Adding a white box to the top of the screen ==


== Registration date ==
How can I add a white box to the top of the page with JS? Because I've made it so that the personal links and searchbar will follow the screen when I scroll down, and it sometimes gets hard to read the links when there is writing behind it. Thanks. {{User:L10nM4st3r/sig.css}} 11:09, 27 December 2022 (UTC)
:Does this sound more complex than it is? Basically I want to know how to make a box using JS and add it to the very top of the page (that last bit I can figure out myself though). {{User:L10nM4st3r/sig.css}} 09:56, 31 December 2022 (UTC)
::Which page? Why JavaScript instead of HTML and CSS? What is the actual underlying problem you want to solve and in which skin (instead of only asking how to implement a possible solution)? --[[User:AKlapper (WMF)|AKlapper (WMF)]] ([[User talk:AKlapper (WMF)|talk]]) 12:34, 31 December 2022 (UTC)
:::Ive made the personal links at the top of the page stay at the top even as I scroll down (using css), but I want to add a background so that it can be read, instead of seeing a mess with the content being below it, which makes it really hard to read. (yes, now JS works for me, before you ask){{User:L10nM4st3r/sig.css}} 14:39, 31 December 2022 (UTC)
::::Have you set a background color via CSS? Where is the code to look at? (For the records, personal links at the top stay when using the Vector 2022 skin.) --[[User:AKlapper (WMF)|AKlapper (WMF)]] ([[User talk:AKlapper (WMF)|talk]]) 16:57, 31 December 2022 (UTC)
:::::I'm using Monobook for reasons... I cant actually remember xD! When I tried setting the background-color of #p-personal, nothing happened. And there's the issue I moved the searchbar to also stay at the top, so that would need a background so it looks nice. {{User:L10nM4st3r/sig.css}} 22:54, 31 December 2022 (UTC)
::::::Yea, I'm just a stubborn lion, so I'm staying on the more familliar looks. Ive used monobook for god knows how long, why change it now? {{User:L10nM4st3r/sig.css}} 22:58, 31 December 2022 (UTC)
:::::::Because some existing more maintained other default stuff may provide what you want to see. Anyway, where is your code to look at? --[[User:AKlapper (WMF)|AKlapper (WMF)]] ([[User talk:AKlapper (WMF)|talk]]) 16:56, 2 January 2023 (UTC)


Hi,
== Unusual behavior of Infobox in Santali Wikipedia ==
I registered on EN Wikipedia at 04:24, 12 October 2007, yet CentralAuth shows Registered: 00:18, 28 February 2012 (12 years ago).
I understand that the reason given is always that the account became a global account,
But why does it have to be like this? A registration date is what it is,
and the global account date decreases the precision of registration time.
I hope it changes. [[User:Mystrixo|Mystrixo]] ([[User talk:Mystrixo|talk]]) 06:56, 10 May 2024 (UTC)


:You registered in a time before registration dates were being tracked. As you didn't have activity between 2007 and 2012, it cannot give a more accurate date for your account registration unfortunately. —[[User:TheDJ|Th<span style="color: green">e</span>DJ]] ([[User talk:TheDJ|talk]] • [[Special:Contributions/TheDJ|contribs]]) 09:40, 13 May 2024 (UTC)
Hi, it's being more than 3 months now and I think there is something wrong with infobox in Santali Wikipedia. Compare infobox in English - [https://en.wikipedia.org/wiki/Narendra_Modi Narendra Modi] (Normal info) and Santali - [https://sat.wikipedia.org/wiki/%E1%B1%B1%E1%B1%9A%E1%B1%A8%E1%B1%AE%E1%B1%B1%E1%B1%AB%E1%B1%BD%E1%B1%A8%E1%B1%9A_%E1%B1%A2%E1%B1%B3%E1%B1%AB%E1%B1%A4 ᱱᱚᱨᱮᱱᱫᱽᱨᱚ ᱢᱳᱫᱤ] (infobox widened in desktop mode). But, it seems to work normal with mobile minerva theme (mobile view). I have still no idea where is the problem. Is it a new feature or a technical issue. Thanks[[User:Rocky 734|Rocky 734]] ([[User talk:Rocky 734|talk]]) 13:05, 3 January 2023 (UTC)

== Email: $wgSMTP not working ==

Hello
With $wgSMTP i have a problem, it ist not working. I don't know from which update- status this happens. For sure this was working in march 2024.

I get this error-message if i wnat sent a email:
'''Failed to connect to tls://smtp-mail.outlook.com:587 [SMTP: Failed to connect socket: (code: -1, response: )]'''

to the History i can tell that before i use 1und1. I got a Hotmail adress taking the parameters and i got the above error message.
I switched back to the old konfiguration and find out, getting the same error massage (see above)

Version: MW 1.39.7

LocalSettingsparameter.
$wgSMTP = array(
'host' => 'tls://smtp-mail.outlook.com', // could also be an IP address. Where the SMTP server is located
'IDHost' => 'Sokradia von CC-Zeitlos', // Generally this will be the domain name of your website (aka mywiki.org)
'port' => 587, // Port to use when connecting to the SMTP server
'auth' => true, // Should we use SMTP authentication (true or false)
'username' => 'sokradia@hotmail.com', // Username to use for SMTP authentication (if being used)
'password' => 'XXXXX' // Password to use for SMTP authentication (if being used)
);

Can somebody help to this topic [[User:Sokradia|Sokradia]] ([[User talk:Sokradia|talk]]) 05:56, 11 May 2024 (UTC)
: Please see the notice at the top of this page. This page only provides support for issues related to a Wikimedia wiki. —&thinsp;[[User:JJMC89|JJMC89]]&thinsp;<small>([[User talk:JJMC89|T]]'''·'''[[Special:Contributions/JJMC89|C]])</small> 18:54, 11 May 2024 (UTC)
::Thank you for this help.
::With this parameters it is working for Outlook/Hotmail.
:: 'host' => 'smtp-mail.outlook.com', // could also be an IP address. Where the SMTP server is located
:: 'IDHost' => 'Sokradia von CC-Zeitlos', // Generally this will be the domain name of your website (aka mywiki.org)
:: 'port' => 587, // Port to use when connecting to the SMTP server
:: 'auth' => true, // Should we use SMTP authentication (true or false)
:: 'username' => 'sokradia@hotmail.com', // Username to use for SMTP authentication (if being used)
:: 'password' => 'XXXXX' // Password to use for SMTP authentication (if being used)
::for Outlook there is no need take the TLS with.
::I not understand really because the port 587 is used for TLS. but it seems that for Outlook they are using STARTTLS which is not supported by the PHP-Server.
::I use PHP 8.2.xx
::Thanks a lot [[User:Sokradia|Sokradia]] ([[User talk:Sokradia|talk]]) 05:19, 12 May 2024 (UTC)
:::This is <strong>NOT THE PLACE FOR THIRD-PARTY WIKI SUPPORT</strong>. Read the header and ask at the appropriate place. You won’t get an answer here. —[[User:Tacsipacsi|Tacsipacsi]] ([[User talk:Tacsipacsi|talk]]) 19:25, 12 May 2024 (UTC)

== Are you going to migrate to Jetpack Compose for the android app? ==

Maybe this is the wrong place but I think that migrating to Jetpack Compose would be a good idea for making the code more simple and "modern" because it's the new and recommended way by Android to build android apps with it. [[User:Richard5ADev|Richard5ADev]] ([[User talk:Richard5ADev|talk]]) 19:03, 13 May 2024 (UTC)

:I don’t know if it’s planned, but you’ll probably get an answer more quickly on [[mw:Talk:Wikimedia Apps]]. By the way, my opinion is “don’t fix it if it’s not broken”: it may make sense to write new things with Compose, or even rewriting parts that need to be touched anyway, but touching code only to rewrite it from XML to Kotlin has no real benefit, but has the potential for introducing regressions. —[[User:Tacsipacsi|Tacsipacsi]] ([[User talk:Tacsipacsi|talk]]) 20:36, 14 May 2024 (UTC)

== create ==

how can i get help assist about creating game [[User:Gasperfrancis12|Gasperfrancis12]] ([[User talk:Gasperfrancis12|talk]]) 10:15, 16 May 2024 (UTC)

Latest revision as of 10:15, 16 May 2024

Renderization of symbol "not greater than"[edit]

Depending on the browser, the LaTeX alternative is the only one which correctly overlays the slash over the angle bracket:

  • Poor-man's: 1≯ 2
  • Unicode: 1≯2
  • HTML: 1≯2
  • LaTex:

On Windows, it works in Firefox but it doesn't work in Chrome.

- Would it be possible to make it work in any browser? Otherwise, fellow editors are suggesting rewriting everything in LaTeX. Previous discussions:

Thanks! Fgnievinski (talk) 18:02, 10 April 2024 (UTC)Reply

FTR, the first three techniques are all effectively the same, just using U+226F. Beland (talk) 01:44, 12 April 2024 (UTC)Reply
Just for the record, the input text is different: Fgnievinski (talk) 12:55, 12 April 2024 (UTC)Reply
It seems to me that this is due to incomplete support of these characters in one or more of the fonts of Windows (which happens to be used by Chrome). I don't have Windows, but there is no guaranteed way of fixing this, other than outputting images. It should be noted however that latex input is switching to mathml (non-image) output, so switching everything over to latex does not seem like a good idea. Better is to complain with Microsoft to fix their fonts, or problems like these will never be fixed. —TheDJ (talkcontribs) 09:25, 15 April 2024 (UTC)Reply
It works in Firefox for Windows. Fgnievinski (talk) 02:12, 16 April 2024 (UTC)Reply
The best way to fix it would probably be for Wikipedia to ship a font including all of the necessary math glyphs, and list it first in CSS. Jacobolus (talk) 03:42, 20 April 2024 (UTC)Reply

┌─────────────────────────────────┘
Escalated here: en:Wikipedia talk:Manual of Style/Mathematics#Not-greater-than rendering problems. Fgnievinski (talk) 04:40, 18 April 2024 (UTC)Reply

Broken century format - Occitan Wikipedia[edit]

Hi,

So the Occitan Wikipedia has started using Modèl:Infobox Persona, pulling information from Wikidata. When only the century of a person's birth is known on Wikidata, such as Aliç de Montmorencí, we want it to say "sègle XII" and link to the twelfth century. Yet somehow it instead says "sègle de 12", and links to the YEAR TWELVE! I've been poking and prodding the code and Translatewiki and can't figure this out. Can someone please help me?

Best, Briantin de Montrei (talk) 07:29, 24 April 2024 (UTC)Reply

It's since been fixed. All good! Briantin de Montrei (talk) 07:23, 25 April 2024 (UTC)Reply

Spaces in Lua[edit]

Hello. Is there a way to throw an error in Lua with consequent spaces? I want to do something like

error('The name "New       York" is not correct, please use "New York" instead')

but none of regular tricks I try do not help. Thank you. IKhitron (talk) 12:48, 24 April 2024 (UTC)Reply

@IKhitron: I guess what you want is not "make this code work", but "make the error render with multiple spaces" (since multiple spaces in HTML are always reduced to one).
For example, you could replace multiple spaces with underscores or non-breaking spaces (but these will probably be escaped on render) with code like mw.ustring.gsub(str, string.rep(' ', 2) .. '+', function (m) return string.rep('_', #m) end)
Isn't it possible to just make the code sanitize the input and accept multiple spaces? --Matěj Suchánek (talk) 16:25, 28 April 2024 (UTC)Reply
Thanks for your answer. This is fine, but not enough, unfortunately. For now, I've replaced them by "<multiple spaces>", and it's not enough either.
I could sanitize it, of course, but in this particular case I prefer a non-ambiguous input. IKhitron (talk) 16:51, 28 April 2024 (UTC)Reply

Search bar disappeared[edit]

There used to be a search bar where I could search for whatever I want. However, the search bar is no longer present in any wiki, and the search button is also non-functional. I have to go to Special:SpecialPages to search. Sbb1413 (he) (talkcontribs) 05:44, 1 May 2024 (UTC)Reply

osm4wiki - new version in progress[edit]

My tool osm4wiki shows coordinates on an OpenStreetMap map and is used by

  • Vorlage:All Coordinates
  • Vorlage:Hinweis Seiten-Koordinaten
  • Vorlage:CoordinatesPage

I started to write this tool in 2011 and it is time to update it.

  1. if too many locations are close together, the markers shall be replaced by an ellipse which shows the number of replaced markers.
  2. I replace the tool "kmlexport" and include its functions into my tool.
  3. The tool "kmlexport" is able to search for coordinates up to three levels, that means it is able to search for coordinates in an articel which was linked by another article which was linked by another article which was linked by the article where "kmlexport" was invoked. If I understand correctly, the actual versions of the above mentioned templates have only the option "linked = 1" which means that there is only one level available. I agree with this limitation totally!
  4. The old version of my tool had to wait until "kmlexport" had collected all coordinates from linked pages before it could start working, and this may take long time. The new version shall show the coordinates from the first linked page, then it adds the coordinates from the second linked page and so on. Perhaps this takes a little bit longer than before, but the user can see that something is happening!
  5. New markers with shadow :)

The new version is under development on my own server. There are only a few articles linked as example but you can get an idea how it works: Test links
Have fun! --Plenz (talk) 20:05, 2 May 2024 (UTC)Reply

Custom local buttons in WikiEditor panel get inserted in random unpredictable order in Chechen Wikipedia[edit]

Buttons of connected gadgets, for example, a Wikificator after renewal. Pages are mixed in the middle and back to the right. In Russian, all the gadget buttons on the left. Mozilla Firefox browser. Can't you make them stay in its place? 195.19.124.253 20:41, 8 May 2024 (UTC)Reply

I wrote this! Takhirgeran Umar (talk) 20:51, 8 May 2024 (UTC)Reply

Registration date[edit]

Hi, I registered on EN Wikipedia at 04:24, 12 October 2007, yet CentralAuth shows Registered: 00:18, 28 February 2012 (12 years ago). I understand that the reason given is always that the account became a global account, But why does it have to be like this? A registration date is what it is, and the global account date decreases the precision of registration time. I hope it changes. Mystrixo (talk) 06:56, 10 May 2024 (UTC)Reply

You registered in a time before registration dates were being tracked. As you didn't have activity between 2007 and 2012, it cannot give a more accurate date for your account registration unfortunately. —TheDJ (talkcontribs) 09:40, 13 May 2024 (UTC)Reply

Email: $wgSMTP not working[edit]

Hello With $wgSMTP i have a problem, it ist not working. I don't know from which update- status this happens. For sure this was working in march 2024.

I get this error-message if i wnat sent a email: Failed to connect to tls://smtp-mail.outlook.com:587 [SMTP: Failed to connect socket: (code: -1, response: )]

to the History i can tell that before i use 1und1. I got a Hotmail adress taking the parameters and i got the above error message. I switched back to the old konfiguration and find out, getting the same error massage (see above)

Version: MW 1.39.7

LocalSettingsparameter. $wgSMTP = array(

   'host'     => 'tls://smtp-mail.outlook.com', // could also be an IP address. Where the SMTP server is located
   'IDHost'   => 'Sokradia von CC-Zeitlos',  // Generally this will be the domain name of your website (aka mywiki.org)
   'port'     => 587,                        // Port to use when connecting to the SMTP server
   'auth'     => true,                      // Should we use SMTP authentication (true or false)
   'username' => 'sokradia@hotmail.com',   // Username to use for SMTP authentication (if being used)
   'password' => 'XXXXX'             // Password to use for SMTP authentication (if being used)

);

Can somebody help to this topic Sokradia (talk) 05:56, 11 May 2024 (UTC)Reply

Please see the notice at the top of this page. This page only provides support for issues related to a Wikimedia wiki. — JJMC89(T·C) 18:54, 11 May 2024 (UTC)Reply
Thank you for this help.
With this parameters it is working for Outlook/Hotmail.
'host' => 'smtp-mail.outlook.com', // could also be an IP address. Where the SMTP server is located
'IDHost' => 'Sokradia von CC-Zeitlos', // Generally this will be the domain name of your website (aka mywiki.org)
'port' => 587, // Port to use when connecting to the SMTP server
'auth' => true, // Should we use SMTP authentication (true or false)
'username' => 'sokradia@hotmail.com', // Username to use for SMTP authentication (if being used)
'password' => 'XXXXX' // Password to use for SMTP authentication (if being used)
for Outlook there is no need take the TLS with.
I not understand really because the port 587 is used for TLS. but it seems that for Outlook they are using STARTTLS which is not supported by the PHP-Server.
I use PHP 8.2.xx
Thanks a lot Sokradia (talk) 05:19, 12 May 2024 (UTC)Reply
This is NOT THE PLACE FOR THIRD-PARTY WIKI SUPPORT. Read the header and ask at the appropriate place. You won’t get an answer here. —Tacsipacsi (talk) 19:25, 12 May 2024 (UTC)Reply

Are you going to migrate to Jetpack Compose for the android app?[edit]

Maybe this is the wrong place but I think that migrating to Jetpack Compose would be a good idea for making the code more simple and "modern" because it's the new and recommended way by Android to build android apps with it. Richard5ADev (talk) 19:03, 13 May 2024 (UTC)Reply

I don’t know if it’s planned, but you’ll probably get an answer more quickly on mw:Talk:Wikimedia Apps. By the way, my opinion is “don’t fix it if it’s not broken”: it may make sense to write new things with Compose, or even rewriting parts that need to be touched anyway, but touching code only to rewrite it from XML to Kotlin has no real benefit, but has the potential for introducing regressions. —Tacsipacsi (talk) 20:36, 14 May 2024 (UTC)Reply

create[edit]

how can i get help assist about creating game Gasperfrancis12 (talk) 10:15, 16 May 2024 (UTC)Reply