Page MenuHomePhabricator

Wikinaut
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Oct 31 2014, 6:26 PM (485 w, 6 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Wikinaut [ Global Accounts ]

Recent Activity

Mon, Feb 5

Wikinaut closed T356646: Cannot find the old Extension repository. Where can I find that? as Resolved.
Mon, Feb 5, 4:41 PM · MediaWiki-extensions-OpenID
Wikinaut added a comment to T356646: Cannot find the old Extension repository. Where can I find that?.

Should be described on that https://www.mediawiki.org/w/index.php?oldid=6100737 page, please.
Thanks, appears to work!

Mon, Feb 5, 4:40 PM · MediaWiki-extensions-OpenID
Wikinaut created T356646: Cannot find the old Extension repository. Where can I find that?.
Mon, Feb 5, 3:04 PM · MediaWiki-extensions-OpenID

Sun, Feb 4

Wikinaut added a comment to T356596: ExtensionRegistry::getInstance()->isLoaded( extension ) does not work as expected: it uses the given name, not the name as loaded.

Dear Brian, I think this, I would call it harmonization, should be then done then for _all_ extensions in the MediaWiki catalogue in order to have the same for all (name in wfLoadExtension ! and name in extension.json should not be different). Sooner or later, this will again create troubles.

Sun, Feb 4, 2:26 PM · MediaWiki-Core-Hooks, ExtensionDistributor
Wikinaut updated the task description for T356596: ExtensionRegistry::getInstance()->isLoaded( extension ) does not work as expected: it uses the given name, not the name as loaded.
Sun, Feb 4, 2:17 PM · MediaWiki-Core-Hooks, ExtensionDistributor
Wikinaut renamed T356596: ExtensionRegistry::getInstance()->isLoaded( extension ) does not work as expected: it uses the given name, not the name as loaded from ExtensionRegistry::getInstance()->isLoaded( extension ) does not work as expected: it use the given name, not the name as loaded to ExtensionRegistry::getInstance()->isLoaded( extension ) does not work as expected: it uses the given name, not the name as loaded.
Sun, Feb 4, 2:11 PM · MediaWiki-Core-Hooks, ExtensionDistributor
Wikinaut created T356596: ExtensionRegistry::getInstance()->isLoaded( extension ) does not work as expected: it uses the given name, not the name as loaded.
Sun, Feb 4, 2:11 PM · MediaWiki-Core-Hooks, ExtensionDistributor
Wikinaut created T356591: After UserMerge and deleting $fromUser, also other user login-identities of $fromUser (for example, from OpenIDConnect, in general from PluggableAuth) should be deleted in the table(s).
Sun, Feb 4, 10:20 AM · MediaWiki-extensions-UserMerge

Thu, Jan 25

Wikinaut renamed T355853: Login page button/s limit/s longer button texts (solution included) from [Mediawiki Core] Login page button/s limit/s longer button texts (solution included) to Login page button/s limit/s longer button texts (solution included).
Thu, Jan 25, 8:18 AM · MediaWiki-User-login-and-signup
Wikinaut created T355853: Login page button/s limit/s longer button texts (solution included).
Thu, Jan 25, 8:18 AM · MediaWiki-User-login-and-signup

Jan 15 2024

Wikinaut added a comment to T354800: img_auth.php(144) Error: Call to a member function exists() on null.

Do you want me to supply a formal pull request?

Jan 15 2024, 11:53 AM · Commons, MW-1.41-release, MediaWiki-File-management

Jan 13 2024

Wikinaut created T355009: After logging-in as another user2, I still see the breadcrumbs of user1 (in the same browser)..
Jan 13 2024, 9:31 PM · Privacy, MediaWiki-extensions-JSBreadCrumbs

Jan 10 2024

Wikinaut added a comment to T354800: img_auth.php(144) Error: Call to a member function exists() on null.
  • perhaps also SECURITY flag
Jan 10 2024, 10:05 PM · Commons, MW-1.41-release, MediaWiki-File-management
Wikinaut renamed T354800: img_auth.php(144) Error: Call to a member function exists() on null from [mw1.41.0] img_auth.php(144) Error: Call to a member function exists() on null [first observed while testing; after upgrade from 1.40.1 to 1.41.0] to [mw1.41.0] img_auth.php(144) Error: Call to a member function exists() on null [PROPOSED FIX ATTACHED].
Jan 10 2024, 9:48 PM · Commons, MW-1.41-release, MediaWiki-File-management
Wikinaut added a comment to T354800: img_auth.php(144) Error: Call to a member function exists() on null.

PROPOSED FIX in line 144 in image_auth.php

Jan 10 2024, 9:48 PM · Commons, MW-1.41-release, MediaWiki-File-management
Wikinaut added a comment to T354800: img_auth.php(144) Error: Call to a member function exists() on null.
       } else {
                $name = wfBaseName( $path ); // file is a source file
                $filename = $repo->getZonePath( 'public' ) . $path;
                // Check to see if the file exists and is not deleted
                $bits = explode( '!', $name, 2 );
                if ( str_starts_with( $path, '/archive/' ) && count( $bits ) == 2 ) {
                        $file = $repo->newFromArchiveName( $bits[1], $name );
                } else {
                        $file = $repo->newFile( $name );
                }
**                if ( !$file->exists() || $file->isDeleted( File::DELETED_FILE ) ) {**
                        wfForbidden( 'img-auth-accessdenied', 'img-auth-nofile', $filename );
                        return;
                }
        }
