philipp/winterrodeln/mediawiki_extensions/wrreport.git
7 years agoGerman translation of error messages.
philipp [Wed, 15 Jan 2014 20:24:47 +0000 (20:24 +0000)]
German translation of error messages.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1881 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoNow catching invalid XML errors.
philipp [Wed, 15 Jan 2014 20:24:44 +0000 (20:24 +0000)]
Now catching invalid XML errors.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1880 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoImplemented basic functionality. Not working smoothly yet.
philipp [Wed, 15 Jan 2014 20:24:42 +0000 (20:24 +0000)]
Implemented basic functionality. Not working smoothly yet.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1879 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoBasic support for displaying individual sledruns now.
philipp [Wed, 15 Jan 2014 20:24:41 +0000 (20:24 +0000)]
Basic support for displaying individual sledruns now.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1878 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoCreated basic structure for parsing <rodelbahntabelle>.
philipp [Wed, 15 Jan 2014 20:24:39 +0000 (20:24 +0000)]
Created basic structure for parsing <rodelbahntabelle>.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1877 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoDocumentation for <rodelbahntabelle/> (no implementation yet).
philipp [Wed, 15 Jan 2014 20:24:37 +0000 (20:24 +0000)]
Documentation for <rodelbahntabelle/> (no implementation yet).

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1876 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoThe function getArticleId of Title is acutally called getArticleID.
philipp [Wed, 15 Jan 2014 20:24:35 +0000 (20:24 +0000)]
The function getArticleId of Title is acutally called getArticleID.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1875 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoIntroduced Exception type WrReportException.
philipp [Tue, 26 Nov 2013 21:51:47 +0000 (21:51 +0000)]
Introduced Exception type WrReportException.

Replaced Exception and InvalidArgumentException by WrReportException.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1831 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoThe parameters of <bahnenregionentabelle> were changed. Now we can use wiki, region_i...
philipp [Sun, 24 Nov 2013 20:21:30 +0000 (20:21 +0000)]
The parameters of <bahnenregionentabelle> were changed. Now we can use wiki, region_id, region_name.

Furthermore, error messages were introduced.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1830 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoNow the <bahnenregiontabelle> tag accepts the parameter "region".
philipp [Sun, 24 Nov 2013 20:21:28 +0000 (20:21 +0000)]
Now the <bahnenregiontabelle> tag accepts the parameter "region".

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1829 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoNow the extension works with the wrregioncache table.
philipp [Mon, 18 Nov 2013 22:36:48 +0000 (22:36 +0000)]
Now the extension works with the wrregioncache table.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1827 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoBasic functionality of <bahnenregiontabelle> implemented.
philipp [Sat, 16 Nov 2013 22:54:53 +0000 (22:54 +0000)]
Basic functionality of <bahnenregiontabelle> implemented.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1820 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoIntroduced new function getPageRegion.
philipp [Sat, 16 Nov 2013 22:54:51 +0000 (22:54 +0000)]
Introduced new function getPageRegion.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1819 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoAdded scaffold for function bahnenregiontabelleParserHook.
philipp [Sat, 16 Nov 2013 22:54:49 +0000 (22:54 +0000)]
Added scaffold for function bahnenregiontabelleParserHook.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1818 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoCreated own function to add the feed link.
philipp [Sat, 16 Nov 2013 22:54:48 +0000 (22:54 +0000)]
Created own function to add the feed link.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1817 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoCreated own function to generate the HTML of the bahntabelle.
philipp [Sat, 16 Nov 2013 22:54:46 +0000 (22:54 +0000)]
Created own function to generate the HTML of the bahntabelle.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1816 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoCreated skeleton for new tag bahnenregiontabelle.
philipp [Sat, 16 Nov 2013 22:54:45 +0000 (22:54 +0000)]
Created skeleton for new tag bahnenregiontabelle.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1815 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoIncreased version number to 2.7.0.
philipp [Sat, 16 Nov 2013 22:54:43 +0000 (22:54 +0000)]
Increased version number to 2.7.0.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1814 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoAdded descriptions of the supported tags.
philipp [Sat, 16 Nov 2013 22:54:41 +0000 (22:54 +0000)]
Added descriptions of the supported tags.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1813 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoIncreased version number to 2.6.3.
philipp [Sun, 3 Nov 2013 13:09:23 +0000 (13:09 +0000)]
Increased version number to 2.6.3.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1782 7aebc617-e5e2-0310-91dc-80fb5f6d2477

