[Wikitech-l] Language team celebrates 10 years of MediaWiki Language Extension Bundle

2023-02-08 Thread Niklas Laxström
riate meaning: "A mixture of different things; a disordered mixture" (English Wiktionary). The first release announcement is quoted below. -Niklas ke 28. marrask. 2012 klo 12.17 Niklas Laxström (niklas.laxst...@gmail.com) kirjoitti: > The Wikimedia Language Engineering team is p

[Wikitech-l] Re: Feedback wanted: PHPCS in a static types world

2022-10-28 Thread Niklas Laxström
pe 28. lokak. 2022 klo 17.04 Lucas Werkmeister ( lucas.werkmeis...@wikimedia.de) kirjoitti: > In my opinion, MediaWiki’s PHPCS ruleset feels largely rooted in an older > version of PHP, where static type declarations (formerly known as “type > hints”) did not exist. As we move towards more modern

[Wikitech-l] Re: Requesting feedback about the future of the LocalisationUpdate extension

2022-04-28 Thread Niklas Laxström
ites, I wasn't sure from > the final question in the email whether or not this is an outstanding > technical gap. > > Regards, > [[mw:User:Adamw]] > > [1] > https://wikitech.wikimedia.org/wiki/Event_Platform/EventStreams#Historical_Consumption > > On 4/27/22 1

[Wikitech-l] Re: Requesting feedback about the future of the LocalisationUpdate extension

2022-04-28 Thread Niklas Laxström
to 28. huhtik. 2022 klo 0.12 Tyler Cipriani (tcipri...@wikimedia.org) kirjoitti: > On Wed, Apr 27, 2022 at 5:22 AM Niklas Laxström > wrote: > > Since the beginning of the year, the Wikimedia Language team has enabled > > translation backports for MediaWiki core, extension

[Wikitech-l] Requesting feedback about the future of the LocalisationUpdate extension

2022-04-27 Thread Niklas Laxström
Since the beginning of the year, the Wikimedia Language team has enabled translation backports for MediaWiki core, extensions and skins hosted on Gerrit. On a weekly schedule compatible translations from master branch are backpored to all the supported release branches. Currently supported

[Wikitech-l] Re: Enabling translating RCFeed log entry messages(IRC log entry messages)

2021-09-24 Thread Niklas Laxström
Messages like "1movedto2" are preserved for compatibility reasons and should not be used. Long time ago they were used on Special:Log (and the non-special pages before them). The problem with them is that they are not full sentences, so translating them into other languages correctly is not

Re: [Wikitech-l] TechCom meeting 2020-12-16

2020-12-16 Thread Niklas Laxström
I'll also add that I wrote an implementation plan (proposal, rather) for translatable modules. I'd appreciate feedback for the open questions and in general. Do note though that there isn't currently a timeline for the implementation.

[Wikitech-l] TechCom meeting 2020-12-16

2020-12-15 Thread Niklas Laxström
This is the weekly TechCom board review in preparation of our meeting on Wednesday. If there are additional topics for TechCom to review, please let us know by replying to this email. However, please keep discussion about individual RFCs to the Phabricator tickets. Activity since Tuesday

[Wikitech-l] TechCom meeting 2020-10-21

2020-10-19 Thread Niklas Laxström
This is the weekly TechCom board review in preparation of our meeting on Wednesday. If there are additional topics for TechCom to review, please let us know by replying to this email. However, please keep discussion about individual RFCs to the Phabricator tickets. Activity since Monday

Re: [Wikitech-l]  Wikimedia production errors help

2020-09-15 Thread Niklas Laxström
ma 14. syysk. 2020 klo 23.49 Tyler Cipriani (tcipri...@wikimedia.org) kirjoitti: > The number of new tasks being created with this tag in a given week is > outpacing the number of tasks being closed in a given week: this past > week we added 41 tasks and only closed 22. Majority of the recently

[Wikitech-l] TechCom board review 2020-09-07

2020-09-07 Thread Niklas Laxström
This is the weekly TechCom board review in preparation of our meeting on Wednesday. If there are additional topics for TechCom to review, please let us know by replying to this email. However, please keep discussion about individual RFCs to the Phabricator tickets. Activity since Monday

