Last modified: 2014-09-24 01:04:48 UTC
Created attachment 5552 [details] Proposed fix for regex in Linker->formatAutocomments If an edit summary contains more than one autocomment (/* ... */), only the last one is transformed into a section link. This behavior was introduced by r39594 , though I'm not sure if it was intended this way. In case it wasn't, I attached a quick fix for the regex in Linker->formatAutocomments. A proper solution would probably take a bit more effort. :)
+need-review
*** Bug 18253 has been marked as a duplicate of this bug. ***
*** Bug 15481 has been marked as a duplicate of this bug. ***
It is still not working. I have a test case at http://en.wikipedia.org/w/index.php?title=Help:Edit_summary&diff=384901084&oldid=384900839
I can verify that this is still happening with MediaWiki 1.18, as shown in this test: https://secure.wikimedia.org/wikipedia/test2/w/index.php?title=Ecology&action=historysubmit&diff=35177&oldid=7899 Paul, could you check to see whether your patch still applies cleanly against trunk, and revise/modify if necessary? Thanks!
I'm sorry for the wait, Paul. Because of the delay in reviewing your contribution, MediaWiki's codebase has changed enough that the patch no longer applies cleanly to trunk. If you revise and update the patch, and mark it with the "patch" and "need-review" keywords, we'll ensure someone reviews it a lot faster. My regrets, again. Thank you.
Comment on attachment 5552 [details] Proposed fix for regex in Linker->formatAutocomments Per automated testing http://lists.wikimedia.org/pipermail/wikitech-l/2011-November/056340.html patch no longer applies to MediaWiki trunk in Subversion.
*** Bug 43356 has been marked as a duplicate of this bug. ***
Change 159326 had a related patch set uploaded by Anomie: Format multiple autocomments in edit summaries https://gerrit.wikimedia.org/r/159326