7 years agoPrevented a warning in PHP strict mode about a function not being declared as static.
philipp [Sun, 3 Nov 2013 13:09:21 +0000 (13:09 +0000)]
Prevented a warning in PHP strict mode about a function not being declared as static.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1781 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoIncreased version number to 2.6.2.
philipp [Mon, 28 Oct 2013 20:36:49 +0000 (20:36 +0000)]
Increased version number to 2.6.2.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1769 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoNow returning lowercase region names.
philipp [Mon, 28 Oct 2013 20:35:49 +0000 (20:35 +0000)]
Now returning lowercase region names.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1768 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoReplaced direct German word 'Kategorie' by getNSText(NS_CATEGORY).
philipp [Mon, 28 Oct 2013 20:35:48 +0000 (20:35 +0000)]
Replaced direct German word 'Kategorie' by getNSText(NS_CATEGORY).

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1767 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoImplemented showing region dependent feed on region pages.
philipp [Sun, 27 Oct 2013 22:02:41 +0000 (22:02 +0000)]
Implemented showing region dependent feed on region pages.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1766 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoIncreased minor version number.
philipp [Sat, 19 Oct 2013 21:25:25 +0000 (21:25 +0000)]
Increased minor version number.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1743 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoThe username has to be processed by recursiveTagParse to be able to use the extension...
philipp [Sat, 19 Oct 2013 21:03:09 +0000 (21:03 +0000)]
The username has to be processed by recursiveTagParse to be able to use the extension tag in a template.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1742 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoAdded the possibility to show messages depending on the login-status for the sledrun...
philipp [Sat, 19 Oct 2013 20:23:25 +0000 (20:23 +0000)]
Added the possibility to show messages depending on the login-status for the sledrun preview.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1739 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoCorrected some i18n descriptions.
philipp [Sat, 19 Oct 2013 20:23:23 +0000 (20:23 +0000)]
Corrected some i18n descriptions.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1738 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoNow the time of the sledrun trip is shown if available.
philipp [Sat, 19 Oct 2013 12:50:33 +0000 (12:50 +0000)]
Now the time of the sledrun trip is shown if available.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1732 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoMade display of entry time less pronounced.
philipp [Sat, 19 Oct 2013 12:50:32 +0000 (12:50 +0000)]
Made display of entry time less pronounced.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1731 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoMoved columns "date-trip" and "date-entry" within sledrun report table.
philipp [Sat, 19 Oct 2013 12:50:30 +0000 (12:50 +0000)]
Moved columns "date-trip" and "date-entry" within sledrun report table.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1730 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoNew translation for some date i18n keys.
philipp [Sat, 19 Oct 2013 12:50:28 +0000 (12:50 +0000)]
New translation for some date i18n keys.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1729 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoRemoved unused i18n key 'wrreport-reports-date-invalid'.
philipp [Sat, 19 Oct 2013 12:50:27 +0000 (12:50 +0000)]
Removed unused i18n key 'wrreport-reports-date-invalid'.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1728 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoRenamed i18n key wrreport-reports-date to wrreport-reports-date-trip.
philipp [Sat, 19 Oct 2013 12:50:25 +0000 (12:50 +0000)]
Renamed i18n key wrreport-reports-date to wrreport-reports-date-trip.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1727 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoFixed documentation: Some i18n messages are text, not HTML.
philipp [Sat, 19 Oct 2013 12:50:23 +0000 (12:50 +0000)]
Fixed documentation: Some i18n messages are text, not HTML.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1726 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoAdded support for optionally entering the time of the sledrun tour.
philipp [Fri, 18 Oct 2013 21:42:49 +0000 (21:42 +0000)]
Added support for optionally entering the time of the sledrun tour.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1725 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoRemoved CSS classes oddrow and evenrow because they were not used.
philipp [Fri, 18 Oct 2013 21:42:47 +0000 (21:42 +0000)]
Removed CSS classes oddrow and evenrow because they were not used.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1724 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoIncreased version number to 2.6.0.
philipp [Fri, 18 Oct 2013 13:18:28 +0000 (13:18 +0000)]
Increased version number to 2.6.0.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1718 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoAdded a feed link to the special page.
philipp [Fri, 18 Oct 2013 12:19:29 +0000 (12:19 +0000)]
Added a feed link to the special page.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1716 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoAdded a new global configuration variable $wgWrReportFeedRoot.
philipp [Fri, 18 Oct 2013 12:19:27 +0000 (12:19 +0000)]
Added a new global configuration variable $wgWrReportFeedRoot.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1715 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoAdded an atom feed header for pages that contain <bahnberichte/>.
philipp [Thu, 17 Oct 2013 21:37:34 +0000 (21:37 +0000)]
Added an atom feed header for pages that contain <bahnberichte/>.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1714 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoSimplified SQL statement PHP definition.
philipp [Thu, 17 Oct 2013 21:32:47 +0000 (21:32 +0000)]
Simplified SQL statement PHP definition.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1713 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoExcluded deleted reports and reports without condition from being counted.
philipp [Thu, 17 Oct 2013 20:08:51 +0000 (20:08 +0000)]
Excluded deleted reports and reports without condition from being counted.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1712 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoCreated database indices and removed obsolete postgresql table definitions.
philipp [Thu, 17 Oct 2013 20:08:49 +0000 (20:08 +0000)]
Created database indices and removed obsolete postgresql table definitions.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1711 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoDirectly included the "libravatar.php" library from http://pear.php.net/package/Servi...
philipp [Thu, 17 Oct 2013 20:08:48 +0000 (20:08 +0000)]
Directly included the "libravatar.php" library from pear.php.net/package/Services_Libravatar (version 0.2.3).

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1710 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoTried to avoid that the wrreport.body.php file is loaded if this is not necessary.
philipp [Thu, 17 Oct 2013 20:08:45 +0000 (20:08 +0000)]
Tried to avoid that the wrreport.body.php file is loaded if this is not necessary.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1709 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoA new parser hook was introduced: <avatar>.
philipp [Thu, 17 Oct 2013 16:44:58 +0000 (16:44 +0000)]
A new parser hook was introduced: <avatar>.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1708 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoWrServicesLibravatar now sets a default size and default "default type".
philipp [Thu, 17 Oct 2013 16:44:56 +0000 (16:44 +0000)]
WrServicesLibravatar now sets a default size and default "default type".

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1707 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoNow the info text for the telephone number in the <bahntabelle> is gray and without...
philipp [Thu, 17 Oct 2013 16:44:54 +0000 (16:44 +0000)]
Now the info text for the telephone number in the <bahntabelle> is gray and without brackets.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1706 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years ago'noparse' => true and 'isHTML' => true is returned by all parser hooks now.
philipp [Thu, 17 Oct 2013 16:44:52 +0000 (16:44 +0000)]
'noparse' => true and 'isHTML' => true is returned by all parser hooks now.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1705 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoNow a style is used to format the number of sledrun report a user has made so far.
philipp [Thu, 17 Oct 2013 16:44:51 +0000 (16:44 +0000)]
Now a style is used to format the number of sledrun report a user has made so far.