[Wikitech-l] Service wiring conventions in extensions

2020-07-15 Thread Niklas Laxström
The example below works, and I see it used in some extensions, but it has no autocompletion and not catching typos. Services.php: class TranslateServices implements ContainerInterface { public function getParsingPlaceholderFactory(): ParsingPlaceholderFactory { return

Re: [Wikitech-l] Documentation/Examples on enabling localization in Gadgets

2019-11-27 Thread Niklas Laxström
ke 27. marrask. 2019 klo 0.38 Egbe Eugene (agboreug...@gmail.com) kirjoitti: > > Hi All, > > Is there any documentation or Gadget I can have a quick look at yo be able > to learn how to enable translation in gadgets? The only example I know is

Re: [Wikitech-l] Avatars coming to gerrit

2018-10-09 Thread Niklas Laxström
la 6. lokak. 2018 klo 3.44 Paladox via Wikitech-l (wikitech-l@lists.wikimedia.org) kirjoitti: > We also have a license file for you to specify the license of your image at > https://gerrit.wikimedia.org/r/plugins/gitiles/All-Avatars/+/refs/heads/master/LICENSE > If none is specified then it

[Wikitech-l] You can now translate Phabricator to your language

2018-03-02 Thread Niklas Laxström
It's now possible to translate Phabricator in translatewiki.net thanks to the Phabricator developers, Mukunda Modell, and many others who participated in https://phabricator.wikimedia.org/T225 We are currently in an experimental phase, where these translations are only used in

Re: [Wikitech-l] MediaWiki Stakeholders' meta-repository of extensions not in gerrit

2017-12-25 Thread Niklas Laxström
2017-12-24 1:05 GMT+02:00 Mark A. Hershberger : > > This afternoon, while procrastinating by cleaning up my clone of > gerrit's mediawiki extensions repository, I decided to make a meta > repository for some non-WMF-hosted extensions. (Hopefully this will > mean less need to

[Wikitech-l] Language engineering monthly reports for September-November 2017

2017-12-05 Thread Niklas Laxström
The language engineering monthly reports for September, October and November 2017 are ready. **Highlights for these months** * Lots of usability and design improvements to the Content Translation dashboard. * There is now a way to link directly to a particular message in Special:Translate. *

Re: [Wikitech-l] Try out the commit message validator

2017-11-06 Thread Niklas Laxström
2017-11-07 7:58 GMT+02:00 Kunal Mehta : > > But sometimes people aren't familiar with the guidelines, or more likely > we make a typo somewhere. Here's where the commit-message-validator[2] > comes in handy! > Does the tool check for typos? Typos in commit messages get

[Wikitech-l] Language engineering monthly report for August 2017

2017-10-09 Thread Niklas Laxström
The language engineering monthly report for August 2017 is ready. **Highlights for this month** Language database is now an independent project to make reuse easier. It used to be part of jquery.uls library. It contains over 500 entries detailing basic information about languages, such as their

[Wikitech-l] Language engineering monthly report for July 2017

2017-09-06 Thread Niklas Laxström
The language engineering monthly report for July 2017 is ready. *Highlights for this month* Content Translation dashboard has received a major facelift that aligns it with the Wikimedia style guide and makes it easier to use. Translatewiki.net now imports new messages up to 9 times per day. New

Re: [Wikitech-l] VisualEditor in 1.28 - fails after upgrade from 1.27

2016-12-19 Thread Niklas Laxström
Maybe related: having both SemanticMediaWiki and Visual Editor installed will still reliably trigger this error. This was filed as https://phabricator.wikimedia.org/T134562 (which imho should be reopened). -Niklas ___ Wikitech-l mailing list

[Wikitech-l] About the frontend development tools we use

2016-11-18 Thread Niklas Laxström
I was reading http://stateofjs.com/2016/introduction/#sections and could not avoid noticing that the frameworks or technologies we use are not among the most popular or most liked among the participants of this survey. Examples: * Frontend frameworks: We use jQuery and OOjs UI. The latter does

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

2016-10-11 Thread Niklas Laxström
2016-10-10 1:25 GMT+03:00 Chris Koerner : > = Discussions = > > == Search == > * Translate extension updated to allow searches in a specific language > (without translations) [3] Actually it was CirrusSearch that was updated. Translate already supports filtering the

Re: [Wikitech-l] Gerrit 2.12.2 test instance - PLEASE TEST

2016-07-13 Thread Niklas Laxström
Many good and bad changes I can live with. One thing I will miss: * Columns setting no longer wraps the diff lines. Horizontal scroll is now unavoidable and cumbersome due to having to use either the mouse or the arrow keys to move the cursor on the line. Tips for others: * I previously used 'r'

[Wikitech-l] Announcements from Wikimedia Language team

2016-06-17 Thread Niklas Laxström
The Wikimedia Language team has been assembling monthly reports about language support activities for one year. You can read the latest report at: https://www.mediawiki.org/wiki/Wikimedia_Language_engineering/Reports/2016-May Highlights for May include: Special:Translate got an edit summary field

Re: [Wikitech-l] 2016-05-25 Scrum of Scrums meeting notes

2016-06-01 Thread Niklas Laxström
2016-06-01 9:32 GMT+03:00 Niklas Laxström <niklas.laxst...@gmail.com>: > 2016-05-31 19:23 GMT+03:00 Grace Gellerman <ggeller...@wikimedia.org>: >> https://www.mediawiki.org/wiki/Scrum_of_scrums/2016-05-25 >> === Release Engineering === >> * '''Blocking

Re: [Wikitech-l] 2016-05-25 Scrum of Scrums meeting notes

2016-06-01 Thread Niklas Laxström
2016-05-31 19:23 GMT+03:00 Grace Gellerman : > https://www.mediawiki.org/wiki/Scrum_of_scrums/2016-05-25 > === Release Engineering === > * '''Blocking''': ??? > * '''Blocked''': none > * '''Updates''': > ** wmf.3 is rolling forward this week > ** rc.0 of 1.27 should be

Re: [Wikitech-l] update: wikipedia.org portal

2016-05-25 Thread Niklas Laxström
2016-05-25 2:58 GMT+03:00 Dan Garry : > Hey Purodha, > > On 21 May 2016 at 05:13, Purodha Blissenbach > wrote: > >> On the long run, I think, these portals and their texts should >> be translatable. Browser settings determining the target language.

Re: [Wikitech-l] Security release later today + 1.28 stuff

2016-05-20 Thread Niklas Laxström
I realize no time is a good time for security releases, but this will be Friday evening or even Saturday night in some parts of the world. -Niklas ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

[Wikitech-l] MediaWiki codesniffer updates on extensions

2016-05-10 Thread Niklas Laxström
I noticed that lots of extensions were recently updated to use mediawiki-codesniffer 0.7.1 [1]. This has some implications I think are worth being aware of: 1) Many open patches will need manual rebasing and conflict resolution. 2) Those extensions will now depend on at least PHP 5.4 due to

