Re: [Wikitech-l] Any way to find the used template from the template itself?

2018-03-08 Thread Gergo Tisza
On Thu, Mar 1, 2018 at 2:52 PM, Strainu  wrote:

> Say we have an article which includes {{Infobox A}}, which redirects
> to {{Infobox B}}, which in turn transcludes {{Infobox}}, which is
> implemented using [[Module:Infobox]]. Is there a way to know from the
> module (or the {{Infobox}} template) which infobox was actually used
> in the article?
>

Not unless you pass it along as a parameter.
mw.getCurrentFrame().getParent() only goes one level up (so you can tell
Module:Infobox was called from {{Infobox}} but not beyond that).
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Any way to find the used template from the template itself?

2018-03-08 Thread Strainu
2018-03-02 0:52 GMT+02:00 Strainu :
> Say we have an article which includes {{Infobox A}}, which redirects
> to {{Infobox B}}, which in turn transcludes {{Infobox}}, which is
> implemented using [[Module:Infobox]]. Is there a way to know from the
> module (or the {{Infobox}} template) which infobox was actually used
> in the article?


No ideas? :(

Thanks,
   Strainu

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Upcoming CI changes for PHP 7

2018-03-08 Thread Kunal Mehta
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

On 03/05/2018 10:54 PM, Kunal Mehta wrote:
> We're planning to enable tests against PHP 7.0 as a voting job for 
> MediaWiki core, and all MediaWiki extensions and skins that
> currently have one for PHP 5.5 and HHVM.

This has happened now! One caveat is that jenkins will only run the
PHP 7.0 job after a patch has been +2'd and is in the queue to be
merged (gate-and-submit). If you want to run the PHP 7.0 tests without
trying to merge the patch, you can comment "check php" on the patch
(similar to "recheck"), and jenkins will run the PHP 7.0 tests for
that patch.

- -- Kunal / Legoktm
-BEGIN PGP SIGNATURE-

iQJLBAEBCgA1FiEE+h6fmkHn9DUCyl1jUvyOe+23/KIFAlqh+bAXHGxlZ29rdG1A
bWVtYmVyLmZzZi5vcmcACgkQUvyOe+23/KJbgBAAk1nlNi3GXrqniTI3KwHFGuEv
Y+9PpXfsN+dXm1GF5RJe/Pn2fZBaZGA531QdShYp4bYHzR/g/Bq/ACrAQr4uZx3q
uPKhS4E1YLsltzHXxbcYAk6tynSd1dJt87ztep82Uqk+7/GccL1XAe2DDzh/GRt+
f/QYBkP2qWWd8N+DbZrZ3QcWAV28257fWRe6ZjrSYLqN2cPDpiqdqPK/bRWqH3aQ
BJJ5/z8I0xCLVXSKsRLus2FZPCRTx6SbI/NKz7McTZ5Wrgwy+vmp11RgOdDaiQei
DLwbUfhXKpAnyNYbGtgLWK/hi7xu2DrapCG7S/q1uZUhVSbZBip1/DdiNiXbSQ1K
O9Z+VCtGRUzSqftURe8AzlpBR0Wfly99rtPCRla3R2fAVfjA4r7SXcFDt1Rz/YxO
uthI72OpSNpzEhl4d2ocaxKZ5NT73VMUWvBR6MpQwEtR1gONbyV+t4CXh/g98E3p
5lU4aXV2W64F0ttTt4GRQaARRctryTuZIU8Sc3JS1qMcR/DCldw5wPGScQg5WDB8
iJICl2oBiLSdB0mtZrcvfA+8T59L/USISuDYLL54tV1g5df1owQxTufVaSXIS5lp
ydKPZXkXr3LR2vc4XAYffWhkkahkFWHNm96GZR8uOGyMXkhtij2Y6BdFCbuWyaxH
Qrzz6DkNjvZ5q5Fm3MM=
=0/ud
-END PGP SIGNATURE-

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] TechCom Radar, 2018-03-07

2018-03-08 Thread Kate Chapman
Hi All,

Here are the minutes from this week's TechCom meeting:

* RFC Put on Last Call (closing on 2018-03-14 at 3pm PST (21:00 UTC,
22:00 CET)): Make some aspects of Tidy's whitespace stripping behavior
part of wikitext parsing "spec" 

* RFC Put on Last Call (closing on 2018-03-21 at 3pm PST (21:00 UTC,
22:00 CET)): Normalize change tag schema


* No RFC IRC Meeting on March 14

* Redis based refreshLinks jobs are switched to EventBus and now running
exclusively from Kafka

* Global preferences moving along, community tech waiting for change to
table names


You can also find our meeting minutes at


See also the TechCom RFC board
.

-- 
Kate Chapman
TechCom Facilitator (Contractor) 



___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] 2018-03-07 Scrum of Scrums meeting notes

2018-03-08 Thread Grace Gellerman
https://www.mediawiki.org/wiki/Scrum_of_scrums/2018-03-07