Jan 10 2024, 9:36 PM · Commons, MW-1.41-release, MediaWiki-File-management
Wikinaut updated the task description for T354800: img_auth.php(144) Error: Call to a member function exists() on null.
Jan 10 2024, 9:32 PM · Commons, MW-1.41-release, MediaWiki-File-management
Wikinaut renamed T354800: img_auth.php(144) Error: Call to a member function exists() on null from [mw1.41.0] img_auth.php(144) Error: Call to a member function exists() on null [after upgrade from 1.40.1 to 1.41.0] to [mw1.41.0] img_auth.php(144) Error: Call to a member function exists() on null [first observed while testing; after upgrade from 1.40.1 to 1.41.0].
Jan 10 2024, 9:27 PM · Commons, MW-1.41-release, MediaWiki-File-management
Wikinaut updated the task description for T354800: img_auth.php(144) Error: Call to a member function exists() on null.
Jan 10 2024, 9:17 PM · Commons, MW-1.41-release, MediaWiki-File-management
Wikinaut added a comment to T354800: img_auth.php(144) Error: Call to a member function exists() on null.
Jan 10 2024, 9:13 PM · Commons, MW-1.41-release, MediaWiki-File-management
Wikinaut updated the task description for T354800: img_auth.php(144) Error: Call to a member function exists() on null.
Jan 10 2024, 8:18 PM · Commons, MW-1.41-release, MediaWiki-File-management
Wikinaut updated the task description for T354800: img_auth.php(144) Error: Call to a member function exists() on null.
Jan 10 2024, 8:12 PM · Commons, MW-1.41-release, MediaWiki-File-management
Wikinaut updated the task description for T354800: img_auth.php(144) Error: Call to a member function exists() on null.
Jan 10 2024, 7:59 PM · Commons, MW-1.41-release, MediaWiki-File-management
Wikinaut created T354800: img_auth.php(144) Error: Call to a member function exists() on null.
Jan 10 2024, 7:58 PM · Commons, MW-1.41-release, MediaWiki-File-management

Sep 25 2023

Wikinaut updated the task description for T347351: SubPageList3 optional parameter parent=PPage does not list subpages of "PPage" when after saving the current page - but works correctly in preview mode.
Sep 25 2023, 8:28 PM · MediaWiki-extensions-SubPageList3
Wikinaut updated the task description for T347351: SubPageList3 optional parameter parent=PPage does not list subpages of "PPage" when after saving the current page - but works correctly in preview mode.
Sep 25 2023, 8:27 PM · MediaWiki-extensions-SubPageList3
Wikinaut created T347351: SubPageList3 optional parameter parent=PPage does not list subpages of "PPage" when after saving the current page - but works correctly in preview mode.
Sep 25 2023, 8:23 PM · MediaWiki-extensions-SubPageList3

Apr 1 2023

Johannnes89 awarded T3876: Send a notification when someone else edits your userpage a Love token.
Apr 1 2023, 7:03 PM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.3; 2023-04-03), Growth-Team (Sprint 0 (Growth Team)), Community-Wishlist-Survey-2023, Patch-For-Review, Community-Tech, Community-Wishlist-Survey-2022, MediaWiki-Email, Notifications

Jan 28 2023