Re: [Wikitech-l] [Mediawiki-i18n] Providing the effective language of messages

2016-04-13 Thread Niklas Laxström
2016-04-12 14:01 GMT+03:00 Adrian Heine : > Hi everyone, > > as some of you might know, I'm a software developer at Wikimedia > Deutschland, working on Wikidata. I'm currently focusing on improving > Wikidata's support for languages we as a team are not using on a daily

Re: [Wikitech-l] tags are a usability nightmare for editing on mediawiki.org

2016-04-11 Thread Niklas Laxström
2016-04-05 8:51 GMT+03:00 Jon Robson : > Special:Translate doesn't work [1] and the current plan is to make it > redirect to desktop which is disappointing and I'd guess loses us lots of > potential editors (myself included). When we developed the new interface for

Re: [Wikitech-l] productivity of mediawiki developers

2016-04-04 Thread Niklas Laxström
2016-04-04 17:02 GMT+03:00 Quim Gil : > The first question to answer is what information are you looking for when > you want to measure developers' "productivity". What would be the > motivation of that estimation? What is the motivation behind this thread? One reason comes to

Re: [Wikitech-l] tags are a usability nightmare for editing on mediawiki.org

2016-04-04 Thread Niklas Laxström
2016-04-04 16:00 GMT+03:00 Subramanya Sastry : > Niklas and the language team: thanks for your efforts in enabling > translation features. They are truly important and necessary. And I want to thank you for your positive and constructive approach for solving this issue. >