Added ext.wrreport module.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1704 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoReplaced global variable $wgOut by local variable $output in function execute.
philipp [Thu, 17 Oct 2013 16:44:48 +0000 (16:44 +0000)]
Replaced global variable $wgOut by local variable $output in function execute.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1703 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoReplaced global variable $wgRequest by local variable in function execute.
philipp [Thu, 17 Oct 2013 16:44:46 +0000 (16:44 +0000)]
Replaced global variable $wgRequest by local variable in function execute.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1702 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoNow the number of sledrun reports issued so far is given.
philipp [Tue, 15 Oct 2013 21:34:05 +0000 (21:34 +0000)]
Now the number of sledrun reports issued so far is given.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1701 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoNow using the MediaWiki Linker to generate the sledrun link.
philipp [Tue, 15 Oct 2013 21:34:03 +0000 (21:34 +0000)]
Now using the MediaWiki Linker to generate the sledrun link.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1700 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoIncreased version number to 2.5.0.
philipp [Tue, 15 Oct 2013 21:34:02 +0000 (21:34 +0000)]
Increased version number to 2.5.0.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1699 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoNow the user name is a link if the user page exists.
philipp [Tue, 15 Oct 2013 21:34:00 +0000 (21:34 +0000)]
Now the user name is a link if the user page exists.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1698 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoCreated own helper function for appendCDATA.
philipp [Tue, 15 Oct 2013 21:33:59 +0000 (21:33 +0000)]
Created own helper function for appendCDATA.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1697 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoWe skip the DNS lookup that made it very slow and use libravatar.org directly now.
philipp [Tue, 15 Oct 2013 19:11:02 +0000 (19:11 +0000)]
We skip the DNS lookup that made it very slow and use libravatar.org directly now.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1695 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoImplemented showing the avatar. However, it's terribly slow now.
philipp [Tue, 15 Oct 2013 19:11:01 +0000 (19:11 +0000)]
Implemented showing the avatar. However, it's terribly slow now.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1694 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoIncreased the version number.
philipp [Tue, 15 Oct 2013 19:10:59 +0000 (19:10 +0000)]
Increased the version number.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1693 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoRemoved ID and 'date invalid' columns from sledrun report detail view.
philipp [Tue, 15 Oct 2013 19:10:57 +0000 (19:10 +0000)]
Removed ID and 'date invalid' columns from sledrun report detail view.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1692 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoCompleted some encoding todo's.
philipp [Sun, 13 Oct 2013 20:59:28 +0000 (20:59 +0000)]
Completed some encoding todo's.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1689 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoMoved functions wrReportLanguageGetSpecialPageAliasesHook and wrReportParserFirstCall...
philipp [Sun, 13 Oct 2013 20:59:26 +0000 (20:59 +0000)]
Moved functions wrReportLanguageGetSpecialPageAliasesHook and wrReportParserFirstCallInitHook to WrReport scope.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1688 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoMoved $wrConditions from global scope to WrReport scope.
philipp [Sun, 13 Oct 2013 20:59:24 +0000 (20:59 +0000)]
Moved $wrConditions from global scope to WrReport scope.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1687 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoNow wrreport.body.php is included only indirectly.
philipp [Sun, 13 Oct 2013 19:06:38 +0000 (19:06 +0000)]
Now wrreport.body.php is included only indirectly.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1686 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoMoved content of wrreport.func.php to wrreport.body.php.
philipp [Sat, 12 Oct 2013 12:20:50 +0000 (12:20 +0000)]
Moved content of wrreport.func.php to wrreport.body.php.