MarioGom awarded T3876: Send a notification when someone else edits your userpage a Love token.
Jan 28 2023, 3:35 PM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.3; 2023-04-03), Growth-Team (Sprint 0 (Growth Team)), Community-Wishlist-Survey-2023, Patch-For-Review, Community-Tech, Community-Wishlist-Survey-2022, MediaWiki-Email, Notifications

May 2 2022

Sj awarded T3876: Send a notification when someone else edits your userpage a Stroopwafel token.
May 2 2022, 4:13 PM · User-notice-archive, MW-1.41-notes (1.41.0-wmf.3; 2023-04-03), Growth-Team (Sprint 0 (Growth Team)), Community-Wishlist-Survey-2023, Patch-For-Review, Community-Tech, Community-Wishlist-Survey-2022, MediaWiki-Email, Notifications

Apr 9 2022

seth awarded T6198: Suggestion to implement page-level links into uploaded PDF files [[media:foo.pdf|page=n]] a Like token.
Apr 9 2022, 10:17 PM · Multimedia, MediaWiki-File-management, Commons, All-and-every-Wikisource, MediaWiki-Parser

Mar 29 2021

Wikinaut added a comment to T278676: Move unmaintained "MediaWiki Virtual Library" pages and category on mediawiki.org to user subpages.

Pls move the page to become a subpage of my MediaWiki-Userpage, ty.

Mar 29 2021, 4:43 PM · Developer-Advocacy (Apr-Jun 2022), Wikimedia-Developer-Portal, Documentation
Wikinaut added a comment to T278676: Move unmaintained "MediaWiki Virtual Library" pages and category on mediawiki.org to user subpages.

tl;dr
want always to have the possiblity to create a single page (pdf or long html or odt) from a well-defined (list) set of pages - which may not necessarily subpages of a page or of pages.

Mar 29 2021, 1:13 PM · Developer-Advocacy (Apr-Jun 2022), Wikimedia-Developer-Portal, Documentation
Wikinaut added a comment to T278676: Move unmaintained "MediaWiki Virtual Library" pages and category on mediawiki.org to user subpages.

I would like to keep that collection (of collections) at least somewhere else. The fact, that the Book Creator is not working since years is something which I regard as one of the worst things which happened in the last years, so I gave up to fight for re-upping that brillant and useful service.

Mar 29 2021, 9:52 AM · Developer-Advocacy (Apr-Jun 2022), Wikimedia-Developer-Portal, Documentation

Jun 14 2020

Wikinaut added a comment to T172060: PHP Notice: Undefined index: SERVER_NAME when running maintenance scripts.

@Krinkle I just wish to drop in. In more than one decade, I had quite a lot of installations of MediaWiki in hosting environments, i.e. virtual servers, where my above patch fully solved the issue (shown in the very first posting). I cannot go into technical details, I just wanted to say this again.

Jun 14 2020, 6:21 PM · MW-1.34-notes, MW-1.35-notes (1.35.0-wmf.37; 2020-06-16), Patch-For-Review, MediaWiki-Maintenance-system

Dec 13 2019

Wikinaut added a comment to T240448: Incorrect array syntax for $wgExtraSignatureNamespaces in docs.

So I think it could be an issue related to the specific php version we have or with the fact that some namespaces we use were defined as constants in the LocalSettings.

Dec 13 2019, 4:49 PM · Documentation, WikiEditor
Wikinaut added a comment to T240448: Incorrect array syntax for $wgExtraSignatureNamespaces in docs.

@matmarex Hi, even why I must admit, that I knew this both. the extension was not working for non-NS_MAIN namespaces.
I suggest that I will scrutizine the problem (or non-problem) again and report here.

Dec 13 2019, 4:47 PM · Documentation, WikiEditor
Wikinaut added a comment to T240656: EditNotify cannot be restricted to page creations in certain namespaces. It always notifies about any page creation..

Someone else should verify/confirm this, I cannot now. At least there are two issues, this is my view. The present issue is the most important one and can be solved independently.

Dec 13 2019, 3:03 PM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240656: EditNotify cannot be restricted to page creations in certain namespaces. It always notifies about any page creation..

https://phabricator.wikimedia.org/T240391 is valid, as then - when you have also NewUserNotif active - the namespace restriction of EditNotify is not respected.

Dec 13 2019, 1:36 PM · MediaWiki-extensions-EditNotify
Wikinaut created T240656: EditNotify cannot be restricted to page creations in certain namespaces. It always notifies about any page creation..
Dec 13 2019, 8:07 AM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.
Dec 13 2019, 7:44 AM · MediaWiki-extensions-EditNotify

