Uploaded image for project: 'MediaWiki tools'
  1. MediaWiki tools
  2. MEDIAWIKI-50 The namespaces aliases are not taken into account
  3. MEDIAWIKI-56

Identify correctly the mediawiki files even if the File: namespace is translated

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.8
    • Fix Version/s: 1.8
    • Component/s: Filter, Syntax
    • Labels:
    • Similar issues:

      Description

      In media wiki, the namespaces can be translated, including the "File" namespace which is the standard namespace for media wiki files (consider, for the sake of this issue, the french equivalent, "Fichier").
      This has two consequences:

      • in the media wiki dump, the file pages will appear prefixed by Fichier: instead of File:. The importer needs to identify those files correctly (applies to the case when the files are not attached during the import)
      • in the media wiki pages, in the syntax, both [[File:..]] and [[Fichier:..]] syntaxes will work and do the same thing: make a link to a file or display an image if the file in question is an image. [[Fichier:..]] syntax also needs to be identified as a file (currently not the case, only [[File:..]] works).

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              lucaa Anca Luca
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: