https://bugzilla.wikimedia.org/show_bug.cgi?id=31647
Web browser: ---
Bug #: 31647
Summary: __NOEDITSECTION__ is ignored when the page is read
from the parser cache
Product: MediaWiki
Version: 1.19-svn
Platform: All
OS/Version: All
Status: NEW
Keywords: need-review, patch
Severity: normal
Priority: Unprioritized
Component: Page editing
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 9222
--> https://bugzilla.wikimedia.org/attachment.cgi?id=9222
Patch to have ParserCache check for __NOEDITSECTION__
After the fix for bug 31445, __NOEDITSECTION__ is now ignored when the page is
loaded from the parser cache.
The problem seems to be that ParserCache's get() is not taking into account the
possibility of __NOEDITSECTION__ when calling ParserOutput's
setEditSectionTokens().
An easy patch is attached, although it may not be the best way to do it.
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l