Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -163,8 +163,6 @@ |
164 | 164 | * (bug 32168) Add wfAssembleUrl for use in wfExpandUrl. |
165 | 165 | * (bug 32168) fixed - wfExpandUrl expands dot segments now. |
166 | 166 | * (bug 31535) Upload comments now truncated properly, and don't have brackets. |
167 | | -* (bug 32858) Do not register links, categories, etc. from CSS/JS pages in the |
168 | | - database. |
169 | 167 | * (bug 32086) Special:PermanentLink now show an error message when no subpage |
170 | 168 | was specified. |
171 | 169 | * (bug 30368) Special:Newpages now shows the new page name for moved pages. |
Index: trunk/phase3/includes/WikiPage.php |
— | — | @@ -2021,18 +2021,7 @@ |
2022 | 2022 | $edit->newText = $text; |
2023 | 2023 | $edit->pst = $wgParser->preSaveTransform( $text, $this->mTitle, $user, $popts ); |
2024 | 2024 | $edit->popts = $this->makeParserOptions( 'canonical' ); |
2025 | | - |
2026 | | - // Bug 32858: For a CSS/JS page, put a blank parser output into the |
2027 | | - // prepared edit, so that links etc. won't be registered in the |
2028 | | - // database. We could have set $edit->output to false or something if |
2029 | | - // we thought of this bug earlier, but now that would break the |
2030 | | - // interface with AbuseFilter etc. |
2031 | | - if ( $this->mTitle->isCssOrJsPage() || $this->getTitle()->isCssJsSubpage() ) { |
2032 | | - $input = ''; |
2033 | | - } else { |
2034 | | - $input = $edit->pst; |
2035 | | - } |
2036 | | - $edit->output = $wgParser->parse( $input, $this->mTitle, $edit->popts, true, true, $revid ); |
| 2025 | + $edit->output = $wgParser->parse( $edit->pst, $this->mTitle, $edit->popts, true, true, $revid ); |
2037 | 2026 | $edit->oldText = $this->getRawText(); |
2038 | 2027 | |
2039 | 2028 | $this->mPreparedEdit = $edit; |