Made small modifications so that the extension does still work.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1685 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoFurther replaced setAttribute by the new array parameter of appendElement.
philipp [Fri, 11 Oct 2013 21:07:43 +0000 (21:07 +0000)]
Further replaced setAttribute by the new array parameter of appendElement.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1684 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoReplaced setAttribute by the new array parameter of appendElement.
philipp [Fri, 11 Oct 2013 21:07:40 +0000 (21:07 +0000)]
Replaced setAttribute by the new array parameter of appendElement.

There should be no functional change.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1683 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoChanged manual to DOM based HTML generation of bahnentabelleParserHook.
philipp [Thu, 10 Oct 2013 22:04:32 +0000 (22:04 +0000)]
Changed manual to DOM based HTML generation of bahnentabelleParserHook.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1682 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoThe DOM helper function can now take an array of attributes.
philipp [Thu, 10 Oct 2013 22:04:30 +0000 (22:04 +0000)]
The DOM helper function can now take an array of attributes.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1681 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoChanged manual to DOM based HTML generation of bahnberichtformularParserHook.
philipp [Thu, 10 Oct 2013 22:04:28 +0000 (22:04 +0000)]
Changed manual to DOM based HTML generation of bahnberichtformularParserHook.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1680 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoChanged manual to DOM based HTML generation of wrDeleteReportFormRender.
philipp [Thu, 10 Oct 2013 22:04:27 +0000 (22:04 +0000)]
Changed manual to DOM based HTML generation of wrDeleteReportFormRender.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1679 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoSlightly renamed functions wrReportTableRender* functions.
philipp [Thu, 10 Oct 2013 22:04:25 +0000 (22:04 +0000)]
Slightly renamed functions wrReportTableRender* functions.

