Hello everyone,
I have created a public gist
<https://gist.github.com/tomschulze/afdda960b8c63a3fde0db6cb2ceea0ae>
with a minimal working example. I am trying to put JavaScript Code from
a Widget to an external JS file and load it dynamically with the
ResourceLoader. However, the developer console returns the following
error: jQuery.Deferred exception: drawmap is not defined when I am
accessing the function defined in the external script. Checking the
state in the developer console with
'mw.loader.getState("ext.iswiki.display_project_map")' returns: "ready".
When the Resource Loader debug mode is enabled in LocalSettings.php the
function is found and called.
What am I doing wrong?
Kind regards,
Tom
Hi,
this is an announcement to let you know that the service ($lang).
planet.wikimedia.org, an RSS feed aggregator for all Wikimedia related
blogs, has switched software.
You can find the English version at https://en.planet.wikimedia.org/
Other existing languages are listed on
https://wikitech.wikimedia.org/wiki/Planet.wikimedia.org#Which_languages_ex…
?
Today we moved away from planet-venus and to a newer package called
"rawdog" that does the same thing as before, fetching a bunch of RSS feed
and combining them into a single page and feed.
The reason is that planet-venus has been dropped in Debian stable (stretch)
because it was unmaintained, so we had to find an alternative to be able to
upgrade the underlying servers to a current OS version.
If you never heard of planet, here you can find more info:
https://wikitech.wikimedia.org/wiki/Planet.wikimedia.org
If you already use it but just subscribe to the "feed of feeds" then
nothing should change for you.
(Though note that we support RSS 2.0 but not a separate Atom feed anymore.
We are redirecting the old atom.xml URL to the new (and old) URL rss20.xml.)
If you already use it and look at the web UI, enjoy the new theme that
Paladox imported from KDE to make it look about 150% better than before.
(thanks to him for that theming work!)
We also applied patches to make it look more like our former planet for a
smooth transition. A "wmf1" package has been built and uploaded at
https://apt.wikimedia.org/wikimedia/pool/main/r/rawdog/
If you want to know more about "rawdog":
https://offog.org/code/rawdog/https://packages.debian.org/stretch/rawdog
If you want to add your blog feed, feel free to upload changes or just drop
me a mail.
Bugs can be reported here:
https://phabricator.wikimedia.org/project/view/413/
Tickets are: https://phabricator.wikimedia.org/T180498 ,
https://phabricator.wikimedia.org/T168490
Cheers,
Daniel
--
Daniel Zahn <dzahn(a)wikimedia.org>
Operations Engineer
A few languages (ar, arz, ko, lrc, ur) have localized the special page name
"OAuth", which means that in these languages requests to Special:OAuth
result in redirects. This breaks OAuth-signed requests to
Special:OAuth/identify, unless they use the localized name, and in general
developers shouldn't be expected to be aware of that.
To reduce confusion, starting next week special page name localization will
be disabled for Special:OAuth when the request is OAuth-signed, which means
that sending requests to Special:OAuth/identify will always work, and
sending requests to localized versions (such as 특수:MWO인증/identify on
kowiki) will stop working. If you have been doing the latter, you need to
update your code.
Hello,
Yiqing (cc'd) and I have been working on tools and corpora that transform
wiki revision dumps into structured conversations; as part of this, we want
to make sure any down-stream services and corpora that we develop respect
the deleted (and suppressed) revisions; namely that we remove any copies we
have of things deleted on Wikipedia.
For that we need a way to:
1. get all revisions IDs that were deleted or suppressed (or all
non-deleted and non-suppressed ones)
2. have a way to get new deletions or suppressions so that we can remove
any copies that we have.
What's the right infrastructure/APIs to use for this?
Thanks!
lucas
Hello,
[Quibble] is the new test runner for MediaWiki, this mail is to give an
update of what happened during May.
Željko Filipin wrote a blog post "Run Selenium tests using Quibble and
Docker": https://phabricator.wikimedia.org/J100
Since the [Last update] Quibble version went from 0.0.11 to 0.0.17:
Use Sphinx to generate documentation and publish it online [Antoine]
https://doc.wikimedia.org/quibble/
Composer timeout bumped to 900 seconds. PHP CodeSniffer against the
entirety of mediawiki/core takes a while under HHVM. [Kunal Mehta]
Process git submodules in extensions and skins [Antoine]
HHVM now serves .svg files with Content-Type: image/svg+xml [Antoine]
Support for posgres as a database backend. You will need postgres and
pg_virtualenv installed then pass --db=postgres. [Kunal Mehta]
Option --skip to skip one or more test commands. [Kunal Mehta]
Properly pass environment variables to all setup and test commands.
Notably MW_INSTALL_PATH and MW_LOG_DIR were missing which caused some
extensions to fail. The Jenkins job now properly capture all logs [Antoine]
How you can help:
The documentation can use tutorials for various use cases. It is in
integration/quibble.git in the doc/source directory. You should be able
to generate it by simply running:
tox -e doc
<your web browser> doc/build/index.html
Any support or question you might have are most welcome as a Phabricator
task!
I have migrated MediaWiki and a lot of extensions to use the Quibble
jobs. There are still 229 mediawiki extensions not migrated yet. A test
report is build daily by Jenkins:
https://integration.wikimedia.org/ci/job/integration-config-qa/lastComplete…
Tests "test_mediawiki_repos_use_quibble" represent extension not
migrated yet. https://phabricator.wikimedia.org/T183512 is the huge
tracking task.
Make MediaWiki tests passing with Postgres!
[T195807] Fix failing MediaWiki core tests on Postgres database backend
https://phabricator.wikimedia.org/T195807
Huge thanks to Kunal Mehta, Timo Tijhof, Adam Wight, Željko Filipin and
Stephen Niedzielski.
That is all for May 2018.
[Quibble]
https://lists.wikimedia.org/pipermail/wikitech-l/2018-April/089812.html
[Presentation]
https://commons.wikimedia.org/wiki/File:20180519-QuibblePres.pdf
[Last update]
https://lists.wikimedia.org/pipermail/wikitech-l/2018-April/089858.html
This mail will be posted at https://phabricator.wikimedia.org/J107
--
Antoine "hashar" Musso