TL;DR:
* Review site scripts to verify that no wikibits methods[1] are used.
* If you find usage of wikibits, refactor the code to use newer methods
instead, or add a dependency on the 'mediawiki.legacy.wikibits' module.
Hi all,
The deprecation and eventual removal of the legacy "wikibits" JavaScript
module has been a long time coming. This announces another step in that
direction.
In 2011, wikibits was deprecated following the introduction of
ResourceLoader in MediaWiki 1.17. To accommodate pre-ResourceLoader code
that doesn't have a concept of dependencies, $wgIncludeLegacyJavaScript was
created to allow existing sites (such as Wikimedia wikis) to load
"mediawiki.legacy.wikibits" by default on all pages. While most code no
longer uses wikibits, it remains set to this day.
In 2013, we introduced mw.log.deprecate in MediaWiki 1.23 to help you
detect any use of deprecated methods in the browser's developer console.[2]
We have seen a big reduction in the use of such methods.[3]
In 2015, we made significant performance improvements in MediaWiki 1.26, by
running JavaScript asynchronously rather than blocking page rendering. To
avoid breaking undeclared use of wikibits, we made an exception for
wikibits and kept it as blocking other JavaScript modules on page views,
re-purposing $wgIncludeLegacyJavaScript to mean "always load wikibits
before other modules".
Now, as the last step before removing wikibits from MediaWiki, it will
first no longer load by default in MediaWiki 1.27. This change will roll
out on Wikimedia wikis in April 2016. If you find usage of wikibits
features without a dependency, please refactor this code to use the modern
replacements[1], or add an explicit dependency as temporary stop-gap while
figuring out how to refactor the code.
Before re-factoring, please remember to first check whether the associated
code is working. Many wikibits methods have become empty placeholders to
avoid cascading failures. As such, blind updates may cause old or broken
code that is currently invisible to re-activate itself. Removing dead code
speeds up wikis for all users, and reduces the risk of things going wrong
in future.
For third-party wikis, this will ship in MediaWiki 1.27.0. If needed, you
can alter LocalSettings.php and set $wgIncludeLegacyJavaScript to true.
This will give you time to fix missing dependencies on wikibits. In
MediaWiki 1.28, to be released in November 2016, the wikibits module will
be removed entirely.
-- Krinkle
[1] https://www.mediawiki.org/wiki/ResourceLoader/Legacy_JavaScript
[2]
https://lists.wikimedia.org/pipermail/wikitech-l/2013-October/072776.html
[3] https://grafana.wikimedia.org/dashboard/db/mw-js-deprecate?from=now-10M
Hi,
Over the last years, the Wikimedia Foundation has tried to solve, on a
technical level, some of the most important problems concerning
censorship, surveillance and man-in-the-middle attacks, among others.
Nowadays, they force HTTPS connections to the Wikimedia projects.
However, without involving chapters, thematic organizations and user
groups in going ahead with HTTPS, this transition seems incomplete. A
significant number of websites around the Wikimedia movement don't
support HTTPS yet and are too vulnerable, primarily those that offer
services to the public using logins or those that serve sensitive
information.
While Wikimedia chapters that are based on the WMF infrastructure
(*.wikimedia.org) support HTTPS, most of the others have not a SSL
certificate or have it wrongly configured. Even the very infrequent
chapters that use a well-configured certificate, such as Wikimedia
Deutschland, serve mixed content (using HTTP and HTTPS at the same time)
on some pages (blog.wikimedia.de) although the user chooses HTTPS
explicitly (only constructive criticism, WMDE, you're really great!).
Please, let's work to complete this transition to HTTPS and let's help
the people who need it.
(And, as a bonus, let's develop these HTTPS-Everywhere rules when all of
the above is done...) ;-)
https://github.com/EFForg/https-everywhere/blob/master/src/chrome/content/r…
Best regards, and thanks in advance for your help,
--
David Abián - davidabian.com
Vocal de Comunicación
Wikimedia España
Vega Sicilia, 2
47008 - Valladolid
https://wikimedia.es
Wikimedia España es una asociación sin ánimo de lucro española con
CIF G-10413698 inscrita en el Registro Nacional de Asociaciones,
Grupo 1, Sección 1, Núm. Nacional 597390.
«Imagina un mundo en el que cada persona
tenga acceso libre a todo el conocimiento».
On Thu, Mar 24, 2016 at 12:18 AM, Moushira Elamrawy <melamrawy(a)wikimedia.org
> wrote:
> Hello everyone,
>
> Related pages feature has been in beta for over two months now, the future
> of the feature depends on our discussions. While we currently don't have a
> clear process for deciding collaboratively on an all languages product,
> Alsee and the reading team have put together this document on meta [0], as
> a request for comment, seeking comments and ideas on modifications
> required, and how to further test the feature. In fact, we are not sure if
> an rfc is the best strategy to move forward with product decisions, but
> lets see how the discussion evolves, and we might explore the need for a
> different process, as we move on with this one.
>
> We managed to translate a brief introduction about the topic, please feel
> free to fully translate the document and/or further promote the discussion
> on your wiki. We are trying hard to avoid having an English centric
> discussion for a feature that could be available across all language
> projects, and while we don't have a clear solution for this, we are trying
> this method as an experiment, where at least our communities can leave
> comments in their preferred language if they aren't comfortable writing in
> English but they can understand it.
>
> Please check the page, help with translation or promotion in your
> Wikipedia, and most importantly, comment on how you think it can evolve. :)
>
> Lets see how this works!
>
>
> All the best,
> M
>
> [0] https://meta.wikimedia.org/wiki/Requests_for_comment/Related_Pages
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hi Sam,
We're glad you're using the Portal page more than usual and we hope that
with upcoming future enhancements, you'll continue to enjoy it!
For your first question - we are currently focusing on the wikipedia.org
portal page at this time. We have no immediate plans to update the
individual wiki's with this code but that doesn't mean that anyone in the
community can't use our code to update another wiki to use the meta data
and images as we did, in the search results.
For your second question, we actually have a ticket
<https://phabricator.wikimedia.org/T129627> open to look for input exactly
like that. When a user types in a few words that are not in the language
that has been previously selected, we're hoping to be able to switch to
that "new" language on the fly. I agree that it'll be a very neat feature
for us to have on the portal!
Thanks for your input!
Cheers,
Deb
--
Deb Tankersley
Product Manager, Discovery
Wikimedia Foundation
On Tue, Mar 15, 2016 at 4:27 PM, Sam Klein <sjklein(a)hcs.harvard.edu> wrote:
> I'm using the portal much more these days! Two thoughts, a few days in:
>
> = Is there a way to turn on thumbnailing on the individual language wikis
> too?
>
> = Auto-suggesting language based on charset would be nice. when searching
> in multiple languages I always forget once to switch to the target language
> and end up getting search results for kanji on he.wp or for hebrew on ja.wp
>
> Thanks, SJ
>
> On Tue, Mar 15, 2016 at 4:25 AM, Michael Jahn <michael.jahn(a)wikimedia.de>
> wrote:
>
> > I've played around a bit. Feels very cool!
> > Michael
> >
> > 2016-03-11 3:27 GMT+01:00 Deborah Tankersley <dtankersley(a)wikimedia.org
> >:
> >
> > > Hello!
> > >
> > > I'm very pleased to announce that we've updated the Wikipedia.org
> > > <http://wikipedia.org/> portal page with a brand new search box that
> is
> > > more prominent and will now display meta data with images (as
> available)
> > in
> > > the search results (see attached image).
> > >
> > > This was a large effort by the Discovery Portal team to develop a
> > > JavaScript-only version of the language picker, so that JavaScript
> > enabled
> > > browsers will see all the new meta data. Alongside that effort, we also
> > > ensured that in JavaScript (JS) disabled browsers (or older Internet
> > > Explorer versions), our visitors won't have a bad experience when
> > choosing
> > > a language to search in. (Note: in older IE versions and JS disabled
> > > browsers, the type-ahead and meta data search results information will
> > not
> > > be displayed.)
> > >
> > > We also implemented a shorter language code (ie: EN for English, ES for
> > > Spanish, etc) to allow for more characters to be typed into the search
> > box.
> > > When a user toggles the language selector, the full language name will
> be
> > > displayed in the dropdown for easy finding of the language you prefer
> to
> > > search in. For the more technical minded - I've attached a screenshot
> of
> > > one of the ways we test our code, visually.
> > >
> > > We're interested in hearing your feedback or if you have any questions!
> > >
> > > On behalf of the very happy Wikipedia.org Portal Team,
> > >
> > > Deb
> > >
> > > --
> > > Deb Tankersley
> > > Product Manager, Discovery
> > > Wikimedia Foundation
> > > _______________________________________________
> > > Wikimedia-l mailing list, guidelines at:
> > > https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines
> > > New messages to: Wikimedia-l(a)lists.wikimedia.org
> > > Unsubscribe: https://lists.wikimedia.org/mailman/listinfo/wikimedia-l,
> > > <mailto:wikimedia-l-request@lists.wikimedia.org?subject=unsubscribe>
> >
> >
> >
> >
> > --
> > Leiter Kommunikation
> > Head of Communications
> >
> > Wikimedia Deutschland e.V. | Tempelhofer Ufer 23-24 | 10963 Berlin
> > Tel. (030) 219 158 260
> >
> > http://wikimedia.de <http://www.wikimedia.de>
> >
> > Stellen Sie sich eine Welt vor, in der jeder Mensch freien Zugang zu der
> > Gesamtheit des Wissens der Menschheit hat. Helfen Sie uns dabei!
> >
> > Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
> > Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
> unter
> > der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
> > Körperschaften I Berlin, Steuernummer 27/029/42207.
> > _______________________________________________
> > Wikimedia-l mailing list, guidelines at:
> > https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines
> > New messages to: Wikimedia-l(a)lists.wikimedia.org
> > Unsubscribe: https://lists.wikimedia.org/mailman/listinfo/wikimedia-l,
> > <mailto:wikimedia-l-request@lists.wikimedia.org?subject=unsubscribe>
> >
>
>
>
> --
> Samuel Klein @metasj w:user:sj +1 617 529 4266
> _______________________________________________
> Wikimedia-l mailing list, guidelines at:
> https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines
> New messages to: Wikimedia-l(a)lists.wikimedia.org
> Unsubscribe: https://lists.wikimedia.org/mailman/listinfo/wikimedia-l,
> <mailto:wikimedia-l-request@lists.wikimedia.org?subject=unsubscribe>
>
Thank you. Great work.
/a
On Thu, Mar 10, 2016 at 6:27 PM, Deborah Tankersley <
dtankersley(a)wikimedia.org> wrote:
> Hello!
>
> I'm very pleased to announce that we've updated the Wikipedia.org
> <http://wikipedia.org/> portal page with a brand new search box that is
> more prominent and will now display meta data with images (as available) in
> the search results (see attached image).
>
> This was a large effort by the Discovery Portal team to develop a
> JavaScript-only version of the language picker, so that JavaScript enabled
> browsers will see all the new meta data. Alongside that effort, we also
> ensured that in JavaScript (JS) disabled browsers (or older Internet
> Explorer versions), our visitors won't have a bad experience when choosing
> a language to search in. (Note: in older IE versions and JS disabled
> browsers, the type-ahead and meta data search results information will not
> be displayed.)
>
> We also implemented a shorter language code (ie: EN for English, ES for
> Spanish, etc) to allow for more characters to be typed into the search box.
> When a user toggles the language selector, the full language name will be
> displayed in the dropdown for easy finding of the language you prefer to
> search in. For the more technical minded - I've attached a screenshot of
> one of the ways we test our code, visually.
>
> We're interested in hearing your feedback or if you have any questions!
>
> On behalf of the very happy Wikipedia.org Portal Team,
>
> Deb
>
> --
> Deb Tankersley
> Product Manager, Discovery
> Wikimedia Foundation
> _______________________________________________
> Wikimedia-l mailing list, guidelines at:
> https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines
> New messages to: Wikimedia-l(a)lists.wikimedia.org
> Unsubscribe: https://lists.wikimedia.org/mailman/listinfo/wikimedia-l,
> <mailto:wikimedia-l-request@lists.wikimedia.org?subject=unsubscribe>
--
Anna Stillwell
Major Gifts Officer
Wikimedia Foundation
415.806.1536
*www.wikimediafoundation.org <http://www.wikimediafoundation.org>*
It looks great, well done.
However, I leave some comments:
* With my configuration, contents slightly overflow the page when using
a window of between 481 and 560 px wide. I would increase the border
between mobile and desktop view from 480 px to ~550 px (or would modify
contents so that we didn't need to modify that limit).
http://davidabian.com/screenshots/wikimedia/wikipedia-org-485.png
* Having written a topic in the search box, the selected summary
overflows the box after clicking.
http://davidabian.com/screenshots/wikimedia/wikipedia-org-results-overflowi…
* While a license (CC BY-SA 3.0) is specified in the HTML (<link
rel="license" href="//creativecommons.org/licenses/by-sa/3.0/">), no
license is displayed to the user.
And some questions:
* Are you planning to make something similar with wikimedia.org?
* Do you follow a specific order when linking to the sister projects? I
see that wikipedia.org and wikimedia.org show the projects in a
different order.
Thank you!
El 11/03/16 a las 19:18, Deborah Tankersley escribió:
> Hello!
>
> I'm very pleased to announce that we've updated the Wikipedia.org
> <http://wikipedia.org/> portal page with a brand new search box that is
> more prominent and will now display meta data with images (as available)
> in the search results (link
> <https://commons.wikimedia.org/wiki/File:New_searchbox_with_metadata.png>).
>
> This was a large effort by the Discovery Portal team to develop a
> JavaScript-only version of the language picker, so that JavaScript
> enabled browsers will see all the new meta data. Alongside that effort,
> we also ensured that in JavaScript (JS) disabled browsers (or older
> Internet Explorer versions), our visitors won't have a bad experience
> when choosing a language to search in. (Note 1: in older IE versions and
> JS disabled browsers, the type-ahead and meta data search results
> information will not be displayed.)
>
> We also implemented a shorter language code (ie: EN for English, ES for
> Spanish, etc) to allow for more characters to be typed into the search
> box. When a user toggles the language selector, the full language name
> will be displayed in the dropdown for easy finding of the language you
> prefer to search in. For the more technical minded - I've also uploaded,
> to Commons, a screenshot
> <https://commons.wikimedia.org/wiki/File:Sample_browsers_tested.png> of
> one of the ways we test our code, visually.
>
> We're interested in hearing your feedback or if you have any questions!
> (Note 2: My apologies for not getting this email out yesterday, but I
> had had issues with size limitations of my screenshots.)
>
> On behalf of the very happy Wikipedia.org Portal Team,
>
> Deb
> --
> Deb Tankersley
> Product Manager, Discovery
> Wikimedia Foundation
>
>
> _______________________________________________
> Wikitech-ambassadors mailing list
> Wikitech-ambassadors(a)lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-ambassadors
>
--
David Abián - davidabian.com
Vocal de Comunicación
Wikimedia España
Vega Sicilia, 2
47008 - Valladolid
https://wikimedia.es
Wikimedia España es una asociación sin ánimo de lucro española con
CIF G-10413698 inscrita en el Registro Nacional de Asociaciones,
Grupo 1, Sección 1, Núm. Nacional 597390.
«Imagina un mundo en el que cada persona
tenga acceso libre a todo el conocimiento»
On 11 March 2016 at 16:09, Samuel Klein <meta.sj(a)gmail.com> wrote:
>
> Perhaps you could do this w two queries, one to a composite index that is
> only updated weekly.
>
Indeed, there are mechanisms that can make cross-wiki searching more
feasible. In fact, one mechanism we are in the very early stages of
exploring is merging all the projects in a given language into a single
index, so that one could search *all* projects in a language, rather than
just a single project in a given language. I have no timeline here; as I
said, we're in the very early stages, and of course we have other work on
the go at the same time.
> > Additionally, it would likely return you a bunch of really irrelevant
> results,
>
> Make this opt-in, add a different background color for results from the
> all-language index, & divide their search-relevance by a
> language-prominence factor...
>
I plan to worry more about the user experience implications that I
mentioned once we're a bit closer to solving the technical feasibility
questions. As you've shown, these are definitely solvable problems, but I
don't want to put the cart before the horse, as it were. :-)
Thanks,
Dan
--
Dan Garry
Lead Product Manager, Discovery
Wikimedia Foundation