wrReportTableRender2 to wrReportTableRender
wrReportTableTitleRender2 to wrReportTableTitleRender
wrReportTableRowRender2 to wrReportTableRowRender

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1678 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoAdded URL to the recursiveTagParse bug report.
philipp [Thu, 10 Oct 2013 22:04:23 +0000 (22:04 +0000)]
Added URL to the recursiveTagParse bug report.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1677 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoAdded comments about new style of avoiding global variables.
philipp [Thu, 10 Oct 2013 22:04:22 +0000 (22:04 +0000)]
Added comments about new style of avoiding global variables.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1676 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoRemoved own method for appending valid HTML/XML because it's not used anymore.
philipp [Tue, 8 Oct 2013 22:07:29 +0000 (22:07 +0000)]
Removed own method for appending valid HTML/XML because it's not used anymore.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1675 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoUsing a CDATA section to insert the pre-formatted HTML text.
philipp [Tue, 8 Oct 2013 22:07:27 +0000 (22:07 +0000)]
Using a CDATA section to insert the pre-formatted HTML text.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1674 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoAvoid warnings for unescaped & but this quick fix escapes too much.
philipp [Tue, 8 Oct 2013 22:07:25 +0000 (22:07 +0000)]
Avoid warnings for unescaped & but this quick fix escapes too much.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1673 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoCreated own method for appending valid HTML/XML.
philipp [Tue, 8 Oct 2013 22:07:24 +0000 (22:07 +0000)]
Created own method for appending valid HTML/XML.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1672 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoFixed: Parameter $showActions of wrReportTableTitleRender2 is handled again.
philipp [Tue, 8 Oct 2013 22:07:22 +0000 (22:07 +0000)]
Fixed: Parameter $showActions of wrReportTableTitleRender2 is handled again.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1671 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoRenamed message key wrreport-date-select to wrreport-condition-select.
philipp [Tue, 8 Oct 2013 22:07:21 +0000 (22:07 +0000)]
Renamed message key wrreport-date-select to wrreport-condition-select.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1670 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoRewrote wrReportFormRender to use DOM for generating HTML.
philipp [Tue, 8 Oct 2013 22:07:19 +0000 (22:07 +0000)]
Rewrote wrReportFormRender to use DOM for generating HTML.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1669 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoMoved definition of WrDOMDocument and WrDOMElement to another position in the file.
philipp [Tue, 8 Oct 2013 22:07:17 +0000 (22:07 +0000)]
Moved definition of WrDOMDocument and WrDOMElement to another position in the file.

No functional change.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1668 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoIncreased usage of DOM to wrReportTableRender2.
philipp [Tue, 8 Oct 2013 22:07:16 +0000 (22:07 +0000)]
Increased usage of DOM to wrReportTableRender2.