Re: [Wikitech-l] tags are a usability nightmare for editing on mediawiki.org

2016-04-04 Thread Niklas Laxström
To Brion and other people who think the page translation markup is annoying and a usability issue: As the (then volunteer) developer who created it, I can only agree. The way page translations currently works, which is extensively documented at [0], is the result of lots of experimenting with

Re: [Wikitech-l] tags are a usability nightmare for editing on mediawiki.org

2016-04-03 Thread Niklas Laxström
2016-04-03 11:29 GMT+03:00 Jon Robson : > The Translate tag has always seemed like a hack that I've never quite > understood. I am happy to direct to our documentation [1] anyone who asks, or explain if the documentation is not sufficient. The word hack can have both

Re: [Wikitech-l] Closing wikibugs-l and mediawiki-commits firehoses?

2015-11-12 Thread Niklas Laxström
2015-11-13 4:22 GMT+02:00 Chad : > > Considering ~50% of subscribers weren't even using the list, and > we only have 130 remaining subscribers between the two, who would > be terribly upset at closing one or both of these lists? It would break my workflow of following

Re: [Wikitech-l] GSoC & Outreachy IRC Showcase

2015-09-23 Thread Niklas Laxström
2015-09-22 13:37 GMT+03:00 Niharika Kohli : > last but not the least, an awesome new search feature for TranslateWiki. > The new features are not only for translatewiki.net, they also work on all Wikimedia sites (and other wikis) where Translate is installed. For example,

Re: [Wikitech-l] [MediaWiki-announce] MediaWiki Security and Maintenance Releases: 1.25.2, 1.24.3, 1.23.10

2015-08-11 Thread Niklas Laxström
2015-08-11 0:54 GMT+03:00 Chad innocentkil...@gmail.com: I would like to announce the release of MediaWiki 1.25.2, 1.24.3, and 1.23.10. Can merge patches to master be added to the release checklist so that sites running form master, such as translatewiki.net, can update promptly, please. This

Re: [Wikitech-l] MediaWiki Language Extension Bundle 2014.11 release

2014-12-01 Thread Niklas Laxström
2014-12-01 8:41 GMT+02:00 David Chamberlain da...@alaskawiki.org: I run 5 wikis for a total of 6,000 pages and still use solr in 6 languages. Thanks for the information, David. We will keep the code for Solr backend. -Niklas ___ Wikitech-l mailing

[Wikitech-l] Plural rule changes for many languages - MediaWiki migrates to CLDR 26

2014-10-27 Thread Niklas Laxström
MediaWiki is upgrading its plural rules to match CLDR version 26. The updates include incompatible changes for plural forms in Russian, Prussian, Tagalog, Manx and several languages that fall back to Russian [1]. In addition there are minor changes for other languages. In January 2014, CLDR 24

Re: [Wikitech-l] Fixing PollNY -- ResourceLoader woes

