https://bugzilla.wikimedia.org/show_bug.cgi?id=34225

       Web browser: ---
             Bug #: 34225
           Summary: After saving edition Mediawiki returns to wrong
                    section
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: WikiEditor
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


In Mediawiki, each section has an index number. So, when you edit a section the
URL is like:
http://wikijur/index.php?title=Caixa...dit&section=40
In theory, there is no problem to have several sections with the same name in
one page, because each section has an index number.
So you can have:
Text...
====== Comments ======
Long Text...
Other sections...

====== Comments ======
and so on, again and again....

But when you do have several sections with the same name, after saving a
section edition, instead of returning to the section you clicked to edit,
mediawiki returns to the first section with the same name in the page. In other
words, although mediawiki has the unique identifier - the index of the section
- it doesn't uses it to return to the page. on the contrary, it uses it's name,
which is not reliable because you can have several sections with the same name.
In my case, a tributary wiki, I have hundreds of sections with the same name in
a single page (Jurisprudence, Doctrine, Comments).

I need to change this behaviour in order to instruct mediawiki to return to the
right section, the one I was editing, in the example section=40 and no to
section=3 for example, which happens to have the same name.
But until now I couldn't find where to make this change.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to