Wikinews:Water cooler/technical

From Wikinews, the free news source you can write!
Jump to navigation Jump to search


Archive, post

Inherently unhelpful protection message[edit]

Cquote1.svg You do not have permission to edit this page, for the following reason:

This page has been protected to prevent editing or other actions.


—Wikinews main page

Consider the Main Page. The message that comes when an user tries to edit it (see left) is pretty generic (infact, it's the Mediawiki default).

Cquote1.svg This page is currently protected and can be edited only by administrators. Cquote2.svg

—Wikibooks main page

That message won't even tell you whether it's semi-protected or fully protected.

Most other Wikimedia sites do it properly; see Wikibooks' main page. It also tells you why the page is protected, and what one can do about it.

Shouldn't the messages be changed (i.e, by importing it from elsewhere) so that they are more helpful? Leaderboard (talk) 16:37, 26 October 2018 (UTC)

@Leaderboard: Makes sense. Do you, perchance, know what the MediaWiki-space hooks are for this?

(In the longer term, I hope to devise a mechanism so that when someone tries to edit a page that's protected, they'll get a semi-automated assistant and may be given an opportunity to "edit" the page thereby generating an editprotected request on the talk page that, in turn, offers a semi-automated assistant to a user with higher privs that they can use to examine the proposal, and accept reject or modify it. This would be a very cool facility. Not there yet.) --Pi zero (talk) 16:53, 26 October 2018 (UTC)

@Pi zero: For Wikibooks, it's here. Hence Wikinews' equivalent is at here, and it's barren, as expected. Leaderboard (talk) 17:54, 26 October 2018 (UTC)
Looking at the hard-to-read code on Wikibooks, and comparing it to the differently obscure code on Wikipedia, it seems clear to me this needs to be done carefully, to modularize it in a way that supports the sort of customizations we'll want for Wikinews. I'll try to focus on this and work it out promptly (though stuff on the review queue tends to take priority). --Pi zero (talk) 19:31, 26 October 2018 (UTC)
@Pi zero: See my sandbox; I've copied the code from Wikibooks and made it more Wikinews-y (though I should note that the template is dynamic and doesn't show its full capabilities inside my sandbox). I've also copied a template (with its documentation) as part of it (you'll need to perform a history merge to it). Leaderboard (talk) 12:45, 27 October 2018 (UTC)
I have some thoughts on this, but am atm in the midst of one of those moments of being overwhelmed with immediate priorities. (Nowadays we don't use the traditional types of boxes at Wikinews; I favor {{xambox}} as a general-purpose device; and there's a very-long-standing low-level debate running here over whether it's okay to import "code"-type infrastructure from Wikipedia, as opposed to content... but really those are side issues.) --Pi zero (talk) 17:21, 27 October 2018 (UTC)
I've tried something. Further customizations should be primarily in template space. --Pi zero (talk) 08:01, 6 November 2018 (UTC)

MediaWiki:Edittools and MediaWiki:Edittools.js still need fixing[edit]

I raised an issue early this year about MediaWiki:Edittools and MediaWiki:Edittools.js possibly not working properly. There weren't enough replies here, so five months ago I decided to ask for help or suggestions at's Support Desk. I figured that the suggestions there are helpful, but I'm unsure. I wanted to file a Phabricator task about this, but I decide to raise this once more. --George Ho (talk) 08:48, 28 October 2018 (UTC)

Thanks for following this up George Ho.
Why don't they fix it? Edit tools is a part of MediaWiki.
Does this bug not occur at Russian Wikinews or English Wikipedia?
If it does not parse our MediaWiki:Edittools then it is a bug in MW's code?
I do not follow what code needs fixing.
If you don't understand either then we can ask at the topic that you linked. --Gryllida (chat) 09:35, 28 October 2018 (UTC)
I still don't understand codes much, even when using the "F12" key, i.e. developer tools. I tried finding flaws in Elements tab via Google Chrome, but I don't know which code needs fixing. I also couldn't detect "exceptions". --George Ho (talk) 09:51, 28 October 2018 (UTC)
OK thanks George Ho;
@Microchip08, Bawolff, Pi zero: and maybe others; do you have suggestions different from 'this is a bug in MediaWiki which needs to be reported'? --Gryllida (chat) 10:41, 28 October 2018 (UTC)

"Opinions" tab not appearing while using debug=true in a browser's address bar[edit]

When I was using "debug=true" (e.g. this one) and developer tools, I noticed that "Opinions" tab is missing. On the other hand, without using "debug=true", the "Opinions" tab appears. Also, when I used the developers tools (F12 key) via Google Chrome, I found one error message (or an "exception"?). --George Ho (talk) 10:04, 28 October 2018 (UTC)

Editing News #2—2018[edit]

14:17, 2 November 2018 (UTC)

Open call for Project Grants[edit]

IEG IdeaLab review.png

Greetings! The Project Grants program is accepting proposals until November 30 to fund both experimental and proven ideas such as research, offline outreach (including editathon series, workshops, etc), online organizing (including contests), or providing other support for community building for Wikimedia projects.

We offer the following resources to help you plan your project and complete a grant proposal:

Also accepting candidates to join the Project Grants Committee through November 15.

With thanks, I JethroBT (WMF) 19:46, 5 November 2018 (UTC)