"Hashar" posted a comment on MediaWiki.r105161. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/105161#c27094
Commit summary for MediaWiki.r105161: Skip replaceInternalLinks2 for js/css pages Just skip the whole replaceInternalLinks2 parser function whenever we hit js/css pages. Previous patch r103476 only handled Category links which was not enough. Hashar's comment: This commit only fix bug 32450 " Scripts pages in MediaWiki: namespace parsed like wiki pages" which merely ask MediaWiki to stop altering JavaScript code on rendering. Ideally links should not be saved in the database. Neither previous r103476 nor this revision take care of that. links tables being updated is bug 17525 "css and .js pages should not store entries in Categorylinks table/Templatelinks table" which I did not investigate. I should have been clearer about that :-( _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