2014-09-17 Thread Niklas Laxström
mw.loader.using( 'ext.pollNY.lightBox', function() { LightBox.init(); } ); ((Any other code using LightBox.* should probably do the same thing, athough mw.loader.using is using jQuery's promises (I really want to call this something else, since jQuery doesn't implement proper

Re: [Wikitech-l] The future of skins

2014-08-27 Thread Niklas Laxström
2014-08-27 1:53 GMT+03:00 Jon Robson jrob...@wikimedia.org: 2) We need a templating system in core. Trevor is going to do some research on server side templating systems. We hope that the templating RFC [1] can get resolved however we are getting to a point that we need one as soon as possible

Re: [Wikitech-l] Using Composer to manage libraries for mediawiki/core on Jenkins and Foundation cluster

2014-06-02 Thread Niklas Laxström
2014-05-30 0:57 GMT+03:00 Bryan Davis bd...@wikimedia.org: I think bug 65188 [0] is the solution suggested by Ori that you are referring to. Would this alone be enough to fix the problems for translatewiki.net? More directly, is translatewiki.net using the top level composer.json file to

Re: [Wikitech-l] Using Composer to manage libraries for mediawiki/core on Jenkins and Foundation cluster

2014-05-29 Thread Niklas Laxström
2014-05-29 20:27 GMT+03:00 Bryan Davis bd...@wikimedia.org: What use cases did I miss? What other concerns do we have for this process? The email subject does not cover third party users, so apologies if this is not the correct place for this. Currently updating translatewiki.net codebase is

Re: [Wikitech-l] Output from Zurich Hackathon - yet another maps extension!

2014-05-15 Thread Niklas Laxström
2014-05-14 1:34 GMT+03:00 Jon Robson jrob...@wikimedia.org: During the Zurich hackathon, DJ Hartman, Aude and I knocked up a generic maps prototype extension [1]. We have noticed that many maps like extensions keep popping up and believed it was time we standardised on one that all these

Re: [Wikitech-l] Upcoming jQuery upgrade (breaking change)

2014-05-09 Thread Niklas Laxström
Is there any way to deliver the deprecation messages to a server side log? I'd rather not spend time inspecting all user scripts and gadgets manually (I'm thinking of non-WMF sites). -Niklas ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] Performance issue with regard to JSON-based localisation format