Now wrReportTableTitleRender2 and wrReportTableRowRender2 return a DOM
element instead of HTML text.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1667 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoCreated own WrDOMDocument class to simplify/unify initialization.
philipp [Tue, 8 Oct 2013 22:07:14 +0000 (22:07 +0000)]
Created own WrDOMDocument class to simplify/unify initialization.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1666 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoNow using translated day-of-week names from MediaWiki instead of fix German ones.
philipp [Tue, 8 Oct 2013 22:07:12 +0000 (22:07 +0000)]
Now using translated day-of-week names from MediaWiki instead of fix German ones.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1665 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoNo more use of PHP function exctract (I think it's bad style using it).
philipp [Tue, 8 Oct 2013 22:07:11 +0000 (22:07 +0000)]
No more use of PHP function exctract (I think it's bad style using it).

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1664 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoUmlauts are not escaped anymore.
philipp [Tue, 8 Oct 2013 22:07:09 +0000 (22:07 +0000)]
Umlauts are not escaped anymore.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1663 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoHTML of WikiText is not escaped anymore.
philipp [Tue, 8 Oct 2013 22:07:08 +0000 (22:07 +0000)]
HTML of WikiText is not escaped anymore.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1662 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoThe page title is not escaped twice.
philipp [Tue, 8 Oct 2013 22:07:06 +0000 (22:07 +0000)]
The page title is not escaped twice.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1661 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoReplaced manual HTML generation with DOM based generation in wrReportTableRowRender2.
philipp [Tue, 8 Oct 2013 22:07:04 +0000 (22:07 +0000)]
Replaced manual HTML generation with DOM based generation in wrReportTableRowRender2.

However, some TODOs remain until the original functionality is
recreated.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1660 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoWith a helper class, the DOM approach gets much less verbose.
philipp [Tue, 8 Oct 2013 22:07:03 +0000 (22:07 +0000)]
With a helper class, the DOM approach gets much less verbose.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1659 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoReplaced manual HTML generation by DOM based HTML generation in wrReportTableTitleRen...
philipp [Tue, 8 Oct 2013 22:07:01 +0000 (22:07 +0000)]
Replaced manual HTML generation by DOM based HTML generation in wrReportTableTitleRender2.

This was done to see wether this approach would make sense for other
functions as well. Result: The PHP code gets longer and less readable.
The probability of making HTML errors goes down. I don't know whether it
would be possible to use pre-formatted HTML text (e.g. a parsed wiki
text) with this method.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1658 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoFixed whitespace.
philipp [Tue, 8 Oct 2013 22:06:59 +0000 (22:06 +0000)]
Fixed whitespace.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1657 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agowfMsg($key) was deprecated. Replaced it by wfMessage($key)->text().
philipp [Tue, 8 Oct 2013 22:06:58 +0000 (22:06 +0000)]
wfMsg($key) was deprecated. Replaced it by wfMessage($key)->text().

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1656 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoWhitespace cleaning of wrreport.i18n.php and introducing section for describing trans...
philipp [Tue, 8 Oct 2013 22:06:56 +0000 (22:06 +0000)]
Whitespace cleaning of wrreport.i18n.php and introducing section for describing translation keys.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1655 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoRemoved explicit calls to utf8_encode because the strings are UTF8 now.
philipp [Tue, 8 Oct 2013 22:06:54 +0000 (22:06 +0000)]
Removed explicit calls to utf8_encode because the strings are UTF8 now.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1654 7aebc617-e5e2-0310-91dc-80fb5f6d2477

8 years agoAdded "File encoding: utf-8" comment.
philipp [Tue, 8 Oct 2013 22:06:52 +0000 (22:06 +0000)]
Added "File encoding: utf-8" comment.

git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrreport/trunk@1653 7aebc617-e5e2-0310-91dc-80fb5f6d2477