[Wikitech-l] Require tag for API writes

2020-09-23 Thread Hogan (US), Michael C
Hi, is there an example that shows how to reject writeapi edits made using scripts unless the edit has a required tag? For example, changes made using Visual Editor are labeled with “(Tag: Visual edit)”. Thank you! ___ Wikitech-l mailing list

[Wikitech-l] WikidataPageBanner wikilinks?

2020-07-29 Thread Hogan (US), Michael C
Hi all! Question about WikidataPageBanner (https://www.mediawiki.org/wiki/Extension:WikidataPageBanner)... WikidataPageBanner menus are built dynamically and link to section headings on the wiki page where the banner template is used. Is there a way to add WikidataPageBanner menu items that

Re: [Wikitech-l] Pywikibot example to add or update template

2020-06-10 Thread Hogan (US), Michael C
Pavel, thank you. That's a great example! -Michael H. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Pywikibot example to add or update template parameters on a page

2020-06-10 Thread Hogan (US), Michael C
Can anyone recommend an example or tutorial that demonstrates how to use Pywikibot for template parameter maintenance? Given a page title, I'd like to: (1) look for a template on the page, (2) add the template if it's missing, (3) set template parameters to specified values. Thank you! -Michael

Re: [Wikitech-l] Parsoid/PHP replaces Parsoid/JS on the Wikimedia cluster

2019-12-19 Thread Hogan (US), Michael C
The Extension:VisualEditor page on Mediawiki.org still guides people to use Parsoid/JS. Where is the best place to find instructions for migrating a wiki installation from Parsoid/JS to Parsoid/PHP? If documentation doesn't exist, I can help create it once I understand the steps. I've also

[Wikitech-l] Docs for using Mediawiki Docker Image

2019-10-01 Thread Hogan (US), Michael C
What's the best place (wiki page) to start learning how to use the DockerHub image for MediaWiki? The image source is at https://github.com/wikimedia/mediawiki-docker and I found Docker/SIG. I understand the basic setup, but am new to Docker and don't understand how to approach

Re: [Wikitech-l] Unstable search results - possible causes

2019-03-05 Thread Hogan (US), Michael C
server has the fewest active connections. -Original Message- From: Stas Malyshev [mailto:smalys...@wikimedia.org] Sent: Tuesday, March 05, 2019 5:39 PM To: Wikimedia developers ; Hogan (US), Michael C Subject: Re: [Wikitech-l] Unstable search results - possible causes Hi! > I'm us

[Wikitech-l] Unstable search results - possible causes

2019-03-05 Thread Hogan (US), Michael C
I'm using the built-in Mediawiki search engine. We just updated from 1.30.0 to 1.31.0. Since the update, search results are unstable. The same search term gives different results in different web browsers. We also see different results across browser sessions. Any advice on how I can

[Wikitech-l] Advice on Tuning Search?

2018-11-01 Thread Hogan (US), Michael C
Can anyone point me to a starting point for learning about how to tune CirrusSearch (or examples)? I found the CirrusSearchScoreBuilder page [1], which implies it is possible to modify how search results are ranked. But, the documentation page hasn't been created yet. Thank you! [1]:

[Wikitech-l] MediaWiki action api - query categories property of allimages list?

2018-08-03 Thread Hogan (US), Michael C
Is there a way to use the allimages API to get categories applied to each File: page? If not, would it make sense to suggest adding a categories property using Phabricator or by some other communication channel? https://www.mediawiki.org/wiki/API:Allimages Thank you, Michael