2014-04-14 Thread Niklas Laxström
I think technically easiest solution is to modify the i18n.php files: -$GLOBALS['wgHooks']['LocalisationCacheRecache'][] = function ( $cache, $code, $cachedData ) { +$GLOBALS['wgHooks']['LocalisationCacheRecache'][__FILE__] = function ( $cache, $code, $cachedData ) { This makes it so that if the

Re: [Wikitech-l] Performance issue with regard to JSON-based localisation format

2014-04-14 Thread Niklas Laxström
2014-04-14 15:35 GMT+03:00 Adrian Lang adrian.l...@wikimedia.de: you are right, although I'm not using an older version of MediaWiki, I'm on 77bc489c2731827b1c61a6509177eed23193d694 from 2014-04-11. Is something loading the i18n files manually then? Or is there a missing $wgMessagesDirs

Re: [Wikitech-l] Bug 24620 - Log entries are difficult to localize; rewrite logs system

2014-04-05 Thread Niklas Laxström
The rewrite did happen, so what is actually left, like Nemo pointed out, is converting the remaining places in the code using the old logging code to the new one. I tried to clarify that by changing the bug title and blockers. PS: the new logging system also brings other benefits than better

Re: [Wikitech-l] Implementation JSON based localisation format for MediaWiki nearly completed

2014-04-03 Thread Niklas Laxström
2014-04-03 16:53 GMT+03:00 Justin Folvarcik jfolvar...@gmail.com: Just a question: Are the messages still able to be accessed like they were before, or will new methods be introduced to gather them and decode the JSON? There are no visible changes for developers using the messages api:

Re: [Wikitech-l] Implementation JSON based localisation format for MediaWiki nearly completed

2014-04-02 Thread Niklas Laxström
use tabs for indentation instead of spaces to be like the rest of mediawiki? I was going to say the same thing. Why wasn't that caught in code review? Spaces were chosen because that is what we get with FormatJson::encode and there is no way to change it except by post-processing. I'm fine

Re: [Wikitech-l] Encoding (Localisation updates from https://translatewiki.net.)

2014-03-26 Thread Niklas Laxström
For UTF-8 adding ensure_ascii = False to json.dumps would fix it. For HTML, there is no simple way as far as I know. With some searching you can find some workarounds. Or you can consider using https://github.com/simplejson/simplejson I did point out this issue almost a week ago

Re: [Wikitech-l] Webfonts

2014-03-14 Thread Niklas Laxström
I just want to clarify that I was highlighting the possibility of considering webfonts for *typography*. I expect everyone to know by now that tofu issue is not yet solved and people are working on it. -Niklas ___ Wikitech-l mailing list

[Wikitech-l] Webfonts

2014-03-13 Thread Niklas Laxström
There have recently been questions whether WMF is able to serve webfonts. Some people think that because of the issues that led to disabling webfonts by default in Universal Language Selector (ULS), WMF is not ready to consider webfonts for typography. I don't think that way. ULS is not a good

Re: [Wikitech-l] Gerrit Commit Wars

2014-03-08 Thread Niklas Laxström
2014-03-08 0:39 GMT+02:00 George Herbert george.herb...@gmail.com: This is not disrespecting development, which is extremely important by any measure. But we're running a top-10 worldwide website, a key worldwide information resource for humanity as a whole. We cannot cripple development to

Re: [Wikitech-l] GSOC 2014 idea

2014-02-28 Thread Niklas Laxström
2014-02-28 11:09 GMT+02:00 Roman Zaynetdinov romanz...@gmail.com: From which source gather the data? Wiktionary is the best candidate, it is an open source and it has a wide database. It also suits for growing your project by adding different languages. It's not obvious why you have reached

Re: [Wikitech-l] How to retrieve current wiki time

2014-02-26 Thread Niklas Laxström
There is also param 'createonly' - Don't edit the page if it exists already -Niklas ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Help me to avoid local patches

2014-02-10 Thread Niklas Laxström
On one of my wikifarms I only have one local patch to MediaWiki core left. I'm hoping to have that merged as well, so let me bring this to your attention: https://gerrit.wikimedia.org/r/#/c/98078/ On a related note, I'm using html templates and I am in need of a way to deliver them with resource

Re: [Wikitech-l] MediaWiki-Vagrant can run MediaWiki under HHVM!

2014-01-19 Thread Niklas Laxström
Do you know where I can find these hhvm-nightly packages if I want to try them out on my own? Last time I tested hhvm on translatewiki.net, there were fastcgi parameter passing problems which blocked further testing there. -Niklas ___ Wikitech-l

Re: [Wikitech-l] RFC cluster summary: HTML templating

2013-12-27 Thread Niklas Laxström
2013/12/27 Tyler Romeo tylerro...@gmail.com If we want a comprehensive templating system in PHP core, I want a templating system that can be used both in PHP and JavaScript and fits in our way of doing i18n. And a bunny. -Niklas ___ Wikitech-l

Re: [Wikitech-l] How can I retrieve patrol token for specific revision

2013-11-29 Thread Niklas Laxström
Action tokens should give it: https://en.wikipedia.org/w/api.php?action=tokenstype=patrol ​ -Niklas ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] MediaWiki core code coverage report

2013-10-18 Thread Niklas Laxström
nowdays. I read from the linked bug that it is currently not possible due to bug in PHP. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [RFC] Isolate custom jQuery libraries

2013-10-12 Thread Niklas Laxström
. -Niklas [1] https://gerrit.wikimedia.org/r/#/c/82116/ -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] What are DeferredUpdates good for?

2013-09-12 Thread Niklas Laxström
rid of them? That should be easy, by either moving stuff to the jobqueue or just executing the code immediately. Or if they are useful for something, can we at least document the *class* to reflect how it actually works and what it is useful for? -Niklas -- Niklas Laxström

Re: [Wikitech-l] Fwd: Double session this Thursday: Security and Automated QA

2013-06-26 Thread Niklas Laxström
at Twitter. http://www.mediawiki.org/wiki/Meetings/2013-06-27-midday The times listed at that link are confused, it says both 19:00 PDT and 12:30 PDT. It also says Wednesday, but I assume Thursday is intended. -Niklas -- Niklas Laxström ___ Wikitech

Re: [Wikitech-l] migrating hooks doc to doxygen?

2013-06-04 Thread Niklas Laxström
* https://www.mediawiki.org/wiki/Help:Extension:Translate/Hooks -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Code review of the Wikidata code

2013-05-18 Thread Niklas Laxström
of effort and can annoy people, but in the end we will be better than before. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] MathJax opt-in for all visitors

2013-05-03 Thread Niklas Laxström
on pages with math that would switch MathJax on (and possibly off via a cookie). What is the state of MathJax i18n currently? Before we show it to lots of users it should be translatable. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list

Re: [Wikitech-l] New git-review version revives year-old bug

2013-04-09 Thread Niklas Laxström
of the remote master. Fortunately we still had the workaround in our scripts at translatewiki.net from last time, so l10n-bot is not affected. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https

Re: [Wikitech-l] wmf12 rollback, all wikis (except test2) are on wmf11

2013-03-22 Thread Niklas Laxström
On 21 March 2013 20:11, Greg Grossmeier g...@wikimedia.org wrote: Tim rolled back wmf12 after a nasty bug last night: https://bugzilla.wikimedia.org/show_bug.cgi?id=46397 I assume this included all the extension as well. -Niklas ___ Wikitech-l

Re: [Wikitech-l] Reminder about the best way to link to bugs in commits

2013-03-20 Thread Niklas Laxström
On 1 March 2013 23:46, Chad innocentkil...@gmail.com wrote: Bug: 1234 Change-Id: Ia90. So when you do this, you're able to search for bug:1234 via Gerrit. By doing this, you're also removing it from the first line (which was our old habit, mostly from SVN days), providing you more

Re: [Wikitech-l] Replacement for tagging in Gerrit

2013-03-14 Thread Niklas Laxström
of the above... but then we are again on the more than non-significant effort needed path. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Replacement for tagging in Gerrit

2013-03-10 Thread Niklas Laxström
with a tag in Gerrit, so there is discoverability problem. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Module namespace

2013-02-28 Thread Niklas Laxström
-Niklas [1] this is the preferred way to write it [2] patches welcome -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] wfMsg and wfMsgForContent are deprecated. What to use?

2013-02-21 Thread Niklas Laxström
feedback or cleaned up after my mistakes. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Extensions and LTS

2013-02-12 Thread Niklas Laxström
like maintaining one any more, please add {{Unmaintained extension}} to its page on MediaWiki.org. Has any extension been adopted this way? -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https

Re: [Wikitech-l] Minimalist MediaWiki? (was Re: Merge Vector extension into core)

2013-02-06 Thread Niklas Laxström
and breaking existing extensions will annoy people depending how much we will put effort into keeping backwards compatibility. Can't please everyone. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https

Re: [Wikitech-l] FOSDEM presentation - feedback welcome

2013-01-31 Thread Niklas Laxström
I've started calling it WebAPI to make it more explicit. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] getting Request object from EditPage

2012-12-18 Thread Niklas Laxström
? static public function showBacklinks($editpage, $output){ return true; } OutputPage is a context source, so you can do $output-getRequest(). Less nicer way is $editpage-getArticle()-getContext()-getRequest(). -Niklas -- Niklas Laxström

Re: [Wikitech-l] gerrit support question: how to show raw file content after the commit in the browser, not as zip download

2012-12-11 Thread Niklas Laxström
choose Whole File as context and click Update. It is no good for copy-pasting though. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Recent test failures for many extensions

2012-12-11 Thread Niklas Laxström
all the somes above and make sure that all tests are re-enabled and passing for all affected extensions. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Unit tests scream for attention

2012-12-08 Thread Niklas Laxström
there is now one fatal error less (and at least one remains), though I did spend two hours debugging that issue. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Unit tests scream for attention

2012-12-07 Thread Niklas Laxström
and care to our unit tests so that I don't have to come up with even worse analogies. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Unit tests scream for attention

2012-12-07 Thread Niklas Laxström
got working PHPUnit installed in the first place (3.7.8 - see my other previous phpunit thread). I also don't know why it occasionally segfaults. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https

[Wikitech-l] Fwd: MediaWiki Language Extension Bundle launches

2012-11-28 Thread Niklas Laxström
, there can be some rough edges. Please provide us a lot of feedback so that we can improve for the next release. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech

Re: [Wikitech-l] Fwd: MediaWiki Language Extension Bundle launches

2012-11-28 Thread Niklas Laxström
On 28 November 2012 23:54, Platonides platoni...@gmail.com wrote: On 28/11/12 12:28, Niklas Laxström wrote: * Running of PHPUnit tests is currently broken Why? Because of https://bugzilla.wikimedia.org/42529 There is also one test failure I don't know to fix. The test is marked

[Wikitech-l] Problems with PHPUnit

2012-10-26 Thread Niklas Laxström
php_timer_autoload() in /usr/share/php/PHPUnit/Util/GlobalState.php on line 381 make: *** [default] Error 255 Any ideas? -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Problems with PHPUnit

2012-10-26 Thread Niklas Laxström
), downloaded version is 1.1.2 Then I installed version 1.1.1. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Problems with PHPUnit

