Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Mar 06 18:34:26 <Krenair> So I changed MediaWiki:Wikilove-barnstar-antispam-desc but it doesn't seem to have had any effect.
- Mar 06 18:35:03 <Krinkle> Krenair: Which wiki?
- Mar 06 18:35:12 <Krenair> mediawikiwiki
- Mar 06 18:35:23 <Krinkle> ![[ MediaWiki:Wikilove-barnstar-antispam-desc
- Mar 06 18:35:24 <mw-bot> https://www.mediawiki.org/wiki/MediaWiki%3AWikilove-barnstar-antispam-desc
- Mar 06 18:35:45 <Krenair> Another thing I noticed is that edits to that namespace don't show up in RecentChanges
- Mar 06 18:37:03 <Krinkle> Krenair: interesting
- Mar 06 18:37:37 <Krinkle> Krenair: Are you familiar with Javascript ?
- Mar 06 18:37:46 <Krenair> Yes, why?
- Mar 06 18:37:54 <Krinkle> Krenair: https://bits.wikimedia.org/www.mediawiki.org/load.php?debug=false&lang=en&modules=ext.wikiLove.local&skin=vector&version=20110101T000000Z&*
- Mar 06 18:38:00 <Krinkle> that's where it loads all the messages from the wiki
- Mar 06 18:38:15 <Krinkle> it's in i18n cache
- Mar 06 18:38:32 <Krinkle> I know the css/js is cleared instantly when it detects a change
- Mar 06 18:38:39 <Krinkle> I'm not sure about i18n messages
- Mar 06 18:38:54 <RoanKattouw> Yes, that is also purged
- Mar 06 18:38:57 <RoanKattouw> (i18n)
- Mar 06 18:39:02 <Krinkle> RoanKattouw: Do ResourceLoader modules also check i18n messages last change timestamp? (from mediawiki namespace)
- Mar 06 18:39:15 <RoanKattouw> Yes, as long as clearMessageBlobs.php is run
- Mar 06 18:39:24 <RoanKattouw> Which means the person deploying it must use scap as opposed to sync-file
- Mar 06 18:39:33 <Krinkle> "mediawiki namespace"
- Mar 06 18:39:36 <RoanKattouw> But with Tim's manualRecache changes I think that's now true anyway
- Mar 06 18:39:38 <RoanKattouw> Oh, MW namespace
- Mar 06 18:39:40 <RoanKattouw> Yes, I believe so
- Mar 06 18:39:51 <Krenair> Krinkle, http://www.mediawiki.org/w/load.php?debug=true&lang=en&modules=ext.wikiLove.local&skin=vector&version=20110101T000000Z&* shows the correct one
- Mar 06 18:40:03 <Krinkle> Krenair: It's shows the old message for me
- Mar 06 18:40:10 <Krinkle> r","wikilove-barnstar-antispam-desc":"The Anti-Spam Barnstar is awarded to users who do an exceptional job fighting against spam on Wikipedia.",
- Mar 06 18:40:18 <RoanKattouw> Krinkle: 5-minute startup module caveat applies of course
- Mar 06 18:40:29 <Krenair> Krinkle, your link shows the old one to me. This link shows the new one
- Mar 06 18:40:33 <Krinkle> Krenair: Clear your browser cache now, It should be fine now
- Mar 06 18:40:36 <RoanKattouw> Also, version=20110101T000000Z ? That looks suspicious
- Mar 06 18:40:51 <Krinkle> hm.. yeah
- Mar 06 18:40:59 <Krinkle> where does it get that timestamp from
- Mar 06 18:40:59 <RoanKattouw> That's $wgCacheEpoch
- Mar 06 18:41:05 <Krinkle> oh oh
- Mar 06 18:41:27 <RoanKattouw> Well, was the page edited at all in 2011 or 2012?
- Mar 06 18:41:31 <Krenair> Still getting the old one...
- Mar 06 18:41:43 <Krenair> I edited one of the values it shows just now
- Mar 06 18:44:04 <Krinkle> RoanKattouw: /* cache key: mediawikiwiki:resourceloader:filter:minify-js:7:78701fbf21fb69b9dd0935b605210be4 */ startup module is still giving the old timestamp
- Mar 06 18:44:38 <Krinkle> if I remove that version= though, then it does show the correct message
- Mar 06 18:45:16 <Krenair> So why is it loading an older version?
- Mar 06 18:46:43 <RoanKattouw> Krinkle: But the startup module is still serving the 2011 timestamp somehow?
- Mar 06 18:46:47 * RoanKattouw touches startup module
- Mar 06 18:46:48 <Krinkle> RoanKattouw: yeah, startup module gives 1293840000 as timestamp which is the same as modules with no content (e.g. 'noscript')
- Mar 06 18:52:39 <Krinkle> RoanKattouw: So I'm guessing somehow RL is failing to detect the timestamps of the messages
- Mar 06 18:52:49 <RoanKattouw> Yeah that's strange
- Mar 06 18:52:58 <Krinkle> I didn't know it had that feature
- Mar 06 18:53:06 <RoanKattouw> Well, wait
- Mar 06 18:53:17 <RoanKattouw> Could you hard-refresh the startup module and check the timestamp again?
- Mar 06 18:53:32 <Krinkle> ext.wikiLove.local","1293840000
- Mar 06 18:53:36 <Krinkle> RoanKattouw: same
Advertisement
Add Comment
Please, Sign In to add comment