[Wikitech-l] CentralAuth MediaWiki-Vagrant

2016-10-14 Thread Matthew Flaschen
If you use MediaWiki-Vagrant with CentralAuth, you may have noticed it 
stopped working.


There was a recent schema change, and since CA does not use update.php, 
you have to do it manually (or destroy your box, but that will take a 
lot longer).


If it's broken (huge red box and "Unknown column 'lu_local_id' in 'field 
list'")


$ vagrant ssh
$ mysql centralauth < 
/vagrant/mediawiki/extensions/CentralAuth/db_patches/patch-lu_local_id.sql


(This could be done via Puppet, but that would require writing that and 
then checking at runtime whether these columns exist forever.)


I hope that helps,

Matt

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

[Wikitech-l] Discovery Weekly Update for the week starting 2016-10-10

2016-10-14 Thread Chris Koerner
Greetings,
This week is chock full of updates from Discovery. As always, feedback and
questions are welcome.


= Discussions =

== Search ==
* Updated the search results page because the content overflows page
boundaries [1]
* Add accent squashing to Russian/Cyrillic analyser (with tests) [2]
* Fixed Cyrillic 'Е' and 'Ё' equivalence not found by search [3]
* Decided on the outcome of the recent BM25 A/B test, what our next steps
on using BM25 will be [4]
* Fixed issue where the search page content overflows the page boundaries
on various browsers [5]
* Updated where users prefer pages in their language in multilingual wikis
[6]

Search tickets completed this week, but awaiting next train in order to be
deployed: Oct 25, 2016:
* Put SITENAME in search box placeholder "searchsuggest-search" like in
MobileFrontend's "mobile-fronted-placeholder [7]
* Integrate "did you mean" data collection into search satisfaction schema
[8]

== Analysis ==
* Completed analysis of the results of BM25 AB test (final report) [9] [10]
* Search results page: how many visitors are on mobile vs desktop [11] -
Mikhail ran a hive query for the last couple of weeks and discovered:
* Analyze the variance of user-agent's, country, and other useful metrics
of google referred traffic with and without a search query available in
referrer [12]
** this was to analyze what the difference is between the requests that
have a search term in the query and those that do not, to determine if
those queries could be used as a representative sample. Turns out, they're
not relevant at all.
* Investigate recent spike in pageviews on wikipedia.org portal page [13]
** there has been a dramatic increase in the amount of page views since
middle of Sep 2016 to the portal--it turns out that this increase is due to
various issues: school starting up again, increasing bot traffic, and
possibly several agencies/companies that might have loaded 'golden' copies
of software onto their employees phones that have wikipedia.org as the
default home page of their Android phone browsers.

== Portal ==
* Updated articles by languages [14]
* Centered 'the free encyclopedia' phrase on mobile devices [15]
* Fixed the language link that broke unevenly [16]
* Updated the portal text to use the new, approved shade of blue (partially
completed) [17]
* Fixed where `.lang-list-button` doesn't feature focus state [18]

Portal updates that need code review:
* update logo for new branding guidelines [19]
* add information for Wikipedia / Wikimedia apps availability [20]

== Interactive ==
* Maps with geoshapes now have a link to Wikidata item or query in the
bottom attribution text (i.e.: externalData should show up as data source
in credits) [21]
* Migrated all map usage from "href" to "service" external data (about 50
pages) [22]
* Simplified (and normalized) ExternalData parsing in Kartographer [23]
* Geoshapes service URL is hardcoded [24]
* Refactor data loader into a separate lib, as both Kartotherian (snapshot)
and Kartographer need identical functionality, for a given map, we need to
provide a fully expanded (no externalData) GeoJSON [25]
* Fixed where failed ExternalData requests result in all maps on page being
completely broken [26]
* Set "maxzoom" to 14 on osm.tm2source, based on community feedback [27]
* Defined KPIs and other interesting maps statistics about how we would
like to gather to track and improve maps [28]
* Ensure Maps servers can be installed easily (automation + documentation)
[29]
* maps-test* hosts running low on space [30]
* Updated to postgresql 9.4.9 on all maps servers [31]
* Created a pipeline for supplying data to static map service (Here is a
sample URL) [32] [33]
* Error "Maximum zoom is 18" (updated logging to be an 'info' message
rather than an error) [34]
* Fixed where the Sparql-based externalData maps are broken [35]

Interactive tickets completed this week, but awaiting next train in order
to be deployed: Oct 25, 2016:
*  maximize button sometimes doesn't work [36]
* buildHtml() should parse messages in parser output language [37]