2012-10-26 Thread Niklas Laxström
On 26 October 2012 15:57, Tim Landscheidt t...@tim-landscheidt.de wrote: Niklas Laxström niklas.laxst...@gmail.com wrote: [...] All of this shouldn't be necessary, as PHPUnit 3.6.12's package.xml clearly declares a dependency on PHP_Timer = 1.0.1 and = 1.0.3. In other words: Whatever Niklas

Re: [Wikitech-l] Pretty Timestamps

2012-10-25 Thread Niklas Laxström
someone added getHumanTimestamp which I guess should be deprecated now. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] whether to do Google Code-In

2012-10-25 Thread Niklas Laxström
. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] 1.20rc2 is about 50 times slower (on openSUSE)

2012-10-25 Thread Niklas Laxström
the lock until MGS_WAIT_TIMEOUT has passed, which is 10 seconds. The lock is there to prevent multiple threads building the cache concurrently. For reasons unknown to me, there is another lock inside -lock() -unlock() which again fails and disables message cache. -Niklas -- Niklas Laxström

Re: [Wikitech-l] Merging the ContentHandler into master

2012-10-10 Thread Niklas Laxström
(a fix has been submitted by someone else) and MessageCache.php [2]. [1] https://gerrit.wikimedia.org/r/#/c/25736/1 (took me a while to find that change anymore) [2] I see now that I misunderstood the code, but at least the comment needs to be updated. -Niklas -- Niklas Laxström

