[Wikitech-l] Desktop Improvements volunteer preview - the value of collaboration

2020-07-14 Thread Aron Manning
Dear all,

This is a demo of how the Desktop Improvements

project might look once it's finished:
http://demian-demo.epizy.com/wiki/Desktop_Improvements_volunteer_demo

Some details are not specified yet, therefore the end result will look
somewhat different.

I've implemented this mostly in 2 months' free time, around March-April.
Early, partial previews (wmf hosted):
http://patchdemo.wmflabs.org/wikis/380ec9d400f1bd8a573e09b015352723/w/
http://patchdemo.wmflabs.org/wikis/b70f4202792d685831e5f957fb5953e1/w/

About me: I'm Demian (aka. Aron), senior software architect, creator of the
most recent Wikipedia Dark Theme
 for Vector
and Timeless skins, among other various contributions and swift bugfixes.

With this preview I'd like to demonstrate what is possible with
collaboration. These demos were kept up-to-date with the project's progress
and benefited from the WMF developers' work to iron out some details. If
that collaboration would go both ways, the project could have been at the
same stage possibly a few months ago, nearing the finish line by now.


There are surprisingly few volunteers, even less professionals contributing
at MediaWiki, despite its high visibility. The small number of GitHub stars
and forks of the replica repos is also negligible compared to the thousands
of stars and forks of similarly popular projects.

The following is my opinion.
There is a great pool of talent that could contribute to modernizing the
aging code-base and designs (both software and UI), but despite the WMF's
regular calls for participation, volunteering has a very limited
aspect, more similar to interning at a closed-source project, not
reminiscent of the contribution patterns of free software. The development
- or community - practices can't benefit from a wide range of volunteers.
This untapped potential is of great value, lost for the MediaWiki project
and the communities using it.

If the WMF wishes to manifest its vision

of an inclusive community, innovation and improved user experience, basic
steps can be taken at the back-office in that direction by making
development more open and welcoming to volunteers. Openness and
collaboration from the developer team would invite more talent and serve as
a foundation for a bigger, thriving developer community, similar to
open-source projects that succeeded with this model. There is a great
unused potential, that's in our core values to invite to the creation of
the foundation of free knowledge.


Further resources:
https://www.mediawiki.org/wiki/Reading/Web/Desktop_Improvements/Wikimania_Stockholm_research_report

https://www.mediawiki.org/wiki/Reading/Web/Desktop_Improvements/Feature_sequence
https://www.mediawiki.org/wiki/User:Aron_Manning/Design/Desktop_Improvements_vision


Demian (aka. Aron)
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Migrating away from the Revision class

2020-07-14 Thread Mark Clements (HappyDog)
"Danny S"  wrote in message 
news:CADJdptz-8ZbDhTJVzGQw5LwdaYrQE3-OHi=n63t49udobj+...@mail.gmail.com...
> Dear all:
> In light of the number of extensions making use of Revision objects, I've
> documented some suggestions for how to replace each method. These
> suggestions are also available at
> https://www.mediawiki.org/wiki/Manual:Revision.php/Migration.

Awesome!  I have been looking into doing this migration, but have not found 
any decent information about it.

I posted a question on MW.org about the status of this, about a year ago, 
but didn't really get an answer. [1]

And I was literally coming onto this newsgroup to ask about this (and one 
other thing, already posted), so it's very fortuitous timing!  I'll take a 
look and if I have any questions, I'll post on the talk page.

Thank you,

- Mark Clements (HappyDog)


[1] https://www.mediawiki.org/wiki/Topic:Uvmpvbahztnnkq0m




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

[Wikitech-l] Extension migration: LinksDeletionUpdate is now a subclass of LinksUpdate

2020-07-14 Thread Mark Clements (HappyDog)
Hi there,

From the Release Note for MW 1.33:
(https://www.mediawiki.org/wiki/Release_notes/1.33)

> LinksDeletionUpdate is now a subclass of LinksUpdate. As a consequence,
> the following hooks will now be triggered upon page deletion in addition 
> to page
> updates: LinksUpdateConstructed, LinksUpdate, LinksUpdateComplete.

I have an extension that uses the LinksUpdate hook to re-parse the article 
in order to extract meta-data that it then stores in the DB for use 
elsewhere in the extension.

I use LinksUpdate, rather than ArticleSaveComplete, as I also need to 
re-parse the article when any of its templates changes.  This hook captures 
all changes that affect the page (by my understanding) except - up until 
1.33 - deletions.

I therefore also use the ArticleDeleteComplete hook to remove the article 
from the extension's meta-data tables when the article is deleted.

In the light of the above change to the LinksUpdate hook, what changes do I 
need to make to my extension?  Shall I simply drop the ArticleDeleteComplete 
hook and update LinksUpdate to check whether an article is deleted or not 
(how?) to decide which action is required?  Or is there more to it.

On a separate note, I also reparse the page when the ArticleUndelete hook is 
called.  Is this necessary, or is LinksUpdate also being called for 
undeletes?

Finally, I do a similar thing in the TitleMoveComplete hook - I reparse both 
the old article and the new article.  Is this also redundant due to 
LinksUpdate calls, or not?

Kind regards,

- Mark Clements (HappyDog)




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

[Wikitech-l] Codesearch host has moved

2020-07-14 Thread Amir Sarabadani
Hello,
Just a quick update: Since Cloud VPS tools are moving from *.wmflabs.org to
*.wmcloud.org. The codesearch has moved from https://codesearch.wmflabs.org
to https://codesearch.wmcloud.org

The old URL is now redirects to the new one.

Thank Bryan Davis for doing this! https://phabricator.wikimedia.org/T256206

Have a nice day.
-- 
Amir (he/him)
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l