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

           Summary: parser function for url encoding mw sitenames like mw
                    does
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Templates
        AssignedTo: [email protected]
        ReportedBy: [email protected]


There are multiple magic words in mw which are url-encoding a pagename (e.g.
PAGENAMEE) like mw uses it in its own url-sheme, but there is no parser
function doing it in the same way. urlencode replaces spaces with '+' and
anchorencode also encodes brakes to e.g. ".26". full-/localurl are adding
additional path info.

So it it would be nice to have an parser function which is doing the same
transformation as PAGENAME -> PAGENAMEE, so that "A (BC)" becomes "A_(BC)".
Maybe this can be done by adding a parameter to urlencode or creating a new
function.


-- 
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