Dec 12 2019

Wikinaut added a comment to T240448: Incorrect array syntax for $wgExtraSignatureNamespaces in docs.

(I already did so, see here https://www.mediawiki.org/wiki/Topic:Vct1uox3qprm3eak )

Dec 12 2019, 3:13 PM · Documentation, WikiEditor
Wikinaut added a comment to T240448: Incorrect array syntax for $wgExtraSignatureNamespaces in docs.

@Aklapper: Additional question: is there a simple way or trick to programmatically add all namesspaces?

Dec 12 2019, 8:33 AM · Documentation, WikiEditor
Wikinaut closed T240448: Incorrect array syntax for $wgExtraSignatureNamespaces in docs as Resolved.

I will change the description page

Dec 12 2019, 8:29 AM · Documentation, WikiEditor
Wikinaut added a comment to T240448: Incorrect array syntax for $wgExtraSignatureNamespaces in docs.

It appears to be an issue of the correct syntax.
I changed to

Dec 12 2019, 8:28 AM · Documentation, WikiEditor
Wikinaut reopened T240448: Incorrect array syntax for $wgExtraSignatureNamespaces in docs as "Open".

Reopened, because at least one issue remains.

Dec 12 2019, 8:25 AM · Documentation, WikiEditor
Wikinaut added a comment to T240448: Incorrect array syntax for $wgExtraSignatureNamespaces in docs.

It's not correctly working:

Dec 12 2019, 8:24 AM · Documentation, WikiEditor
Wikinaut added a comment to T240448: Incorrect array syntax for $wgExtraSignatureNamespaces in docs.

I had to deactivate the delete command in order to get that mechanism working for NS_MAIN - which I added in LocalSettings.php. I will try that again and report here whether it worked or not in the second trial.

Dec 12 2019, 8:06 AM · Documentation, WikiEditor

Dec 11 2019

Wikinaut added a comment to T240448: Incorrect array syntax for $wgExtraSignatureNamespaces in docs.

@Aklapper: because of

grafik.png (443×384 px, 66 KB)

Dec 11 2019, 1:53 PM · Documentation, WikiEditor
Wikinaut renamed T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify from Extension:EditNotify interferes with Extension:New_User_Email_Notification (NewUserNotif) to Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.
Dec 11 2019, 1:34 PM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.
Dec 11 2019, 1:33 PM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240448: Incorrect array syntax for $wgExtraSignatureNamespaces in docs.

$wgExtraSignatureNamespace is not used anymore for the WikiEditor extension, as far as I see.

Dec 11 2019, 12:32 PM · Documentation, WikiEditor
Wikinaut created T240448: Incorrect array syntax for $wgExtraSignatureNamespaces in docs.
Dec 11 2019, 12:31 PM · Documentation, WikiEditor
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

And regarding the missing editbuttons, I ask the MW gurus here https://www.mediawiki.org/wiki/Topic:Vcqdm74c4a1ltzg5

Dec 11 2019, 4:41 AM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

Result: negative: the reversing of the invocation sequence does not fix the issue.

Dec 11 2019, 4:39 AM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

regarding your idea with reversing: I had this idea, too, but did not try that, because I really wanted to upgrade to 1.33.1, so I took the issue here as "reason" to upgrade first. Will do try reversing the invoke sequence now.

Dec 11 2019, 4:37 AM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

Yaron: we would like to have both extensions, or, when you can "enhance" the newer "EditNotify" so that it also can be used when a new User Account is created (not: Userpage), that would be great.

Dec 11 2019, 3:52 AM · MediaWiki-extensions-EditNotify
Wikinaut renamed T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify from Extension:EditNotify: User cannot track a particular namespace or category for creation. This is however needed. to Extension:EditNotify interferes with Extension:New_User_Email_Notification (NewUserNotif).
Dec 11 2019, 3:50 AM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

Yep! Bingo

Dec 11 2019, 2:48 AM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

Yaron, yes, good point, as we have the NewUserNotif.php working...! I will disable that and report here, if there is an interference.

Dec 11 2019, 2:47 AM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

Something different: the editbuttons are gone after the upgrade, any idea, why? Perhaps a cache issue... must wait

Dec 11 2019, 2:36 AM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

Negative. Notifs come for any creations, regardless of the Namespace.
BTW, I upgraded core to 1.33.1 and also the EditNotify extension.
Strange. Let me know, if you have something what I could test.

Dec 11 2019, 2:30 AM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

Yaron, it is *not* sensitive to the Namespace:

grafik.png (228×552 px, 22 KB)

Dec 11 2019, 1:11 AM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

Will try. Just a remark: I installed the extension for the 1.31 release tag, to match the core extension.

Dec 11 2019, 1:02 AM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

wfLoadExtension() wasn't mentioned in the Description, that's why I didn't use the modern method.

Dec 11 2019, 12:27 AM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

1.31.3 see https://events.ccc.de/congress/2019/wiki/index.php/Special:Version

Dec 11 2019, 12:26 AM · MediaWiki-extensions-EditNotify

Dec 10 2019

Wikinaut renamed T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify from Extenison:EditNotify: User cannot track a particular namespace or category for creation. This is however needed. to Extension:EditNotify: User cannot track a particular namespace or category for creation. This is however needed. .
Dec 10 2019, 10:59 PM · MediaWiki-extensions-EditNotify
Wikinaut updated the task description for T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.
Dec 10 2019, 10:47 PM · MediaWiki-extensions-EditNotify
Wikinaut updated the task description for T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.
Dec 10 2019, 10:46 PM · MediaWiki-extensions-EditNotify
Wikinaut added a comment to T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.

Here's our setup:

Dec 10 2019, 10:46 PM · MediaWiki-extensions-EditNotify
Wikinaut created T240391: Older Extension:New_User_Email_Notification (NewUserNotif) interferes with newer, modern Extension:EditNotify.
Dec 10 2019, 10:42 PM · MediaWiki-extensions-EditNotify

Nov 20 2019

Wikinaut added a comment to T237859: Page Content Service content for de:Briar_(Instant_Messenger) not updated when content transcluded from Wikidata is edited.

As a workaround, I believe that performing a purge or null edit of the article will trigger a PCS update that will pull in changes to transcluded content.

Nov 20 2019, 9:38 PM · Content-Transform-Team, Platform Engineering (Icebox), Product-Infrastructure-Team-Backlog-Deprecated
Wikinaut updated the task description for T237859: Page Content Service content for de:Briar_(Instant_Messenger) not updated when content transcluded from Wikidata is edited.
Nov 20 2019, 3:06 PM · Content-Transform-Team, Platform Engineering (Icebox), Product-Infrastructure-Team-Backlog-Deprecated
Wikinaut added a comment to T173098: [BUG] Updated article version does not shown immediately upon publishing an edit in the app.

As reported by me in https://phabricator.wikimedia.org/T237859 , the update of the wikidata content of the dewiki "Briar (Instant Messenger)" page recetnly had a delay of more than 8 days which is not acceptable.

Nov 20 2019, 7:00 AM · Platform Engineering, Mobile-Content-Service, Product-Infrastructure-Team-Backlog-Deprecated, Wikipedia-Android-App-Backlog

Nov 10 2019

Wikinaut created T237859: Page Content Service content for de:Briar_(Instant_Messenger) not updated when content transcluded from Wikidata is edited.
Nov 10 2019, 4:00 PM · Content-Transform-Team, Platform Engineering (Icebox), Product-Infrastructure-Team-Backlog-Deprecated

Oct 27 2019

Wikinaut added a comment to T172060: PHP Notice: Undefined index: SERVER_NAME when running maintenance scripts.
Oct 27 2019, 8:39 PM · MW-1.34-notes, MW-1.35-notes (1.35.0-wmf.37; 2020-06-16), Patch-For-Review, MediaWiki-Maintenance-system
Wikinaut added a comment to T172060: PHP Notice: Undefined index: SERVER_NAME when running maintenance scripts.

@Aklapper yes, please (first patch since a long time... be patient with me, pls.) : https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/546370/1/includes/GlobalFunctions.php

Oct 27 2019, 8:35 PM · MW-1.34-notes, MW-1.35-notes (1.35.0-wmf.37; 2020-06-16), Patch-For-Review, MediaWiki-Maintenance-system

Oct 25 2019

Wikinaut added a comment to T172060: PHP Notice: Undefined index: SERVER_NAME when running maintenance scripts.

Hi, I recently came back to MediaWiki development, since a long time. I discovered PHP Notice: Undefined index: SERVER_NAME in /includes/GlobalFunctions.php on line 1432.

In my view this could be fixed by additional checking in the last condition path

} elseif ( isset ( $_SERVER['SERVER_NAME'] ) ) {
        # This may be a virtual server.
        $host = $_SERVER['SERVER_NAME'];
} else {
        global $wgServerName;
        $host = $wgServerName;
}