Re: [Wikitech-l] Make Extensions Aware of the ContentHandler

2012-10-10 Thread Niklas Laxström
On 10 October 2012 16:52, Daniel Kinzler dan...@brightbyte.de wrote: Hi! I could use some help looking over extensions. What is the difference between $content instanceof TextContent and $title-getContentModel() === CONTENT_MODEL_WIKITEXT? -Niklas -- Niklas Laxström

[Wikitech-l] Please fix the PHP unit tests

2012-10-04 Thread Niklas Laxström
have time to fix all these myself. -Niklas FAILURES! Tests: 4685, Assertions: 320062, Failures: 62, Errors: 45, Incomplete: 5, Skipped: 6. make: *** [safe] Error 2 -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https

Re: [Wikitech-l] Skin pages on MW.org, and Skin repos in Gerrit

2012-09-26 Thread Niklas Laxström
) - /extensions (directory with clones of individual extensions or clone of mediawiki/extensions.git tracking repo) In SVN time extensions were a subdir of mediawiki core and I doubt that everyone has suddenly decided to change it. At least I haven't. -Niklas -- Niklas Laxström

Re: [Wikitech-l] Problem with unit tests and dataProviders

2012-09-24 Thread Niklas Laxström
are static methods, I cannot store the users anywhere if I use those. Can you possibly send the code in Gerrit so we can have a look at it? Yes. -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https

[Wikitech-l] Problem with unit tests and dataProviders

2012-09-23 Thread Niklas Laxström
); $this-user1 = $user; -Niklas -- Niklas Laxström ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] MediaWiki 1.20 release candidate

2012-09-21 Thread Niklas Laxström
that it is based on 1.20wmf11 branch. I didn't check the tarball but there were pretty severe i18n issues with plurals around that time. Do you know whether fixes for those issues are already included or not? Most important is https://gerrit.wikimedia.org/r/#/c/23900/ -Niklas -- Niklas Laxström

  1   2   3   >