I have a year-template for my mediawiki installation and it contains the following snippet:
[[Category:{{#expr:{{#sub:{{PAGENAME}}|0|2}}+1}}th Century]]
If I'm using it on the page 1958 the category 20th Century shows up at the bottom, but: The page does not show up on the category-page 20th Century. If I explicitly add [[Category:20th Century]] to the page 1958 it shows up as expected.
Any idea, why?
Related
I've spent like two hours or more trying to figure out what a "ved" parameter on a Google search means. A curious person I am.
My finds so far:
$ved value changes-
1 - every different search result (diff keywords)
2 - every different resulted block (the url blocks/boxed on the resulted google search, but they are quite similar, as I'll write down below)
3 - every different geolocation perhaps
Consider these tests or lookups:
1-
Diff keywords, but first block/position in list:
&ved=2ahUKEwidsaSd4M_1AhVlk_0HHUxOCQYQFnoECAsQAg
&ved=2ahUKEwj2pZyN5s_1AhVRmuYKHZ5IB5EQFnoECAcQAg
I thought the "ved" value refers to the block/position of a url in the result list, but no.
2-
Twree different urls, first and second from the 1st and 2nd blocks of first page, then third from a "much farther on the list" block:
ved=2ahUKEwjq1-Wb1s_1AhW6SWwGHZwpBMwQFnoECD8QAQ
ved=2ahUKEwjq1-Wb1s_1AhW6SWwGHZwpBMwQFnoECCAQAQ
ved=2ahUKEwiZ2NDe1s_1AhVaTmwGHThIA5U4PBAWegQIGRAB
The same website url, from different countries (not considering blocks or position in list):
&ved=2ahUKEwiopK2X08_1AhUgxzgGHQEbDkcQFnoECBIQAQ
&ved=2ahUKEwjpueqC1M_1AhWJq3IEHYEDAfc4FBAWegQIDBAB
&ved=2ahUKEwih09Wz08_1AhUY7WEKHQYdBB8QFnoECEIQAQ
Very similar they are.
I'd really love to know what they mean. Any ideas are appreciated too!
I found an interesting article explaining the subject : https://moz.com/blog/inside-googles-ved-parameter
TL;DR:
A ved code contains up to five separate parameters, which each tell you something about the link that was clicked on:
1st (parameter1: Link index) gives you an idea of where the link was on the page.
2nd (parameter2: Link type) is a number that corresponds to the 'type' of the link that was clicked.
3rd (parameter7: Start result position) is the cumulative result position of the first result on the page.
4th (parameter 6: Result position) indicates the position of your page in the search results.
5th (parameter 5: Sub-result position) like the (parameter 6), except it tells you the position in a list of sub-results, such as breadcrumbs, or one-page sitelinks.
Text align justify moves bullet points on the text contents on certain line in Firefox. Is there a way to avoid this behavior.
Below snippet will show the anomaly if you open it in Firefox. It works fine in Chrome & IE (I checked in IE10/IE11).
As showing on Firefox:
As showing in Chrome
ul li{text-align:justify;}
<ul>
<li>Property was occupied by Doe Family for past 17 years where in seller Mr. John Doe owner of collateral through CD claims execution of sale deed with mutual consent. On joint visit by credit and sales team it was found that there are two parallel title chain of the collateral:</li>
<li>Way back in 2000-01 John Doe and his brother entered into collaboration with some Creater Jane Doe and it was decided that G+2 structure will be built. GF & 1st will go to both the brothers and 2nd to builder. But no collaboration agreement was entered on paper. Further builder breaching the mutually agreed terms constructed 3rd floor as well -> Accordingly builder claimed occupancy n rights on both 2nd and 3rd floor – property went into dispute</li>
</ul>
You can try to use the below property:
list-style-position: outside;
Please check the following link
I am working on a personal website and so far, everything has been going pretty well. I got the pages set up with the basic layout and everything like that. Now I am trying to make it look more professional. I bowl in tournaments multiple weekends a month. (Yes, I said bowl and yes I do consider it a sport) What I would like to do is put a schedule type bar across the top. (example can be found by clicking the link in this post) The problem is I cannot find any tutorials on how to do this because I don't really know what this functionality is called. Everything that I have tried searching for has just brought up horizontal navigation/scroll bars. Can anyone point me to a tutorial or give me a starting point for getting something like this working on my website?
That is actually a slider, showing like 15 slides at a time.
BX SLIDER - jQuery Slider
The slider included above has many options that let you customize how it works, such as
maxSlides - the total number of slides shown at a given time ( you'd set to 15 )
moveSlides - the number of slides to move on change ( you'd set to 1 ).
Example JS
$('.schedule').bxSlider({
maxSlides: 15,
minSlides: 15,
moveSlides: 1,
autoStart: false
});
Your HTML, with the schedule and all, as styled as you would like, is contained in a list.
<ul class="schedule">
<li>January 15th - Match</li>
<li>January 22nd - Match</li>
<li>January 23rd - Match</li>
</ul>
etc etc etc.
In my Tumblr, there is a "Likes" column on the right. I changed the number of displayed "liked" posts to 15 here:
<h3 class="section-title">{lang:Likes}</h3>
{Likes limit="15" width="200" summarize="200"}
but it doesn't display more than 5. The highest number it does display is 10. I want it to go all the way to the bottom, or as closest to that point as possible. Any idea how?
If you use the API, I believe you can get 20 likes: http://www.tumblr.com/docs/en/api/v2#blog-likes
If you want to get more, you will need to grab the first 20, then use offset to get 20 onwards.
I don't believe this is possible, but....
I'm using SSRS 2005 and the client wants to have a page break on a data group only if that grouping and its data can't fit on a single page.
For instance, say I was grouping on last name, and the page looked like this:
----------------page break---------------------
Last Name: Richards
James
Tyler
Last Name: Smith
Albert
Benjamin
Harold
---------------page break---------------------
In this case, both groupings can fit on the same page. But if the "Smith" group couldn't fit along with "Richards" on a single page, a page break would be inserted before the "Smith" group.
Is this possible in SSRS 2005?