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?
User talk:Ammarpad
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.
@Goodman Andrew: this is how to enable it in LocalSettings.php: how to configure mediawiki extension ArticleCreationWorkflow
Thank you 😊
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" ); }
Phabricator is a more appropriate place for this discussion.
@MarkAHershberger: I don't know how to use phabricator. Could you please help me transfer this thread there?
If you open https://phabricator.wikimedia.org/ you will see a normal login button and you should be able to login through your mediawiki.org account (the account you're using now). See also How to report a bug
Reported.
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 Do not spam random user pages. You posted this already on Topic:Vqvu0hbuogihpvu3.
Sorry, Special:MobileOptions read only beta features.
Set $wgMFAdvancedMobileContributions = true;
in LocalSettings.php. Also note that some of its features are only available when you're also using Minerva skin.
You made this (https://www.mediawiki.org/w/index.php?title=Extension:Arrays&oldid=3561263) edit so please see that this is fixed since you're taking away resources that users can use to know the extension is in disrepair and fix it for themselves.
Some one made an attempt here (https://phabricator.wikimedia.org/T240111) and here (Topic:Vckr289fz0jyvhkw) is a permalink with more information. I've done what I can. You undid that so a page can look attractive, so you should see the problem through.
Hello,
Thank you for your correction => https://www.mediawiki.org/w/index.php?title=Extension:AdvancedSearch&diff=3514800&oldid=3495859&diffmode=source Can you please leave a comment on https://phabricator.wikimedia.org/T237288 for them to close the task ?
... and have a look to https://www.mediawiki.org/wiki/Topic:Vbl1f0pa0wjwlo00 where the problem is similar but for file 'config'
Thanks you.
Christian FR (talk) 14:55, 22 November 2019 (UTC)
There are no older topics