Hello,
I have some wikis which have had some of their content changed programmatically due to the code in a parser-function being changed.
In the wikis that are MediaWiki 1.27, the links in the what-links-here didn't update after I ran the refreshLinks maintenance script. The ones that are 1.28's in the same situation the links updated fine after running the script... is this a known issue? is there any way I can update the links in the 1.27's without upgrading the wiki?
Thanks, Aran
Strange, I've just noticed after coming back to it that the 1.27's are looking fine now... does the refreshLinks script launch child processes in the background or something?
On 31/05/17 15:03, Aran wrote:
Hello,
I have some wikis which have had some of their content changed programmatically due to the code in a parser-function being changed.
In the wikis that are MediaWiki 1.27, the links in the what-links-here didn't update after I ran the refreshLinks maintenance script. The ones that are 1.28's in the same situation the links updated fine after running the script... is this a known issue? is there any way I can update the links in the 1.27's without upgrading the wiki?
Thanks, Aran
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Wed, May 31, 2017 at 8:12 PM, Aran aran@organicdesign.co.nz wrote:
Strange, I've just noticed after coming back to it that the 1.27's are looking fine now... does the refreshLinks script launch child processes in the background or something?
No, the script is fully synchronous. Refreshing the links does not invalidate the HTML caches though, so depending on your configuration you might not see the effect immediately.
Tisza,
I was wondering if maybe we should have refreshLinks.php invaldiate cache, cause when I think of RefreshLinks.php I think it will update the links instantly, not overtime.
Thanks, Zppix Volunteer Developer for WMF www.enwp.org/User:Zppix
On Thu, Jun 1, 2017 at 2:06 AM, Gergo Tisza gtisza@wikimedia.org wrote:
On Wed, May 31, 2017 at 8:12 PM, Aran aran@organicdesign.co.nz wrote:
Strange, I've just noticed after coming back to it that the 1.27's are looking fine now... does the refreshLinks script launch child processes in the background or something?
No, the script is fully synchronous. Refreshing the links does not invalidate the HTML caches though, so depending on your configuration you might not see the effect immediately. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Fri, Jun 2, 2017 at 7:38 AM, zppix e megadev44s.mail@gmail.com wrote:
I was wondering if maybe we should have refreshLinks.php invaldiate cache, cause when I think of RefreshLinks.php I think it will update the links instantly, not overtime.
On large sites that would have an unwelcome performance impact. Adding a command-line option to do so would make sense I guess.
Sounds like a decent comprimise. I'm not to familar with the code behind maintaince scripts to do this myself, so I could make a ticket if need be.
On Friday, June 2, 2017, Gergo Tisza gtisza@wikimedia.org wrote:
On Fri, Jun 2, 2017 at 7:38 AM, zppix e <megadev44s.mail@gmail.com javascript:;> wrote:
I was wondering if maybe we should have refreshLinks.php invaldiate
cache,
cause when I think of RefreshLinks.php I think it will update the links instantly, not overtime.
On large sites that would have an unwelcome performance impact. Adding a command-line option to do so would make sense I guess. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org javascript:; https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Perhaps 1.28's script already does this since my 1.28's didn't have this problem, their backlinks were up to date immediately after running the script.
On 02/06/17 16:34, zppix e wrote:
Sounds like a decent comprimise. I'm not to familar with the code behind maintaince scripts to do this myself, so I could make a ticket if need be.
On Friday, June 2, 2017, Gergo Tisza gtisza@wikimedia.org wrote:
On Fri, Jun 2, 2017 at 7:38 AM, zppix e <megadev44s.mail@gmail.com javascript:;> wrote:
I was wondering if maybe we should have refreshLinks.php invaldiate
cache,
cause when I think of RefreshLinks.php I think it will update the links instantly, not overtime.
On large sites that would have an unwelcome performance impact. Adding a command-line option to do so would make sense I guess. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org javascript:; https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Did you use a bot? An API javascript? In any case, try the rest one. Igal
On May 31, 2017 21:04, "Aran" aran@organicdesign.co.nz wrote:
Hello,
I have some wikis which have had some of their content changed programmatically due to the code in a parser-function being changed.
In the wikis that are MediaWiki 1.27, the links in the what-links-here didn't update after I ran the refreshLinks maintenance script. The ones that are 1.28's in the same situation the links updated fine after running the script... is this a known issue? is there any way I can update the links in the 1.27's without upgrading the wiki?
Thanks, Aran
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
No I just ran the refreshLink.php maintenance script from the shell.
On 31/05/17 15:12, יגאל חיטרון wrote:
Did you use a bot? An API javascript? In any case, try the rest one. Igal
On May 31, 2017 21:04, "Aran" aran@organicdesign.co.nz wrote:
Hello,
I have some wikis which have had some of their content changed programmatically due to the code in a parser-function being changed.
In the wikis that are MediaWiki 1.27, the links in the what-links-here didn't update after I ran the refreshLinks maintenance script. The ones that are 1.28's in the same situation the links updated fine after running the script... is this a known issue? is there any way I can update the links in the 1.27's without upgrading the wiki?
Thanks, Aran
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
What I meant by the code being changed programmatically is that some of the content in the wiki is in the form of parser-functions, and the PHP code that is responsible for rendering the parser-function was changed which meant that the wiki's content has changed but without any edits having been made. Thus I needed to refresh the links manually which the maintenance script.
On 31/05/17 15:17, Aran wrote:
No I just ran the refreshLink.php maintenance script from the shell.
On 31/05/17 15:12, יגאל חיטרון wrote:
Did you use a bot? An API javascript? In any case, try the rest one. Igal
On May 31, 2017 21:04, "Aran" aran@organicdesign.co.nz wrote:
Hello,
I have some wikis which have had some of their content changed programmatically due to the code in a parser-function being changed.
In the wikis that are MediaWiki 1.27, the links in the what-links-here didn't update after I ran the refreshLinks maintenance script. The ones that are 1.28's in the same situation the links updated fine after running the script... is this a known issue? is there any way I can update the links in the 1.27's without upgrading the wiki?
Thanks, Aran
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org