whether $wgServerName has been set in LocalSettings.php and then use this $wgServerName value here.

See https://www.mediawiki.org/wiki/Manual:$wgServerName/

Oct 25 2019, 10:06 AM · MW-1.34-notes, MW-1.35-notes (1.35.0-wmf.37; 2020-06-16), Patch-For-Review, MediaWiki-Maintenance-system

Jul 7 2019

Wikinaut added a comment to T227399: [MW 1.31.3] User right issue: user "move", "createpage", "createtalk" rights appear NOT to require/depend any more on "edit" right (documentation states the opposite).

Dear @Reedy we both came to the same conclusion: the MediaWiki code stops in the last second, when actually trying to perform the action, the action is not performed, when "edit" right is missing on which the action depends.
So my observation appears to a mere cosmetic problem when the User rights are listed on the SpecialPage. My issue should be reformulated as a documentation and SpecialPage improvement. Let me know, if you want me to formulate a new bug - or if you prefer to take over (what I prefer).

Jul 7 2019, 10:49 AM · Documentation, MediaWiki-Documentation, MediaWiki-User-management
Wikinaut added a comment to T227399: [MW 1.31.3] User right issue: user "move", "createpage", "createtalk" rights appear NOT to require/depend any more on "edit" right (documentation states the opposite).