= 2018-03-07 =
== Callouts ==
* Fundraising campaigns
*https://meta.wikimedia.org/wiki/CentralNotice/Calendar*
* - next up:
Netherlands *2018-04-03 through 2018-05-01
* Collaboration is planning to move maps server testing from prod (on
out-of-warranty hardware) into labs, tell us if that's a bad idea or if
there's a catch
* Performance: WebPageTest migration to Linux complete, dashboards need to
be updated if they haven't been already.  Reach out to Peter Hedenskog if
you need help.
* Performance: FOUC issue when autofocus is used on Firefox has been
addressed, but fix won't be released until FF60 (expected on 8 May).  (Has
been reported to affect some Special pages, Roan also reported it.)

==Blockers==
 iOS native app 
** No Joe :( Velocity is going to be reduced for a bit.
 Readers Infrastructure 
* Blocked by: Wikidata on code review for description overrides
https://phabricator.wikimedia.org/T184000
 Community Tech 
* Blocked by: SRE on GlobalPreferences schema T184666 - quarterly goal
 Collaboration 
* Blocked by: SRE on reviewing Flow dumps patch
 UI Standardization 
* Blocked by: RelEng on repos for Design subdomain
https://www.mediawiki.org/wiki/Gerrit/New_repositories/Requests &
https://phabricator.wikimedia.org/T185282


== Audiences ==
=== Readers ===
 iOS native app 
* Blocked by:
** No Joe :( Velocity is going to be reduced for a bit.
* Blocking:
* Updates:
** Bug fixing iOS reading list sync / finishing remaining sync UI bits

 Android native app 
* Blocked by:
* Blocking:
* Updates:
** Rolled out Reading List syncing to 10% of beta audience (~25000 users);
Will continue to roll out to 50% then 100% in the next few days, assuming
scalability looks good.

 Readers Web 
* Blocked by:
* Blocking:
* Updates:
** Bug fixing to mobile web and page previews (in preparation for release
to all wikis)

*Quarterly goal dependency update:
** Increase learning by lowering the cost of exploration
*** Reading Web/Performance

** Continue improving the ways that users can download articles of interest
for later consumption
*** Reading Web: Tech Ops/RelEng

 Readers Infrastructure 
* Blocked by: Wikidata on code review for description overrides
https://phabricator.wikimedia.org/T184000
* Blocking:
* Updates:
**

= Maps =
* Blocked by:
* Blocking:
* Updates:
**

 Multimedia 
* Updates
** 3D work nearly all complete - some cleanup and optimization that could
be done later
** Search: Draft patch up, looking for feedback but not urgently
** Other SDC: Progressing, complicated code structure slightly impeding
work, but nothing new and hopefully not for long
 Quarterly goal dependency update
** Prepare backend infrastructure for structured data search
*** SDC: Search PF/Multimedia/Wikidata
** Wikimedia Technology/Goals/2017-18 Q3#Segment 2: Search integration and
exposure
*** SDC: Research/Multimedia
** Prepare backend infrastructure for structured data search
*** SDC: Search PF/Multimedia/Wikidata

=== Contributors ===
 Community Tech 
* Blocked by: SRE on GlobalPreferences schema T184666 - quarterly goal
* Blocking:
* Updates:
** Lots of discussions with community around long edit summaries rollout,
seems like drastic measures will be avoided.

 Anti-Harassment Tools 
* Blocked by:
* Blocking:
* Updates:
**


 Editing 
* Blocked by:
* Blocking:
** Updates:

 Parsing 
* Blocked by:
* Blocking:
* Updates:
** Tidy will be replaced on a bunch of wikis (~100 overall) next week -
sent out an announcement on ambassadors and wikitech-l
** Last week's RFC hearing about https://phabricator.wikimedia.org/T157418 has
been approved and will be announced for last call soon. WIP patches for
both the PHP parser and Parsoid have been uploaded to gerrit. I have to
update tests and verify they all pass before I take it out of WIP. But, I
expect this to be ready for final review before the last call period ends.
*Quarterly goal dependency update:
** Support work towards unifying MediaWiki's parser implementations, in
liaison with Technology's MediaWiki team
*** Parsing:Mediawiki PF/Services
** No new updates on these dependencies since last week's update

 Collaboration 
* Blocked by: SRE on reviewing Flow dumps patch
* Blocking: nobody
* Updates:
** "Flow on your talk page" beta feature re-enabled after Roan fixed MCR bug
** Patch up for review that should fix Flow dumps, Ariel will review next
week
** Planning to move maps server testing from prod into labs, tell us if
that's a bad idea or if there's a catch
** IRC meeting today about change tags RFC

 Language 
* Blocked by:
* Blocking:
* Updates:
**

=== Audiences Design ===
* Blocked by:
* Blocking:
* Updates:
**
* Quarterly goal dependency update:
** Audiences DesignStandardise our user interfaces to match user
expectation of qua

[Wikitech-l] LAST REMINDER: Wikimedia Hackathon 2018 Barcelona - 14 March

2018-03-08 Thread Toni Hermoso Pulido
Hello everyone,


We are getting close to maximum capacity for the Wikimedia Hackathon in
Barcelona. This is the last week that we will be accepting registrations
from anyone needing accommodation support (registration is already
closed for Wikimedia Foundation staff and those requesting scholarships).

The deadline for any additional registrations is Wednesday, 14 March.

https://www.mediawiki.org/wiki/Wikimedia_Hackathon_2018/Register_and_Attend


Please do not hesitate to mail hackat...@wikimedia.cat for any question!




___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l