Page MenuHomePhabricator

Improve UI text for Special:Import
Closed, ResolvedPublic

Description

Edit the documentation strings on the MediaWiki Special:Import page to help users understand best practices for importing pages.

Current page text:

Screen Shot 2020-07-14 at 3.39.41 PM.png (446×1 px, 69 KB)

Doc string IDs: https://wikitech.wikimedia.org/wiki/Special:Import?uselang=qqx

Screen Shot 2020-07-27 at 3.46.43 PM.png (938×1 px, 160 KB)

Notes:

  • Checking "Include all templates" (import-interwiki-templates) imports transcluded pages as well as templates
  • Checking "Import to default locations" (import-mapping-default) detects the namespace of the page and moves it to the corresponding namespace in the target wiki (as opposed to using the default namespace for the target wiki)

This will require a patch in Gerrit which changes the strings import-interwiki-templates and import-mapping-default in the file languages/i18n/en.json in the mediawiki/core code repository.

Note that only users with import permissions on Wikitech will be able to view the Special:Import page on wiki. To contribute to this task without import permissions, refer to the screenshot of the current text and the string IDs.
Also for new contributors out there, just propose the solution in the threads below (it will bypass gerrit knowledge).

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Hi @Hanan8822 and welcome. Please check the upper left corner, below the task title, for the status of any task. Also see the Assigned To field for the assignee of a task. Also see https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker#Feedback,_questions_and_support - thanks!

Hi, Thanks again, @Hqrshguptq are you working on this?

Change 757127 had a related patch set uploaded (by EpicPupper; author: EpicPupper):

[mediawiki/core@master] core: Improve UI text for Special:Import

https://gerrit.wikimedia.org/r/757127

Checking "Include all templates" (import-interwiki-templates) imports subpages as well as templates

Is that true ??? I don't think it is. Only if those subpages are transcluded on the page itself (/doc on a template page for instance), maybe that confused someone, but i see no logic to iterate over subpages in the exporter, so i think this is false and should be reconsidered.

Checking "Include all templates" (import-interwiki-templates) imports subpages as well as templates

Is that true ??? I don't think it is. Only if those subpages are transcluded on the page itself (/doc on a template page for instance), maybe that confused someone, but i see no logic to iterate over subpages in the exporter, so i think this is false and should be reconsidered.

Looking at this now, it does seems incorrect. I must have meant transcluded pages instead of subpages. Thanks for catching this, @TheDJ !

Change 757127 merged by jenkins-bot:

[mediawiki/core@master] core: Improve UI text for Special:Import

https://gerrit.wikimedia.org/r/757127

Patch merged; assuming this is resolved. If not, please reopen.