Last modified: 2008-04-29 20:57:14 UTC
with titles with slashes in it like http://fr.wikibooks.org/wiki/R%C3%A9seaux_TCP/IP/Les_serveurs_DNS
the software don't generate the "subpages" section
I don't know what the bug exactly is but i just want to notify of these problems.
ah, what is your browser please ? the setupTitle() function here http://fr.wikibooks.org/wiki/MediaWiki:Common.js who "mess" the header is supposed to work with IE7, Opera 9.24 and fx2.0
Using JS to change the title? Eh... that function is such a mess.
This line: titre.innerHTML = null;
Should be: titre.innerHTML = "";
(innerHTML is a string, string-form of null is "null", setting .innerHTML = null is not reliable)
This line: + "\>"
Should be: + "\">"
(Otherwise the title attribute never closes)
1 : like now. if a subpage is missing, then stop. not so bad
i'm not sure what is best
for http://fr.wikibooks.org/wiki/R%C3%A9seaux_TCP/IP/Les_serveurs_DNS the best behaviour is undoubtly to generate a subpages section. maybe i should split this bug ?
Maybe it was serving up an older cached version to anon users, as I hadn't even been to the site until this bug was filed today. Well, a forced regen fixed it.
Back on topic. The HTML gets the entire subtitle string from Monobook, which uses the subtitle key from SkinTemplate. This in turn uses a string from subPageSubtitle in Skin. This method loops over each subpage and breaks when it finds one that doesn't exist.
the problem seems to no more occur, i guess because of this patch http://svn.wikimedia.org/viewvc/mediawiki?view=rev&sortby=date&revision=33652
One could close this bug so ?
*** This bug has been marked as a duplicate of bug 13796 ***