User talk:Ammarpad/Flow archive

About this board

Cysquatch (talkcontribs)

Hello Ammarpad. I'm a Wikipedia user, I'm also on IRC (Wikimedia Internet relay chat). There is a channel about MediaWiki in Italian (it was not created, I just registered it in case it is necessary). But I would like to know where I can get the support of the community to keep the channel going. I have seen that you are not registered in IRC, but we would be talking about that part of the MediaWiki community could have its own channel, so that they coordinate among themselves and can help people. Also, I came to you because I see that you are somewhat active lately. I'm not looking for you to join IRC or anything like that, but you can give me an idea (if you can) where I can get support from the community.

Ammarpad (talkcontribs)
Reply to "Hello..."

How we will see unregistered users

1
MediaWiki message delivery (talkcontribs)

Hi!

You get this message because you are an admin on a Wikimedia wiki.

When someone edits a Wikimedia wiki without being logged in today, we show their IP address. As you may already know, we will not be able to do this in the future. This is a decision by the Wikimedia Foundation Legal department, because norms and regulations for privacy online have changed.

Instead of the IP we will show a masked identity. You as an admin will still be able to access the IP. There will also be a new user right for those who need to see the full IPs of unregistered users to fight vandalism, harassment and spam without being admins. Patrollers will also see part of the IP even without this user right. We are also working on better tools to help.

If you have not seen it before, you can read more on Meta. If you want to make sure you don’t miss technical changes on the Wikimedia wikis, you can subscribe to the weekly technical newsletter.

We have two suggested ways this identity could work. We would appreciate your feedback on which way you think would work best for you and your wiki, now and in the future. You can let us know on the talk page. You can write in your language. The suggestions were posted in October and we will decide after 17 January.

Thank you. /Johan (WMF)

18:17, 4 January 2022 (UTC)

Reply to "How we will see unregistered users"
Hachdé (talkcontribs)
Reply to "Editor Visual"

A cup of coffee for you!

2
Terryburwell (talkcontribs)
hi
2001:268:C1C7:7667:5892:73C7:83C0:C490 (talkcontribs)

Thank you

Reply to "A cup of coffee for you!"
41.113.26.13 (talkcontribs)

I am the one wrote support on a support desk and u did reply correct,so is this mean that I can support you on any work as a trainee i mean you can train me right so that will be great if you give job right

Question; Do you allow children to work in this wiki website?

Thank you Have a great day today 😃

Reply to "Hi"

How to setup Extension:ArticleCreationWorkflow ?

4
Goodman Andrew (talkcontribs)

Extension:ArticleCreationWorkflow doesn't work (DOESN'T intercept article creation process for ANY user) on MediaWiki 1.35 but work seamlessly on Wikipedia. It is as if the extension is not registered on the wiki in question or the $wgArticleCreationLandingPage unavilable, but it is. What I'm I missing?

Ammarpad (talkcontribs)

This has been already answered on Topic:Vvzxknhfj4rbunvy, I am not sure why you're taking it to my talkpage now. You mentioned that it's working "seamlessly for Wikipedia" there and you repeated so here, please know that, this extension as far as I can see was specifically crafted for English Wikipedia and no one is obliged to make it more agnostic or make it robust to suit your needs. That's all I can say, please continue the discussion there, not here.

197.210.227.145 (talkcontribs)
Goodman Andrew (talkcontribs)

Thank you 😊

Reply to "How to setup Extension:ArticleCreationWorkflow ?"

How to Exclude NoIndex Pages From Sitemap? The noindex-tag is added via $wgNamespaceRobotPolicies or $wgDefaultRobotPolicies in LocalSettings.php (NOT via the on-page magic word: __NOINDEX__)

5
Summary by MarkAHershberger
Goodman Andrew (talkcontribs)

The following patches for the maintenance script generateSitemap.php from https://gerrit.wikimedia.org/r/c/620746 works only for the behavior switch magic word (), but does not remove pages marked 'noindex' via the LocalSettings.php from the sitemap.

