tl;dr: The new scap version is live in production. It has canary
deploys.
Scap v.3.2.2-1 was deployed to production today. There are some new
internal improvements as well as some that are user-facing.
The improvements you'll probably notice are:
* Tab completion works for scap subcommands(!)
* Canary checks for MediaWiki deployments
Canary deployments:
1. Sync your change(s) to the api and appserver canary hosts
2. Wait (20 seconds) for traffic to hit those host
3. If there isn't a large increase in the error rate on those hosts
(10x), release your changes to the remainder of the fleet.
If, for whatever reason, you find yourself in a position where you don't
care about the error-rate change on canary nodes, use the --force flag,
i.e.:
scap sync-file --force README 'Important README update'
Please report any problems in a phab ticket tagged with "Scap3" or in
#wikimedia-releng in IRC on freenode.
<3,
Your Hometown Release Engineers
Hi,
I've installed the current CirrusSearch on a MediaWiki 1.27 with local
ElasticSearch 1.7.5 and everything went smoothly, except that the index
doesn't update by itself after I edit pages. Only if I re-run the
maintenance script do new edits get included in search results.
I don't have $wgDisableSearchUpdate=true in LocalSettings.php and have
tried settings it to false too.
Any ideas what might be the trouble?
Thanks,
Aran
Hoi,
This is an inquiry from my friend in academia, researching about Wikipedia.
He would like to know whether there's a way to acquire a list of templates
including external links. Here are some examples including external links.
https://ja.wikipedia.org/wiki/Template:JOI/dochttps://ja.wikipedia.org/wiki/Template:Twitter/doc
Such links are stored in externallinks.sql.gz, in an expanded form.
When you want to check increase/decrease of linked domains in chronological
order through edit history, you have to check pages-meta-history1.xml etc.
In a such case, traditional links and links by templates are mixed,
Therefore, the latter ones (links by templates) should be expanded to
traditional link forms.
Sorry if what I am saying does not make sense.
Thanks in advance,
--Takashi Ota [[U:Takot]]
Did not get the answer, so repeating in the mailing list. We might need
Idea license to support
https://commons.wikimedia.org/wiki/Commons:WLX_Jury_Tool for Wiki loves
monuments as it is the best IDE for Scala and we want to onboard someone
except me to support the jury tool.
Regards,
Ilya
On Mon, Nov 2, 2015 at 8:31 PM, Ilya Korniyko <intracer(a)gmail.com> wrote:
> Hi Yuri,
> Does the license work for Idea 15 that is released today?
>
> It says: License key is in legacy format. Press Convert button, and after
> pressing Convert asks for First name, Last Name and Email
> When I enter my name and email, it says that Your license key cannot be
> found in the JetBrains database.
>
>>>>>
>>>>> Date: Mon, 19 Oct 2015 23:02:02 +0300
>>>>>> From: Yuri Astrakhan <yastrakhan(a)wikimedia.org>
>>>>>> To: Wikimedia developers <wikitech-l(a)lists.wikimedia.org>
>>>>>> Subject: [Wikitech-l] JetBrains IDE licenses for MW developers - php,
>>>>>> js/node, python, C/C++, puppet, ruby, ...
>>>>>> Message-ID:
>>>>>> <CALOOOkiP-vsX6he4i451Dg5TcH2vtDvdYkF4cr2
>>>>>> K3c9nFZCmWQ(a)mail.gmail.com>
>>>>>> Content-Type: text/plain; charset=UTF-8
>>>>>>
>>>>>> Developers, we now have licenses for JetBrains' IDEA Ultimate
>>>>>> <https://www.jetbrains.com/idea/> (JavaScript, PHP, Python, ...)
>>>>>> and CLion
>>>>>> <https://www.jetbrains.com/clion/> (C/C++). The IDE supports
>>>>>> debugging in
>>>>>> Vagrant and on-the-fly static code analysis.
>>>>>>
>>>>>> If you are a volunteer developer, and want to use an IDE, contact me
>>>>>> for a
>>>>>> license. Those with access to the office wiki may register directly
>>>>>> at the
>>>>>> licenses <https://office.wikimedia.org/wiki/JetBrains> page.
>>>>>>
>>>>>> Please try it for a bit before getting a license -- just in case you
>>>>>> don't
>>>>>> like it.
>>>>>>
>>>>>> P.S. This is only for those who want JetBrains' IDE. If you are happy
>>>>>> with
>>>>>> Vim, good for you. If you like Atom or Sublime, great. If notepad is
>>>>>> the
>>>>>> best text editor of all times, all the power to you. Bikeshedding
>>>>>> should
>>>>>> go into a separate thread ))
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>
>>
>
Hi,
One thing that's always annoyed me about writing tests for an extension
is that for the first test, you need to bootstrap it by adding a
UnitTestsList hook, and copying the code for it from some other extension.
Now that we have a proper extension registry, I wrote
<https://gerrit.wikimedia.org/r/#/c/302944/> (merged by Florian!), which
will automatically register any tests in an extension's "tests/phpunit/"
directory. If you already have a UnitTestsList hook, the tests won't be
duplicated or anything, but it is now safe to remove the hook.
<https://phabricator.wikimedia.org/T142120> tracks updating extensions
to do so by moving their tests into the standardized path and removing
the hook.
Note: this requires that the extension has already been converted to use
extension.json.
-- Legoktm
Hi everyone,
If you're tired of repetitively prompting your users to approve your tool
(using MediaWiki oauth), here's a trick that might come in handy: you can
hit ".../w/index.php?title=Special:OAuth/authenticate" in the second leg of
the handshake instead of ".../w/index.php?title=Special:OAuth/authorize"
which would cause it to simply jump over to the callback URL if the user
has approved your tool at least once in the past. This works for authonly
or authonlyprivate grants only.
You can read up more about this here:
https://www.mediawiki.org/wiki/OAuth/For_Developers#Avoid_repetitive_login_…
Note that the mwoauth library was recently updated to include this change
so you might just want to update it.
Thanks Brad(for writing it), Gergö (for telling Bryan) and Bryan (for
telling me).
--
Niharika
Software Engineer (International)
Wikimedia Foundation
[User:NiharikaKohli]
Hi folks,
given a difflink between two states of a page, is there a way to tell by
bot, how many modifications there are? I.e. in how many fragments those two
differ? I know, this is not an exact question, but the software itself
interprets it somehow as it tries to emphasize differences with colors.
--
Bináris