https://bugzilla.wikimedia.org/show_bug.cgi?id=24597
Summary: nowiki inside code tag, still messes with inside code tags Product: MediaWiki Version: 1.16.0beta3 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: Normal Component: Page rendering AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: alpeter...@gmail.com http://meta.wikimedia.org/wiki/User:AaronPeterson/pre_play http://techbase.kde.org/Kdesrc-build/workingrclist I attempt to insert this code into a wiki: <code> <nowiki> #!/bin/bash # # warning, use at your own risk, I only block certain enviornment variables, you may have some senstive enviornment variables # a better way to do this would be to include only the ones that we care about # # This is released to public domain, and it sucks, but it might work, Aaron Peterson 2010 outputfile="enviornment_report_for_wiki_posting.txt" echo "will output a file to $outputfile and open it in kate, please review and rmove private data" echo " before before posting it at wiki: http://techbase.kde.org/index.php?title=Kdesrc-build/workingrclist" if [ -f $outputfile ] then echo "output file already exists" else printf "\n==distro==\n<code>" > $outputfile cat /etc/issue >> $outputfile printf "</code>\n==env==\n<code>" >> $outputfile env | grep -v XDG_SESSION_COOKIE | grep -v SSH_AUTH_SOCK | grep -v SHELL_SESSION_ID | grep -v DBUS_SESSION_BUS_ADDRESS | grep -v XAUTHORITY | grep -v GPG_AGENT_INFO | grep -v SESSION_MANAGER | grep -v SSH_AGENT_PID | grep -v WINDOWID >> $outputfile printf "</code>\n==packages==\n<code>" >> $outputfile dpkg --get-selections >> $outputfile printf "</code>\n==qt version==\n<code>" >> $outputfile qmake -v >> $outputfile printf "\n</code>\n" kate $outputfile fi </nowiki> </code> in the older version, it does stuff with the close code and open tags while within the no wiki.. within the newer version (my meta user page) it ignores a lot of stuff. -- 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