Topic on Extension talk:Title Icon

Trouble getting TitleIcon to work

7
Legaulph (talkcontribs)

I add the code

{{#set:Title Icon=UnderConstruction.png}}
{{#set:Title Icon=Article.png}}
{{#set:Title Icon=Inproceedings.png}}

Nothing.

Cindy.cicalese (talkcontribs)

Did you create a Property named Title Icon and set its type to Text? See this link. This is the most common cause of the problem. I'm assuming that you also uploaded the files in question (UnderConstruction.png, Article.png, and Inproceedings.png) so that they are available to the extension.

91.224.226.197 (talkcontribs)

This is a very important note. I made the same mistake. Perhaps this should be mentioned in the Relase notes.

Cindy.cicalese (talkcontribs)

It was already mentioned in the documentation, but I repeated and bolded it.

Legaulph (talkcontribs)

Well thank you Cindy works perfectly now

Knazanga (talkcontribs)

I have the same issue. I don't understand what Cindy means by setting Title Icon property's type to Text. In my Property:Title Icon page I have the property values printed in red color (It seems the files don't exist) although the files exist. My Mediawiki version is 1.27 and TitleIcon is the 3.0.

Cindy.cicalese (talkcontribs)

If they are red links, that means the property type is Page, not Text. You have not created the property page or have not set the property type on that page. Navigate to the page "Property:Title Icon" (unless you have used $wgTitleIcon_TitleIconPropertyName to change the name of the property to something different) and save that page containing the wiki text [[Has type::Text]].

Reply to "Trouble getting TitleIcon to work"