User Details
- User Since
- Nov 29 2014, 10:11 AM (498 w, 5 d)
- Availability
- Available
- LDAP User
- Unknown
- MediaWiki User
- Alex Mashin [ Global Accounts ]
Mar 29 2024
With ultra-short URL, the webmaster has to make sure that the search engines, Let's Encrypt, etc. receive files, rather than wiki pages, when requesting robots.txt, .sitemap, etc. That has to be done by the frontend web server.
The workaround is this:
$wgHooks ['GetLocalURL'] [] = function (Title $title, string &$url, string $_): bool { if (mb_substr ($title->getText (), 0, 1) === '/' && !strpos ($url, '.', 2) && $title->getNamespace () === 0 && !MWNamespace::hasSubpages (0) // -- the same as $title->getNamespace () but faster ) { $url = '/.' . $url; } return true; };
Mar 19 2024
Feb 24 2024
Bump.
Is there a reason not to submit a patch, summarising the improvements above, immediately?
I did a simple test, though not in MediaWiki environment, and found out that simply
return value:gsub( '\n[ \t]+%*', '\n*' )
without any string.find() will be about 27% faster.
Feb 21 2024
See LuaSpecials.
Feb 15 2024
Feb 14 2024
Feb 7 2024
@Tgr, could you please approve the change, or reject it, or send it to someone else for reviewing?
Feb 6 2024
Jan 29 2024
Bump.
Jan 19 2024
@Kghbln, have you managed to show a fragment of a CSV-file?
Jan 17 2024
With start line > 1 CSV with headers will not work. start line and end line are applied to the file before it is parsed and header line is taken into account. You can use header lines = 1 to guarantee that the headers are included, and, therefore, columns have correct names.
Dec 30 2023
require 'Module:…' and mw.loadData '…' clauses are effectively links.
Dec 29 2023
Dec 27 2023
Dec 8 2023
Have you tried Page Exchange?
Dec 6 2023
Dec 3 2023
Nov 26 2023
@Sugarbravo, does it work now?
Nov 15 2023
Waiting till the 24th of November.
Nov 14 2023
Already fixed in January.
Nov 13 2023
Nov 12 2023
@Sugarbravo, have you updated the extension and made sure that JOINs work, so that this task can be closed?
Nov 11 2023
Nov 10 2023
Nov 8 2023
I have updated my patch so that it reproduces the old behaviour of join on. Please note that, in mySQL or MariaDB, that join will always be an inner join, since there is no way to set the type of join in this syntax.
Nov 2 2023
I have never heard that a table used in a query could be omitted from the from clause, and that mentioning it in the join on would be enough. However, I have submitted a patch allowing this.
What is the database engine, to which {{#get_db_data:}} connects?
Sep 21 2023
Sep 20 2023
Aug 26 2023
Aug 25 2023
Aug 21 2023
Jul 27 2023
Jul 19 2023
Jul 18 2023
May 11 2023
I would like to note that it is already doable with External Data.
May 9 2023
May 8 2023
@Platinops, please upgrade and see if the patch has helped.
May 7 2023
Apr 19 2023
Why don't you enable inline SVG, which can be generated by whatever mechanism that is available in MediaWiki, including Scribunto, templates or parser functions?
Mar 15 2023
Mar 13 2023
Mar 9 2023
Feb 26 2023
Feb 24 2023
Feb 14 2023
Feb 11 2023
Feb 4 2023
Jan 20 2023
Jan 10 2023
Jan 9 2023
Jan 7 2023
Nov 18 2022
Sep 29 2022
Sep 19 2022
And the failing tests were caused by bug 76584.
Thank you, @hashar. I tried to output some diagnostic information, which contained binary data, for a test that had succeeded on my development server but failed when run on MediaWiki gerrit. I sanitised the output, and this issue disappeared, although the test still fails.