Page MenuHomePhabricator

Turn page saves into "save-and-refresh", for better red links
Closed, ResolvedPublic

Description

When a page is first saved, if it has any red links, they will point to MediaWiki's default page (e.g., title=page-name&action=edit), even if the system is configured to point these links instead to the "AddData" form for that page. Only after the page is refreshed (in the SMW sense) at least once will the links be correct. If there's a way to add a refresh onto every page save on the wiki, possibly using hooks of some kind, that would solve this problem.


Version: unspecified
Severity: enhancement

Details

Reference
bz11182

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:49 PM
bzimport set Reference to bz11182.

Such a feature probably won't get implemented. It's easy to get around it by just disabling caching on the wiki; I added a note to the documentation explaining that.

sergey.chernyshev wrote:

Yaron, I would really like to avoid disabling cache on the wiki since it's one of the primary advantages of MediaWiki.

If it's hard to fix or needs to wait for changes in SMW, then let's just keep it and reduce the priority.

Marking this as "invalid", three and a half years later, :) because the issue has now been fixed in SMW 1.5.6.

sergey.chernyshev wrote:

How's it fixed? Does it keep the list of dependencies?

No, SMW now just (by default) refreshes the page every time a page with semantic data on it gets resaved.

sergey.chernyshev wrote:

Oh, yes, I got it. Closing is good then - I just changed it to fixed, even if it was done in another part of the system ;)