Are you actually able to do those actions without the edit right? Or is it just how things appear on Special:ListGroupRights?

Jul 7 2019, 10:33 AM · Documentation, MediaWiki-Documentation, MediaWiki-User-management
Wikinaut added a comment to T227399: [MW 1.31.3] User right issue: user "move", "createpage", "createtalk" rights appear NOT to require/depend any more on "edit" right (documentation states the opposite).

And, @Reedy, it can be that the documentation is right, that for (actually, for example) "moving" a page the "edit" right is required, but finally (when a user without "edit" right tries to "move") this action is blocked. But if this is the case, the documentation should be corrected, and the SpecialPage should be reformulated, if it shows "move" right but if the action is finally blocked at the last stage in the code.
(I don't expect that the code is written in that way).

Jul 7 2019, 10:23 AM · Documentation, MediaWiki-Documentation, MediaWiki-User-management
Wikinaut added a comment to T227399: [MW 1.31.3] User right issue: user "move", "createpage", "createtalk" rights appear NOT to require/depend any more on "edit" right (documentation states the opposite).

Honestly, I have no hint, because in 2000ies, I always modified everything (including DefaultSettings), so I perhaps never noticed this "issue". In early 2010 I started to keep everything in LocalSettings and noticed the problem just right now.

Jul 7 2019, 10:20 AM · Documentation, MediaWiki-Documentation, MediaWiki-User-management
Wikinaut added a comment to T227399: [MW 1.31.3] User right issue: user "move", "createpage", "createtalk" rights appear NOT to require/depend any more on "edit" right (documentation states the opposite).

So if admin removes USER EDIT right in LocalSettings, all dependend rights should be unset as well.

Jul 7 2019, 10:17 AM · Documentation, MediaWiki-Documentation, MediaWiki-User-management
Wikinaut added a comment to T227399: [MW 1.31.3] User right issue: user "move", "createpage", "createtalk" rights appear NOT to require/depend any more on "edit" right (documentation states the opposite).

See above. Documentation says that for createpage, createtalk, move etc, EDIT right is required, too. Please test for yourself, pls. I am pretty sure, there is an overlooked bug in the user rights logic and documentation.

Jul 7 2019, 10:16 AM · Documentation, MediaWiki-Documentation, MediaWiki-User-management
Wikinaut added a comment to T227399: [MW 1.31.3] User right issue: user "move", "createpage", "createtalk" rights appear NOT to require/depend any more on "edit" right (documentation states the opposite).

@Reedy for "User" (as mentioned in the issue title).

Jul 7 2019, 10:12 AM · Documentation, MediaWiki-Documentation, MediaWiki-User-management
Wikinaut updated the task description for T227399: [MW 1.31.3] User right issue: user "move", "createpage", "createtalk" rights appear NOT to require/depend any more on "edit" right (documentation states the opposite).
Jul 7 2019, 9:00 AM · Documentation, MediaWiki-Documentation, MediaWiki-User-management
Wikinaut created T227399: [MW 1.31.3] User right issue: user "move", "createpage", "createtalk" rights appear NOT to require/depend any more on "edit" right (documentation states the opposite).
Jul 7 2019, 8:11 AM · Documentation, MediaWiki-Documentation, MediaWiki-User-management

Nov 26 2018

Wikinaut added a comment to T172060: PHP Notice: Undefined index: SERVER_NAME when running maintenance scripts.

Hi, I recently came back to MediaWiki development, since a long time. I discovered PHP Notice: Undefined index: SERVER_NAME in /includes/GlobalFunctions.php on line 1432.

Nov 26 2018, 10:35 AM · MW-1.34-notes, MW-1.35-notes (1.35.0-wmf.37; 2020-06-16), Patch-For-Review, MediaWiki-Maintenance-system

Jun 15 2018

Wikinaut added a comment to T184317: After setting $wgMaxCredits > 0, page credits still do not display editor names.

@Aklapper If at least someone confirms my observation, then I will try to fix this. It is as simple as to set $wgMaxCredits .

Jun 15 2018, 4:25 PM · Regression, MediaWiki-General
Wikinaut added a comment to T184317: After setting $wgMaxCredits > 0, page credits still do not display editor names.

What the heck does this cryptic string mean?

Jun 15 2018, 9:45 AM · Regression, MediaWiki-General
Wikinaut added a comment to T184317: After setting $wgMaxCredits > 0, page credits still do not display editor names.

@Aklapper What does this "comment" (date 20180615 10:04 AM) mean?

Jun 15 2018, 8:25 AM · Regression, MediaWiki-General
Wikinaut added a comment to T184317: After setting $wgMaxCredits > 0, page credits still do not display editor names.

@Aklapper André, can you or anyone else please confirm my observation? It looks to be a regression which nobody noticed before.

Jun 15 2018, 8:24 AM · Regression, MediaWiki-General

May 16 2018

Dinoguy1000 awarded T38203: Merge TitleKey into core a Like token.
May 16 2018, 12:51 AM · MediaWiki-extensions-TitleKey

Mar 23 2018

Wikinaut added a comment to T184317: After setting $wgMaxCredits > 0, page credits still do not display editor names.
Mar 23 2018, 6:02 AM · Regression, MediaWiki-General
Wikinaut added a comment to T184317: After setting $wgMaxCredits > 0, page credits still do not display editor names.

@Aklapper André, can you or anyone else confirm my observation? It looks to be a regression which nobody noticed before.

Mar 23 2018, 6:01 AM · Regression, MediaWiki-General

Jan 10 2018

Wikinaut added a comment to T184317: After setting $wgMaxCredits > 0, page credits still do not display editor names.

Can someone of you (please!) confirm my observation? This helps me.

Jan 10 2018, 7:46 PM · Regression, MediaWiki-General

Jan 6 2018

Wikinaut renamed T184317: After setting $wgMaxCredits > 0, page credits still do not display editor names from [Regression in 1.30.0] Page credits ($wgMaxCredits > 0) lack editors' names (not rendering editors' names) to [Regression? in MediaWiki 1.30.0] Page credits ($wgMaxCredits > 0) lack editors' names (not rendering editors' names).
Jan 6 2018, 12:12 AM · Regression, MediaWiki-General
Wikinaut renamed T184317: After setting $wgMaxCredits > 0, page credits still do not display editor names from [Regresion in 1.30.0] Page credits ($wgMaxCredits > 0) lack editors' names (not rendering editors' names) to [Regression in 1.30.0] Page credits ($wgMaxCredits > 0) lack editors' names (not rendering editors' names).
Jan 6 2018, 12:12 AM · Regression, MediaWiki-General
Wikinaut created T184317: After setting $wgMaxCredits > 0, page credits still do not display editor names.
Jan 6 2018, 12:12 AM · Regression, MediaWiki-General

May 4 2017

Wikinaut added a comment to T29884: enotif doesn't send email if page on watchlist edited following a minor edit and enotif not configured to send minor edits..

Hmmm, are you really sure that it is not a simple (and real) "bug"? Adding another column would make the whole code, and database scheme, even more complicated. (I need to check the issue in a reference wiki implementation. Later.)

May 4 2017, 10:13 PM · Growth-Team, MediaWiki-Watchlist, User-notice, MediaWiki-Email