= Other Noteworthy Stuff =
* The Search team created a new ticket to note what will be 'live' in
production during the next full re-indexing: [Recurring task] CirrusSearch:
what is updated during re-indexing [38]
* Request for translation sent for Update CirrusSearch documentation [39]


[1] https://phabricator.wikimedia.org/T138108
[2] https://phabricator.wikimedia.org/T102298
[3] https://phabricator.wikimedia.org/T124592
[4] https://phabricator.wikimedia.org/T147008
[5] https://phabricator.wikimedia.org/T138108
[6] https://phabricator.wikimedia.org/T68829
[7] https://phabricator.wikimedia.org/T144640
[8] https://phabricator.wikimedia.org/T138087
[9] https://phabricator.wikimedia.org/T143589
[10] https://wikimedia-research.github.io/Discovery-Search-Test-BM25/
[11] https://phabricator.wikimedia.org/T147513
[12] https://phabricator.wikimedia.org/T128146
[13] https://phabricator.wikimedia.org/T146214
[14] 

[Wikitech-l] [Deadline] Outreachy-13 prospective applicants

2016-10-14 Thread Sumit Asthana
Dear Outreachy applicants,

The deadline to submit Outreachy-13[0] proposals at[1] is October 17 7PM
UTC. Please make sure that your initial draft is submitted before that
deadline.

The application can be edited till sometime afterwards. If not made initial
contributions yet, kindly get in touch with project mentors and make
initial contributions to projects of your interest or some part of
MediaWiki soon and continue to work towards the proposal. This will make
you a *strong* candidate for the project and help the mentors in the
selection process.

To start with initial contributions, set up your dev environment[2] and
read the complete beginner's guide[3].

For anything else just ask :)

[0] - https://www.mediawiki.org/wiki/Outreachy/Round_13
[1] - https://outreachy.gnome.org/?q=program_home=7
[2] - https://www.mediawiki.org/wiki/Gerrit/Tutorial
[3] - https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker
-- 
-Thanks,
Sumit 
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Mobile JavaScript

2016-10-14 Thread Jon Robson
That's correct. I should not mobile.css exists for the css equivalent and
is a little more popular:
 https://en.wikipedia.org/wiki/MediaWiki:Mobile.css

On Thu, 13 Oct 2016 at 20:54 Denny Vrandečić  wrote:

> Thanks Dmitry and Jon! That's the info I was looking for.
>
> Since both https://en.wikipedia.org/wiki/MediaWiki:Mobile.js and
> https://en.wikipedia.org/wiki/MediaWiki:Minerva.js are empty, does that
> mean English Wikipedia has no local JavaScript? Nice!
>
> Cheers,
> Denny
>
>
> On Thu, Oct 13, 2016 at 6:48 PM Jon Robson  wrote:
>
> > The web runs MediaWiki:mobile.js or MediaWiki:minerva.js (skin) but not
> > MediaWiki:Common.js
> > It's my regret that we created MediaWiki:mobile.js to make this more
> > confusing ...  so I'd advise using minerva.js ... :) Similar
> > User:Name/minerva.js will work for a user.
> >
> >
> > On Thu, 13 Oct 2016 at 17:20 Dmitry Brant  wrote:
> >
> > > Hi Denny,
> > >
> > > Speaking for the apps, we do not load any JavaScript, except for a few
> > > packaged scripts used for app-specific features (e.g. collapsing
> > > infoboxes).
> > >
> > >
> > > -Dmitry
> > >
> > > On Thu, Oct 13, 2016 at 7:30 PM, Denny Vrandečić 
> > > wrote:
> > >
> > > > Two stupid questions, I couldn't find the answer on MediaWiki.org:
> > > >
> > > > 1) is MediaWiki:common.js being loaded on the mobile web view? Or any
> > > other
> > > > js? What about User:Name/common.js?
> > > >
> > > > 2) same question but for the Wikipedia app. Does the app run any js?
> > > > ___
> > > > Wikitech-l mailing list
> > > > Wikitech-l@lists.wikimedia.org
> > > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> > >
> > >
> > >
> > >
> > > --
> > > Dmitry Brant
> > > Senior Software Engineer / Product Owner (Android)
> > > Wikimedia Foundation
> > > https://www.mediawiki.org/wiki/Wikimedia_mobile_engineering
> > > ___
> > > Wikitech-l mailing list
> > > Wikitech-l@lists.wikimedia.org
> > > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> > ___
> > Wikitech-l mailing list
> > Wikitech-l@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l