Hi,
the API action feedrecentchanges
(https://www.mediawiki.org/wiki/API:Feedrecentchanges) returns a feed
with HTML diffs, including timestamps. By default, these timestamps
seem to be renderd as UTC. Is there any way to change the timezone?
E.g., by passing a timezone argument to the API?
Cheers,
Kilian
[If you don't write gadgets, user scripts or work on MediaWiki code feel
free to ignore this message]
Hey all!
Given the hackathon this weekend, now seemed like a good idea to talk about
us having a policy for code we write for gadget and user scripts developers
and as gadget and user script developers. TDLR: I am proposing a policy to
guide developers and authors of these kinds of scripts. I would like people
to read through my first draft
<https://www.mediawiki.org/wiki/User:Jdlrobson/Extension:Gadget/Policy#Polic…>
[1] and give me feedback on the talk page. Please feel free to share on
wiki.
*What is being proposed*
A policy page that would be editable on wiki and linked to from the editing
interfaces on gadgets, to guide both parties on how to write code that's
sustainable and less prone to breakage.
*Why is this needed?*
Despite gadgets and user scripts (which will be referred from now on as
wiki-based code) being a key component of MediaWiki projects, up until now
frontend APIs (e.g. how wiki-based code should interact with source control
provided code) have been ill-defined leading to misunderstandings between
engineers and wiki-based code developers when wiki-based code break. This
also leads to code rot, where developers do not feel empowered to make
changes as it's unclear how their changes will impact wiki-based code
developers. On top of this, when wiki-based code breaks it's not clear who
can and will fix them.
To solve this a policy I have been pushing for some time to make the
contract between MediaWiki developers and wiki-based code developers
explicit and less confusing.
I hope on the long run a policy would restore trust and good faith between
the two parties.
*How can you help?*
To contribute to the policy please use the discussion page to raise
concerns, suggestions, removals or additions.
*What's the deadline?*
I'd like to have all feedback gathered by 30th May 2022
[1]
https://www.mediawiki.org/wiki/User:Jdlrobson/Extension:Gadget/Policy#Polic…
hi, I was trying to use proton mail to rather then my Gmail since my Gmail has my irl name attached to it and I would like this project to be anonymous, but I can't start editing my wiki till I confirm this proton mail account, it won't send me the verification code, I keep waiting then requesting a new one and none have shown up.
Hi,
We received a e-mail form a client stating he found a content-spoofing vulnerability. Specific; text injection.
Example URL: https://nl.wikipedia.org/w/load.php?modules=As%20we%20are%20experiencing%20… <https://nl.wikipedia.org/w/load.php?modules=As%20we%20are%20experiencing%20…>
Obviously, load.php is normally used to load mediawiki’s frontend modules; but whenever a package/module can’t be found - it will show a message, containing the searched module. I don’t think this is needed necessarily; if this is has been added to help developers, the solution might be to just load a message into wfDebugLog() instead showing the user the package name.
Is this something worth creating a MR or PR for? I’m willing to fix it.
Thanks in advance,
Youri
Hi.
When running "php update.php" I get this error:
php update.php
PHP Fatal error: Uncaught Exception: Unable to open file
/Cite/extension.json: filemtime(): stat failed for /Cite/extension.json
in
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php:182
Stack trace:
#0
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/includes/GlobalFunctions.php(52):
ExtensionRegistry->queue()
#1
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/LocalSettings.php(203):
wfLoadExtension()
#2
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/includes/Setup.php(204):
require_once('...')
#3
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/doMaintenance.php(96):
require_once('...')
#4
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/update.php(264):
require_once('...')
#5 {main}
thrown in
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php
on line 182
Fatal error: Uncaught Exception: Unable to open file
/Cite/extension.json: filemtime(): stat failed for /Cite/extension.json
in
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php:182
Stack trace:
#0
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/includes/GlobalFunctions.php(52):
ExtensionRegistry->queue()
#1
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/LocalSettings.php(203):
wfLoadExtension()
#2
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/includes/Setup.php(204):
require_once('...')
#3
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/doMaintenance.php(96):
require_once('...')
#4
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/maintenance/update.php(264):
require_once('...')
#5 {main}
thrown in
/srv/http/wiki.intranet.lamby.de/mediawiki-1.38.0/includes/registration/ExtensionRegistry.php
on line 182