https://bugzilla.wikimedia.org/show_bug.cgi?id=17451
Summary: Title::invalidateCache() does not commit database update
Product: MediaWiki
Version: 1.13.2
Platform: All
OS/Version: All
Status: NEW
Keywords: need-review, patch
Severity: enhancement
Priority: Normal
Component: Page editing
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=5805)
--> (https://bugzilla.wikimedia.org/attachment.cgi?id=5805)
Diff fiel adding the commit() Database function
Use Case:
A developer is creating an Magic word that creates Wiki Text based on data from
a separate database. When using a special page, or alternate method, to update
the separate database the developer uses the Mediawiki Title class to
invalidate the Cache pages.
However as the code in version 1.13.2 and the current version in SVN does not
commit the database transaction the page_touched field is not updated.
Attached is a Diff file adding in the commit function from the Database class
to ensure that the page_touched field is updated correctly.
--
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