I think there might be a solution to this because, if there wasn't, Wikipedia would have a problem excluding talkpages from its sitemap, which I think it doesn't: https://en.wikipedia.org/wiki/Wikipedia:Controlling_search_engine_indexing

Now, the wiki in question is by default noindex. Pages that are to be index have {{INDEX}} added to them but the entire wiki is noindex by default, because: $wgDefaultRobotPolicies = true; in LocalSettings.php. Thus the desire sitemap solution is to generate sitemap for pages that has __INDEX__ or {{INDEX}} in them or that indicate 'index' in the HTML output of the page.

diff --git a/maintenance/generateSitemap.php b/maintenance/generateSitemap.php
index 6060567..bc5e865 100644
--- a/maintenance/generateSitemap.php
+++ b/maintenance/generateSitemap.php

@@ -305,15 +305,27 @@
 	 * @return IResultWrapper
 	 */
 	private function getPageRes( $namespace ) {
-		return $this->dbr->select( 'page',
+		return $this->dbr->select(
+			[ 'page', 'page_props' ],
 			[
 				'page_namespace',
 				'page_title',
 				'page_touched',
-				'page_is_redirect'
+				'page_is_redirect',
+				'pp_propname',
 			],
 			[ 'page_namespace' => $namespace ],
-			__METHOD__
+			__METHOD__,
+			[],
+			[
+				'page_props' => [
+					'LEFT JOIN',
+					[
+						'page_id = pp_page',
+						'pp_propname' => 'noindex'
+					]
+				]
+			]
 		);
 	}
 
@@ -335,7 +347,13 @@
 			$fns = $contLang->getFormattedNsText( $namespace );
 			$this->output( "$namespace ($fns)\n" );
 			$skippedRedirects = 0; // Number of redirects skipped for that namespace
+			$skippedNoindex = 0; // Number of pages with __NOINDEX__ switch for that NS
 			foreach ( $res as $row ) {
+				if ( $row->pp_propname === 'noindex' ) {
+					$skippedNoindex++;
+					continue;
+				}
+
 				if ( $this->skipRedirects && $row->page_is_redirect ) {
 					$skippedRedirects++;
 					continue;
@@ -380,6 +398,10 @@
 				}
 			}
 
+			if ( $skippedNoindex > 0 ) {
+				$this->output( "  skipped $skippedNoindex page(s) with __NOINDEX__ switch\n" );
+			}
+
 			if ( $this->skipRedirects && $skippedRedirects > 0 ) {
 				$this->output( "  skipped $skippedRedirects redirect(s)\n" );
 			}
MarkAHershberger (talkcontribs)

Phabricator is a more appropriate place for this discussion.

Goodman Andrew (talkcontribs)

@MarkAHershberger: I don't know how to use phabricator. Could you please help me transfer this thread there?

Ammarpad (talkcontribs)
Goodman Andrew (talkcontribs)

Advanced mode to own wiki

4
Antonkarpp (talkcontribs)

I have the latest MobileFrontend, and when I go to Special: MobileOptions, it only reads beta features and title Descriptions. For example, in Wikimedia Commons it reads advanced mode. I didn't get an Advanced Mobile Contributor with this.

Antonkarpp (talkcontribs)

Sorry, Special:MobileOptions read only beta features.

Ammarpad (talkcontribs)

Set $wgMFAdvancedMobileContributions = true; in LocalSettings.php. Also note that some of its features are only available when you're also using Minerva skin.

Reply to "Advanced mode to own wiki"

Please take responsibility for your edit

1
184.20.10.253 (talkcontribs)
Reply to "Please take responsibility for your edit"

About "Project not found in Phabricator"

1
Wladek92 (talkcontribs)
Reply to "About "Project not found in Phabricator""
There are no older topics
Return to the user page of "Ammarpad/Flow archive".