https://bugzilla.wikimedia.org/show_bug.cgi?id=17999
Summary: New parser function for reversing order of characters Product: MediaWiki extensions Version: any Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Normal Component: ParserFunctions AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: abx...@gmail.com CC: abx...@gmail.com Hi! I would like to have available (mainly for wiktionaries) function {{#reverse:SOME_TEXT}} which returns given text in reversed order of characters: Examples: {{#reverse:SOME_TEXT}} -> TXET_EMOS {{#reverse:bugfix}} -> xifgub {{#reverse:black dog}} -> god kcalb Purpose: I want to have indexes (categories) sorted according to characters placed at the end of page name (or at the end of any given text). I want to write [[Category:English words|{{PAGENAME}}]] for normal category as usually and [[Category:English words (a tergo)|{{#reverse:{{PAGENAME}}}}]]. Rationale: Classic dictionaries have extra bonus called "index a tergo". That's index where terms are places according to the end of term. Words like "comeback", "hatchback", "playback" are next to each other. In such index North America, South America and Central America and all cities of the world named America are together. This is handy for ethymologists when they look for words with same postfix but also for users who do not remember begining of the term. ABX -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l