## page was renamed from MoinMoinBugs/CancelTextEditRemovesSlashesInTitel
= Description =

If I do in this wiki start editing a page and do click cancel then the title is written without --(trailing)-- separating slashes.

 
{{attachment:slash_missing.png}}

tested in konqueror and firefox

I think this should look like {{{ParserMarket/sctable}}}

This does not only occure by Cancel, this was only the first attempt to get it reproducable, which wasn't successful. 

== Steps to reproduce ==
edit a subpage and cancel this and look at the new loaded title of the page

== Example ==
see above

== Details ==
this wiki



== Workaround ==
## How to deal with the bug until it is fixed


= Discussion =
This is only one example to get the slash removed. I got it back if I do a browser reload of the page.

Its not a bug, its the correct way to normalize page names. "Foo/" is equal to "Foo". Pointless slashes are stripped before, within and after page names. See PageNames.

I thought result should be {{{PageName/SubPage}}} and not {{{PageNameSubPage}}} or am I wrong?
 You wrote : "the title is written without trailing slashes", which is no bug, but {{{PageName/SubPage}}} must remain the same. I can't reproduce this bug in this wiki. 

Here is the steps I tried, using Safari:

 1. Visit `ParserMarket/NewPage`
 2. Click on "Create new page"
 3. Click "Cancel"

Or:
 1. Visit `ParserMarket/NewPage?action=edit`
 2. Click "Cancel"

The page display the correct title.


Nir, now it works for me in firefox 1.5 too but not in konqueror. The image above was taken from
firefox which hasn't worked before too.
I loaded this page again in firefox and the slash was gone. After a reload it was there. Probably this is a page cache problem for the static html code?

probably reproducable this way
 1. click on http://moinmoin.wikiwikiweb.de/ReimarBauer/BugExamination2#preview
 1. do a browser reload

It is not easy to get it. Probably try more than once this example

 I tried several times with Safari and Firefox, no luck, I don't see the problem.

 ''Should it be that's I am alone with this problem, I do have it in this wiki and in the local wiki here (tla update) new instance too''

= Patch =

see MoinMoinBugs/CSSBugForLogoNoInterwikiLink too -- ReimarBauer <<DateTime(2006-01-03T18:18:34Z)>>

This is a cummulative patch for several things for {{{theme/__init__.py}}} and for modern,classic and rightsidebar {{{screen.css}}} file.

 * {{attachment:__init__.patch}}
 * {{attachment:htdocs_patch.20060102}}


 My versions::
 * [[attachment:__init__.py.reimar]]


The following things are solved:
 * / in titel for konqueror and firefox always if needed for PageName/SubPage
 * Symbols between pagetrail entries (has not been worked for konqueror)
 * for ''no logo'', ''logo and text'',''text titel'', ''only logo''  username, interwiki line and pagetrail is  fine formatted


 konqueror::
{{attachment:example_konqueror.png}}

 firefox::
{{attachment:example_firefox.png}}

= Questions =
 * why do you mix em and px? 
  ''It does happen, it's changed.''
 * can you remove hunks which do nothing?
  ''I hope, I've done this complete - this is not easy''
 * maybe make a single patch file by using `diff -ur oldtree newtree`
  ''I've done this for htdocs, `__init__.py` is the only one of the lib tree I've changed for that patch.''


= Tests =
 * goes well in firefox 1.5 (linux)
 * goes well in konqueror 3.3.2 (linux)



= Plan =
## This part is for Moin``Moin developers:

 * Priority: 
 * Assigned to: ThomasWaldmann
 * Status: patches applied to moin 1.5 patch-363

----
## If you are a moin core developer, replace the category to Category* in these cases:
## Category MoinMoinNoBug - if this is not a bug.
## Category MoinMoinBugConfirmed - if you can confirm the bug on current code.
## Category MoinMoinBugFixed - after the bug is fixed in current code.
CategoryMoinMoinBugFixed